0s autopkgtest [17:02:05]: starting date and time: 2025-01-17 17:02:05+0000 0s autopkgtest [17:02:05]: git checkout: 325255d2 Merge branch 'pin-any-arch' into 'ubuntu/production' 0s autopkgtest [17:02:05]: host juju-7f2275-prod-proposed-migration-environment-20; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.b4p06rbz/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:util-linux,src:golang-github-containers-buildah,src:golang-github-containers-psgo,src:mmdebstrap,src:shadow,src:sssd --apt-upgrade glib2.0 --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor builder-cpu2-ram4-disk20 --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-20@bos03-27.secgroup --name adt-plucky-amd64-glib2.0-20250117-170205-juju-7f2275-prod-proposed-migration-environment-20-36ea893f-d976-4ff8-bce9-699f1164e506 --image adt/ubuntu-plucky-amd64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-20 --net-id=net_prod-proposed-migration-amd64 -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/ 44s autopkgtest [17:02:49]: testbed dpkg architecture: amd64 44s autopkgtest [17:02:49]: testbed apt version: 2.9.18 44s autopkgtest [17:02:49]: @@@@@@@@@@@@@@@@@@@@ test bed setup 44s autopkgtest [17:02:49]: testbed release detected to be: None 45s autopkgtest [17:02:50]: updating testbed package index (apt update) 46s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 46s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 46s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 46s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 46s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 46s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [15.1 kB] 46s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [868 kB] 46s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [178 kB] 46s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 Packages [331 kB] 46s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/main i386 Packages [228 kB] 46s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/restricted i386 Packages [2408 B] 46s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/restricted amd64 Packages [40.1 kB] 46s Get:13 http://ftpmaster.internal/ubuntu plucky-proposed/universe i386 Packages [468 kB] 46s Get:14 http://ftpmaster.internal/ubuntu plucky-proposed/universe amd64 Packages [1095 kB] 46s Get:15 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse i386 Packages [4444 B] 46s Get:16 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse amd64 Packages [24.9 kB] 46s Fetched 3337 kB in 1s (3439 kB/s) 47s Reading package lists... 48s Reading package lists... 48s Building dependency tree... 48s Reading state information... 48s Calculating upgrade... 48s The following packages will be upgraded: 48s libgudev-1.0-0 usb.ids 49s 2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 49s Need to get 239 kB of archives. 49s After this operation, 0 B of additional disk space will be used. 49s Get:1 http://ftpmaster.internal/ubuntu plucky/main amd64 usb.ids all 2025.01.14-1 [223 kB] 49s Get:2 http://ftpmaster.internal/ubuntu plucky/main amd64 libgudev-1.0-0 amd64 1:238-6 [15.8 kB] 49s Fetched 239 kB in 0s (492 kB/s) 49s (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 ... 75824 files and directories currently installed.) 49s Preparing to unpack .../usb.ids_2025.01.14-1_all.deb ... 49s Unpacking usb.ids (2025.01.14-1) over (2024.12.04-1) ... 49s Preparing to unpack .../libgudev-1.0-0_1%3a238-6_amd64.deb ... 49s Unpacking libgudev-1.0-0:amd64 (1:238-6) over (1:238-5ubuntu1) ... 49s Setting up usb.ids (2025.01.14-1) ... 49s Setting up libgudev-1.0-0:amd64 (1:238-6) ... 49s Processing triggers for libc-bin (2.40-4ubuntu1) ... 50s Reading package lists... 50s Building dependency tree... 50s Reading state information... 50s 0 upgraded, 0 newly installed, 0 to remove and 14 not upgraded. 50s autopkgtest [17:02:55]: upgrading testbed (apt dist-upgrade and autopurge) 50s Reading package lists... 50s Building dependency tree... 50s Reading state information... 51s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 51s Starting 2 pkgProblemResolver with broken count: 0 51s Done 51s Entering ResolveByKeep 51s 51s The following NEW packages will be installed: 51s login.defs 51s The following packages will be upgraded: 51s bsdextrautils bsdutils eject fdisk libblkid1 libfdisk1 libmount1 51s libsmartcols1 libuuid1 login mount passwd util-linux uuid-runtime 51s 14 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 51s Need to get 3545 kB of archives. 51s After this operation, 1506 kB of additional disk space will be used. 51s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 bsdutils amd64 1:2.40.2-14ubuntu1 [102 kB] 52s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 eject amd64 2.40.2-14ubuntu1 [46.3 kB] 52s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 bsdextrautils amd64 2.40.2-14ubuntu1 [89.7 kB] 52s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 libfdisk1 amd64 2.40.2-14ubuntu1 [174 kB] 52s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 fdisk amd64 2.40.2-14ubuntu1 [144 kB] 52s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 libblkid1 amd64 2.40.2-14ubuntu1 [141 kB] 52s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 libmount1 amd64 2.40.2-14ubuntu1 [167 kB] 52s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 libsmartcols1 amd64 2.40.2-14ubuntu1 [98.4 kB] 52s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 mount amd64 2.40.2-14ubuntu1 [143 kB] 52s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 libuuid1 amd64 2.40.2-14ubuntu1 [43.3 kB] 52s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 util-linux amd64 2.40.2-14ubuntu1 [1137 kB] 52s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 uuid-runtime amd64 2.40.2-14ubuntu1 [54.2 kB] 52s Get:13 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 login.defs all 1:4.16.0-7ubuntu1 [38.5 kB] 52s Get:14 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 login amd64 1:4.16.0-2+really2.40.2-14ubuntu1 [77.8 kB] 52s Get:15 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 passwd amd64 1:4.16.0-7ubuntu1 [1088 kB] 52s Fetched 3545 kB in 1s (5088 kB/s) 52s (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 ... 75824 files and directories currently installed.) 52s Preparing to unpack .../bsdutils_1%3a2.40.2-14ubuntu1_amd64.deb ... 52s Unpacking bsdutils (1:2.40.2-14ubuntu1) over (1:2.40.2-1ubuntu2) ... 52s Setting up bsdutils (1:2.40.2-14ubuntu1) ... 52s (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 ... 75824 files and directories currently installed.) 52s Preparing to unpack .../eject_2.40.2-14ubuntu1_amd64.deb ... 52s Unpacking eject (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 52s Preparing to unpack .../bsdextrautils_2.40.2-14ubuntu1_amd64.deb ... 52s Unpacking bsdextrautils (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 52s Preparing to unpack .../libfdisk1_2.40.2-14ubuntu1_amd64.deb ... 52s Unpacking libfdisk1:amd64 (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 52s Preparing to unpack .../fdisk_2.40.2-14ubuntu1_amd64.deb ... 52s Unpacking fdisk (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 52s Preparing to unpack .../libblkid1_2.40.2-14ubuntu1_amd64.deb ... 52s Unpacking libblkid1:amd64 (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 53s Setting up libblkid1:amd64 (2.40.2-14ubuntu1) ... 53s (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 ... 75820 files and directories currently installed.) 53s Preparing to unpack .../libmount1_2.40.2-14ubuntu1_amd64.deb ... 53s Unpacking libmount1:amd64 (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 53s Setting up libmount1:amd64 (2.40.2-14ubuntu1) ... 53s (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 ... 75820 files and directories currently installed.) 53s Preparing to unpack .../libsmartcols1_2.40.2-14ubuntu1_amd64.deb ... 53s Unpacking libsmartcols1:amd64 (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 53s Setting up libsmartcols1:amd64 (2.40.2-14ubuntu1) ... 53s (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 ... 75820 files and directories currently installed.) 53s Preparing to unpack .../mount_2.40.2-14ubuntu1_amd64.deb ... 53s Unpacking mount (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 53s Preparing to unpack .../libuuid1_2.40.2-14ubuntu1_amd64.deb ... 53s Unpacking libuuid1:amd64 (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 53s Setting up libuuid1:amd64 (2.40.2-14ubuntu1) ... 53s (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 ... 75820 files and directories currently installed.) 53s Preparing to unpack .../util-linux_2.40.2-14ubuntu1_amd64.deb ... 53s Unpacking util-linux (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 53s Setting up util-linux (2.40.2-14ubuntu1) ... 54s fstrim.service is a disabled or a static unit not running, not starting it. 54s (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 ... 75813 files and directories currently installed.) 54s Preparing to unpack .../uuid-runtime_2.40.2-14ubuntu1_amd64.deb ... 54s Unpacking uuid-runtime (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 54s Selecting previously unselected package login.defs. 54s Preparing to unpack .../login.defs_1%3a4.16.0-7ubuntu1_all.deb ... 54s Unpacking login.defs (1:4.16.0-7ubuntu1) ... 54s Replacing files in old package login (1:4.15.3-3ubuntu2) ... 54s Setting up login.defs (1:4.16.0-7ubuntu1) ... 54s Installing new version of config file /etc/login.defs ... 54s (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 ... 75817 files and directories currently installed.) 54s Preparing to unpack .../login_1%3a4.16.0-2+really2.40.2-14ubuntu1_amd64.deb ... 54s Unpacking login (1:4.16.0-2+really2.40.2-14ubuntu1) over (1:4.15.3-3ubuntu2) ... 54s Preparing to unpack .../passwd_1%3a4.16.0-7ubuntu1_amd64.deb ... 54s Unpacking passwd (1:4.16.0-7ubuntu1) over (1:4.15.3-3ubuntu2) ... 54s Setting up passwd (1:4.16.0-7ubuntu1) ... 54s Setting up bsdextrautils (2.40.2-14ubuntu1) ... 54s Setting up eject (2.40.2-14ubuntu1) ... 54s Setting up libfdisk1:amd64 (2.40.2-14ubuntu1) ... 54s Setting up mount (2.40.2-14ubuntu1) ... 54s Setting up uuid-runtime (2.40.2-14ubuntu1) ... 55s uuidd.service is a disabled or a static unit not running, not starting it. 55s Setting up login (1:4.16.0-2+really2.40.2-14ubuntu1) ... 55s Setting up fdisk (2.40.2-14ubuntu1) ... 55s Processing triggers for man-db (2.13.0-1) ... 56s Processing triggers for libc-bin (2.40-4ubuntu1) ... 56s Reading package lists... 57s Building dependency tree... 57s Reading state information... 57s Starting pkgProblemResolver with broken count: 0 57s Starting 2 pkgProblemResolver with broken count: 0 57s Done 57s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 57s autopkgtest [17:03:02]: rebooting testbed after setup commands that affected boot 80s autopkgtest [17:03:25]: testbed running kernel: Linux 6.11.0-8-generic #8-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 16 13:41:20 UTC 2024 83s autopkgtest [17:03:28]: @@@@@@@@@@@@@@@@@@@@ apt-source glib2.0 94s Get:1 http://ftpmaster.internal/ubuntu plucky/main glib2.0 2.82.4-1 (dsc) [4921 B] 94s Get:2 http://ftpmaster.internal/ubuntu plucky/main glib2.0 2.82.4-1 (tar) [263 kB] 94s Get:3 http://ftpmaster.internal/ubuntu plucky/main glib2.0 2.82.4-1 (tar) [5557 kB] 94s Get:4 http://ftpmaster.internal/ubuntu plucky/main glib2.0 2.82.4-1 (diff) [135 kB] 94s gpgv: Signature made Fri Dec 13 13:58:26 2024 UTC 94s gpgv: using RSA key 7A073AD1AE694FA25BFF62E5235C099D3EB33076 94s gpgv: Can't check signature: No public key 94s dpkg-source: warning: cannot verify inline signature for ./glib2.0_2.82.4-1.dsc: no acceptable signature found 94s autopkgtest [17:03:39]: testing package glib2.0 version 2.82.4-1 99s autopkgtest [17:03:44]: build not needed 106s autopkgtest [17:03:51]: test build: preparing testbed 106s Reading package lists... 106s Building dependency tree... 106s Reading state information... 107s Starting pkgProblemResolver with broken count: 0 107s Starting 2 pkgProblemResolver with broken count: 0 107s Done 107s The following NEW packages will be installed: 107s build-essential cpp cpp-14 cpp-14-x86-64-linux-gnu cpp-x86-64-linux-gnu g++ 107s g++-14 g++-14-x86-64-linux-gnu g++-x86-64-linux-gnu gcc gcc-14 107s gcc-14-x86-64-linux-gnu gcc-x86-64-linux-gnu libasan8 libblkid-dev libcc1-0 107s libffi-dev libgcc-14-dev libgio-2.0-dev libgomp1 libhwasan0 libisl23 libitm1 107s liblsan0 libmount-dev libmpc3 libpcre2-16-0 libpcre2-32-0 libpcre2-dev 107s libpcre2-posix3 libpkgconf3 libquadmath0 libselinux1-dev libsepol-dev 107s libstdc++-14-dev libsysprof-capture-4-dev libtsan2 libubsan1 pkgconf 107s pkgconf-bin uuid-dev zlib1g-dev 107s 0 upgraded, 42 newly installed, 0 to remove and 0 not upgraded. 107s Need to get 70.5 MB of archives. 107s After this operation, 244 MB of additional disk space will be used. 107s Get:1 http://ftpmaster.internal/ubuntu plucky/main amd64 libisl23 amd64 0.27-1 [685 kB] 108s Get:2 http://ftpmaster.internal/ubuntu plucky/main amd64 libmpc3 amd64 1.3.1-1build2 [55.3 kB] 108s Get:3 http://ftpmaster.internal/ubuntu plucky/main amd64 cpp-14-x86-64-linux-gnu amd64 14.2.0-12ubuntu1 [11.9 MB] 109s Get:4 http://ftpmaster.internal/ubuntu plucky/main amd64 cpp-14 amd64 14.2.0-12ubuntu1 [1036 B] 109s Get:5 http://ftpmaster.internal/ubuntu plucky/main amd64 cpp-x86-64-linux-gnu amd64 4:14.1.0-2ubuntu1 [5452 B] 109s Get:6 http://ftpmaster.internal/ubuntu plucky/main amd64 cpp amd64 4:14.1.0-2ubuntu1 [22.4 kB] 109s Get:7 http://ftpmaster.internal/ubuntu plucky/main amd64 libcc1-0 amd64 14.2.0-12ubuntu1 [47.6 kB] 109s Get:8 http://ftpmaster.internal/ubuntu plucky/main amd64 libgomp1 amd64 14.2.0-12ubuntu1 [148 kB] 109s Get:9 http://ftpmaster.internal/ubuntu plucky/main amd64 libitm1 amd64 14.2.0-12ubuntu1 [28.9 kB] 109s Get:10 http://ftpmaster.internal/ubuntu plucky/main amd64 libasan8 amd64 14.2.0-12ubuntu1 [2998 kB] 110s Get:11 http://ftpmaster.internal/ubuntu plucky/main amd64 liblsan0 amd64 14.2.0-12ubuntu1 [1317 kB] 110s Get:12 http://ftpmaster.internal/ubuntu plucky/main amd64 libtsan2 amd64 14.2.0-12ubuntu1 [2732 kB] 110s Get:13 http://ftpmaster.internal/ubuntu plucky/main amd64 libubsan1 amd64 14.2.0-12ubuntu1 [1177 kB] 110s Get:14 http://ftpmaster.internal/ubuntu plucky/main amd64 libhwasan0 amd64 14.2.0-12ubuntu1 [1634 kB] 110s Get:15 http://ftpmaster.internal/ubuntu plucky/main amd64 libquadmath0 amd64 14.2.0-12ubuntu1 [153 kB] 110s Get:16 http://ftpmaster.internal/ubuntu plucky/main amd64 libgcc-14-dev amd64 14.2.0-12ubuntu1 [2815 kB] 110s Get:17 http://ftpmaster.internal/ubuntu plucky/main amd64 gcc-14-x86-64-linux-gnu amd64 14.2.0-12ubuntu1 [23.3 MB] 111s Get:18 http://ftpmaster.internal/ubuntu plucky/main amd64 gcc-14 amd64 14.2.0-12ubuntu1 [533 kB] 111s Get:19 http://ftpmaster.internal/ubuntu plucky/main amd64 gcc-x86-64-linux-gnu amd64 4:14.1.0-2ubuntu1 [1214 B] 111s Get:20 http://ftpmaster.internal/ubuntu plucky/main amd64 gcc amd64 4:14.1.0-2ubuntu1 [5000 B] 111s Get:21 http://ftpmaster.internal/ubuntu plucky/main amd64 libstdc++-14-dev amd64 14.2.0-12ubuntu1 [2506 kB] 111s Get:22 http://ftpmaster.internal/ubuntu plucky/main amd64 g++-14-x86-64-linux-gnu amd64 14.2.0-12ubuntu1 [13.3 MB] 111s Get:23 http://ftpmaster.internal/ubuntu plucky/main amd64 g++-14 amd64 14.2.0-12ubuntu1 [20.2 kB] 111s Get:24 http://ftpmaster.internal/ubuntu plucky/main amd64 g++-x86-64-linux-gnu amd64 4:14.1.0-2ubuntu1 [966 B] 111s Get:25 http://ftpmaster.internal/ubuntu plucky/main amd64 g++ amd64 4:14.1.0-2ubuntu1 [1100 B] 111s Get:26 http://ftpmaster.internal/ubuntu plucky/main amd64 build-essential amd64 12.10ubuntu1 [4928 B] 111s Get:27 http://ftpmaster.internal/ubuntu plucky/main amd64 libffi-dev amd64 3.4.6-1build1 [62.8 kB] 111s Get:28 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 uuid-dev amd64 2.40.2-14ubuntu1 [54.5 kB] 111s Get:29 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 libblkid-dev amd64 2.40.2-14ubuntu1 [235 kB] 111s Get:30 http://ftpmaster.internal/ubuntu plucky/main amd64 libsepol-dev amd64 3.7-1 [404 kB] 111s Get:31 http://ftpmaster.internal/ubuntu plucky/main amd64 libpcre2-16-0 amd64 10.42-4ubuntu3 [214 kB] 112s Get:32 http://ftpmaster.internal/ubuntu plucky/main amd64 libpcre2-32-0 amd64 10.42-4ubuntu3 [201 kB] 112s Get:33 http://ftpmaster.internal/ubuntu plucky/main amd64 libpcre2-posix3 amd64 10.42-4ubuntu3 [6768 B] 112s Get:34 http://ftpmaster.internal/ubuntu plucky/main amd64 libpcre2-dev amd64 10.42-4ubuntu3 [747 kB] 112s Get:35 http://ftpmaster.internal/ubuntu plucky/main amd64 libselinux1-dev amd64 3.7-3ubuntu1 [169 kB] 112s Get:36 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 libmount-dev amd64 2.40.2-14ubuntu1 [34.6 kB] 112s Get:37 http://ftpmaster.internal/ubuntu plucky/main amd64 libsysprof-capture-4-dev amd64 47.2-1 [52.1 kB] 112s Get:38 http://ftpmaster.internal/ubuntu plucky/main amd64 libpkgconf3 amd64 1.8.1-4 [32.3 kB] 112s Get:39 http://ftpmaster.internal/ubuntu plucky/main amd64 pkgconf-bin amd64 1.8.1-4 [21.6 kB] 112s Get:40 http://ftpmaster.internal/ubuntu plucky/main amd64 pkgconf amd64 1.8.1-4 [16.8 kB] 112s Get:41 http://ftpmaster.internal/ubuntu plucky/main amd64 zlib1g-dev amd64 1:1.3.dfsg+really1.3.1-1ubuntu1 [895 kB] 112s Get:42 http://ftpmaster.internal/ubuntu plucky/main amd64 libgio-2.0-dev amd64 2.82.4-1 [1876 kB] 112s Fetched 70.5 MB in 5s (14.9 MB/s) 112s Selecting previously unselected package libisl23:amd64. 112s (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 ... 75815 files and directories currently installed.) 112s Preparing to unpack .../00-libisl23_0.27-1_amd64.deb ... 112s Unpacking libisl23:amd64 (0.27-1) ... 112s Selecting previously unselected package libmpc3:amd64. 112s Preparing to unpack .../01-libmpc3_1.3.1-1build2_amd64.deb ... 112s Unpacking libmpc3:amd64 (1.3.1-1build2) ... 112s Selecting previously unselected package cpp-14-x86-64-linux-gnu. 112s Preparing to unpack .../02-cpp-14-x86-64-linux-gnu_14.2.0-12ubuntu1_amd64.deb ... 112s Unpacking cpp-14-x86-64-linux-gnu (14.2.0-12ubuntu1) ... 112s Selecting previously unselected package cpp-14. 112s Preparing to unpack .../03-cpp-14_14.2.0-12ubuntu1_amd64.deb ... 112s Unpacking cpp-14 (14.2.0-12ubuntu1) ... 112s Selecting previously unselected package cpp-x86-64-linux-gnu. 112s Preparing to unpack .../04-cpp-x86-64-linux-gnu_4%3a14.1.0-2ubuntu1_amd64.deb ... 112s Unpacking cpp-x86-64-linux-gnu (4:14.1.0-2ubuntu1) ... 112s Selecting previously unselected package cpp. 112s Preparing to unpack .../05-cpp_4%3a14.1.0-2ubuntu1_amd64.deb ... 112s Unpacking cpp (4:14.1.0-2ubuntu1) ... 112s Selecting previously unselected package libcc1-0:amd64. 112s Preparing to unpack .../06-libcc1-0_14.2.0-12ubuntu1_amd64.deb ... 112s Unpacking libcc1-0:amd64 (14.2.0-12ubuntu1) ... 112s Selecting previously unselected package libgomp1:amd64. 112s Preparing to unpack .../07-libgomp1_14.2.0-12ubuntu1_amd64.deb ... 112s Unpacking libgomp1:amd64 (14.2.0-12ubuntu1) ... 112s Selecting previously unselected package libitm1:amd64. 112s Preparing to unpack .../08-libitm1_14.2.0-12ubuntu1_amd64.deb ... 112s Unpacking libitm1:amd64 (14.2.0-12ubuntu1) ... 112s Selecting previously unselected package libasan8:amd64. 112s Preparing to unpack .../09-libasan8_14.2.0-12ubuntu1_amd64.deb ... 112s Unpacking libasan8:amd64 (14.2.0-12ubuntu1) ... 112s Selecting previously unselected package liblsan0:amd64. 113s Preparing to unpack .../10-liblsan0_14.2.0-12ubuntu1_amd64.deb ... 113s Unpacking liblsan0:amd64 (14.2.0-12ubuntu1) ... 113s Selecting previously unselected package libtsan2:amd64. 113s Preparing to unpack .../11-libtsan2_14.2.0-12ubuntu1_amd64.deb ... 113s Unpacking libtsan2:amd64 (14.2.0-12ubuntu1) ... 113s Selecting previously unselected package libubsan1:amd64. 113s Preparing to unpack .../12-libubsan1_14.2.0-12ubuntu1_amd64.deb ... 113s Unpacking libubsan1:amd64 (14.2.0-12ubuntu1) ... 113s Selecting previously unselected package libhwasan0:amd64. 113s Preparing to unpack .../13-libhwasan0_14.2.0-12ubuntu1_amd64.deb ... 113s Unpacking libhwasan0:amd64 (14.2.0-12ubuntu1) ... 113s Selecting previously unselected package libquadmath0:amd64. 113s Preparing to unpack .../14-libquadmath0_14.2.0-12ubuntu1_amd64.deb ... 113s Unpacking libquadmath0:amd64 (14.2.0-12ubuntu1) ... 113s Selecting previously unselected package libgcc-14-dev:amd64. 113s Preparing to unpack .../15-libgcc-14-dev_14.2.0-12ubuntu1_amd64.deb ... 113s Unpacking libgcc-14-dev:amd64 (14.2.0-12ubuntu1) ... 113s Selecting previously unselected package gcc-14-x86-64-linux-gnu. 113s Preparing to unpack .../16-gcc-14-x86-64-linux-gnu_14.2.0-12ubuntu1_amd64.deb ... 113s Unpacking gcc-14-x86-64-linux-gnu (14.2.0-12ubuntu1) ... 113s Selecting previously unselected package gcc-14. 113s Preparing to unpack .../17-gcc-14_14.2.0-12ubuntu1_amd64.deb ... 113s Unpacking gcc-14 (14.2.0-12ubuntu1) ... 113s Selecting previously unselected package gcc-x86-64-linux-gnu. 113s Preparing to unpack .../18-gcc-x86-64-linux-gnu_4%3a14.1.0-2ubuntu1_amd64.deb ... 113s Unpacking gcc-x86-64-linux-gnu (4:14.1.0-2ubuntu1) ... 113s Selecting previously unselected package gcc. 113s Preparing to unpack .../19-gcc_4%3a14.1.0-2ubuntu1_amd64.deb ... 113s Unpacking gcc (4:14.1.0-2ubuntu1) ... 113s Selecting previously unselected package libstdc++-14-dev:amd64. 113s Preparing to unpack .../20-libstdc++-14-dev_14.2.0-12ubuntu1_amd64.deb ... 113s Unpacking libstdc++-14-dev:amd64 (14.2.0-12ubuntu1) ... 113s Selecting previously unselected package g++-14-x86-64-linux-gnu. 113s Preparing to unpack .../21-g++-14-x86-64-linux-gnu_14.2.0-12ubuntu1_amd64.deb ... 113s Unpacking g++-14-x86-64-linux-gnu (14.2.0-12ubuntu1) ... 113s Selecting previously unselected package g++-14. 113s Preparing to unpack .../22-g++-14_14.2.0-12ubuntu1_amd64.deb ... 113s Unpacking g++-14 (14.2.0-12ubuntu1) ... 113s Selecting previously unselected package g++-x86-64-linux-gnu. 113s Preparing to unpack .../23-g++-x86-64-linux-gnu_4%3a14.1.0-2ubuntu1_amd64.deb ... 113s Unpacking g++-x86-64-linux-gnu (4:14.1.0-2ubuntu1) ... 113s Selecting previously unselected package g++. 113s Preparing to unpack .../24-g++_4%3a14.1.0-2ubuntu1_amd64.deb ... 113s Unpacking g++ (4:14.1.0-2ubuntu1) ... 114s Selecting previously unselected package build-essential. 114s Preparing to unpack .../25-build-essential_12.10ubuntu1_amd64.deb ... 114s Unpacking build-essential (12.10ubuntu1) ... 114s Selecting previously unselected package libffi-dev:amd64. 114s Preparing to unpack .../26-libffi-dev_3.4.6-1build1_amd64.deb ... 114s Unpacking libffi-dev:amd64 (3.4.6-1build1) ... 114s Selecting previously unselected package uuid-dev:amd64. 114s Preparing to unpack .../27-uuid-dev_2.40.2-14ubuntu1_amd64.deb ... 114s Unpacking uuid-dev:amd64 (2.40.2-14ubuntu1) ... 114s Selecting previously unselected package libblkid-dev:amd64. 114s Preparing to unpack .../28-libblkid-dev_2.40.2-14ubuntu1_amd64.deb ... 114s Unpacking libblkid-dev:amd64 (2.40.2-14ubuntu1) ... 114s Selecting previously unselected package libsepol-dev:amd64. 114s Preparing to unpack .../29-libsepol-dev_3.7-1_amd64.deb ... 114s Unpacking libsepol-dev:amd64 (3.7-1) ... 114s Selecting previously unselected package libpcre2-16-0:amd64. 114s Preparing to unpack .../30-libpcre2-16-0_10.42-4ubuntu3_amd64.deb ... 114s Unpacking libpcre2-16-0:amd64 (10.42-4ubuntu3) ... 114s Selecting previously unselected package libpcre2-32-0:amd64. 114s Preparing to unpack .../31-libpcre2-32-0_10.42-4ubuntu3_amd64.deb ... 114s Unpacking libpcre2-32-0:amd64 (10.42-4ubuntu3) ... 114s Selecting previously unselected package libpcre2-posix3:amd64. 114s Preparing to unpack .../32-libpcre2-posix3_10.42-4ubuntu3_amd64.deb ... 114s Unpacking libpcre2-posix3:amd64 (10.42-4ubuntu3) ... 114s Selecting previously unselected package libpcre2-dev:amd64. 114s Preparing to unpack .../33-libpcre2-dev_10.42-4ubuntu3_amd64.deb ... 114s Unpacking libpcre2-dev:amd64 (10.42-4ubuntu3) ... 114s Selecting previously unselected package libselinux1-dev:amd64. 114s Preparing to unpack .../34-libselinux1-dev_3.7-3ubuntu1_amd64.deb ... 114s Unpacking libselinux1-dev:amd64 (3.7-3ubuntu1) ... 114s Selecting previously unselected package libmount-dev:amd64. 114s Preparing to unpack .../35-libmount-dev_2.40.2-14ubuntu1_amd64.deb ... 114s Unpacking libmount-dev:amd64 (2.40.2-14ubuntu1) ... 114s Selecting previously unselected package libsysprof-capture-4-dev:amd64. 114s Preparing to unpack .../36-libsysprof-capture-4-dev_47.2-1_amd64.deb ... 114s Unpacking libsysprof-capture-4-dev:amd64 (47.2-1) ... 114s Selecting previously unselected package libpkgconf3:amd64. 114s Preparing to unpack .../37-libpkgconf3_1.8.1-4_amd64.deb ... 114s Unpacking libpkgconf3:amd64 (1.8.1-4) ... 114s Selecting previously unselected package pkgconf-bin. 114s Preparing to unpack .../38-pkgconf-bin_1.8.1-4_amd64.deb ... 114s Unpacking pkgconf-bin (1.8.1-4) ... 114s Selecting previously unselected package pkgconf:amd64. 114s Preparing to unpack .../39-pkgconf_1.8.1-4_amd64.deb ... 114s Unpacking pkgconf:amd64 (1.8.1-4) ... 114s Selecting previously unselected package zlib1g-dev:amd64. 114s Preparing to unpack .../40-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1ubuntu1_amd64.deb ... 114s Unpacking zlib1g-dev:amd64 (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 114s Selecting previously unselected package libgio-2.0-dev:amd64. 114s Preparing to unpack .../41-libgio-2.0-dev_2.82.4-1_amd64.deb ... 114s Unpacking libgio-2.0-dev:amd64 (2.82.4-1) ... 114s Setting up libgomp1:amd64 (14.2.0-12ubuntu1) ... 114s Setting up libffi-dev:amd64 (3.4.6-1build1) ... 114s Setting up libpcre2-16-0:amd64 (10.42-4ubuntu3) ... 114s Setting up libsysprof-capture-4-dev:amd64 (47.2-1) ... 114s Setting up libpcre2-32-0:amd64 (10.42-4ubuntu3) ... 114s Setting up libpkgconf3:amd64 (1.8.1-4) ... 114s Setting up uuid-dev:amd64 (2.40.2-14ubuntu1) ... 114s Setting up libquadmath0:amd64 (14.2.0-12ubuntu1) ... 114s Setting up libmpc3:amd64 (1.3.1-1build2) ... 114s Setting up libsepol-dev:amd64 (3.7-1) ... 114s Setting up pkgconf-bin (1.8.1-4) ... 114s Setting up libubsan1:amd64 (14.2.0-12ubuntu1) ... 114s Setting up zlib1g-dev:amd64 (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 114s Setting up libpcre2-posix3:amd64 (10.42-4ubuntu3) ... 114s Setting up libhwasan0:amd64 (14.2.0-12ubuntu1) ... 114s Setting up libasan8:amd64 (14.2.0-12ubuntu1) ... 114s Setting up libtsan2:amd64 (14.2.0-12ubuntu1) ... 114s Setting up libisl23:amd64 (0.27-1) ... 114s Setting up libcc1-0:amd64 (14.2.0-12ubuntu1) ... 114s Setting up liblsan0:amd64 (14.2.0-12ubuntu1) ... 114s Setting up libitm1:amd64 (14.2.0-12ubuntu1) ... 114s Setting up libblkid-dev:amd64 (2.40.2-14ubuntu1) ... 114s Setting up libpcre2-dev:amd64 (10.42-4ubuntu3) ... 114s Setting up libselinux1-dev:amd64 (3.7-3ubuntu1) ... 114s Setting up pkgconf:amd64 (1.8.1-4) ... 114s Setting up cpp-14-x86-64-linux-gnu (14.2.0-12ubuntu1) ... 114s Setting up cpp-14 (14.2.0-12ubuntu1) ... 114s Setting up libgcc-14-dev:amd64 (14.2.0-12ubuntu1) ... 114s Setting up libstdc++-14-dev:amd64 (14.2.0-12ubuntu1) ... 114s Setting up libmount-dev:amd64 (2.40.2-14ubuntu1) ... 114s Setting up cpp-x86-64-linux-gnu (4:14.1.0-2ubuntu1) ... 114s Setting up libgio-2.0-dev:amd64 (2.82.4-1) ... 114s Setting up cpp (4:14.1.0-2ubuntu1) ... 114s Setting up gcc-14-x86-64-linux-gnu (14.2.0-12ubuntu1) ... 114s Setting up gcc-x86-64-linux-gnu (4:14.1.0-2ubuntu1) ... 114s Setting up gcc-14 (14.2.0-12ubuntu1) ... 114s Setting up g++-14-x86-64-linux-gnu (14.2.0-12ubuntu1) ... 114s Setting up g++-x86-64-linux-gnu (4:14.1.0-2ubuntu1) ... 114s Setting up g++-14 (14.2.0-12ubuntu1) ... 114s Setting up gcc (4:14.1.0-2ubuntu1) ... 114s Setting up g++ (4:14.1.0-2ubuntu1) ... 114s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 114s Setting up build-essential (12.10ubuntu1) ... 114s Processing triggers for libc-bin (2.40-4ubuntu1) ... 114s Processing triggers for man-db (2.13.0-1) ... 115s Processing triggers for libglib2.0-0t64:amd64 (2.82.4-1) ... 115s No schema files found: doing nothing. 115s Processing triggers for install-info (7.1.1-1) ... 116s autopkgtest [17:04:01]: test build: [----------------------- 116s + mode=dynamic 116s + getopt -o --long static -n debian/tests/build -- 116s + getopt_temp= -- 116s + eval set -- -- 116s + set -- -- 116s + true 116s + shift 116s + break 116s + mktemp -d 116s + WORKDIR=/tmp/tmp.Chmd0DATP7 116s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 116s + cd /tmp/tmp.Chmd0DATP7 116s + [ -n ] 116s + CROSS_COMPILE= 116s + cat 116s + cat 116s + cat 116s + cat 116s + cat 116s + cat 116s + cflags= 116s + pcflags= 116s + packages=glib-2.0 116s + pkg-config --cflags --libs glib-2.0 116s + gcc -o glib-dynamic glib.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 116s build (glib, dynamic): OK 116s + echo build (glib, dynamic): OK 116s + [ -x glib-dynamic ] 116s + foo=bar ./glib-dynamic 116s + echo run (glib, dynamic): OK 116s + cflags= 116s + pcflags= 116s + packages=gobject-2.0 116s + pkg-config --cflags --libs gobject-2.0 116s run (glib, dynamic): OK 116s + gcc -o gobject-dynamic gobject.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0 116s build (gobject, dynamic): OK 116s + echo build (gobject, dynamic): OK 116s + [ -x gobject-dynamic ] 116s + foo=bar ./gobject-dynamic 116s + echo run (gobject, dynamic): OK 116s + cflags= 116s + pcflags= 116s + packages=gio-2.0 116s run (gobject, dynamic): OK 116s + pkg-config --cflags --libs gio-2.0 116s + gcc -o gio-dynamic gio.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-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 117s build (gio, dynamic): OK 117s run (gio, dynamic): OK 117s + echo build (gio, dynamic): OK 117s + [ -x gio-dynamic ] 117s + foo=bar ./gio-dynamic 117s + echo run (gio, dynamic): OK 117s + cflags= 117s + pcflags= 117s + packages=gio-unix-2.0 117s + pkg-config --cflags --libs gio-unix-2.0 117s + gcc -o gio-unix-dynamic gio-unix.c -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-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 117s build (gio-unix, dynamic): OK 117s + echo build (gio-unix, dynamic): OK 117s + [ -x gio-unix-dynamic ] 117s + foo=bar ./gio-unix-dynamic 117s run (gio-unix, dynamic): OK 117s + echo run (gio-unix, dynamic): OK 117s + cflags= 117s + pcflags= 117s + packages=gmodule-2.0 117s + pkg-config --cflags --libs gmodule-2.0 117s + gcc -o gmodule-dynamic gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-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 117s build (gmodule, dynamic): OK 117s + echo build (gmodule, dynamic): OK 117s + [ -x gmodule-dynamic ] 117s + foo=bar ./gmodule-dynamic 117s run (gmodule, dynamic): OK 117s + echo run (gmodule, dynamic): OK 117s + cflags= 117s + pcflags= 117s + packages=gthread-2.0 117s + pkg-config --cflags --libs gthread-2.0 117s + gcc -o gthread-dynamic gthread.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0 117s build (gthread, dynamic): OK 117s + echo build (gthread, dynamic): OK 117s + [ -x gthread-dynamic ] 117s + foo=bar ./gthread-dynamic 117s run (gthread, dynamic): OK 117s + echo run (gthread, dynamic): OK 117s + rm -rf /tmp/tmp.Chmd0DATP7 117s autopkgtest [17:04:02]: test build: -----------------------] 118s build PASS (superficial) 118s autopkgtest [17:04:03]: test build: - - - - - - - - - - results - - - - - - - - - - 118s autopkgtest [17:04:03]: test build-static: preparing testbed 118s Reading package lists... 118s Building dependency tree... 118s Reading state information... 119s Starting pkgProblemResolver with broken count: 0 119s Starting 2 pkgProblemResolver with broken count: 0 119s Done 119s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 120s autopkgtest [17:04:05]: test build-static: [----------------------- 120s + mode=dynamic 120s + getopt -o --long static -n debian/tests/build -- --static 120s + getopt_temp= --static -- 120s + eval set -- --static -- 120s + set -- --static -- 120s + true 120s + mode=static 120s + shift 120s + continue 120s + true 120s + shift 120s + break 120s + mktemp -d 120s + WORKDIR=/tmp/tmp.mnJxv3UoAV 120s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 120s + cd /tmp/tmp.mnJxv3UoAV 120s + [ -n ] 120s + CROSS_COMPILE= 120s + cat 120s + cat 120s + cat 120s + cat 120s + cat 120s + cat 120s + cflags= 120s + pcflags= 120s + packages=glib-2.0 120s + cflags=-static 120s + pcflags=--static 120s + pkg-config --static --cflags --libs glib-2.0 120s + gcc -static -o glib-static glib.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 120s /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 120s (.text+0xe7): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 120s /usr/bin/ld: (.text+0x32e): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 120s /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 120s + echo build (glib, static): OK 120s + [ -x glib-static ] 120s + foo=bar ./glib-static 120s build (glib, static): OK 120s + echo run (glib, static): OK 120s + cflags= 120s + pcflags= 120s + packages=gobject-2.0 120s + cflags=-static 120s + pcflags=--static 120s run (glib, static): OK 120s + pkg-config --static --cflags --libs gobject-2.0 120s + gcc -static -o gobject-static gobject.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-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 120s /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 120s (.text+0xe7): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 120s /usr/bin/ld: (.text+0x32e): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 120s /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 120s build (gobject, static): OK 120s + echo build (gobject, static): OK 120s + [ -x gobject-static ] 120s + foo=bar ./gobject-static 120s + echo run (gobject, static): OK 120s + cflags= 120s + pcflags= 120s + packages=gio-2.0 120s + cflags=-static 120s + pcflags=--static 120s + continue 120s + cflags= 120s + pcflags= 120s + packages=gio-unix-2.0 120s + cflags=-static 120s + pcflags=--static 120s + continue 120s + cflags= 120s + pcflags= 120s + packages=gmodule-2.0 120s + cflags=-static 120s + pcflags=--static 120s + pkg-config --static --cflags --libs gmodule-2.0 120s run (gobject, static): OK 120s + gcc -static -o gmodule-static gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-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 120s /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/libgmodule-2.0.a(gmodule.c.o): in function `g_module_open_full': 120s (.text+0x5bf): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 120s /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 120s (.text+0xe7): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 120s /usr/bin/ld: (.text+0x32e): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 120s /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 120s build (gmodule, static): OK 120s + echo build (gmodule, static): OK 120s + [ -x gmodule-static ] 120s + foo=bar ./gmodule-static 120s + echo run (gmodule, static): OK 120s + cflags= 120s + pcflags= 120s + packages=gthread-2.0 120s + cflags=-static 120s + pcflags=--static 120s run (gmodule, static): OK 120s + pkg-config --static --cflags --libs gthread-2.0 120s + gcc -static -o gthread-static gthread.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-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 120s /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 120s (.text+0xe7): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 120s /usr/bin/ld: (.text+0x32e): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 120s /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 120s build (gthread, static): OK 120s run (gthread, static): OK 120s + echo build (gthread, static): OK 120s + [ -x gthread-static ] 120s + foo=bar ./gthread-static 120s + echo run (gthread, static): OK 120s + rm -rf /tmp/tmp.mnJxv3UoAV 121s autopkgtest [17:04:06]: test build-static: -----------------------] 121s autopkgtest [17:04:06]: test build-static: - - - - - - - - - - results - - - - - - - - - - 121s build-static PASS (superficial) 122s autopkgtest [17:04:07]: test girepository-tools: preparing testbed 178s autopkgtest [17:05:03]: testbed dpkg architecture: amd64 178s autopkgtest [17:05:03]: testbed apt version: 2.9.18 179s autopkgtest [17:05:04]: @@@@@@@@@@@@@@@@@@@@ test bed setup 179s autopkgtest [17:05:04]: testbed release detected to be: plucky 180s autopkgtest [17:05:05]: updating testbed package index (apt update) 180s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 180s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 180s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 180s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 180s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 180s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [15.1 kB] 180s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [178 kB] 180s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [868 kB] 181s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 Packages [331 kB] 181s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/main i386 Packages [228 kB] 181s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/restricted amd64 Packages [40.1 kB] 181s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/restricted i386 Packages [2408 B] 181s Get:13 http://ftpmaster.internal/ubuntu plucky-proposed/universe i386 Packages [468 kB] 181s Get:14 http://ftpmaster.internal/ubuntu plucky-proposed/universe amd64 Packages [1095 kB] 181s Get:15 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse amd64 Packages [24.9 kB] 181s Get:16 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse i386 Packages [4444 B] 181s Fetched 3337 kB in 1s (3389 kB/s) 182s Reading package lists... 182s Reading package lists... 182s Building dependency tree... 182s Reading state information... 183s Calculating upgrade... 183s The following packages will be upgraded: 183s libgudev-1.0-0 usb.ids 183s 2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 183s Need to get 239 kB of archives. 183s After this operation, 0 B of additional disk space will be used. 183s Get:1 http://ftpmaster.internal/ubuntu plucky/main amd64 usb.ids all 2025.01.14-1 [223 kB] 183s Get:2 http://ftpmaster.internal/ubuntu plucky/main amd64 libgudev-1.0-0 amd64 1:238-6 [15.8 kB] 184s Fetched 239 kB in 0s (488 kB/s) 184s (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 ... 75824 files and directories currently installed.) 184s Preparing to unpack .../usb.ids_2025.01.14-1_all.deb ... 184s Unpacking usb.ids (2025.01.14-1) over (2024.12.04-1) ... 184s Preparing to unpack .../libgudev-1.0-0_1%3a238-6_amd64.deb ... 184s Unpacking libgudev-1.0-0:amd64 (1:238-6) over (1:238-5ubuntu1) ... 184s Setting up usb.ids (2025.01.14-1) ... 184s Setting up libgudev-1.0-0:amd64 (1:238-6) ... 184s Processing triggers for libc-bin (2.40-4ubuntu1) ... 184s Reading package lists... 184s Building dependency tree... 184s Reading state information... 184s 0 upgraded, 0 newly installed, 0 to remove and 14 not upgraded. 184s autopkgtest [17:05:09]: upgrading testbed (apt dist-upgrade and autopurge) 185s Reading package lists... 185s Building dependency tree... 185s Reading state information... 185s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 185s Starting 2 pkgProblemResolver with broken count: 0 185s Done 185s Entering ResolveByKeep 186s 186s The following NEW packages will be installed: 186s login.defs 186s The following packages will be upgraded: 186s bsdextrautils bsdutils eject fdisk libblkid1 libfdisk1 libmount1 186s libsmartcols1 libuuid1 login mount passwd util-linux uuid-runtime 186s 14 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 186s Need to get 3545 kB of archives. 186s After this operation, 1506 kB of additional disk space will be used. 186s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 bsdutils amd64 1:2.40.2-14ubuntu1 [102 kB] 186s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 eject amd64 2.40.2-14ubuntu1 [46.3 kB] 186s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 bsdextrautils amd64 2.40.2-14ubuntu1 [89.7 kB] 186s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 libfdisk1 amd64 2.40.2-14ubuntu1 [174 kB] 186s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 fdisk amd64 2.40.2-14ubuntu1 [144 kB] 186s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 libblkid1 amd64 2.40.2-14ubuntu1 [141 kB] 186s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 libmount1 amd64 2.40.2-14ubuntu1 [167 kB] 186s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 libsmartcols1 amd64 2.40.2-14ubuntu1 [98.4 kB] 186s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 mount amd64 2.40.2-14ubuntu1 [143 kB] 186s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 libuuid1 amd64 2.40.2-14ubuntu1 [43.3 kB] 186s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 util-linux amd64 2.40.2-14ubuntu1 [1137 kB] 186s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 uuid-runtime amd64 2.40.2-14ubuntu1 [54.2 kB] 186s Get:13 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 login.defs all 1:4.16.0-7ubuntu1 [38.5 kB] 186s Get:14 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 login amd64 1:4.16.0-2+really2.40.2-14ubuntu1 [77.8 kB] 186s Get:15 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 passwd amd64 1:4.16.0-7ubuntu1 [1088 kB] 187s Fetched 3545 kB in 1s (4934 kB/s) 187s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75824 files and directories currently installed.) 187s Preparing to unpack .../bsdutils_1%3a2.40.2-14ubuntu1_amd64.deb ... 187s Unpacking bsdutils (1:2.40.2-14ubuntu1) over (1:2.40.2-1ubuntu2) ... 187s Setting up bsdutils (1:2.40.2-14ubuntu1) ... 187s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75824 files and directories currently installed.) 187s Preparing to unpack .../eject_2.40.2-14ubuntu1_amd64.deb ... 187s Unpacking eject (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 187s Preparing to unpack .../bsdextrautils_2.40.2-14ubuntu1_amd64.deb ... 187s Unpacking bsdextrautils (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 187s Preparing to unpack .../libfdisk1_2.40.2-14ubuntu1_amd64.deb ... 187s Unpacking libfdisk1:amd64 (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 187s Preparing to unpack .../fdisk_2.40.2-14ubuntu1_amd64.deb ... 187s Unpacking fdisk (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 187s Preparing to unpack .../libblkid1_2.40.2-14ubuntu1_amd64.deb ... 187s Unpacking libblkid1:amd64 (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 187s Setting up libblkid1:amd64 (2.40.2-14ubuntu1) ... 187s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75820 files and directories currently installed.) 187s Preparing to unpack .../libmount1_2.40.2-14ubuntu1_amd64.deb ... 187s Unpacking libmount1:amd64 (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 187s Setting up libmount1:amd64 (2.40.2-14ubuntu1) ... 187s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75820 files and directories currently installed.) 187s Preparing to unpack .../libsmartcols1_2.40.2-14ubuntu1_amd64.deb ... 187s Unpacking libsmartcols1:amd64 (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 187s Setting up libsmartcols1:amd64 (2.40.2-14ubuntu1) ... 187s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75820 files and directories currently installed.) 187s Preparing to unpack .../mount_2.40.2-14ubuntu1_amd64.deb ... 187s Unpacking mount (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 187s Preparing to unpack .../libuuid1_2.40.2-14ubuntu1_amd64.deb ... 187s Unpacking libuuid1:amd64 (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 187s Setting up libuuid1:amd64 (2.40.2-14ubuntu1) ... 187s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75820 files and directories currently installed.) 187s Preparing to unpack .../util-linux_2.40.2-14ubuntu1_amd64.deb ... 187s Unpacking util-linux (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 187s Setting up util-linux (2.40.2-14ubuntu1) ... 188s fstrim.service is a disabled or a static unit not running, not starting it. 188s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75813 files and directories currently installed.) 188s Preparing to unpack .../uuid-runtime_2.40.2-14ubuntu1_amd64.deb ... 188s Unpacking uuid-runtime (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 188s Selecting previously unselected package login.defs. 188s Preparing to unpack .../login.defs_1%3a4.16.0-7ubuntu1_all.deb ... 188s Unpacking login.defs (1:4.16.0-7ubuntu1) ... 188s Replacing files in old package login (1:4.15.3-3ubuntu2) ... 188s Setting up login.defs (1:4.16.0-7ubuntu1) ... 188s Installing new version of config file /etc/login.defs ... 188s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75817 files and directories currently installed.) 188s Preparing to unpack .../login_1%3a4.16.0-2+really2.40.2-14ubuntu1_amd64.deb ... 188s Unpacking login (1:4.16.0-2+really2.40.2-14ubuntu1) over (1:4.15.3-3ubuntu2) ... 188s Preparing to unpack .../passwd_1%3a4.16.0-7ubuntu1_amd64.deb ... 188s Unpacking passwd (1:4.16.0-7ubuntu1) over (1:4.15.3-3ubuntu2) ... 188s Setting up passwd (1:4.16.0-7ubuntu1) ... 188s Setting up bsdextrautils (2.40.2-14ubuntu1) ... 188s Setting up eject (2.40.2-14ubuntu1) ... 188s Setting up libfdisk1:amd64 (2.40.2-14ubuntu1) ... 188s Setting up mount (2.40.2-14ubuntu1) ... 188s Setting up uuid-runtime (2.40.2-14ubuntu1) ... 189s uuidd.service is a disabled or a static unit not running, not starting it. 189s Setting up login (1:4.16.0-2+really2.40.2-14ubuntu1) ... 189s Setting up fdisk (2.40.2-14ubuntu1) ... 189s Processing triggers for man-db (2.13.0-1) ... 190s Processing triggers for libc-bin (2.40-4ubuntu1) ... 191s Reading package lists... 191s Building dependency tree... 191s Reading state information... 191s Starting pkgProblemResolver with broken count: 0 191s Starting 2 pkgProblemResolver with broken count: 0 191s Done 191s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 192s autopkgtest [17:05:17]: rebooting testbed after setup commands that affected boot 218s Reading package lists... 218s Building dependency tree... 218s Reading state information... 218s Starting pkgProblemResolver with broken count: 0 218s Starting 2 pkgProblemResolver with broken count: 0 218s Done 218s The following NEW packages will be installed: 218s gir1.2-glib-2.0-dev girepository-tools libgirepository-2.0-0 218s native-architecture 218s 0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. 218s Need to get 1047 kB of archives. 218s After this operation, 12.5 MB of additional disk space will be used. 218s Get:1 http://ftpmaster.internal/ubuntu plucky/main amd64 gir1.2-glib-2.0-dev amd64 2.82.4-1 [853 kB] 219s Get:2 http://ftpmaster.internal/ubuntu plucky/main amd64 native-architecture all 0.2.3 [1990 B] 219s Get:3 http://ftpmaster.internal/ubuntu plucky/main amd64 libgirepository-2.0-0 amd64 2.82.4-1 [78.2 kB] 219s Get:4 http://ftpmaster.internal/ubuntu plucky/main amd64 girepository-tools amd64 2.82.4-1 [115 kB] 219s Fetched 1047 kB in 1s (1831 kB/s) 219s Selecting previously unselected package gir1.2-glib-2.0-dev:amd64. 220s (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 ... 75815 files and directories currently installed.) 220s Preparing to unpack .../gir1.2-glib-2.0-dev_2.82.4-1_amd64.deb ... 220s Unpacking gir1.2-glib-2.0-dev:amd64 (2.82.4-1) ... 220s Selecting previously unselected package native-architecture. 220s Preparing to unpack .../native-architecture_0.2.3_all.deb ... 220s Unpacking native-architecture (0.2.3) ... 220s Selecting previously unselected package libgirepository-2.0-0:amd64. 220s Preparing to unpack .../libgirepository-2.0-0_2.82.4-1_amd64.deb ... 220s Unpacking libgirepository-2.0-0:amd64 (2.82.4-1) ... 220s Selecting previously unselected package girepository-tools:amd64. 220s Preparing to unpack .../girepository-tools_2.82.4-1_amd64.deb ... 220s Unpacking girepository-tools:amd64 (2.82.4-1) ... 220s Setting up native-architecture (0.2.3) ... 220s Setting up libgirepository-2.0-0:amd64 (2.82.4-1) ... 220s Setting up gir1.2-glib-2.0-dev:amd64 (2.82.4-1) ... 220s Setting up girepository-tools:amd64 (2.82.4-1) ... 220s Processing triggers for man-db (2.13.0-1) ... 220s Processing triggers for libc-bin (2.40-4ubuntu1) ... 237s autopkgtest [17:06:02]: test girepository-tools: [----------------------- 237s + cd /tmp/autopkgtest.UBVjl6/autopkgtest_tmp 237s + dpkg-architecture -qDEB_HOST_GNU_TYPE 237s dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation) 237s + DEB_HOST_GNU_TYPE=x86_64-linux-gnu 237s + dpkg-architecture -qDEB_HOST_MULTIARCH 237s dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation) 237s + DEB_HOST_MULTIARCH=x86_64-linux-gnu 237s + x86_64-linux-gnu-gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject 237s typelib: GLib-2.0 237s + x86_64-linux-gnu-gi-compile-repository -o GLib.typelib /usr/lib/x86_64-linux-gnu/gir-1.0/GLib-2.0.gir 237s + x86_64-linux-gnu-gi-decompile-typelib -o GLib.gir GLib.typelib 237s autopkgtest [17:06:02]: test girepository-tools: -----------------------] 238s autopkgtest [17:06:03]: test girepository-tools: - - - - - - - - - - results - - - - - - - - - - 238s girepository-tools PASS (superficial) 238s autopkgtest [17:06:03]: test libgio-2.0-dev-bin: preparing testbed 380s autopkgtest [17:08:25]: testbed dpkg architecture: amd64 381s autopkgtest [17:08:26]: testbed apt version: 2.9.18 381s autopkgtest [17:08:26]: @@@@@@@@@@@@@@@@@@@@ test bed setup 381s autopkgtest [17:08:26]: testbed release detected to be: plucky 382s autopkgtest [17:08:27]: updating testbed package index (apt update) 382s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 382s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 382s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 383s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 383s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [178 kB] 383s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [868 kB] 383s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 383s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [15.1 kB] 383s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 Packages [331 kB] 383s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/main i386 Packages [228 kB] 383s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/restricted amd64 Packages [40.1 kB] 383s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/restricted i386 Packages [2408 B] 383s Get:13 http://ftpmaster.internal/ubuntu plucky-proposed/universe i386 Packages [468 kB] 383s Get:14 http://ftpmaster.internal/ubuntu plucky-proposed/universe amd64 Packages [1095 kB] 383s Get:15 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse i386 Packages [4444 B] 383s Get:16 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse amd64 Packages [24.9 kB] 383s Fetched 3337 kB in 1s (3393 kB/s) 384s Reading package lists... 385s Reading package lists... 385s Building dependency tree... 385s Reading state information... 385s Calculating upgrade... 385s The following packages will be upgraded: 385s libgudev-1.0-0 usb.ids 385s 2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 385s Need to get 239 kB of archives. 385s After this operation, 0 B of additional disk space will be used. 385s Get:1 http://ftpmaster.internal/ubuntu plucky/main amd64 usb.ids all 2025.01.14-1 [223 kB] 386s Get:2 http://ftpmaster.internal/ubuntu plucky/main amd64 libgudev-1.0-0 amd64 1:238-6 [15.8 kB] 386s Fetched 239 kB in 0s (491 kB/s) 386s (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 ... 75824 files and directories currently installed.) 386s Preparing to unpack .../usb.ids_2025.01.14-1_all.deb ... 386s Unpacking usb.ids (2025.01.14-1) over (2024.12.04-1) ... 386s Preparing to unpack .../libgudev-1.0-0_1%3a238-6_amd64.deb ... 386s Unpacking libgudev-1.0-0:amd64 (1:238-6) over (1:238-5ubuntu1) ... 386s Setting up usb.ids (2025.01.14-1) ... 386s Setting up libgudev-1.0-0:amd64 (1:238-6) ... 386s Processing triggers for libc-bin (2.40-4ubuntu1) ... 386s Reading package lists... 387s Building dependency tree... 387s Reading state information... 387s 0 upgraded, 0 newly installed, 0 to remove and 14 not upgraded. 387s autopkgtest [17:08:32]: upgrading testbed (apt dist-upgrade and autopurge) 387s Reading package lists... 387s Building dependency tree... 387s Reading state information... 387s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 388s Starting 2 pkgProblemResolver with broken count: 0 388s Done 388s Entering ResolveByKeep 388s 388s The following NEW packages will be installed: 388s login.defs 388s The following packages will be upgraded: 388s bsdextrautils bsdutils eject fdisk libblkid1 libfdisk1 libmount1 388s libsmartcols1 libuuid1 login mount passwd util-linux uuid-runtime 388s 14 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 388s Need to get 3545 kB of archives. 388s After this operation, 1506 kB of additional disk space will be used. 388s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 bsdutils amd64 1:2.40.2-14ubuntu1 [102 kB] 389s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 eject amd64 2.40.2-14ubuntu1 [46.3 kB] 389s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 bsdextrautils amd64 2.40.2-14ubuntu1 [89.7 kB] 389s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 libfdisk1 amd64 2.40.2-14ubuntu1 [174 kB] 389s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 fdisk amd64 2.40.2-14ubuntu1 [144 kB] 389s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 libblkid1 amd64 2.40.2-14ubuntu1 [141 kB] 389s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 libmount1 amd64 2.40.2-14ubuntu1 [167 kB] 389s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 libsmartcols1 amd64 2.40.2-14ubuntu1 [98.4 kB] 389s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 mount amd64 2.40.2-14ubuntu1 [143 kB] 389s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 libuuid1 amd64 2.40.2-14ubuntu1 [43.3 kB] 389s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 util-linux amd64 2.40.2-14ubuntu1 [1137 kB] 389s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 uuid-runtime amd64 2.40.2-14ubuntu1 [54.2 kB] 389s Get:13 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 login.defs all 1:4.16.0-7ubuntu1 [38.5 kB] 389s Get:14 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 login amd64 1:4.16.0-2+really2.40.2-14ubuntu1 [77.8 kB] 389s Get:15 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 passwd amd64 1:4.16.0-7ubuntu1 [1088 kB] 389s Fetched 3545 kB in 1s (4679 kB/s) 389s (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 ... 75824 files and directories currently installed.) 389s Preparing to unpack .../bsdutils_1%3a2.40.2-14ubuntu1_amd64.deb ... 389s Unpacking bsdutils (1:2.40.2-14ubuntu1) over (1:2.40.2-1ubuntu2) ... 389s Setting up bsdutils (1:2.40.2-14ubuntu1) ... 389s (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 ... 75824 files and directories currently installed.) 389s Preparing to unpack .../eject_2.40.2-14ubuntu1_amd64.deb ... 389s Unpacking eject (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 389s Preparing to unpack .../bsdextrautils_2.40.2-14ubuntu1_amd64.deb ... 389s Unpacking bsdextrautils (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 390s Preparing to unpack .../libfdisk1_2.40.2-14ubuntu1_amd64.deb ... 390s Unpacking libfdisk1:amd64 (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 390s Preparing to unpack .../fdisk_2.40.2-14ubuntu1_amd64.deb ... 390s Unpacking fdisk (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 390s Preparing to unpack .../libblkid1_2.40.2-14ubuntu1_amd64.deb ... 390s Unpacking libblkid1:amd64 (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 390s Setting up libblkid1:amd64 (2.40.2-14ubuntu1) ... 390s (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 ... 75820 files and directories currently installed.) 390s Preparing to unpack .../libmount1_2.40.2-14ubuntu1_amd64.deb ... 390s Unpacking libmount1:amd64 (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 390s Setting up libmount1:amd64 (2.40.2-14ubuntu1) ... 390s (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 ... 75820 files and directories currently installed.) 390s Preparing to unpack .../libsmartcols1_2.40.2-14ubuntu1_amd64.deb ... 390s Unpacking libsmartcols1:amd64 (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 390s Setting up libsmartcols1:amd64 (2.40.2-14ubuntu1) ... 390s (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 ... 75820 files and directories currently installed.) 390s Preparing to unpack .../mount_2.40.2-14ubuntu1_amd64.deb ... 390s Unpacking mount (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 390s Preparing to unpack .../libuuid1_2.40.2-14ubuntu1_amd64.deb ... 390s Unpacking libuuid1:amd64 (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 390s Setting up libuuid1:amd64 (2.40.2-14ubuntu1) ... 390s (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 ... 75820 files and directories currently installed.) 390s Preparing to unpack .../util-linux_2.40.2-14ubuntu1_amd64.deb ... 390s Unpacking util-linux (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 390s Setting up util-linux (2.40.2-14ubuntu1) ... 391s fstrim.service is a disabled or a static unit not running, not starting it. 391s (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 ... 75813 files and directories currently installed.) 391s Preparing to unpack .../uuid-runtime_2.40.2-14ubuntu1_amd64.deb ... 391s Unpacking uuid-runtime (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 391s Selecting previously unselected package login.defs. 391s Preparing to unpack .../login.defs_1%3a4.16.0-7ubuntu1_all.deb ... 391s Unpacking login.defs (1:4.16.0-7ubuntu1) ... 391s Replacing files in old package login (1:4.15.3-3ubuntu2) ... 391s Setting up login.defs (1:4.16.0-7ubuntu1) ... 391s Installing new version of config file /etc/login.defs ... 391s (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 ... 75817 files and directories currently installed.) 391s Preparing to unpack .../login_1%3a4.16.0-2+really2.40.2-14ubuntu1_amd64.deb ... 391s Unpacking login (1:4.16.0-2+really2.40.2-14ubuntu1) over (1:4.15.3-3ubuntu2) ... 391s Preparing to unpack .../passwd_1%3a4.16.0-7ubuntu1_amd64.deb ... 391s Unpacking passwd (1:4.16.0-7ubuntu1) over (1:4.15.3-3ubuntu2) ... 391s Setting up passwd (1:4.16.0-7ubuntu1) ... 391s Setting up bsdextrautils (2.40.2-14ubuntu1) ... 391s Setting up eject (2.40.2-14ubuntu1) ... 391s Setting up libfdisk1:amd64 (2.40.2-14ubuntu1) ... 391s Setting up mount (2.40.2-14ubuntu1) ... 391s Setting up uuid-runtime (2.40.2-14ubuntu1) ... 392s uuidd.service is a disabled or a static unit not running, not starting it. 392s Setting up login (1:4.16.0-2+really2.40.2-14ubuntu1) ... 392s Setting up fdisk (2.40.2-14ubuntu1) ... 392s Processing triggers for man-db (2.13.0-1) ... 394s Processing triggers for libc-bin (2.40-4ubuntu1) ... 394s Reading package lists... 394s Building dependency tree... 394s Reading state information... 394s Starting pkgProblemResolver with broken count: 0 394s Starting 2 pkgProblemResolver with broken count: 0 394s Done 395s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 395s autopkgtest [17:08:40]: rebooting testbed after setup commands that affected boot 421s Reading package lists... 421s Building dependency tree... 421s Reading state information... 422s Starting pkgProblemResolver with broken count: 0 422s Starting 2 pkgProblemResolver with broken count: 0 422s Done 422s The following NEW packages will be installed: 422s libgio-2.0-dev-bin python3-packaging 423s 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. 423s Need to get 180 kB of archives. 423s After this operation, 961 kB of additional disk space will be used. 423s Get:1 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-packaging all 24.2-1 [51.5 kB] 423s Get:2 http://ftpmaster.internal/ubuntu plucky/main amd64 libgio-2.0-dev-bin amd64 2.82.4-1 [128 kB] 423s Fetched 180 kB in 0s (421 kB/s) 423s Selecting previously unselected package python3-packaging. 423s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75815 files and directories currently installed.) 423s Preparing to unpack .../python3-packaging_24.2-1_all.deb ... 423s Unpacking python3-packaging (24.2-1) ... 424s Selecting previously unselected package libgio-2.0-dev-bin. 424s Preparing to unpack .../libgio-2.0-dev-bin_2.82.4-1_amd64.deb ... 424s Unpacking libgio-2.0-dev-bin (2.82.4-1) ... 424s Setting up python3-packaging (24.2-1) ... 424s Setting up libgio-2.0-dev-bin (2.82.4-1) ... 424s Processing triggers for man-db (2.13.0-1) ... 434s autopkgtest [17:09:18]: test libgio-2.0-dev-bin: [----------------------- 434s usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 434s [--c-namespace NAMESPACE] [--c-generate-object-manager] 434s [--c-generate-autocleanup {none,objects,all}] 434s [--generate-docbook OUTFILES] [--generate-md OUTFILES] 434s [--generate-rst OUTFILES] [--pragma-once] 434s [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 434s [--glib-min-required VERSION] 434s [--glib-max-allowed VERSION] 434s [--symbol-decorator SYMBOL_DECORATOR] 434s [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 434s [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 434s [--generate-c-code OUTFILES | --header | --body | --interface-info-header | --interface-info-body] 434s [--output FILE | --output-directory OUTDIR] 434s FILE [FILE ...] 434s 434s D-Bus code and documentation generator 434s 434s positional arguments: 434s FILE D-Bus introspection XML file 434s 434s options: 434s -h, --help show this help message and exit 434s --interface-prefix PREFIX 434s String to strip from D-Bus interface names for code 434s and docs 434s --c-namespace NAMESPACE 434s The namespace to use for generated C code 434s --c-generate-object-manager 434s Generate a GDBusObjectManagerClient subclass when 434s generating C code 434s --c-generate-autocleanup {none,objects,all} 434s Generate autocleanup support 434s --generate-docbook OUTFILES 434s Generate Docbook in OUTFILES-org.Project.IFace.xml 434s --generate-md OUTFILES 434s Generate Markdown in OUTFILES-org.Project.IFace.md 434s --generate-rst OUTFILES 434s Generate reStructuredText in OUTFILES- 434s org.Project.IFace.rst 434s --pragma-once Use "pragma once" as the inclusion guard 434s --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 434s Add annotation (may be used several times) 434s --glib-min-required VERSION 434s Minimum version of GLib to be supported by the 434s outputted code (default: 2.30) 434s --glib-max-allowed VERSION 434s Maximum version of GLib to be used by the outputted 434s code (default: current GLib version) 434s --symbol-decorator SYMBOL_DECORATOR 434s Macro used to decorate a symbol in the outputted 434s header, possibly to export symbols 434s --symbol-decorator-header SYMBOL_DECORATOR_HEADER 434s Additional header required for decorator specified by 434s --symbol-decorator 434s --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 434s Additional define required for decorator specified by 434s --symbol-decorator 434s --generate-c-code OUTFILES 434s Generate C code in OUTFILES.[ch] 434s --header Generate C headers 434s --body Generate C code 434s --interface-info-header 434s Generate GDBusInterfaceInfo C header 434s --interface-info-body 434s Generate GDBusInterfaceInfo C code 434s --output FILE Write output into the specified file 434s --output-directory OUTDIR 434s Location to output generated files 434s + gdbus-codegen --help 434s + glib-compile-resources --version 434s + glib-genmarshal --version 434s + glib-gettextize --version 434s + glib-mkenums --version 434s + gobject-query tree 434s + gtester --version 434s + gtester-report --version 434s autopkgtest [17:09:19]: test libgio-2.0-dev-bin: -----------------------] 434s 2.82.4 434s glib-genmarshal version 2.82.4 434s glib-genmarshal comes with ABSOLUTELY NO WARRANTY. 434s You may redistribute copies of glib-genmarshal under the terms of 434s the GNU General Public License which can be found in the 434s GLib source package. Sources, examples and contact 434s information are available at http://www.gtk.org 434s /usr/bin/glib-gettextize (GNU glib) 2.82.4 434s Copyright (C) 1995-1998, 2000, 2001 Free Software Foundation, Inc. 434s This is free software; see the source for copying conditions. There is NO 434s warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 434s Written by Ulrich Drepper 434s glib-mkenums version 2.82.4 434s glib-mkenums comes with ABSOLUTELY NO WARRANTY. 434s You may redistribute copies of glib-mkenums under the terms of 434s the GNU General Public License which can be found in the 434s GLib source package. Sources, examples and contact 434s information are available at http://www.gtk.org 434s GObject 434s gtester version 2.82.4 434s gtester-report (GLib utils) version 2.82.4. 434s libgio-2.0-dev-bin PASS (superficial) 434s autopkgtest [17:09:19]: test libgio-2.0-dev-bin: - - - - - - - - - - results - - - - - - - - - - 435s autopkgtest [17:09:20]: test libglib2.0-dev: preparing testbed 528s autopkgtest [17:10:53]: testbed dpkg architecture: amd64 528s autopkgtest [17:10:53]: testbed apt version: 2.9.18 528s autopkgtest [17:10:53]: @@@@@@@@@@@@@@@@@@@@ test bed setup 529s autopkgtest [17:10:54]: testbed release detected to be: plucky 529s autopkgtest [17:10:54]: updating testbed package index (apt update) 530s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 530s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 530s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 530s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 530s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [855 kB] 530s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 530s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [14.7 kB] 530s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [177 kB] 530s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main i386 Packages [227 kB] 530s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 Packages [327 kB] 530s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/restricted i386 Packages [2408 B] 530s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/restricted amd64 Packages [40.1 kB] 530s Get:13 http://ftpmaster.internal/ubuntu plucky-proposed/universe i386 Packages [462 kB] 530s Get:14 http://ftpmaster.internal/ubuntu plucky-proposed/universe amd64 Packages [1085 kB] 530s Get:15 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse amd64 Packages [24.6 kB] 530s Get:16 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse i386 Packages [4116 B] 531s Fetched 3303 kB in 1s (3213 kB/s) 531s Reading package lists... 532s Reading package lists... 532s Building dependency tree... 532s Reading state information... 532s Calculating upgrade... 533s The following packages will be upgraded: 533s libgudev-1.0-0 rng-tools-debian usb.ids 533s 3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 533s Need to get 286 kB of archives. 533s After this operation, 0 B of additional disk space will be used. 533s Get:1 http://ftpmaster.internal/ubuntu plucky/universe amd64 rng-tools-debian amd64 2.6 [47.6 kB] 533s Get:2 http://ftpmaster.internal/ubuntu plucky/main amd64 usb.ids all 2025.01.14-1 [223 kB] 533s Get:3 http://ftpmaster.internal/ubuntu plucky/main amd64 libgudev-1.0-0 amd64 1:238-6 [15.8 kB] 533s Fetched 286 kB in 0s (596 kB/s) 534s (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 ... 75824 files and directories currently installed.) 534s Preparing to unpack .../rng-tools-debian_2.6_amd64.deb ... 534s Unpacking rng-tools-debian (2.6) over (2.5) ... 534s Preparing to unpack .../usb.ids_2025.01.14-1_all.deb ... 534s Unpacking usb.ids (2025.01.14-1) over (2024.12.04-1) ... 534s Preparing to unpack .../libgudev-1.0-0_1%3a238-6_amd64.deb ... 534s Unpacking libgudev-1.0-0:amd64 (1:238-6) over (1:238-5ubuntu1) ... 534s Setting up rng-tools-debian (2.6) ... 534s Setting up usb.ids (2025.01.14-1) ... 534s Setting up libgudev-1.0-0:amd64 (1:238-6) ... 534s Processing triggers for man-db (2.13.0-1) ... 535s Processing triggers for libc-bin (2.40-4ubuntu1) ... 536s Reading package lists... 536s Building dependency tree... 536s Reading state information... 536s 0 upgraded, 0 newly installed, 0 to remove and 14 not upgraded. 537s autopkgtest [17:11:02]: upgrading testbed (apt dist-upgrade and autopurge) 537s Reading package lists... 537s Building dependency tree... 537s Reading state information... 537s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 537s Starting 2 pkgProblemResolver with broken count: 0 537s Done 538s Entering ResolveByKeep 538s 538s The following NEW packages will be installed: 538s login.defs 538s The following packages will be upgraded: 538s bsdextrautils bsdutils eject fdisk libblkid1 libfdisk1 libmount1 538s libsmartcols1 libuuid1 login mount passwd util-linux uuid-runtime 538s 14 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 538s Need to get 3545 kB of archives. 538s After this operation, 1506 kB of additional disk space will be used. 538s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 bsdutils amd64 1:2.40.2-14ubuntu1 [102 kB] 539s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 eject amd64 2.40.2-14ubuntu1 [46.3 kB] 539s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 bsdextrautils amd64 2.40.2-14ubuntu1 [89.7 kB] 539s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 libfdisk1 amd64 2.40.2-14ubuntu1 [174 kB] 539s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 fdisk amd64 2.40.2-14ubuntu1 [144 kB] 539s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 libblkid1 amd64 2.40.2-14ubuntu1 [141 kB] 539s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 libmount1 amd64 2.40.2-14ubuntu1 [167 kB] 539s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 libsmartcols1 amd64 2.40.2-14ubuntu1 [98.4 kB] 539s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 mount amd64 2.40.2-14ubuntu1 [143 kB] 539s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 libuuid1 amd64 2.40.2-14ubuntu1 [43.3 kB] 539s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 util-linux amd64 2.40.2-14ubuntu1 [1137 kB] 539s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 uuid-runtime amd64 2.40.2-14ubuntu1 [54.2 kB] 539s Get:13 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 login.defs all 1:4.16.0-7ubuntu1 [38.5 kB] 539s Get:14 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 login amd64 1:4.16.0-2+really2.40.2-14ubuntu1 [77.8 kB] 539s Get:15 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 passwd amd64 1:4.16.0-7ubuntu1 [1088 kB] 539s Fetched 3545 kB in 1s (4571 kB/s) 539s (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 ... 75824 files and directories currently installed.) 539s Preparing to unpack .../bsdutils_1%3a2.40.2-14ubuntu1_amd64.deb ... 539s Unpacking bsdutils (1:2.40.2-14ubuntu1) over (1:2.40.2-1ubuntu2) ... 539s Setting up bsdutils (1:2.40.2-14ubuntu1) ... 540s (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 ... 75824 files and directories currently installed.) 540s Preparing to unpack .../eject_2.40.2-14ubuntu1_amd64.deb ... 540s Unpacking eject (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 540s Preparing to unpack .../bsdextrautils_2.40.2-14ubuntu1_amd64.deb ... 540s Unpacking bsdextrautils (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 540s Preparing to unpack .../libfdisk1_2.40.2-14ubuntu1_amd64.deb ... 540s Unpacking libfdisk1:amd64 (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 540s Preparing to unpack .../fdisk_2.40.2-14ubuntu1_amd64.deb ... 540s Unpacking fdisk (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 540s Preparing to unpack .../libblkid1_2.40.2-14ubuntu1_amd64.deb ... 540s Unpacking libblkid1:amd64 (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 540s Setting up libblkid1:amd64 (2.40.2-14ubuntu1) ... 540s (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 ... 75820 files and directories currently installed.) 540s Preparing to unpack .../libmount1_2.40.2-14ubuntu1_amd64.deb ... 540s Unpacking libmount1:amd64 (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 540s Setting up libmount1:amd64 (2.40.2-14ubuntu1) ... 540s (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 ... 75820 files and directories currently installed.) 540s Preparing to unpack .../libsmartcols1_2.40.2-14ubuntu1_amd64.deb ... 540s Unpacking libsmartcols1:amd64 (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 540s Setting up libsmartcols1:amd64 (2.40.2-14ubuntu1) ... 540s (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 ... 75820 files and directories currently installed.) 540s Preparing to unpack .../mount_2.40.2-14ubuntu1_amd64.deb ... 540s Unpacking mount (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 540s Preparing to unpack .../libuuid1_2.40.2-14ubuntu1_amd64.deb ... 540s Unpacking libuuid1:amd64 (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 540s Setting up libuuid1:amd64 (2.40.2-14ubuntu1) ... 540s (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 ... 75820 files and directories currently installed.) 540s Preparing to unpack .../util-linux_2.40.2-14ubuntu1_amd64.deb ... 540s Unpacking util-linux (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 540s Setting up util-linux (2.40.2-14ubuntu1) ... 541s fstrim.service is a disabled or a static unit not running, not starting it. 541s (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 ... 75813 files and directories currently installed.) 541s Preparing to unpack .../uuid-runtime_2.40.2-14ubuntu1_amd64.deb ... 541s Unpacking uuid-runtime (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 541s Selecting previously unselected package login.defs. 541s Preparing to unpack .../login.defs_1%3a4.16.0-7ubuntu1_all.deb ... 541s Unpacking login.defs (1:4.16.0-7ubuntu1) ... 541s Replacing files in old package login (1:4.15.3-3ubuntu2) ... 541s Setting up login.defs (1:4.16.0-7ubuntu1) ... 541s Installing new version of config file /etc/login.defs ... 541s (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 ... 75817 files and directories currently installed.) 541s Preparing to unpack .../login_1%3a4.16.0-2+really2.40.2-14ubuntu1_amd64.deb ... 541s Unpacking login (1:4.16.0-2+really2.40.2-14ubuntu1) over (1:4.15.3-3ubuntu2) ... 541s Preparing to unpack .../passwd_1%3a4.16.0-7ubuntu1_amd64.deb ... 541s Unpacking passwd (1:4.16.0-7ubuntu1) over (1:4.15.3-3ubuntu2) ... 541s Setting up passwd (1:4.16.0-7ubuntu1) ... 541s Setting up bsdextrautils (2.40.2-14ubuntu1) ... 541s Setting up eject (2.40.2-14ubuntu1) ... 541s Setting up libfdisk1:amd64 (2.40.2-14ubuntu1) ... 541s Setting up mount (2.40.2-14ubuntu1) ... 541s Setting up uuid-runtime (2.40.2-14ubuntu1) ... 542s uuidd.service is a disabled or a static unit not running, not starting it. 542s Setting up login (1:4.16.0-2+really2.40.2-14ubuntu1) ... 542s Setting up fdisk (2.40.2-14ubuntu1) ... 542s Processing triggers for man-db (2.13.0-1) ... 543s Processing triggers for libc-bin (2.40-4ubuntu1) ... 544s Reading package lists... 544s Building dependency tree... 544s Reading state information... 544s Starting pkgProblemResolver with broken count: 0 544s Starting 2 pkgProblemResolver with broken count: 0 544s Done 545s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 545s autopkgtest [17:11:10]: rebooting testbed after setup commands that affected boot 571s Reading package lists... 571s Building dependency tree... 571s Reading state information... 571s Starting pkgProblemResolver with broken count: 0 572s Starting 2 pkgProblemResolver with broken count: 0 572s Done 572s The following NEW packages will be installed: 572s build-essential cpp cpp-14 cpp-14-x86-64-linux-gnu cpp-x86-64-linux-gnu g++ 572s g++-14 g++-14-x86-64-linux-gnu g++-x86-64-linux-gnu gcc gcc-14 572s gcc-14-x86-64-linux-gnu gcc-x86-64-linux-gnu gir1.2-glib-2.0-dev 572s girepository-tools libasan8 libblkid-dev libcc1-0 libffi-dev libgcc-14-dev 572s libgio-2.0-dev libgio-2.0-dev-bin libgirepository-2.0-0 libglib2.0-bin 572s libglib2.0-dev libglib2.0-dev-bin libgomp1 libhwasan0 libisl23 libitm1 572s liblsan0 libmount-dev libmpc3 libpcre2-16-0 libpcre2-32-0 libpcre2-dev 572s libpcre2-posix3 libpkgconf3 libquadmath0 libselinux1-dev libsepol-dev 572s libstdc++-14-dev libsysprof-capture-4-dev libtsan2 libubsan1 572s native-architecture pkgconf pkgconf-bin python3-packaging uuid-dev 572s zlib1g-dev 572s 0 upgraded, 51 newly installed, 0 to remove and 0 not upgraded. 572s Need to get 71.8 MB of archives. 572s After this operation, 258 MB of additional disk space will be used. 572s Get:1 http://ftpmaster.internal/ubuntu plucky/main amd64 libisl23 amd64 0.27-1 [685 kB] 573s Get:2 http://ftpmaster.internal/ubuntu plucky/main amd64 libmpc3 amd64 1.3.1-1build2 [55.3 kB] 573s Get:3 http://ftpmaster.internal/ubuntu plucky/main amd64 cpp-14-x86-64-linux-gnu amd64 14.2.0-12ubuntu1 [11.9 MB] 573s Get:4 http://ftpmaster.internal/ubuntu plucky/main amd64 cpp-14 amd64 14.2.0-12ubuntu1 [1036 B] 573s Get:5 http://ftpmaster.internal/ubuntu plucky/main amd64 cpp-x86-64-linux-gnu amd64 4:14.1.0-2ubuntu1 [5452 B] 573s Get:6 http://ftpmaster.internal/ubuntu plucky/main amd64 cpp amd64 4:14.1.0-2ubuntu1 [22.4 kB] 573s Get:7 http://ftpmaster.internal/ubuntu plucky/main amd64 libcc1-0 amd64 14.2.0-12ubuntu1 [47.6 kB] 573s Get:8 http://ftpmaster.internal/ubuntu plucky/main amd64 libgomp1 amd64 14.2.0-12ubuntu1 [148 kB] 573s Get:9 http://ftpmaster.internal/ubuntu plucky/main amd64 libitm1 amd64 14.2.0-12ubuntu1 [28.9 kB] 573s Get:10 http://ftpmaster.internal/ubuntu plucky/main amd64 libasan8 amd64 14.2.0-12ubuntu1 [2998 kB] 573s Get:11 http://ftpmaster.internal/ubuntu plucky/main amd64 liblsan0 amd64 14.2.0-12ubuntu1 [1317 kB] 573s Get:12 http://ftpmaster.internal/ubuntu plucky/main amd64 libtsan2 amd64 14.2.0-12ubuntu1 [2732 kB] 574s Get:13 http://ftpmaster.internal/ubuntu plucky/main amd64 libubsan1 amd64 14.2.0-12ubuntu1 [1177 kB] 574s Get:14 http://ftpmaster.internal/ubuntu plucky/main amd64 libhwasan0 amd64 14.2.0-12ubuntu1 [1634 kB] 574s Get:15 http://ftpmaster.internal/ubuntu plucky/main amd64 libquadmath0 amd64 14.2.0-12ubuntu1 [153 kB] 574s Get:16 http://ftpmaster.internal/ubuntu plucky/main amd64 libgcc-14-dev amd64 14.2.0-12ubuntu1 [2815 kB] 574s Get:17 http://ftpmaster.internal/ubuntu plucky/main amd64 gcc-14-x86-64-linux-gnu amd64 14.2.0-12ubuntu1 [23.3 MB] 575s Get:18 http://ftpmaster.internal/ubuntu plucky/main amd64 gcc-14 amd64 14.2.0-12ubuntu1 [533 kB] 575s Get:19 http://ftpmaster.internal/ubuntu plucky/main amd64 gcc-x86-64-linux-gnu amd64 4:14.1.0-2ubuntu1 [1214 B] 575s Get:20 http://ftpmaster.internal/ubuntu plucky/main amd64 gcc amd64 4:14.1.0-2ubuntu1 [5000 B] 575s Get:21 http://ftpmaster.internal/ubuntu plucky/main amd64 libstdc++-14-dev amd64 14.2.0-12ubuntu1 [2506 kB] 575s Get:22 http://ftpmaster.internal/ubuntu plucky/main amd64 g++-14-x86-64-linux-gnu amd64 14.2.0-12ubuntu1 [13.3 MB] 576s Get:23 http://ftpmaster.internal/ubuntu plucky/main amd64 g++-14 amd64 14.2.0-12ubuntu1 [20.2 kB] 576s Get:24 http://ftpmaster.internal/ubuntu plucky/main amd64 g++-x86-64-linux-gnu amd64 4:14.1.0-2ubuntu1 [966 B] 576s Get:25 http://ftpmaster.internal/ubuntu plucky/main amd64 g++ amd64 4:14.1.0-2ubuntu1 [1100 B] 576s Get:26 http://ftpmaster.internal/ubuntu plucky/main amd64 build-essential amd64 12.10ubuntu1 [4928 B] 576s Get:27 http://ftpmaster.internal/ubuntu plucky/main amd64 gir1.2-glib-2.0-dev amd64 2.82.4-1 [853 kB] 576s Get:28 http://ftpmaster.internal/ubuntu plucky/main amd64 native-architecture all 0.2.3 [1990 B] 576s Get:29 http://ftpmaster.internal/ubuntu plucky/main amd64 libgirepository-2.0-0 amd64 2.82.4-1 [78.2 kB] 576s Get:30 http://ftpmaster.internal/ubuntu plucky/main amd64 girepository-tools amd64 2.82.4-1 [115 kB] 576s Get:31 http://ftpmaster.internal/ubuntu plucky/main amd64 libffi-dev amd64 3.4.6-1build1 [62.8 kB] 576s Get:32 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 uuid-dev amd64 2.40.2-14ubuntu1 [54.5 kB] 576s Get:33 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 libblkid-dev amd64 2.40.2-14ubuntu1 [235 kB] 576s Get:34 http://ftpmaster.internal/ubuntu plucky/main amd64 libsepol-dev amd64 3.7-1 [404 kB] 576s Get:35 http://ftpmaster.internal/ubuntu plucky/main amd64 libpcre2-16-0 amd64 10.42-4ubuntu3 [214 kB] 576s Get:36 http://ftpmaster.internal/ubuntu plucky/main amd64 libpcre2-32-0 amd64 10.42-4ubuntu3 [201 kB] 576s Get:37 http://ftpmaster.internal/ubuntu plucky/main amd64 libpcre2-posix3 amd64 10.42-4ubuntu3 [6768 B] 576s Get:38 http://ftpmaster.internal/ubuntu plucky/main amd64 libpcre2-dev amd64 10.42-4ubuntu3 [747 kB] 576s Get:39 http://ftpmaster.internal/ubuntu plucky/main amd64 libselinux1-dev amd64 3.7-3ubuntu1 [169 kB] 576s Get:40 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 libmount-dev amd64 2.40.2-14ubuntu1 [34.6 kB] 576s Get:41 http://ftpmaster.internal/ubuntu plucky/main amd64 libsysprof-capture-4-dev amd64 47.2-1 [52.1 kB] 576s Get:42 http://ftpmaster.internal/ubuntu plucky/main amd64 libpkgconf3 amd64 1.8.1-4 [32.3 kB] 576s Get:43 http://ftpmaster.internal/ubuntu plucky/main amd64 pkgconf-bin amd64 1.8.1-4 [21.6 kB] 576s Get:44 http://ftpmaster.internal/ubuntu plucky/main amd64 pkgconf amd64 1.8.1-4 [16.8 kB] 576s Get:45 http://ftpmaster.internal/ubuntu plucky/main amd64 zlib1g-dev amd64 1:1.3.dfsg+really1.3.1-1ubuntu1 [895 kB] 576s Get:46 http://ftpmaster.internal/ubuntu plucky/main amd64 libgio-2.0-dev amd64 2.82.4-1 [1876 kB] 576s Get:47 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-packaging all 24.2-1 [51.5 kB] 576s Get:48 http://ftpmaster.internal/ubuntu plucky/main amd64 libgio-2.0-dev-bin amd64 2.82.4-1 [128 kB] 576s Get:49 http://ftpmaster.internal/ubuntu plucky/main amd64 libglib2.0-bin amd64 2.82.4-1 [103 kB] 576s Get:50 http://ftpmaster.internal/ubuntu plucky/main amd64 libglib2.0-dev-bin amd64 2.82.4-1 [18.1 kB] 576s Get:51 http://ftpmaster.internal/ubuntu plucky/main amd64 libglib2.0-dev amd64 2.82.4-1 [18.9 kB] 577s Fetched 71.8 MB in 4s (16.9 MB/s) 577s Selecting previously unselected package libisl23:amd64. 577s (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 ... 75815 files and directories currently installed.) 577s Preparing to unpack .../00-libisl23_0.27-1_amd64.deb ... 577s Unpacking libisl23:amd64 (0.27-1) ... 577s Selecting previously unselected package libmpc3:amd64. 577s Preparing to unpack .../01-libmpc3_1.3.1-1build2_amd64.deb ... 577s Unpacking libmpc3:amd64 (1.3.1-1build2) ... 577s Selecting previously unselected package cpp-14-x86-64-linux-gnu. 577s Preparing to unpack .../02-cpp-14-x86-64-linux-gnu_14.2.0-12ubuntu1_amd64.deb ... 577s Unpacking cpp-14-x86-64-linux-gnu (14.2.0-12ubuntu1) ... 577s Selecting previously unselected package cpp-14. 577s Preparing to unpack .../03-cpp-14_14.2.0-12ubuntu1_amd64.deb ... 577s Unpacking cpp-14 (14.2.0-12ubuntu1) ... 577s Selecting previously unselected package cpp-x86-64-linux-gnu. 577s Preparing to unpack .../04-cpp-x86-64-linux-gnu_4%3a14.1.0-2ubuntu1_amd64.deb ... 577s Unpacking cpp-x86-64-linux-gnu (4:14.1.0-2ubuntu1) ... 577s Selecting previously unselected package cpp. 577s Preparing to unpack .../05-cpp_4%3a14.1.0-2ubuntu1_amd64.deb ... 577s Unpacking cpp (4:14.1.0-2ubuntu1) ... 577s Selecting previously unselected package libcc1-0:amd64. 577s Preparing to unpack .../06-libcc1-0_14.2.0-12ubuntu1_amd64.deb ... 577s Unpacking libcc1-0:amd64 (14.2.0-12ubuntu1) ... 577s Selecting previously unselected package libgomp1:amd64. 577s Preparing to unpack .../07-libgomp1_14.2.0-12ubuntu1_amd64.deb ... 577s Unpacking libgomp1:amd64 (14.2.0-12ubuntu1) ... 577s Selecting previously unselected package libitm1:amd64. 577s Preparing to unpack .../08-libitm1_14.2.0-12ubuntu1_amd64.deb ... 577s Unpacking libitm1:amd64 (14.2.0-12ubuntu1) ... 577s Selecting previously unselected package libasan8:amd64. 577s Preparing to unpack .../09-libasan8_14.2.0-12ubuntu1_amd64.deb ... 577s Unpacking libasan8:amd64 (14.2.0-12ubuntu1) ... 577s Selecting previously unselected package liblsan0:amd64. 577s Preparing to unpack .../10-liblsan0_14.2.0-12ubuntu1_amd64.deb ... 577s Unpacking liblsan0:amd64 (14.2.0-12ubuntu1) ... 577s Selecting previously unselected package libtsan2:amd64. 577s Preparing to unpack .../11-libtsan2_14.2.0-12ubuntu1_amd64.deb ... 577s Unpacking libtsan2:amd64 (14.2.0-12ubuntu1) ... 578s Selecting previously unselected package libubsan1:amd64. 578s Preparing to unpack .../12-libubsan1_14.2.0-12ubuntu1_amd64.deb ... 578s Unpacking libubsan1:amd64 (14.2.0-12ubuntu1) ... 578s Selecting previously unselected package libhwasan0:amd64. 578s Preparing to unpack .../13-libhwasan0_14.2.0-12ubuntu1_amd64.deb ... 578s Unpacking libhwasan0:amd64 (14.2.0-12ubuntu1) ... 578s Selecting previously unselected package libquadmath0:amd64. 578s Preparing to unpack .../14-libquadmath0_14.2.0-12ubuntu1_amd64.deb ... 578s Unpacking libquadmath0:amd64 (14.2.0-12ubuntu1) ... 578s Selecting previously unselected package libgcc-14-dev:amd64. 578s Preparing to unpack .../15-libgcc-14-dev_14.2.0-12ubuntu1_amd64.deb ... 578s Unpacking libgcc-14-dev:amd64 (14.2.0-12ubuntu1) ... 578s Selecting previously unselected package gcc-14-x86-64-linux-gnu. 578s Preparing to unpack .../16-gcc-14-x86-64-linux-gnu_14.2.0-12ubuntu1_amd64.deb ... 578s Unpacking gcc-14-x86-64-linux-gnu (14.2.0-12ubuntu1) ... 578s Selecting previously unselected package gcc-14. 578s Preparing to unpack .../17-gcc-14_14.2.0-12ubuntu1_amd64.deb ... 578s Unpacking gcc-14 (14.2.0-12ubuntu1) ... 578s Selecting previously unselected package gcc-x86-64-linux-gnu. 578s Preparing to unpack .../18-gcc-x86-64-linux-gnu_4%3a14.1.0-2ubuntu1_amd64.deb ... 578s Unpacking gcc-x86-64-linux-gnu (4:14.1.0-2ubuntu1) ... 578s Selecting previously unselected package gcc. 578s Preparing to unpack .../19-gcc_4%3a14.1.0-2ubuntu1_amd64.deb ... 578s Unpacking gcc (4:14.1.0-2ubuntu1) ... 578s Selecting previously unselected package libstdc++-14-dev:amd64. 578s Preparing to unpack .../20-libstdc++-14-dev_14.2.0-12ubuntu1_amd64.deb ... 578s Unpacking libstdc++-14-dev:amd64 (14.2.0-12ubuntu1) ... 578s Selecting previously unselected package g++-14-x86-64-linux-gnu. 578s Preparing to unpack .../21-g++-14-x86-64-linux-gnu_14.2.0-12ubuntu1_amd64.deb ... 578s Unpacking g++-14-x86-64-linux-gnu (14.2.0-12ubuntu1) ... 579s Selecting previously unselected package g++-14. 579s Preparing to unpack .../22-g++-14_14.2.0-12ubuntu1_amd64.deb ... 579s Unpacking g++-14 (14.2.0-12ubuntu1) ... 579s Selecting previously unselected package g++-x86-64-linux-gnu. 579s Preparing to unpack .../23-g++-x86-64-linux-gnu_4%3a14.1.0-2ubuntu1_amd64.deb ... 579s Unpacking g++-x86-64-linux-gnu (4:14.1.0-2ubuntu1) ... 579s Selecting previously unselected package g++. 579s Preparing to unpack .../24-g++_4%3a14.1.0-2ubuntu1_amd64.deb ... 579s Unpacking g++ (4:14.1.0-2ubuntu1) ... 579s Selecting previously unselected package build-essential. 579s Preparing to unpack .../25-build-essential_12.10ubuntu1_amd64.deb ... 579s Unpacking build-essential (12.10ubuntu1) ... 579s Selecting previously unselected package gir1.2-glib-2.0-dev:amd64. 579s Preparing to unpack .../26-gir1.2-glib-2.0-dev_2.82.4-1_amd64.deb ... 579s Unpacking gir1.2-glib-2.0-dev:amd64 (2.82.4-1) ... 579s Selecting previously unselected package native-architecture. 579s Preparing to unpack .../27-native-architecture_0.2.3_all.deb ... 579s Unpacking native-architecture (0.2.3) ... 579s Selecting previously unselected package libgirepository-2.0-0:amd64. 579s Preparing to unpack .../28-libgirepository-2.0-0_2.82.4-1_amd64.deb ... 579s Unpacking libgirepository-2.0-0:amd64 (2.82.4-1) ... 579s Selecting previously unselected package girepository-tools:amd64. 579s Preparing to unpack .../29-girepository-tools_2.82.4-1_amd64.deb ... 579s Unpacking girepository-tools:amd64 (2.82.4-1) ... 579s Selecting previously unselected package libffi-dev:amd64. 579s Preparing to unpack .../30-libffi-dev_3.4.6-1build1_amd64.deb ... 579s Unpacking libffi-dev:amd64 (3.4.6-1build1) ... 579s Selecting previously unselected package uuid-dev:amd64. 579s Preparing to unpack .../31-uuid-dev_2.40.2-14ubuntu1_amd64.deb ... 579s Unpacking uuid-dev:amd64 (2.40.2-14ubuntu1) ... 579s Selecting previously unselected package libblkid-dev:amd64. 579s Preparing to unpack .../32-libblkid-dev_2.40.2-14ubuntu1_amd64.deb ... 579s Unpacking libblkid-dev:amd64 (2.40.2-14ubuntu1) ... 579s Selecting previously unselected package libsepol-dev:amd64. 579s Preparing to unpack .../33-libsepol-dev_3.7-1_amd64.deb ... 579s Unpacking libsepol-dev:amd64 (3.7-1) ... 579s Selecting previously unselected package libpcre2-16-0:amd64. 579s Preparing to unpack .../34-libpcre2-16-0_10.42-4ubuntu3_amd64.deb ... 579s Unpacking libpcre2-16-0:amd64 (10.42-4ubuntu3) ... 579s Selecting previously unselected package libpcre2-32-0:amd64. 579s Preparing to unpack .../35-libpcre2-32-0_10.42-4ubuntu3_amd64.deb ... 579s Unpacking libpcre2-32-0:amd64 (10.42-4ubuntu3) ... 579s Selecting previously unselected package libpcre2-posix3:amd64. 579s Preparing to unpack .../36-libpcre2-posix3_10.42-4ubuntu3_amd64.deb ... 579s Unpacking libpcre2-posix3:amd64 (10.42-4ubuntu3) ... 579s Selecting previously unselected package libpcre2-dev:amd64. 579s Preparing to unpack .../37-libpcre2-dev_10.42-4ubuntu3_amd64.deb ... 579s Unpacking libpcre2-dev:amd64 (10.42-4ubuntu3) ... 579s Selecting previously unselected package libselinux1-dev:amd64. 579s Preparing to unpack .../38-libselinux1-dev_3.7-3ubuntu1_amd64.deb ... 579s Unpacking libselinux1-dev:amd64 (3.7-3ubuntu1) ... 579s Selecting previously unselected package libmount-dev:amd64. 579s Preparing to unpack .../39-libmount-dev_2.40.2-14ubuntu1_amd64.deb ... 579s Unpacking libmount-dev:amd64 (2.40.2-14ubuntu1) ... 579s Selecting previously unselected package libsysprof-capture-4-dev:amd64. 579s Preparing to unpack .../40-libsysprof-capture-4-dev_47.2-1_amd64.deb ... 579s Unpacking libsysprof-capture-4-dev:amd64 (47.2-1) ... 579s Selecting previously unselected package libpkgconf3:amd64. 579s Preparing to unpack .../41-libpkgconf3_1.8.1-4_amd64.deb ... 579s Unpacking libpkgconf3:amd64 (1.8.1-4) ... 579s Selecting previously unselected package pkgconf-bin. 579s Preparing to unpack .../42-pkgconf-bin_1.8.1-4_amd64.deb ... 579s Unpacking pkgconf-bin (1.8.1-4) ... 579s Selecting previously unselected package pkgconf:amd64. 579s Preparing to unpack .../43-pkgconf_1.8.1-4_amd64.deb ... 579s Unpacking pkgconf:amd64 (1.8.1-4) ... 579s Selecting previously unselected package zlib1g-dev:amd64. 579s Preparing to unpack .../44-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1ubuntu1_amd64.deb ... 579s Unpacking zlib1g-dev:amd64 (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 579s Selecting previously unselected package libgio-2.0-dev:amd64. 579s Preparing to unpack .../45-libgio-2.0-dev_2.82.4-1_amd64.deb ... 579s Unpacking libgio-2.0-dev:amd64 (2.82.4-1) ... 579s Selecting previously unselected package python3-packaging. 579s Preparing to unpack .../46-python3-packaging_24.2-1_all.deb ... 579s Unpacking python3-packaging (24.2-1) ... 579s Selecting previously unselected package libgio-2.0-dev-bin. 579s Preparing to unpack .../47-libgio-2.0-dev-bin_2.82.4-1_amd64.deb ... 579s Unpacking libgio-2.0-dev-bin (2.82.4-1) ... 579s Selecting previously unselected package libglib2.0-bin. 579s Preparing to unpack .../48-libglib2.0-bin_2.82.4-1_amd64.deb ... 579s Unpacking libglib2.0-bin (2.82.4-1) ... 580s Selecting previously unselected package libglib2.0-dev-bin. 580s Preparing to unpack .../49-libglib2.0-dev-bin_2.82.4-1_amd64.deb ... 580s Unpacking libglib2.0-dev-bin (2.82.4-1) ... 580s Selecting previously unselected package libglib2.0-dev:amd64. 580s Preparing to unpack .../50-libglib2.0-dev_2.82.4-1_amd64.deb ... 580s Unpacking libglib2.0-dev:amd64 (2.82.4-1) ... 580s Setting up native-architecture (0.2.3) ... 580s Setting up libgirepository-2.0-0:amd64 (2.82.4-1) ... 580s Setting up libglib2.0-bin (2.82.4-1) ... 580s Setting up libgomp1:amd64 (14.2.0-12ubuntu1) ... 580s Setting up libffi-dev:amd64 (3.4.6-1build1) ... 580s Setting up libpcre2-16-0:amd64 (10.42-4ubuntu3) ... 580s Setting up libsysprof-capture-4-dev:amd64 (47.2-1) ... 580s Setting up libpcre2-32-0:amd64 (10.42-4ubuntu3) ... 580s Setting up python3-packaging (24.2-1) ... 580s Setting up libpkgconf3:amd64 (1.8.1-4) ... 580s Setting up uuid-dev:amd64 (2.40.2-14ubuntu1) ... 580s Setting up libquadmath0:amd64 (14.2.0-12ubuntu1) ... 580s Setting up libmpc3:amd64 (1.3.1-1build2) ... 580s Setting up libsepol-dev:amd64 (3.7-1) ... 580s Setting up pkgconf-bin (1.8.1-4) ... 580s Setting up libubsan1:amd64 (14.2.0-12ubuntu1) ... 580s Setting up zlib1g-dev:amd64 (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 580s Setting up libpcre2-posix3:amd64 (10.42-4ubuntu3) ... 580s Setting up gir1.2-glib-2.0-dev:amd64 (2.82.4-1) ... 580s Setting up libhwasan0:amd64 (14.2.0-12ubuntu1) ... 580s Setting up libasan8:amd64 (14.2.0-12ubuntu1) ... 580s Setting up libtsan2:amd64 (14.2.0-12ubuntu1) ... 580s Setting up libisl23:amd64 (0.27-1) ... 580s Setting up libcc1-0:amd64 (14.2.0-12ubuntu1) ... 580s Setting up liblsan0:amd64 (14.2.0-12ubuntu1) ... 580s Setting up libitm1:amd64 (14.2.0-12ubuntu1) ... 580s Setting up libblkid-dev:amd64 (2.40.2-14ubuntu1) ... 580s Setting up libgio-2.0-dev-bin (2.82.4-1) ... 580s Setting up girepository-tools:amd64 (2.82.4-1) ... 580s Setting up libpcre2-dev:amd64 (10.42-4ubuntu3) ... 580s Setting up libselinux1-dev:amd64 (3.7-3ubuntu1) ... 580s Setting up pkgconf:amd64 (1.8.1-4) ... 580s Setting up cpp-14-x86-64-linux-gnu (14.2.0-12ubuntu1) ... 580s Setting up cpp-14 (14.2.0-12ubuntu1) ... 580s Setting up libgcc-14-dev:amd64 (14.2.0-12ubuntu1) ... 580s Setting up libstdc++-14-dev:amd64 (14.2.0-12ubuntu1) ... 580s Setting up libmount-dev:amd64 (2.40.2-14ubuntu1) ... 580s Setting up cpp-x86-64-linux-gnu (4:14.1.0-2ubuntu1) ... 580s Setting up libglib2.0-dev-bin (2.82.4-1) ... 580s Setting up libgio-2.0-dev:amd64 (2.82.4-1) ... 580s Setting up cpp (4:14.1.0-2ubuntu1) ... 580s Setting up gcc-14-x86-64-linux-gnu (14.2.0-12ubuntu1) ... 580s Setting up gcc-x86-64-linux-gnu (4:14.1.0-2ubuntu1) ... 580s Setting up gcc-14 (14.2.0-12ubuntu1) ... 580s Setting up g++-14-x86-64-linux-gnu (14.2.0-12ubuntu1) ... 580s Setting up g++-x86-64-linux-gnu (4:14.1.0-2ubuntu1) ... 580s Setting up g++-14 (14.2.0-12ubuntu1) ... 580s Setting up gcc (4:14.1.0-2ubuntu1) ... 580s Setting up g++ (4:14.1.0-2ubuntu1) ... 580s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 580s Setting up build-essential (12.10ubuntu1) ... 580s Processing triggers for install-info (7.1.1-1) ... 580s Processing triggers for libc-bin (2.40-4ubuntu1) ... 580s Processing triggers for man-db (2.13.0-1) ... 581s Processing triggers for libglib2.0-0t64:amd64 (2.82.4-1) ... 581s No schema files found: doing nothing. 581s Setting up libglib2.0-dev:amd64 (2.82.4-1) ... 604s autopkgtest [17:12:09]: test libglib2.0-dev: [----------------------- 604s + debian/tests/build 604s + mode=dynamic 604s + getopt -o --long static -n debian/tests/build -- 604s + getopt_temp= -- 604s + eval set -- -- 604s + set -- -- 604s + true 604s + shift 604s + break 604s + mktemp -d 604s + WORKDIR=/tmp/tmp.jo2m0zR2A4 604s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 604s + cd /tmp/tmp.jo2m0zR2A4 604s + [ -n ] 604s + CROSS_COMPILE= 604s + cat 604s + cat 604s + cat 604s + cat 604s + cat 604s + cat 604s + cflags= 604s + pcflags= 604s + packages=glib-2.0 604s + pkg-config --cflags --libs glib-2.0 604s + gcc -o glib-dynamic glib.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 604s build (glib, dynamic): OK 604s + echo build (glib, dynamic): OK 604s + [ -x glib-dynamic ] 604s + foo=bar ./glib-dynamic 604s + echo run (glib, dynamic): OK 604s + cflags= 604s + pcflags= 604s + packages=gobject-2.0 604s run (glib, dynamic): OK 604s + pkg-config --cflags --libs gobject-2.0 604s + gcc -o gobject-dynamic gobject.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0 604s + echo build (gobject, dynamic): OK 604s + [ -x gobject-dynamic ] 604s + foo=bar ./gobject-dynamic 604s build (gobject, dynamic): OK 604s run (gobject, dynamic): OK 604s + echo run (gobject, dynamic): OK 604s + cflags= 604s + pcflags= 604s + packages=gio-2.0 604s + pkg-config --cflags --libs gio-2.0 604s + gcc -o gio-dynamic gio.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-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 605s build (gio, dynamic): OK 605s + echo build (gio, dynamic): OK 605s + [ -x gio-dynamic ] 605s + foo=bar ./gio-dynamic 605s + echo run (gio, dynamic): OK 605s run (gio, dynamic): OK 605s + cflags= 605s + pcflags= 605s + packages=gio-unix-2.0 605s + pkg-config --cflags --libs gio-unix-2.0 605s + gcc -o gio-unix-dynamic gio-unix.c -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-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 605s build (gio-unix, dynamic): OK 605s + echo build (gio-unix, dynamic): OK 605s + [ -x gio-unix-dynamic ] 605s + foo=bar ./gio-unix-dynamic 605s run (gio-unix, dynamic): OK 605s + echo run (gio-unix, dynamic): OK 605s + cflags= 605s + pcflags= 605s + packages=gmodule-2.0 605s + pkg-config --cflags --libs gmodule-2.0 605s + gcc -o gmodule-dynamic gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-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 605s build (gmodule, dynamic): OK 605s + echo build (gmodule, dynamic): OK 605s + [ -x gmodule-dynamic ] 605s + foo=bar ./gmodule-dynamic 605s run (gmodule, dynamic): OK 605s + echo run (gmodule, dynamic): OK 605s + cflags= 605s + pcflags= 605s + packages=gthread-2.0 605s + pkg-config --cflags --libs gthread-2.0 605s + gcc -o gthread-dynamic gthread.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0 605s build (gthread, dynamic): OK 605s + echo build (gthread, dynamic): OK 605s + [ -x gthread-dynamic ] 605s + foo=bar ./gthread-dynamic 605s + echo run (gthread, dynamic): OK 605s + rm -rf /tmp/tmp.jo2m0zR2A4 605s run (gthread, dynamic): OK 605s + debian/tests/build-static 605s + mode=dynamic 605s + getopt -o --long static -n debian/tests/build -- --static 605s + getopt_temp= --static -- 605s + eval set -- --static -- 605s + set -- --static -- 605s + true 605s + mode=static 605s + shift 605s + continue 605s + true 605s + shift 605s + break 605s + mktemp -d 605s + WORKDIR=/tmp/tmp.CrHIrAkNI1 605s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 605s + cd /tmp/tmp.CrHIrAkNI1 605s + [ -n ] 605s + CROSS_COMPILE= 605s + cat 605s + cat 605s + cat 605s + cat 605s + cat 605s + cat 605s + cflags= 605s + pcflags= 605s + packages=glib-2.0 605s + cflags=-static 605s + pcflags=--static 605s + pkg-config --static --cflags --libs glib-2.0 605s + gcc -static -o glib-static glib.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 605s /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 605s (.text+0xe7): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 605s /usr/bin/ld: (.text+0x32e): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 605s /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 605s build (glib, static): OK 605s + echo build (glib, static): OK 605s + [ -x glib-static ] 605s + foo=bar ./glib-static 605s + echo run (glib, static): OKrun (glib, static): OK 605s 605s + cflags= 605s + pcflags= 605s + packages=gobject-2.0 605s + cflags=-static 605s + pcflags=--static 605s + pkg-config --static --cflags --libs gobject-2.0 605s + gcc -static -o gobject-static gobject.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-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 605s /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 605s (.text+0xe7): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 605s /usr/bin/ld: (.text+0x32e): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 605s /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 605s build (gobject, static): OK 605s + echo build (gobject, static): OK 605s + [ -x gobject-static ] 605s + foo=bar ./gobject-static 605s + echo run (gobject, static): OK 605s + cflags= 605s + pcflags= 605s + packages=gio-2.0 605s + cflags=-static 605s + pcflags=--static 605s + continue 605s + cflags= 605s + pcflags= 605s + packages=gio-unix-2.0 605s + cflags=-static 605s + pcflags=--static 605s + continue 605s + cflags= 605s + pcflags= 605s + packages=gmodule-2.0 605s + cflags=-static 605s + pcflags=--static 605s run (gobject, static): OK 605s + pkg-config --static --cflags --libs gmodule-2.0 605s + gcc -static -o gmodule-static gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-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 605s /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/libgmodule-2.0.a(gmodule.c.o): in function `g_module_open_full': 605s (.text+0x5bf): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 606s /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 606s (.text+0xe7): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 606s /usr/bin/ld: (.text+0x32e): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 606s /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 606s + build (gmodule, static): OK 606s echo build (gmodule, static): OK 606s + [ -x gmodule-static ] 606s + foo=bar ./gmodule-static 606s + echo run (gmodule, static): OK 606s run (gmodule, static): OK 606s + cflags= 606s + pcflags= 606s + packages=gthread-2.0 606s + cflags=-static 606s + pcflags=--static 606s + pkg-config --static --cflags --libs gthread-2.0 606s + gcc -static -o gthread-static gthread.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-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 606s /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 606s (.text+0xe7): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 606s /usr/bin/ld: (.text+0x32e): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 606s /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 606s build (gthread, static): OK 606s + echo build (gthread, static): OK 606s + [ -x gthread-static ] 606s + foo=bar ./gthread-static 606s + echo run (gthread, static): OK 606s + run (gthread, static): OK 606s rm -rf /tmp/tmp.CrHIrAkNI1 606s + debian/tests/girepository-tools 606s + cd /tmp/autopkgtest.UBVjl6/autopkgtest_tmp 606s + dpkg-architecture -qDEB_HOST_GNU_TYPE 606s + DEB_HOST_GNU_TYPE=x86_64-linux-gnu 606s + dpkg-architecture -qDEB_HOST_MULTIARCH 606s + DEB_HOST_MULTIARCH=x86_64-linux-gnu 606s + x86_64-linux-gnu-gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject 606s typelib: GLib-2.0 606s + x86_64-linux-gnu-gi-compile-repository -o GLib.typelib /usr/lib/x86_64-linux-gnu/gir-1.0/GLib-2.0.gir 606s + x86_64-linux-gnu-gi-decompile-typelib -o GLib.gir GLib.typelib 606s + debian/tests/libgio-2.0-dev-bin 606s + gdbus-codegen --help 606s usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 606s [--c-namespace NAMESPACE] [--c-generate-object-manager] 606s [--c-generate-autocleanup {none,objects,all}] 606s [--generate-docbook OUTFILES] [--generate-md OUTFILES] 606s [--generate-rst OUTFILES] [--pragma-once] 606s [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 606s [--glib-min-required VERSION] 606s [--glib-max-allowed VERSION] 606s [--symbol-decorator SYMBOL_DECORATOR] 606s [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 606s [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 606s [--generate-c-code OUTFILES | --header | --body | --interface-info-header | --interface-info-body] 606s [--output FILE | --output-directory OUTDIR] 606s FILE [FILE ...] 606s 606s D-Bus code and documentation generator 606s 606s positional arguments: 606s FILE D-Bus introspection XML file 606s 606s options: 606s -h, --help show this help message and exit 606s --interface-prefix PREFIX 606s String to strip from D-Bus interface names for code 606s and docs 606s --c-namespace NAMESPACE 606s The namespace to use for generated C code 606s --c-generate-object-manager 606s Generate a GDBusObjectManagerClient subclass when 606s generating C code 606s --c-generate-autocleanup {none,objects,all} 606s Generate autocleanup support 606s --generate-docbook OUTFILES 606s Generate Docbook in OUTFILES-org.Project.IFace.xml 606s --generate-md OUTFILES 606s Generate Markdown in OUTFILES-org.Project.IFace.md 606s --generate-rst OUTFILES 606s Generate reStructuredText in OUTFILES- 606s org.Project.IFace.rst 606s --pragma-once Use "pragma once" as the inclusion guard 606s --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 606s Add annotation (may be used several times) 606s --glib-min-required VERSION 606s Minimum version of GLib to be supported by the 606s outputted code (default: 2.30) 606s --glib-max-allowed VERSION 606s Maximum version of GLib to be used by the outputted 606s code (default: current GLib version) 606s --symbol-decorator SYMBOL_DECORATOR 606s Macro used to decorate a symbol in the outputted 606s header, possibly to export symbols 606s --symbol-decorator-header SYMBOL_DECORATOR_HEADER 606s Additional header required for decorator specified by 606s --symbol-decorator 606s --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 606s Additional define required for decorator specified by 606s --symbol-decorator 606s --generate-c-code OUTFILES 606s Generate C code in OUTFILES.[ch] 606s --header Generate C headers 606s --body Generate C code 606s --interface-info-header 606s Generate GDBusInterfaceInfo C header 606s --interface-info-body 606s Generate GDBusInterfaceInfo C code 606s --output FILE Write output into the specified file 606s --output-directory OUTDIR 606s Location to output generated files 606s + glib-compile-resources --version 606s 2.82.4 606s + glib-genmarshal --version 606s glib-genmarshal version 2.82.4 606s glib-genmarshal comes with ABSOLUTELY NO WARRANTY. 606s You may redistribute copies of glib-genmarshal under the terms of 606s the GNU General Public License which can be found in the 606s GLib source package. Sources, examples and contact 606s information are available at http://www.gtk.org 606s + glib-gettextize --version 606s + glib-mkenums --version 606s /usr/bin/glib-gettextize (GNU glib) 2.82.4 606s Copyright (C) 1995-1998, 2000, 2001 Free Software Foundation, Inc. 606s This is free software; see the source for copying conditions. There is NO 606s warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 606s Written by Ulrich Drepper 606s glib-mkenums version 2.82.4 606s glib-mkenums comes with ABSOLUTELY NO WARRANTY. 606s You may redistribute copies of glib-mkenums under the terms of 606s the GNU General Public License which can be found in the 606s GLib source package. Sources, examples and contact 606s information are available at http://www.gtk.org 606s + gobject-query tree 606s GObject 606s + gtester --version 606s gtester version 2.82.4 606s + gtester-report --version 606s gtester-report (GLib utils) version 2.82.4. 606s + cd /tmp/autopkgtest.UBVjl6/autopkgtest_tmp 606s + dpkg-architecture -qDEB_HOST_MULTIARCH 606s + DEB_HOST_MULTIARCH=x86_64-linux-gnu 606s + gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject 606s typelib: GLib-2.0 606s + gi-compile-repository -o GLib.typelib /usr/lib/x86_64-linux-gnu/gir-1.0/GLib-2.0.gir 606s + gi-decompile-typelib -o GLib.gir GLib.typelib 607s autopkgtest [17:12:12]: test libglib2.0-dev: -----------------------] 607s autopkgtest [17:12:12]: test libglib2.0-dev: - - - - - - - - - - results - - - - - - - - - - 607s libglib2.0-dev PASS (superficial) 607s autopkgtest [17:12:12]: test installed-tests: preparing testbed 792s autopkgtest [17:15:17]: testbed dpkg architecture: amd64 792s autopkgtest [17:15:17]: testbed apt version: 2.9.18 792s autopkgtest [17:15:17]: @@@@@@@@@@@@@@@@@@@@ test bed setup 792s autopkgtest [17:15:17]: testbed release detected to be: plucky 793s autopkgtest [17:15:18]: updating testbed package index (apt update) 793s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 793s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 794s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 794s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 794s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [855 kB] 794s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [14.7 kB] 794s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 794s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [177 kB] 794s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main i386 Packages [227 kB] 794s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 Packages [327 kB] 794s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/restricted amd64 Packages [40.1 kB] 794s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/restricted i386 Packages [2408 B] 794s Get:13 http://ftpmaster.internal/ubuntu plucky-proposed/universe amd64 Packages [1085 kB] 794s Get:14 http://ftpmaster.internal/ubuntu plucky-proposed/universe i386 Packages [462 kB] 794s Get:15 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse amd64 Packages [24.6 kB] 794s Get:16 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse i386 Packages [4116 B] 794s Fetched 3303 kB in 1s (3087 kB/s) 795s Reading package lists... 796s Reading package lists... 796s Building dependency tree... 796s Reading state information... 796s Calculating upgrade... 796s The following packages will be upgraded: 796s libgudev-1.0-0 rng-tools-debian usb.ids 797s 3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 797s Need to get 286 kB of archives. 797s After this operation, 0 B of additional disk space will be used. 797s Get:1 http://ftpmaster.internal/ubuntu plucky/universe amd64 rng-tools-debian amd64 2.6 [47.6 kB] 797s Get:2 http://ftpmaster.internal/ubuntu plucky/main amd64 usb.ids all 2025.01.14-1 [223 kB] 797s Get:3 http://ftpmaster.internal/ubuntu plucky/main amd64 libgudev-1.0-0 amd64 1:238-6 [15.8 kB] 797s Fetched 286 kB in 0s (580 kB/s) 798s (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 ... 75824 files and directories currently installed.) 798s Preparing to unpack .../rng-tools-debian_2.6_amd64.deb ... 798s Unpacking rng-tools-debian (2.6) over (2.5) ... 798s Preparing to unpack .../usb.ids_2025.01.14-1_all.deb ... 798s Unpacking usb.ids (2025.01.14-1) over (2024.12.04-1) ... 798s Preparing to unpack .../libgudev-1.0-0_1%3a238-6_amd64.deb ... 798s Unpacking libgudev-1.0-0:amd64 (1:238-6) over (1:238-5ubuntu1) ... 798s Setting up rng-tools-debian (2.6) ... 798s Setting up usb.ids (2025.01.14-1) ... 798s Setting up libgudev-1.0-0:amd64 (1:238-6) ... 798s Processing triggers for man-db (2.13.0-1) ... 799s Processing triggers for libc-bin (2.40-4ubuntu1) ... 800s Reading package lists... 800s Building dependency tree... 800s Reading state information... 800s 0 upgraded, 0 newly installed, 0 to remove and 14 not upgraded. 800s autopkgtest [17:15:25]: upgrading testbed (apt dist-upgrade and autopurge) 801s Reading package lists... 801s Building dependency tree... 801s Reading state information... 801s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 801s Starting 2 pkgProblemResolver with broken count: 0 801s Done 802s Entering ResolveByKeep 802s 802s The following NEW packages will be installed: 802s login.defs 802s The following packages will be upgraded: 802s bsdextrautils bsdutils eject fdisk libblkid1 libfdisk1 libmount1 802s libsmartcols1 libuuid1 login mount passwd util-linux uuid-runtime 802s 14 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 802s Need to get 3545 kB of archives. 802s After this operation, 1506 kB of additional disk space will be used. 802s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 bsdutils amd64 1:2.40.2-14ubuntu1 [102 kB] 803s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 eject amd64 2.40.2-14ubuntu1 [46.3 kB] 803s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 bsdextrautils amd64 2.40.2-14ubuntu1 [89.7 kB] 803s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 libfdisk1 amd64 2.40.2-14ubuntu1 [174 kB] 803s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 fdisk amd64 2.40.2-14ubuntu1 [144 kB] 803s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 libblkid1 amd64 2.40.2-14ubuntu1 [141 kB] 803s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 libmount1 amd64 2.40.2-14ubuntu1 [167 kB] 803s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 libsmartcols1 amd64 2.40.2-14ubuntu1 [98.4 kB] 803s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 mount amd64 2.40.2-14ubuntu1 [143 kB] 803s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 libuuid1 amd64 2.40.2-14ubuntu1 [43.3 kB] 803s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 util-linux amd64 2.40.2-14ubuntu1 [1137 kB] 803s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 uuid-runtime amd64 2.40.2-14ubuntu1 [54.2 kB] 803s Get:13 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 login.defs all 1:4.16.0-7ubuntu1 [38.5 kB] 803s Get:14 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 login amd64 1:4.16.0-2+really2.40.2-14ubuntu1 [77.8 kB] 803s Get:15 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 passwd amd64 1:4.16.0-7ubuntu1 [1088 kB] 803s Fetched 3545 kB in 1s (4675 kB/s) 803s (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 ... 75824 files and directories currently installed.) 803s Preparing to unpack .../bsdutils_1%3a2.40.2-14ubuntu1_amd64.deb ... 803s Unpacking bsdutils (1:2.40.2-14ubuntu1) over (1:2.40.2-1ubuntu2) ... 803s Setting up bsdutils (1:2.40.2-14ubuntu1) ... 803s (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 ... 75824 files and directories currently installed.) 803s Preparing to unpack .../eject_2.40.2-14ubuntu1_amd64.deb ... 803s Unpacking eject (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 803s Preparing to unpack .../bsdextrautils_2.40.2-14ubuntu1_amd64.deb ... 803s Unpacking bsdextrautils (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 803s Preparing to unpack .../libfdisk1_2.40.2-14ubuntu1_amd64.deb ... 803s Unpacking libfdisk1:amd64 (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 803s Preparing to unpack .../fdisk_2.40.2-14ubuntu1_amd64.deb ... 803s Unpacking fdisk (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 803s Preparing to unpack .../libblkid1_2.40.2-14ubuntu1_amd64.deb ... 803s Unpacking libblkid1:amd64 (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 803s Setting up libblkid1:amd64 (2.40.2-14ubuntu1) ... 803s (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 ... 75820 files and directories currently installed.) 803s Preparing to unpack .../libmount1_2.40.2-14ubuntu1_amd64.deb ... 803s Unpacking libmount1:amd64 (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 804s Setting up libmount1:amd64 (2.40.2-14ubuntu1) ... 804s (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 ... 75820 files and directories currently installed.) 804s Preparing to unpack .../libsmartcols1_2.40.2-14ubuntu1_amd64.deb ... 804s Unpacking libsmartcols1:amd64 (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 804s Setting up libsmartcols1:amd64 (2.40.2-14ubuntu1) ... 804s (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 ... 75820 files and directories currently installed.) 804s Preparing to unpack .../mount_2.40.2-14ubuntu1_amd64.deb ... 804s Unpacking mount (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 804s Preparing to unpack .../libuuid1_2.40.2-14ubuntu1_amd64.deb ... 804s Unpacking libuuid1:amd64 (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 804s Setting up libuuid1:amd64 (2.40.2-14ubuntu1) ... 804s (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 ... 75820 files and directories currently installed.) 804s Preparing to unpack .../util-linux_2.40.2-14ubuntu1_amd64.deb ... 804s Unpacking util-linux (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 804s Setting up util-linux (2.40.2-14ubuntu1) ... 805s fstrim.service is a disabled or a static unit not running, not starting it. 805s (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 ... 75813 files and directories currently installed.) 805s Preparing to unpack .../uuid-runtime_2.40.2-14ubuntu1_amd64.deb ... 805s Unpacking uuid-runtime (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 805s Selecting previously unselected package login.defs. 805s Preparing to unpack .../login.defs_1%3a4.16.0-7ubuntu1_all.deb ... 805s Unpacking login.defs (1:4.16.0-7ubuntu1) ... 805s Replacing files in old package login (1:4.15.3-3ubuntu2) ... 805s Setting up login.defs (1:4.16.0-7ubuntu1) ... 805s Installing new version of config file /etc/login.defs ... 805s (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 ... 75817 files and directories currently installed.) 805s Preparing to unpack .../login_1%3a4.16.0-2+really2.40.2-14ubuntu1_amd64.deb ... 805s Unpacking login (1:4.16.0-2+really2.40.2-14ubuntu1) over (1:4.15.3-3ubuntu2) ... 805s Preparing to unpack .../passwd_1%3a4.16.0-7ubuntu1_amd64.deb ... 805s Unpacking passwd (1:4.16.0-7ubuntu1) over (1:4.15.3-3ubuntu2) ... 805s Setting up passwd (1:4.16.0-7ubuntu1) ... 805s Setting up bsdextrautils (2.40.2-14ubuntu1) ... 805s Setting up eject (2.40.2-14ubuntu1) ... 805s Setting up libfdisk1:amd64 (2.40.2-14ubuntu1) ... 805s Setting up mount (2.40.2-14ubuntu1) ... 805s Setting up uuid-runtime (2.40.2-14ubuntu1) ... 806s uuidd.service is a disabled or a static unit not running, not starting it. 806s Setting up login (1:4.16.0-2+really2.40.2-14ubuntu1) ... 806s Setting up fdisk (2.40.2-14ubuntu1) ... 806s Processing triggers for man-db (2.13.0-1) ... 807s Processing triggers for libc-bin (2.40-4ubuntu1) ... 807s Reading package lists... 808s Building dependency tree... 808s Reading state information... 808s Starting pkgProblemResolver with broken count: 0 808s Starting 2 pkgProblemResolver with broken count: 0 808s Done 808s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 809s autopkgtest [17:15:34]: rebooting testbed after setup commands that affected boot 834s Reading package lists... 834s Building dependency tree... 834s Reading state information... 835s Starting pkgProblemResolver with broken count: 0 835s Starting 2 pkgProblemResolver with broken count: 0 835s Done 835s The following NEW packages will be installed: 835s dbus-x11 desktop-file-utils girepository-tools gnome-desktop-testing 835s libdrm-intel1 libdrm-radeon1 libfontenc1 libgbm1 libgio-2.0-dev-bin 835s libgirepository-2.0-0 libgl1 libgl1-mesa-dri libglapi-mesa libglib2.0-bin 835s libglib2.0-dev-bin libglib2.0-tests libglvnd0 libglx-mesa0 libglx0 libice6 835s libpciaccess0 libpixman-1-0 libsm6 libvulkan1 libwayland-server0 libx11-xcb1 835s libxaw7 libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0 libxcb-present0 835s libxcb-randr0 libxcb-shm0 libxcb-sync1 libxcb-xfixes0 libxfixes3 libxfont2 835s libxkbfile1 libxmu6 libxpm4 libxrandr2 libxrender1 libxshmfence1 libxt6t64 835s libxxf86vm1 mesa-libgallium native-architecture python3-dbusmock 835s python3-packaging tzdata-legacy x11-common x11-xkb-utils xserver-common xvfb 835s 0 upgraded, 54 newly installed, 0 to remove and 0 not upgraded. 835s Need to get 17.8 MB of archives. 835s After this operation, 75.2 MB of additional disk space will be used. 835s Get:1 http://ftpmaster.internal/ubuntu plucky/main amd64 dbus-x11 amd64 1.14.10-4ubuntu5 [23.4 kB] 836s Get:2 http://ftpmaster.internal/ubuntu plucky/main amd64 desktop-file-utils amd64 0.28-1 [54.5 kB] 836s Get:3 http://ftpmaster.internal/ubuntu plucky/main amd64 native-architecture all 0.2.3 [1990 B] 836s Get:4 http://ftpmaster.internal/ubuntu plucky/main amd64 libgirepository-2.0-0 amd64 2.82.4-1 [78.2 kB] 836s Get:5 http://ftpmaster.internal/ubuntu plucky/main amd64 girepository-tools amd64 2.82.4-1 [115 kB] 836s Get:6 http://ftpmaster.internal/ubuntu plucky/universe amd64 gnome-desktop-testing amd64 2021.1-4 [16.8 kB] 836s Get:7 http://ftpmaster.internal/ubuntu plucky/main amd64 libpciaccess0 amd64 0.17-3build1 [18.6 kB] 836s Get:8 http://ftpmaster.internal/ubuntu plucky/main amd64 libdrm-intel1 amd64 2.4.123-1 [68.8 kB] 836s Get:9 http://ftpmaster.internal/ubuntu plucky/main amd64 libdrm-radeon1 amd64 2.4.123-1 [25.3 kB] 836s Get:10 http://ftpmaster.internal/ubuntu plucky/main amd64 libfontenc1 amd64 1:1.1.8-1build1 [14.0 kB] 836s Get:11 http://ftpmaster.internal/ubuntu plucky/main amd64 libwayland-server0 amd64 1.23.0-1 [35.1 kB] 836s Get:12 http://ftpmaster.internal/ubuntu plucky/main amd64 libxcb-randr0 amd64 1.17.0-2 [17.9 kB] 836s Get:13 http://ftpmaster.internal/ubuntu plucky/main amd64 libglapi-mesa amd64 24.2.8-1ubuntu1 [42.5 kB] 836s Get:14 http://ftpmaster.internal/ubuntu plucky/main amd64 libx11-xcb1 amd64 2:1.8.10-2 [7944 B] 836s Get:15 http://ftpmaster.internal/ubuntu plucky/main amd64 libxcb-dri2-0 amd64 1.17.0-2 [7222 B] 836s Get:16 http://ftpmaster.internal/ubuntu plucky/main amd64 libxcb-dri3-0 amd64 1.17.0-2 [7508 B] 836s Get:17 http://ftpmaster.internal/ubuntu plucky/main amd64 libxcb-present0 amd64 1.17.0-2 [6064 B] 836s Get:18 http://ftpmaster.internal/ubuntu plucky/main amd64 libxcb-sync1 amd64 1.17.0-2 [9312 B] 836s Get:19 http://ftpmaster.internal/ubuntu plucky/main amd64 libxcb-xfixes0 amd64 1.17.0-2 [10.2 kB] 836s Get:20 http://ftpmaster.internal/ubuntu plucky/main amd64 libxshmfence1 amd64 1.3-1build5 [4764 B] 836s Get:21 http://ftpmaster.internal/ubuntu plucky/main amd64 mesa-libgallium amd64 24.2.8-1ubuntu1 [11.5 MB] 836s Get:22 http://ftpmaster.internal/ubuntu plucky/main amd64 libgbm1 amd64 24.2.8-1ubuntu1 [32.2 kB] 836s Get:23 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-packaging all 24.2-1 [51.5 kB] 836s Get:24 http://ftpmaster.internal/ubuntu plucky/main amd64 libgio-2.0-dev-bin amd64 2.82.4-1 [128 kB] 836s Get:25 http://ftpmaster.internal/ubuntu plucky/main amd64 libvulkan1 amd64 1.3.296.0-1 [143 kB] 836s Get:26 http://ftpmaster.internal/ubuntu plucky/main amd64 libgl1-mesa-dri amd64 24.2.8-1ubuntu1 [34.7 kB] 836s Get:27 http://ftpmaster.internal/ubuntu plucky/main amd64 libglib2.0-bin amd64 2.82.4-1 [103 kB] 836s Get:28 http://ftpmaster.internal/ubuntu plucky/main amd64 libglib2.0-dev-bin amd64 2.82.4-1 [18.1 kB] 836s Get:29 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-dbusmock all 0.34.0-1 [92.2 kB] 836s Get:30 http://ftpmaster.internal/ubuntu plucky/main amd64 tzdata-legacy all 2024b-4ubuntu1 [99.2 kB] 836s Get:31 http://ftpmaster.internal/ubuntu plucky/universe amd64 libglib2.0-tests amd64 2.82.4-1 [2249 kB] 837s Get:32 http://ftpmaster.internal/ubuntu plucky/main amd64 libxcb-glx0 amd64 1.17.0-2 [24.8 kB] 837s Get:33 http://ftpmaster.internal/ubuntu plucky/main amd64 libxcb-shm0 amd64 1.17.0-2 [5758 B] 837s Get:34 http://ftpmaster.internal/ubuntu plucky/main amd64 libxfixes3 amd64 1:6.0.0-2build1 [10.8 kB] 837s Get:35 http://ftpmaster.internal/ubuntu plucky/main amd64 libxxf86vm1 amd64 1:1.1.4-1build4 [9282 B] 837s Get:36 http://ftpmaster.internal/ubuntu plucky/main amd64 libglx-mesa0 amd64 24.2.8-1ubuntu1 [162 kB] 837s Get:37 http://ftpmaster.internal/ubuntu plucky/main amd64 x11-common all 1:7.7+23ubuntu3 [21.7 kB] 837s Get:38 http://ftpmaster.internal/ubuntu plucky/main amd64 libice6 amd64 2:1.1.1-1 [44.1 kB] 837s Get:39 http://ftpmaster.internal/ubuntu plucky/main amd64 libpixman-1-0 amd64 0.44.0-3 [427 kB] 837s Get:40 http://ftpmaster.internal/ubuntu plucky/main amd64 libsm6 amd64 2:1.2.4-1 [17.4 kB] 837s Get:41 http://ftpmaster.internal/ubuntu plucky/main amd64 libxt6t64 amd64 1:1.2.1-1.2build1 [171 kB] 837s Get:42 http://ftpmaster.internal/ubuntu plucky/main amd64 libxmu6 amd64 2:1.1.3-3build2 [47.6 kB] 837s Get:43 http://ftpmaster.internal/ubuntu plucky/main amd64 libxpm4 amd64 1:3.5.17-1build2 [36.5 kB] 837s Get:44 http://ftpmaster.internal/ubuntu plucky/main amd64 libxaw7 amd64 2:1.0.16-1 [207 kB] 837s Get:45 http://ftpmaster.internal/ubuntu plucky/main amd64 libxfont2 amd64 1:2.0.6-1build1 [93.0 kB] 837s Get:46 http://ftpmaster.internal/ubuntu plucky/main amd64 libxkbfile1 amd64 1:1.1.0-1build4 [70.0 kB] 837s Get:47 http://ftpmaster.internal/ubuntu plucky/main amd64 libxrender1 amd64 1:0.9.10-1.1build1 [19.0 kB] 837s Get:48 http://ftpmaster.internal/ubuntu plucky/main amd64 libxrandr2 amd64 2:1.5.4-1 [19.6 kB] 837s Get:49 http://ftpmaster.internal/ubuntu plucky/main amd64 x11-xkb-utils amd64 7.7+9 [169 kB] 837s Get:50 http://ftpmaster.internal/ubuntu plucky/main amd64 xserver-common all 2:21.1.14-2ubuntu1 [33.7 kB] 837s Get:51 http://ftpmaster.internal/ubuntu plucky/main amd64 libglvnd0 amd64 1.7.0-1build1 [69.6 kB] 837s Get:52 http://ftpmaster.internal/ubuntu plucky/main amd64 libglx0 amd64 1.7.0-1build1 [38.6 kB] 837s Get:53 http://ftpmaster.internal/ubuntu plucky/main amd64 libgl1 amd64 1.7.0-1build1 [102 kB] 837s Get:54 http://ftpmaster.internal/ubuntu plucky/universe amd64 xvfb amd64 2:21.1.14-2ubuntu1 [965 kB] 837s Fetched 17.8 MB in 2s (11.0 MB/s) 837s Selecting previously unselected package dbus-x11. 837s (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 ... 75815 files and directories currently installed.) 837s Preparing to unpack .../00-dbus-x11_1.14.10-4ubuntu5_amd64.deb ... 837s Unpacking dbus-x11 (1.14.10-4ubuntu5) ... 837s Selecting previously unselected package desktop-file-utils. 837s Preparing to unpack .../01-desktop-file-utils_0.28-1_amd64.deb ... 837s Unpacking desktop-file-utils (0.28-1) ... 837s Selecting previously unselected package native-architecture. 837s Preparing to unpack .../02-native-architecture_0.2.3_all.deb ... 837s Unpacking native-architecture (0.2.3) ... 837s Selecting previously unselected package libgirepository-2.0-0:amd64. 837s Preparing to unpack .../03-libgirepository-2.0-0_2.82.4-1_amd64.deb ... 837s Unpacking libgirepository-2.0-0:amd64 (2.82.4-1) ... 838s Selecting previously unselected package girepository-tools:amd64. 838s Preparing to unpack .../04-girepository-tools_2.82.4-1_amd64.deb ... 838s Unpacking girepository-tools:amd64 (2.82.4-1) ... 838s Selecting previously unselected package gnome-desktop-testing. 838s Preparing to unpack .../05-gnome-desktop-testing_2021.1-4_amd64.deb ... 838s Unpacking gnome-desktop-testing (2021.1-4) ... 838s Selecting previously unselected package libpciaccess0:amd64. 838s Preparing to unpack .../06-libpciaccess0_0.17-3build1_amd64.deb ... 838s Unpacking libpciaccess0:amd64 (0.17-3build1) ... 838s Selecting previously unselected package libdrm-intel1:amd64. 838s Preparing to unpack .../07-libdrm-intel1_2.4.123-1_amd64.deb ... 838s Unpacking libdrm-intel1:amd64 (2.4.123-1) ... 838s Selecting previously unselected package libdrm-radeon1:amd64. 838s Preparing to unpack .../08-libdrm-radeon1_2.4.123-1_amd64.deb ... 838s Unpacking libdrm-radeon1:amd64 (2.4.123-1) ... 838s Selecting previously unselected package libfontenc1:amd64. 838s Preparing to unpack .../09-libfontenc1_1%3a1.1.8-1build1_amd64.deb ... 838s Unpacking libfontenc1:amd64 (1:1.1.8-1build1) ... 838s Selecting previously unselected package libwayland-server0:amd64. 838s Preparing to unpack .../10-libwayland-server0_1.23.0-1_amd64.deb ... 838s Unpacking libwayland-server0:amd64 (1.23.0-1) ... 838s Selecting previously unselected package libxcb-randr0:amd64. 838s Preparing to unpack .../11-libxcb-randr0_1.17.0-2_amd64.deb ... 838s Unpacking libxcb-randr0:amd64 (1.17.0-2) ... 838s Selecting previously unselected package libglapi-mesa:amd64. 838s Preparing to unpack .../12-libglapi-mesa_24.2.8-1ubuntu1_amd64.deb ... 838s Unpacking libglapi-mesa:amd64 (24.2.8-1ubuntu1) ... 838s Selecting previously unselected package libx11-xcb1:amd64. 838s Preparing to unpack .../13-libx11-xcb1_2%3a1.8.10-2_amd64.deb ... 838s Unpacking libx11-xcb1:amd64 (2:1.8.10-2) ... 838s Selecting previously unselected package libxcb-dri2-0:amd64. 838s Preparing to unpack .../14-libxcb-dri2-0_1.17.0-2_amd64.deb ... 838s Unpacking libxcb-dri2-0:amd64 (1.17.0-2) ... 838s Selecting previously unselected package libxcb-dri3-0:amd64. 838s Preparing to unpack .../15-libxcb-dri3-0_1.17.0-2_amd64.deb ... 838s Unpacking libxcb-dri3-0:amd64 (1.17.0-2) ... 838s Selecting previously unselected package libxcb-present0:amd64. 838s Preparing to unpack .../16-libxcb-present0_1.17.0-2_amd64.deb ... 838s Unpacking libxcb-present0:amd64 (1.17.0-2) ... 838s Selecting previously unselected package libxcb-sync1:amd64. 838s Preparing to unpack .../17-libxcb-sync1_1.17.0-2_amd64.deb ... 838s Unpacking libxcb-sync1:amd64 (1.17.0-2) ... 838s Selecting previously unselected package libxcb-xfixes0:amd64. 838s Preparing to unpack .../18-libxcb-xfixes0_1.17.0-2_amd64.deb ... 838s Unpacking libxcb-xfixes0:amd64 (1.17.0-2) ... 838s Selecting previously unselected package libxshmfence1:amd64. 838s Preparing to unpack .../19-libxshmfence1_1.3-1build5_amd64.deb ... 838s Unpacking libxshmfence1:amd64 (1.3-1build5) ... 838s Selecting previously unselected package mesa-libgallium:amd64. 838s Preparing to unpack .../20-mesa-libgallium_24.2.8-1ubuntu1_amd64.deb ... 838s Unpacking mesa-libgallium:amd64 (24.2.8-1ubuntu1) ... 838s Selecting previously unselected package libgbm1:amd64. 838s Preparing to unpack .../21-libgbm1_24.2.8-1ubuntu1_amd64.deb ... 838s Unpacking libgbm1:amd64 (24.2.8-1ubuntu1) ... 838s Selecting previously unselected package python3-packaging. 838s Preparing to unpack .../22-python3-packaging_24.2-1_all.deb ... 838s Unpacking python3-packaging (24.2-1) ... 838s Selecting previously unselected package libgio-2.0-dev-bin. 838s Preparing to unpack .../23-libgio-2.0-dev-bin_2.82.4-1_amd64.deb ... 838s Unpacking libgio-2.0-dev-bin (2.82.4-1) ... 838s Selecting previously unselected package libvulkan1:amd64. 838s Preparing to unpack .../24-libvulkan1_1.3.296.0-1_amd64.deb ... 838s Unpacking libvulkan1:amd64 (1.3.296.0-1) ... 838s Selecting previously unselected package libgl1-mesa-dri:amd64. 838s Preparing to unpack .../25-libgl1-mesa-dri_24.2.8-1ubuntu1_amd64.deb ... 838s Unpacking libgl1-mesa-dri:amd64 (24.2.8-1ubuntu1) ... 838s Selecting previously unselected package libglib2.0-bin. 838s Preparing to unpack .../26-libglib2.0-bin_2.82.4-1_amd64.deb ... 838s Unpacking libglib2.0-bin (2.82.4-1) ... 838s Selecting previously unselected package libglib2.0-dev-bin. 838s Preparing to unpack .../27-libglib2.0-dev-bin_2.82.4-1_amd64.deb ... 838s Unpacking libglib2.0-dev-bin (2.82.4-1) ... 838s Selecting previously unselected package python3-dbusmock. 838s Preparing to unpack .../28-python3-dbusmock_0.34.0-1_all.deb ... 838s Unpacking python3-dbusmock (0.34.0-1) ... 838s Selecting previously unselected package tzdata-legacy. 838s Preparing to unpack .../29-tzdata-legacy_2024b-4ubuntu1_all.deb ... 838s Unpacking tzdata-legacy (2024b-4ubuntu1) ... 838s Selecting previously unselected package libglib2.0-tests. 838s Preparing to unpack .../30-libglib2.0-tests_2.82.4-1_amd64.deb ... 838s Unpacking libglib2.0-tests (2.82.4-1) ... 838s Selecting previously unselected package libxcb-glx0:amd64. 838s Preparing to unpack .../31-libxcb-glx0_1.17.0-2_amd64.deb ... 838s Unpacking libxcb-glx0:amd64 (1.17.0-2) ... 839s Selecting previously unselected package libxcb-shm0:amd64. 839s Preparing to unpack .../32-libxcb-shm0_1.17.0-2_amd64.deb ... 839s Unpacking libxcb-shm0:amd64 (1.17.0-2) ... 839s Selecting previously unselected package libxfixes3:amd64. 839s Preparing to unpack .../33-libxfixes3_1%3a6.0.0-2build1_amd64.deb ... 839s Unpacking libxfixes3:amd64 (1:6.0.0-2build1) ... 839s Selecting previously unselected package libxxf86vm1:amd64. 839s Preparing to unpack .../34-libxxf86vm1_1%3a1.1.4-1build4_amd64.deb ... 839s Unpacking libxxf86vm1:amd64 (1:1.1.4-1build4) ... 839s Selecting previously unselected package libglx-mesa0:amd64. 839s Preparing to unpack .../35-libglx-mesa0_24.2.8-1ubuntu1_amd64.deb ... 839s Unpacking libglx-mesa0:amd64 (24.2.8-1ubuntu1) ... 839s Selecting previously unselected package x11-common. 839s Preparing to unpack .../36-x11-common_1%3a7.7+23ubuntu3_all.deb ... 839s Unpacking x11-common (1:7.7+23ubuntu3) ... 839s Selecting previously unselected package libice6:amd64. 839s Preparing to unpack .../37-libice6_2%3a1.1.1-1_amd64.deb ... 839s Unpacking libice6:amd64 (2:1.1.1-1) ... 839s Selecting previously unselected package libpixman-1-0:amd64. 839s Preparing to unpack .../38-libpixman-1-0_0.44.0-3_amd64.deb ... 839s Unpacking libpixman-1-0:amd64 (0.44.0-3) ... 839s Selecting previously unselected package libsm6:amd64. 839s Preparing to unpack .../39-libsm6_2%3a1.2.4-1_amd64.deb ... 839s Unpacking libsm6:amd64 (2:1.2.4-1) ... 839s Selecting previously unselected package libxt6t64:amd64. 839s Preparing to unpack .../40-libxt6t64_1%3a1.2.1-1.2build1_amd64.deb ... 839s Unpacking libxt6t64:amd64 (1:1.2.1-1.2build1) ... 839s Selecting previously unselected package libxmu6:amd64. 839s Preparing to unpack .../41-libxmu6_2%3a1.1.3-3build2_amd64.deb ... 839s Unpacking libxmu6:amd64 (2:1.1.3-3build2) ... 839s Selecting previously unselected package libxpm4:amd64. 839s Preparing to unpack .../42-libxpm4_1%3a3.5.17-1build2_amd64.deb ... 839s Unpacking libxpm4:amd64 (1:3.5.17-1build2) ... 839s Selecting previously unselected package libxaw7:amd64. 839s Preparing to unpack .../43-libxaw7_2%3a1.0.16-1_amd64.deb ... 839s Unpacking libxaw7:amd64 (2:1.0.16-1) ... 839s Selecting previously unselected package libxfont2:amd64. 839s Preparing to unpack .../44-libxfont2_1%3a2.0.6-1build1_amd64.deb ... 839s Unpacking libxfont2:amd64 (1:2.0.6-1build1) ... 839s Selecting previously unselected package libxkbfile1:amd64. 839s Preparing to unpack .../45-libxkbfile1_1%3a1.1.0-1build4_amd64.deb ... 839s Unpacking libxkbfile1:amd64 (1:1.1.0-1build4) ... 839s Selecting previously unselected package libxrender1:amd64. 839s Preparing to unpack .../46-libxrender1_1%3a0.9.10-1.1build1_amd64.deb ... 839s Unpacking libxrender1:amd64 (1:0.9.10-1.1build1) ... 839s Selecting previously unselected package libxrandr2:amd64. 839s Preparing to unpack .../47-libxrandr2_2%3a1.5.4-1_amd64.deb ... 839s Unpacking libxrandr2:amd64 (2:1.5.4-1) ... 839s Selecting previously unselected package x11-xkb-utils. 839s Preparing to unpack .../48-x11-xkb-utils_7.7+9_amd64.deb ... 839s Unpacking x11-xkb-utils (7.7+9) ... 839s Selecting previously unselected package xserver-common. 839s Preparing to unpack .../49-xserver-common_2%3a21.1.14-2ubuntu1_all.deb ... 839s Unpacking xserver-common (2:21.1.14-2ubuntu1) ... 839s Selecting previously unselected package libglvnd0:amd64. 839s Preparing to unpack .../50-libglvnd0_1.7.0-1build1_amd64.deb ... 839s Unpacking libglvnd0:amd64 (1.7.0-1build1) ... 839s Selecting previously unselected package libglx0:amd64. 839s Preparing to unpack .../51-libglx0_1.7.0-1build1_amd64.deb ... 839s Unpacking libglx0:amd64 (1.7.0-1build1) ... 839s Selecting previously unselected package libgl1:amd64. 839s Preparing to unpack .../52-libgl1_1.7.0-1build1_amd64.deb ... 839s Unpacking libgl1:amd64 (1.7.0-1build1) ... 839s Selecting previously unselected package xvfb. 839s Preparing to unpack .../53-xvfb_2%3a21.1.14-2ubuntu1_amd64.deb ... 839s Unpacking xvfb (2:21.1.14-2ubuntu1) ... 839s Setting up gnome-desktop-testing (2021.1-4) ... 839s Setting up libxcb-dri3-0:amd64 (1.17.0-2) ... 839s Setting up libpixman-1-0:amd64 (0.44.0-3) ... 839s Setting up libwayland-server0:amd64 (1.23.0-1) ... 839s Setting up libx11-xcb1:amd64 (2:1.8.10-2) ... 839s Setting up libpciaccess0:amd64 (0.17-3build1) ... 839s Setting up native-architecture (0.2.3) ... 839s Setting up libxcb-xfixes0:amd64 (1.17.0-2) ... 839s Setting up desktop-file-utils (0.28-1) ... 839s Setting up libxpm4:amd64 (1:3.5.17-1build2) ... 839s Setting up libxrender1:amd64 (1:0.9.10-1.1build1) ... 839s Setting up libgirepository-2.0-0:amd64 (2.82.4-1) ... 839s Setting up libdrm-radeon1:amd64 (2.4.123-1) ... 839s Setting up libglvnd0:amd64 (1.7.0-1build1) ... 839s Setting up libxcb-glx0:amd64 (1.17.0-2) ... 839s Setting up libdrm-intel1:amd64 (2.4.123-1) ... 839s Setting up x11-common (1:7.7+23ubuntu3) ... 839s Setting up libglib2.0-bin (2.82.4-1) ... 839s Setting up libxcb-shm0:amd64 (1.17.0-2) ... 839s Setting up python3-dbusmock (0.34.0-1) ... 840s Setting up tzdata-legacy (2024b-4ubuntu1) ... 840s Setting up libxxf86vm1:amd64 (1:1.1.4-1build4) ... 840s Setting up libxcb-present0:amd64 (1.17.0-2) ... 840s Setting up libfontenc1:amd64 (1:1.1.8-1build1) ... 840s Setting up python3-packaging (24.2-1) ... 840s Setting up libxfixes3:amd64 (1:6.0.0-2build1) ... 840s Setting up libxcb-sync1:amd64 (1.17.0-2) ... 840s Setting up libxrandr2:amd64 (2:1.5.4-1) ... 840s Setting up libglapi-mesa:amd64 (24.2.8-1ubuntu1) ... 840s Setting up libvulkan1:amd64 (1.3.296.0-1) ... 840s Setting up libxcb-dri2-0:amd64 (1.17.0-2) ... 840s Setting up libxshmfence1:amd64 (1.3-1build5) ... 840s Setting up dbus-x11 (1.14.10-4ubuntu5) ... 840s Setting up libxcb-randr0:amd64 (1.17.0-2) ... 840s Setting up libxkbfile1:amd64 (1:1.1.0-1build4) ... 840s Setting up libxfont2:amd64 (1:2.0.6-1build1) ... 840s Setting up libice6:amd64 (2:1.1.1-1) ... 840s Setting up mesa-libgallium:amd64 (24.2.8-1ubuntu1) ... 840s Setting up libgio-2.0-dev-bin (2.82.4-1) ... 840s Setting up girepository-tools:amd64 (2.82.4-1) ... 840s Setting up libgbm1:amd64 (24.2.8-1ubuntu1) ... 840s Setting up libgl1-mesa-dri:amd64 (24.2.8-1ubuntu1) ... 840s Setting up libsm6:amd64 (2:1.2.4-1) ... 840s Setting up libglib2.0-dev-bin (2.82.4-1) ... 840s Setting up libglx-mesa0:amd64 (24.2.8-1ubuntu1) ... 840s Setting up libglx0:amd64 (1.7.0-1build1) ... 840s Setting up libgl1:amd64 (1.7.0-1build1) ... 840s Setting up libxt6t64:amd64 (1:1.2.1-1.2build1) ... 840s Setting up libglib2.0-tests (2.82.4-1) ... 840s Setting up libxmu6:amd64 (2:1.1.3-3build2) ... 840s Setting up libxaw7:amd64 (2:1.0.16-1) ... 840s Setting up x11-xkb-utils (7.7+9) ... 840s Setting up xserver-common (2:21.1.14-2ubuntu1) ... 840s Setting up xvfb (2:21.1.14-2ubuntu1) ... 840s Processing triggers for man-db (2.13.0-1) ... 841s Processing triggers for libc-bin (2.40-4ubuntu1) ... 851s autopkgtest [17:16:16]: test installed-tests: [----------------------- 851s Running as: uid=1000(ubuntu) gid=1000(ubuntu) groups=1000(ubuntu),4(adm),24(cdrom),27(sudo),30(dip),104(lxd) 851s passwd entry: ubuntu:x:1000:1000:Ubuntu:/home/ubuntu:/bin/bash 851s group entry: ubuntu:x:1000: 851s Environment: 851s ADTTMP=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp 851s ADT_ARTIFACTS=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts 851s ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2 851s AUTOPKGTEST_ARTIFACTS=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts 851s AUTOPKGTEST_TESTBED_ARCH=amd64 851s AUTOPKGTEST_TEST_ARCH=amd64 851s AUTOPKGTEST_TMP=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp 851s DEBIAN_FRONTEND=noninteractive 851s DEB_BUILD_OPTIONS=parallel=2 851s GIO_USE_VFS=local 851s GIO_USE_VOLUME_MONITOR=unix 851s HOME=/home/ubuntu 851s LANG=C.UTF-8 851s LOGNAME=ubuntu 851s MAIL=/var/mail/ubuntu 851s OLDPWD=/home/ubuntu 851s PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin 851s PWD=/tmp/autopkgtest.UBVjl6/build.8MR/src 851s SHELL=/bin/bash 851s SHLVL=1 851s SUDO_COMMAND=/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests 851s SUDO_GID=1000 851s SUDO_UID=1000 851s SUDO_USER=ubuntu 851s TERM=linux 851s USER=ubuntu 851s XDG_RUNTIME_DIR=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp 851s http_proxy=http://squid.internal:3128 851s https_proxy=http://squid.internal:3128 851s no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com 851s run-with-locales: de_DE=ISO-8859-1... 851s Character set: ISO-8859-1 851s Source file: de_DE 851s Output: /tmp/tmp.WoB3q0SlyL/de_DE 851s run-with-locales: de_DE.utf8... 851s Character set: UTF-8 851s Source file: de_DE 851s Output: /tmp/tmp.WoB3q0SlyL/de_DE.utf8 853s run-with-locales: de_DE@euro.utf8... 853s Character set: UTF-8 853s Source file: de_DE@euro 853s Output: /tmp/tmp.WoB3q0SlyL/de_DE@euro.utf8 854s run-with-locales: el_GR.utf8... 854s Character set: UTF-8 854s Source file: el_GR 854s Output: /tmp/tmp.WoB3q0SlyL/el_GR.utf8 855s run-with-locales: en_GB=ISO-8859-1... 855s Character set: ISO-8859-1 855s Source file: en_GB 855s Output: /tmp/tmp.WoB3q0SlyL/en_GB 855s run-with-locales: en_GB.utf8... 855s Character set: UTF-8 855s Source file: en_GB 855s Output: /tmp/tmp.WoB3q0SlyL/en_GB.utf8 857s run-with-locales: en_US=ISO-8859-1... 857s Character set: ISO-8859-1 857s Source file: en_US 857s Output: /tmp/tmp.WoB3q0SlyL/en_US 857s run-with-locales: en_US.utf8... 857s Character set: UTF-8 857s Source file: en_US 857s Output: /tmp/tmp.WoB3q0SlyL/en_US.utf8 858s run-with-locales: es_ES.utf8... 858s Character set: UTF-8 858s Source file: es_ES 858s Output: /tmp/tmp.WoB3q0SlyL/es_ES.utf8 859s run-with-locales: fa_IR=UTF-8... 859s Character set: UTF-8 859s Source file: fa_IR 859s Output: /tmp/tmp.WoB3q0SlyL/fa_IR 860s run-with-locales: fa_IR.utf8... 860s Character set: UTF-8 860s Source file: fa_IR 860s Output: /tmp/tmp.WoB3q0SlyL/fa_IR.utf8 862s run-with-locales: fr_FR.utf8... 862s Character set: UTF-8 862s Source file: fr_FR 862s Output: /tmp/tmp.WoB3q0SlyL/fr_FR.utf8 863s run-with-locales: hr_HR.utf8... 863s Character set: UTF-8 863s Source file: hr_HR 863s Output: /tmp/tmp.WoB3q0SlyL/hr_HR.utf8 864s run-with-locales: ja_JP.utf8... 864s Character set: UTF-8 864s Source file: ja_JP 864s Output: /tmp/tmp.WoB3q0SlyL/ja_JP.utf8 865s run-with-locales: ja_JP.EUC-JP... 865s Character set: EUC-JP 865s Source file: ja_JP 865s Output: /tmp/tmp.WoB3q0SlyL/ja_JP.eucjp 865s run-with-locales: lt_LT.utf8... 865s Character set: UTF-8 865s Source file: lt_LT 865s Output: /tmp/tmp.WoB3q0SlyL/lt_LT.utf8 866s run-with-locales: pl_PL=ISO-8859-2... 866s Character set: ISO-8859-2 866s Source file: pl_PL 866s Output: /tmp/tmp.WoB3q0SlyL/pl_PL 867s run-with-locales: pl_PL.ISO-8859-2... 867s Character set: ISO-8859-2 867s Source file: pl_PL 867s Output: /tmp/tmp.WoB3q0SlyL/pl_PL.iso88592 867s run-with-locales: pl_PL.utf8... 867s Character set: UTF-8 867s Source file: pl_PL 867s Output: /tmp/tmp.WoB3q0SlyL/pl_PL.utf8 868s run-with-locales: ru_RU=ISO-8859-5... 868s Character set: ISO-8859-5 868s Source file: ru_RU 868s Output: /tmp/tmp.WoB3q0SlyL/ru_RU 868s run-with-locales: ru_RU.utf8... 868s Character set: UTF-8 868s Source file: ru_RU 868s Output: /tmp/tmp.WoB3q0SlyL/ru_RU.utf8 870s run-with-locales: sr_RS=UTF-8... 870s Character set: UTF-8 870s Source file: sr_RS 870s Output: /tmp/tmp.WoB3q0SlyL/sr_RS 871s run-with-locales: sr_RS@latin=UTF-8... 871s Character set: UTF-8 871s Source file: sr_RS@latin 871s Output: /tmp/tmp.WoB3q0SlyL/sr_RS@latin 872s run-with-locales: sv_SE=ISO-8859-1... 872s Character set: ISO-8859-1 872s Source file: sv_SE 872s Output: /tmp/tmp.WoB3q0SlyL/sv_SE 872s run-with-locales: sv_SE.utf8... 872s Character set: UTF-8 872s Source file: sv_SE 872s Output: /tmp/tmp.WoB3q0SlyL/sv_SE.utf8 874s run-with-locales: tr_TR=ISO-8859-9... 874s Character set: ISO-8859-9 874s Source file: tr_TR 874s Output: /tmp/tmp.WoB3q0SlyL/tr_TR 874s run-with-locales: tr_TR.utf8... 874s Character set: UTF-8 874s Source file: tr_TR 874s Output: /tmp/tmp.WoB3q0SlyL/tr_TR.utf8 875s run-with-locales: tt_RU=UTF-8... 875s Character set: UTF-8 875s Source file: tt_RU 875s Output: /tmp/tmp.WoB3q0SlyL/tt_RU 876s run-with-locales: tt_RU.utf8... 876s Character set: UTF-8 876s Source file: tt_RU 876s Output: /tmp/tmp.WoB3q0SlyL/tt_RU.utf8 878s run-with-locales: tt_RU@iqtelif=UTF-8... 878s Character set: UTF-8 878s Source file: tt_RU@iqtelif 878s Output: /tmp/tmp.WoB3q0SlyL/tt_RU@iqtelif 879s /tmp/tmp.WoB3q0SlyL 879s /tmp/tmp.WoB3q0SlyL/en_GB 879s /tmp/tmp.WoB3q0SlyL/en_GB/LC_MESSAGES 879s /tmp/tmp.WoB3q0SlyL/en_GB/LC_MESSAGES/SYS_LC_MESSAGES 879s /tmp/tmp.WoB3q0SlyL/en_GB/LC_PAPER 879s /tmp/tmp.WoB3q0SlyL/en_GB/LC_TELEPHONE 879s /tmp/tmp.WoB3q0SlyL/en_GB/LC_NAME 879s /tmp/tmp.WoB3q0SlyL/en_GB/LC_ADDRESS 879s /tmp/tmp.WoB3q0SlyL/en_GB/LC_TIME 879s /tmp/tmp.WoB3q0SlyL/en_GB/LC_MONETARY 879s /tmp/tmp.WoB3q0SlyL/en_GB/LC_IDENTIFICATION 879s /tmp/tmp.WoB3q0SlyL/en_GB/LC_COLLATE 879s /tmp/tmp.WoB3q0SlyL/en_GB/LC_NUMERIC 879s /tmp/tmp.WoB3q0SlyL/en_GB/LC_MEASUREMENT 879s /tmp/tmp.WoB3q0SlyL/en_GB/LC_CTYPE 879s /tmp/tmp.WoB3q0SlyL/lt_LT.utf8 879s /tmp/tmp.WoB3q0SlyL/lt_LT.utf8/LC_MESSAGES 879s /tmp/tmp.WoB3q0SlyL/lt_LT.utf8/LC_MESSAGES/SYS_LC_MESSAGES 879s /tmp/tmp.WoB3q0SlyL/lt_LT.utf8/LC_PAPER 879s /tmp/tmp.WoB3q0SlyL/lt_LT.utf8/LC_TELEPHONE 879s /tmp/tmp.WoB3q0SlyL/lt_LT.utf8/LC_NAME 879s /tmp/tmp.WoB3q0SlyL/lt_LT.utf8/LC_ADDRESS 879s /tmp/tmp.WoB3q0SlyL/lt_LT.utf8/LC_TIME 879s /tmp/tmp.WoB3q0SlyL/lt_LT.utf8/LC_MONETARY 879s /tmp/tmp.WoB3q0SlyL/lt_LT.utf8/LC_IDENTIFICATION 879s /tmp/tmp.WoB3q0SlyL/lt_LT.utf8/LC_COLLATE 879s /tmp/tmp.WoB3q0SlyL/lt_LT.utf8/LC_NUMERIC 879s /tmp/tmp.WoB3q0SlyL/lt_LT.utf8/LC_MEASUREMENT 879s /tmp/tmp.WoB3q0SlyL/lt_LT.utf8/LC_CTYPE 879s /tmp/tmp.WoB3q0SlyL/tt_RU 879s /tmp/tmp.WoB3q0SlyL/tt_RU/LC_MESSAGES 879s /tmp/tmp.WoB3q0SlyL/tt_RU/LC_MESSAGES/SYS_LC_MESSAGES 879s /tmp/tmp.WoB3q0SlyL/tt_RU/LC_PAPER 879s /tmp/tmp.WoB3q0SlyL/tt_RU/LC_TELEPHONE 879s /tmp/tmp.WoB3q0SlyL/tt_RU/LC_NAME 879s /tmp/tmp.WoB3q0SlyL/tt_RU/LC_ADDRESS 879s /tmp/tmp.WoB3q0SlyL/tt_RU/LC_TIME 879s /tmp/tmp.WoB3q0SlyL/tt_RU/LC_MONETARY 879s /tmp/tmp.WoB3q0SlyL/tt_RU/LC_IDENTIFICATION 879s /tmp/tmp.WoB3q0SlyL/tt_RU/LC_COLLATE 879s /tmp/tmp.WoB3q0SlyL/tt_RU/LC_NUMERIC 879s /tmp/tmp.WoB3q0SlyL/tt_RU/LC_MEASUREMENT 879s /tmp/tmp.WoB3q0SlyL/tt_RU/LC_CTYPE 879s /tmp/tmp.WoB3q0SlyL/sr_RS 879s /tmp/tmp.WoB3q0SlyL/sr_RS/LC_MESSAGES 879s /tmp/tmp.WoB3q0SlyL/sr_RS/LC_MESSAGES/SYS_LC_MESSAGES 879s /tmp/tmp.WoB3q0SlyL/sr_RS/LC_PAPER 879s /tmp/tmp.WoB3q0SlyL/sr_RS/LC_TELEPHONE 879s /tmp/tmp.WoB3q0SlyL/sr_RS/LC_NAME 879s /tmp/tmp.WoB3q0SlyL/sr_RS/LC_ADDRESS 879s /tmp/tmp.WoB3q0SlyL/sr_RS/LC_TIME 879s /tmp/tmp.WoB3q0SlyL/sr_RS/LC_MONETARY 879s /tmp/tmp.WoB3q0SlyL/sr_RS/LC_IDENTIFICATION 879s /tmp/tmp.WoB3q0SlyL/sr_RS/LC_COLLATE 879s /tmp/tmp.WoB3q0SlyL/sr_RS/LC_NUMERIC 879s /tmp/tmp.WoB3q0SlyL/sr_RS/LC_MEASUREMENT 879s /tmp/tmp.WoB3q0SlyL/sr_RS/LC_CTYPE 879s /tmp/tmp.WoB3q0SlyL/de_DE@euro.utf8 879s /tmp/tmp.WoB3q0SlyL/de_DE@euro.utf8/LC_MESSAGES 879s /tmp/tmp.WoB3q0SlyL/de_DE@euro.utf8/LC_MESSAGES/SYS_LC_MESSAGES 879s /tmp/tmp.WoB3q0SlyL/de_DE@euro.utf8/LC_PAPER 879s /tmp/tmp.WoB3q0SlyL/de_DE@euro.utf8/LC_TELEPHONE 879s /tmp/tmp.WoB3q0SlyL/de_DE@euro.utf8/LC_NAME 879s /tmp/tmp.WoB3q0SlyL/de_DE@euro.utf8/LC_ADDRESS 879s /tmp/tmp.WoB3q0SlyL/de_DE@euro.utf8/LC_TIME 879s /tmp/tmp.WoB3q0SlyL/de_DE@euro.utf8/LC_MONETARY 879s /tmp/tmp.WoB3q0SlyL/de_DE@euro.utf8/LC_IDENTIFICATION 879s /tmp/tmp.WoB3q0SlyL/de_DE@euro.utf8/LC_COLLATE 879s /tmp/tmp.WoB3q0SlyL/de_DE@euro.utf8/LC_NUMERIC 879s /tmp/tmp.WoB3q0SlyL/de_DE@euro.utf8/LC_MEASUREMENT 879s /tmp/tmp.WoB3q0SlyL/de_DE@euro.utf8/LC_CTYPE 879s /tmp/tmp.WoB3q0SlyL/fr_FR.utf8 879s /tmp/tmp.WoB3q0SlyL/fr_FR.utf8/LC_MESSAGES 879s /tmp/tmp.WoB3q0SlyL/fr_FR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 879s /tmp/tmp.WoB3q0SlyL/fr_FR.utf8/LC_PAPER 879s /tmp/tmp.WoB3q0SlyL/fr_FR.utf8/LC_TELEPHONE 879s /tmp/tmp.WoB3q0SlyL/fr_FR.utf8/LC_NAME 879s /tmp/tmp.WoB3q0SlyL/fr_FR.utf8/LC_ADDRESS 879s /tmp/tmp.WoB3q0SlyL/fr_FR.utf8/LC_TIME 879s /tmp/tmp.WoB3q0SlyL/fr_FR.utf8/LC_MONETARY 879s /tmp/tmp.WoB3q0SlyL/fr_FR.utf8/LC_IDENTIFICATION 879s /tmp/tmp.WoB3q0SlyL/fr_FR.utf8/LC_COLLATE 879s /tmp/tmp.WoB3q0SlyL/fr_FR.utf8/LC_NUMERIC 879s /tmp/tmp.WoB3q0SlyL/fr_FR.utf8/LC_MEASUREMENT 879s /tmp/tmp.WoB3q0SlyL/fr_FR.utf8/LC_CTYPE 879s /tmp/tmp.WoB3q0SlyL/tt_RU.utf8 879s /tmp/tmp.WoB3q0SlyL/tt_RU.utf8/LC_MESSAGES 879s /tmp/tmp.WoB3q0SlyL/tt_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES 879s /tmp/tmp.WoB3q0SlyL/tt_RU.utf8/LC_PAPER 879s /tmp/tmp.WoB3q0SlyL/tt_RU.utf8/LC_TELEPHONE 879s /tmp/tmp.WoB3q0SlyL/tt_RU.utf8/LC_NAME 879s /tmp/tmp.WoB3q0SlyL/tt_RU.utf8/LC_ADDRESS 879s /tmp/tmp.WoB3q0SlyL/tt_RU.utf8/LC_TIME 879s /tmp/tmp.WoB3q0SlyL/tt_RU.utf8/LC_MONETARY 879s /tmp/tmp.WoB3q0SlyL/tt_RU.utf8/LC_IDENTIFICATION 879s /tmp/tmp.WoB3q0SlyL/tt_RU.utf8/LC_COLLATE 879s /tmp/tmp.WoB3q0SlyL/tt_RU.utf8/LC_NUMERIC 879s /tmp/tmp.WoB3q0SlyL/tt_RU.utf8/LC_MEASUREMENT 879s /tmp/tmp.WoB3q0SlyL/tt_RU.utf8/LC_CTYPE 879s /tmp/tmp.WoB3q0SlyL/pl_PL.iso88592 879s /tmp/tmp.WoB3q0SlyL/pl_PL.iso88592/LC_MESSAGES 879s /tmp/tmp.WoB3q0SlyL/pl_PL.iso88592/LC_MESSAGES/SYS_LC_MESSAGES 879s /tmp/tmp.WoB3q0SlyL/pl_PL.iso88592/LC_PAPER 879s /tmp/tmp.WoB3q0SlyL/pl_PL.iso88592/LC_TELEPHONE 879s /tmp/tmp.WoB3q0SlyL/pl_PL.iso88592/LC_NAME 879s /tmp/tmp.WoB3q0SlyL/pl_PL.iso88592/LC_ADDRESS 879s /tmp/tmp.WoB3q0SlyL/pl_PL.iso88592/LC_TIME 879s /tmp/tmp.WoB3q0SlyL/pl_PL.iso88592/LC_MONETARY 879s /tmp/tmp.WoB3q0SlyL/pl_PL.iso88592/LC_IDENTIFICATION 879s /tmp/tmp.WoB3q0SlyL/pl_PL.iso88592/LC_COLLATE 879s /tmp/tmp.WoB3q0SlyL/pl_PL.iso88592/LC_NUMERIC 879s /tmp/tmp.WoB3q0SlyL/pl_PL.iso88592/LC_MEASUREMENT 879s /tmp/tmp.WoB3q0SlyL/pl_PL.iso88592/LC_CTYPE 879s /tmp/tmp.WoB3q0SlyL/ru_RU 879s /tmp/tmp.WoB3q0SlyL/ru_RU/LC_MESSAGES 879s /tmp/tmp.WoB3q0SlyL/ru_RU/LC_MESSAGES/SYS_LC_MESSAGES 879s /tmp/tmp.WoB3q0SlyL/ru_RU/LC_PAPER 879s /tmp/tmp.WoB3q0SlyL/ru_RU/LC_TELEPHONE 879s /tmp/tmp.WoB3q0SlyL/ru_RU/LC_NAME 879s /tmp/tmp.WoB3q0SlyL/ru_RU/LC_ADDRESS 879s /tmp/tmp.WoB3q0SlyL/ru_RU/LC_TIME 879s /tmp/tmp.WoB3q0SlyL/ru_RU/LC_MONETARY 879s /tmp/tmp.WoB3q0SlyL/ru_RU/LC_IDENTIFICATION 879s /tmp/tmp.WoB3q0SlyL/ru_RU/LC_COLLATE 879s /tmp/tmp.WoB3q0SlyL/ru_RU/LC_NUMERIC 879s /tmp/tmp.WoB3q0SlyL/ru_RU/LC_MEASUREMENT 879s /tmp/tmp.WoB3q0SlyL/ru_RU/LC_CTYPE 879s /tmp/tmp.WoB3q0SlyL/pl_PL.utf8 879s /tmp/tmp.WoB3q0SlyL/pl_PL.utf8/LC_MESSAGES 879s /tmp/tmp.WoB3q0SlyL/pl_PL.utf8/LC_MESSAGES/SYS_LC_MESSAGES 879s /tmp/tmp.WoB3q0SlyL/pl_PL.utf8/LC_PAPER 879s /tmp/tmp.WoB3q0SlyL/pl_PL.utf8/LC_TELEPHONE 879s /tmp/tmp.WoB3q0SlyL/pl_PL.utf8/LC_NAME 879s /tmp/tmp.WoB3q0SlyL/pl_PL.utf8/LC_ADDRESS 879s /tmp/tmp.WoB3q0SlyL/pl_PL.utf8/LC_TIME 879s /tmp/tmp.WoB3q0SlyL/pl_PL.utf8/LC_MONETARY 879s /tmp/tmp.WoB3q0SlyL/pl_PL.utf8/LC_IDENTIFICATION 879s /tmp/tmp.WoB3q0SlyL/pl_PL.utf8/LC_COLLATE 879s /tmp/tmp.WoB3q0SlyL/pl_PL.utf8/LC_NUMERIC 879s /tmp/tmp.WoB3q0SlyL/pl_PL.utf8/LC_MEASUREMENT 879s /tmp/tmp.WoB3q0SlyL/pl_PL.utf8/LC_CTYPE 879s /tmp/tmp.WoB3q0SlyL/en_US 879s /tmp/tmp.WoB3q0SlyL/en_US/LC_MESSAGES 879s /tmp/tmp.WoB3q0SlyL/en_US/LC_MESSAGES/SYS_LC_MESSAGES 879s /tmp/tmp.WoB3q0SlyL/en_US/LC_PAPER 879s /tmp/tmp.WoB3q0SlyL/en_US/LC_TELEPHONE 879s /tmp/tmp.WoB3q0SlyL/en_US/LC_NAME 879s /tmp/tmp.WoB3q0SlyL/en_US/LC_ADDRESS 879s /tmp/tmp.WoB3q0SlyL/en_US/LC_TIME 879s /tmp/tmp.WoB3q0SlyL/en_US/LC_MONETARY 879s /tmp/tmp.WoB3q0SlyL/en_US/LC_IDENTIFICATION 879s /tmp/tmp.WoB3q0SlyL/en_US/LC_COLLATE 879s /tmp/tmp.WoB3q0SlyL/en_US/LC_NUMERIC 879s /tmp/tmp.WoB3q0SlyL/en_US/LC_MEASUREMENT 879s /tmp/tmp.WoB3q0SlyL/en_US/LC_CTYPE 879s /tmp/tmp.WoB3q0SlyL/tr_TR.utf8 879s /tmp/tmp.WoB3q0SlyL/tr_TR.utf8/LC_MESSAGES 879s /tmp/tmp.WoB3q0SlyL/tr_TR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 879s /tmp/tmp.WoB3q0SlyL/tr_TR.utf8/LC_PAPER 879s /tmp/tmp.WoB3q0SlyL/tr_TR.utf8/LC_TELEPHONE 879s /tmp/tmp.WoB3q0SlyL/tr_TR.utf8/LC_NAME 879s /tmp/tmp.WoB3q0SlyL/tr_TR.utf8/LC_ADDRESS 879s /tmp/tmp.WoB3q0SlyL/tr_TR.utf8/LC_TIME 879s /tmp/tmp.WoB3q0SlyL/tr_TR.utf8/LC_MONETARY 879s /tmp/tmp.WoB3q0SlyL/tr_TR.utf8/LC_IDENTIFICATION 879s /tmp/tmp.WoB3q0SlyL/tr_TR.utf8/LC_COLLATE 879s /tmp/tmp.WoB3q0SlyL/tr_TR.utf8/LC_NUMERIC 879s /tmp/tmp.WoB3q0SlyL/tr_TR.utf8/LC_MEASUREMENT 879s /tmp/tmp.WoB3q0SlyL/tr_TR.utf8/LC_CTYPE 879s /tmp/tmp.WoB3q0SlyL/en_GB.utf8 879s /tmp/tmp.WoB3q0SlyL/en_GB.utf8/LC_MESSAGES 879s /tmp/tmp.WoB3q0SlyL/en_GB.utf8/LC_MESSAGES/SYS_LC_MESSAGES 879s /tmp/tmp.WoB3q0SlyL/en_GB.utf8/LC_PAPER 879s /tmp/tmp.WoB3q0SlyL/en_GB.utf8/LC_TELEPHONE 879s /tmp/tmp.WoB3q0SlyL/en_GB.utf8/LC_NAME 879s /tmp/tmp.WoB3q0SlyL/en_GB.utf8/LC_ADDRESS 879s /tmp/tmp.WoB3q0SlyL/en_GB.utf8/LC_TIME 879s /tmp/tmp.WoB3q0SlyL/en_GB.utf8/LC_MONETARY 879s /tmp/tmp.WoB3q0SlyL/en_GB.utf8/LC_IDENTIFICATION 879s /tmp/tmp.WoB3q0SlyL/en_GB.utf8/LC_COLLATE 879s /tmp/tmp.WoB3q0SlyL/en_GB.utf8/LC_NUMERIC 879s /tmp/tmp.WoB3q0SlyL/en_GB.utf8/LC_MEASUREMENT 879s /tmp/tmp.WoB3q0SlyL/en_GB.utf8/LC_CTYPE 879s /tmp/tmp.WoB3q0SlyL/sv_SE.utf8 879s /tmp/tmp.WoB3q0SlyL/sv_SE.utf8/LC_MESSAGES 879s /tmp/tmp.WoB3q0SlyL/sv_SE.utf8/LC_MESSAGES/SYS_LC_MESSAGES 879s /tmp/tmp.WoB3q0SlyL/sv_SE.utf8/LC_PAPER 879s /tmp/tmp.WoB3q0SlyL/sv_SE.utf8/LC_TELEPHONE 879s /tmp/tmp.WoB3q0SlyL/sv_SE.utf8/LC_NAME 879s /tmp/tmp.WoB3q0SlyL/sv_SE.utf8/LC_ADDRESS 879s /tmp/tmp.WoB3q0SlyL/sv_SE.utf8/LC_TIME 879s /tmp/tmp.WoB3q0SlyL/sv_SE.utf8/LC_MONETARY 879s /tmp/tmp.WoB3q0SlyL/sv_SE.utf8/LC_IDENTIFICATION 879s /tmp/tmp.WoB3q0SlyL/sv_SE.utf8/LC_COLLATE 879s /tmp/tmp.WoB3q0SlyL/sv_SE.utf8/LC_NUMERIC 879s /tmp/tmp.WoB3q0SlyL/sv_SE.utf8/LC_MEASUREMENT 879s /tmp/tmp.WoB3q0SlyL/sv_SE.utf8/LC_CTYPE 879s /tmp/tmp.WoB3q0SlyL/fa_IR 879s /tmp/tmp.WoB3q0SlyL/fa_IR/LC_MESSAGES 879s /tmp/tmp.WoB3q0SlyL/fa_IR/LC_MESSAGES/SYS_LC_MESSAGES 879s /tmp/tmp.WoB3q0SlyL/fa_IR/LC_PAPER 879s /tmp/tmp.WoB3q0SlyL/fa_IR/LC_TELEPHONE 879s /tmp/tmp.WoB3q0SlyL/fa_IR/LC_NAME 879s /tmp/tmp.WoB3q0SlyL/fa_IR/LC_ADDRESS 879s /tmp/tmp.WoB3q0SlyL/fa_IR/LC_TIME 879s /tmp/tmp.WoB3q0SlyL/fa_IR/LC_MONETARY 879s /tmp/tmp.WoB3q0SlyL/fa_IR/LC_IDENTIFICATION 879s /tmp/tmp.WoB3q0SlyL/fa_IR/LC_COLLATE 879s /tmp/tmp.WoB3q0SlyL/fa_IR/LC_NUMERIC 879s /tmp/tmp.WoB3q0SlyL/fa_IR/LC_MEASUREMENT 879s /tmp/tmp.WoB3q0SlyL/fa_IR/LC_CTYPE 879s /tmp/tmp.WoB3q0SlyL/pl_PL 879s /tmp/tmp.WoB3q0SlyL/pl_PL/LC_MESSAGES 879s /tmp/tmp.WoB3q0SlyL/pl_PL/LC_MESSAGES/SYS_LC_MESSAGES 879s /tmp/tmp.WoB3q0SlyL/pl_PL/LC_PAPER 879s /tmp/tmp.WoB3q0SlyL/pl_PL/LC_TELEPHONE 879s /tmp/tmp.WoB3q0SlyL/pl_PL/LC_NAME 879s /tmp/tmp.WoB3q0SlyL/pl_PL/LC_ADDRESS 879s /tmp/tmp.WoB3q0SlyL/pl_PL/LC_TIME 879s /tmp/tmp.WoB3q0SlyL/pl_PL/LC_MONETARY 879s /tmp/tmp.WoB3q0SlyL/pl_PL/LC_IDENTIFICATION 879s /tmp/tmp.WoB3q0SlyL/pl_PL/LC_COLLATE 879s /tmp/tmp.WoB3q0SlyL/pl_PL/LC_NUMERIC 879s /tmp/tmp.WoB3q0SlyL/pl_PL/LC_MEASUREMENT 879s /tmp/tmp.WoB3q0SlyL/pl_PL/LC_CTYPE 879s /tmp/tmp.WoB3q0SlyL/tt_RU@iqtelif 879s /tmp/tmp.WoB3q0SlyL/tt_RU@iqtelif/LC_MESSAGES 879s /tmp/tmp.WoB3q0SlyL/tt_RU@iqtelif/LC_MESSAGES/SYS_LC_MESSAGES 879s /tmp/tmp.WoB3q0SlyL/tt_RU@iqtelif/LC_PAPER 879s /tmp/tmp.WoB3q0SlyL/tt_RU@iqtelif/LC_TELEPHONE 879s /tmp/tmp.WoB3q0SlyL/tt_RU@iqtelif/LC_NAME 879s /tmp/tmp.WoB3q0SlyL/tt_RU@iqtelif/LC_ADDRESS 879s /tmp/tmp.WoB3q0SlyL/tt_RU@iqtelif/LC_TIME 879s /tmp/tmp.WoB3q0SlyL/tt_RU@iqtelif/LC_MONETARY 879s /tmp/tmp.WoB3q0SlyL/tt_RU@iqtelif/LC_IDENTIFICATION 879s /tmp/tmp.WoB3q0SlyL/tt_RU@iqtelif/LC_COLLATE 879s /tmp/tmp.WoB3q0SlyL/tt_RU@iqtelif/LC_NUMERIC 879s /tmp/tmp.WoB3q0SlyL/tt_RU@iqtelif/LC_MEASUREMENT 879s /tmp/tmp.WoB3q0SlyL/tt_RU@iqtelif/LC_CTYPE 879s /tmp/tmp.WoB3q0SlyL/fa_IR.utf8 879s /tmp/tmp.WoB3q0SlyL/fa_IR.utf8/LC_MESSAGES 879s /tmp/tmp.WoB3q0SlyL/fa_IR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 879s /tmp/tmp.WoB3q0SlyL/fa_IR.utf8/LC_PAPER 879s /tmp/tmp.WoB3q0SlyL/fa_IR.utf8/LC_TELEPHONE 879s /tmp/tmp.WoB3q0SlyL/fa_IR.utf8/LC_NAME 879s /tmp/tmp.WoB3q0SlyL/fa_IR.utf8/LC_ADDRESS 879s /tmp/tmp.WoB3q0SlyL/fa_IR.utf8/LC_TIME 879s /tmp/tmp.WoB3q0SlyL/fa_IR.utf8/LC_MONETARY 879s /tmp/tmp.WoB3q0SlyL/fa_IR.utf8/LC_IDENTIFICATION 879s /tmp/tmp.WoB3q0SlyL/fa_IR.utf8/LC_COLLATE 879s /tmp/tmp.WoB3q0SlyL/fa_IR.utf8/LC_NUMERIC 879s /tmp/tmp.WoB3q0SlyL/fa_IR.utf8/LC_MEASUREMENT 879s /tmp/tmp.WoB3q0SlyL/fa_IR.utf8/LC_CTYPE 879s /tmp/tmp.WoB3q0SlyL/tr_TR 879s /tmp/tmp.WoB3q0SlyL/tr_TR/LC_MESSAGES 879s /tmp/tmp.WoB3q0SlyL/tr_TR/LC_MESSAGES/SYS_LC_MESSAGES 879s /tmp/tmp.WoB3q0SlyL/tr_TR/LC_PAPER 879s /tmp/tmp.WoB3q0SlyL/tr_TR/LC_TELEPHONE 879s /tmp/tmp.WoB3q0SlyL/tr_TR/LC_NAME 879s /tmp/tmp.WoB3q0SlyL/tr_TR/LC_ADDRESS 879s /tmp/tmp.WoB3q0SlyL/tr_TR/LC_TIME 879s /tmp/tmp.WoB3q0SlyL/tr_TR/LC_MONETARY 879s /tmp/tmp.WoB3q0SlyL/tr_TR/LC_IDENTIFICATION 879s /tmp/tmp.WoB3q0SlyL/tr_TR/LC_COLLATE 879s /tmp/tmp.WoB3q0SlyL/tr_TR/LC_NUMERIC 879s /tmp/tmp.WoB3q0SlyL/tr_TR/LC_MEASUREMENT 879s /tmp/tmp.WoB3q0SlyL/tr_TR/LC_CTYPE 879s /tmp/tmp.WoB3q0SlyL/ja_JP.utf8 879s /tmp/tmp.WoB3q0SlyL/ja_JP.utf8/LC_MESSAGES 879s /tmp/tmp.WoB3q0SlyL/ja_JP.utf8/LC_MESSAGES/SYS_LC_MESSAGES 879s /tmp/tmp.WoB3q0SlyL/ja_JP.utf8/LC_PAPER 879s /tmp/tmp.WoB3q0SlyL/ja_JP.utf8/LC_TELEPHONE 879s /tmp/tmp.WoB3q0SlyL/ja_JP.utf8/LC_NAME 879s /tmp/tmp.WoB3q0SlyL/ja_JP.utf8/LC_ADDRESS 879s /tmp/tmp.WoB3q0SlyL/ja_JP.utf8/LC_TIME 879s /tmp/tmp.WoB3q0SlyL/ja_JP.utf8/LC_MONETARY 879s /tmp/tmp.WoB3q0SlyL/ja_JP.utf8/LC_IDENTIFICATION 879s /tmp/tmp.WoB3q0SlyL/ja_JP.utf8/LC_COLLATE 879s /tmp/tmp.WoB3q0SlyL/ja_JP.utf8/LC_NUMERIC 879s /tmp/tmp.WoB3q0SlyL/ja_JP.utf8/LC_MEASUREMENT 879s /tmp/tmp.WoB3q0SlyL/ja_JP.utf8/LC_CTYPE 879s /tmp/tmp.WoB3q0SlyL/ja_JP.eucjp 879s /tmp/tmp.WoB3q0SlyL/ja_JP.eucjp/LC_MESSAGES 879s /tmp/tmp.WoB3q0SlyL/ja_JP.eucjp/LC_MESSAGES/SYS_LC_MESSAGES 879s /tmp/tmp.WoB3q0SlyL/ja_JP.eucjp/LC_PAPER 879s /tmp/tmp.WoB3q0SlyL/ja_JP.eucjp/LC_TELEPHONE 879s /tmp/tmp.WoB3q0SlyL/ja_JP.eucjp/LC_NAME 879s /tmp/tmp.WoB3q0SlyL/ja_JP.eucjp/LC_ADDRESS 879s /tmp/tmp.WoB3q0SlyL/ja_JP.eucjp/LC_TIME 879s /tmp/tmp.WoB3q0SlyL/ja_JP.eucjp/LC_MONETARY 879s /tmp/tmp.WoB3q0SlyL/ja_JP.eucjp/LC_IDENTIFICATION 879s /tmp/tmp.WoB3q0SlyL/ja_JP.eucjp/LC_COLLATE 879s /tmp/tmp.WoB3q0SlyL/ja_JP.eucjp/LC_NUMERIC 879s /tmp/tmp.WoB3q0SlyL/ja_JP.eucjp/LC_MEASUREMENT 879s /tmp/tmp.WoB3q0SlyL/ja_JP.eucjp/LC_CTYPE 879s /tmp/tmp.WoB3q0SlyL/es_ES.utf8 879s /tmp/tmp.WoB3q0SlyL/es_ES.utf8/LC_MESSAGES 879s /tmp/tmp.WoB3q0SlyL/es_ES.utf8/LC_MESSAGES/SYS_LC_MESSAGES 879s /tmp/tmp.WoB3q0SlyL/es_ES.utf8/LC_PAPER 879s /tmp/tmp.WoB3q0SlyL/es_ES.utf8/LC_TELEPHONE 879s /tmp/tmp.WoB3q0SlyL/es_ES.utf8/LC_NAME 879s /tmp/tmp.WoB3q0SlyL/es_ES.utf8/LC_ADDRESS 879s /tmp/tmp.WoB3q0SlyL/es_ES.utf8/LC_TIME 879s /tmp/tmp.WoB3q0SlyL/es_ES.utf8/LC_MONETARY 879s /tmp/tmp.WoB3q0SlyL/es_ES.utf8/LC_IDENTIFICATION 879s /tmp/tmp.WoB3q0SlyL/es_ES.utf8/LC_COLLATE 879s /tmp/tmp.WoB3q0SlyL/es_ES.utf8/LC_NUMERIC 879s /tmp/tmp.WoB3q0SlyL/es_ES.utf8/LC_MEASUREMENT 879s /tmp/tmp.WoB3q0SlyL/es_ES.utf8/LC_CTYPE 879s /tmp/tmp.WoB3q0SlyL/de_DE.utf8 879s /tmp/tmp.WoB3q0SlyL/de_DE.utf8/LC_MESSAGES 879s /tmp/tmp.WoB3q0SlyL/de_DE.utf8/LC_MESSAGES/SYS_LC_MESSAGES 879s /tmp/tmp.WoB3q0SlyL/de_DE.utf8/LC_PAPER 879s /tmp/tmp.WoB3q0SlyL/de_DE.utf8/LC_TELEPHONE 879s /tmp/tmp.WoB3q0SlyL/de_DE.utf8/LC_NAME 879s /tmp/tmp.WoB3q0SlyL/de_DE.utf8/LC_ADDRESS 879s /tmp/tmp.WoB3q0SlyL/de_DE.utf8/LC_TIME 879s /tmp/tmp.WoB3q0SlyL/de_DE.utf8/LC_MONETARY 879s /tmp/tmp.WoB3q0SlyL/de_DE.utf8/LC_IDENTIFICATION 879s /tmp/tmp.WoB3q0SlyL/de_DE.utf8/LC_COLLATE 879s /tmp/tmp.WoB3q0SlyL/de_DE.utf8/LC_NUMERIC 879s /tmp/tmp.WoB3q0SlyL/de_DE.utf8/LC_MEASUREMENT 879s /tmp/tmp.WoB3q0SlyL/de_DE.utf8/LC_CTYPE 879s /tmp/tmp.WoB3q0SlyL/el_GR.utf8 879s /tmp/tmp.WoB3q0SlyL/el_GR.utf8/LC_MESSAGES 879s /tmp/tmp.WoB3q0SlyL/el_GR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 879s /tmp/tmp.WoB3q0SlyL/el_GR.utf8/LC_PAPER 879s /tmp/tmp.WoB3q0SlyL/el_GR.utf8/LC_TELEPHONE 879s /tmp/tmp.WoB3q0SlyL/el_GR.utf8/LC_NAME 879s /tmp/tmp.WoB3q0SlyL/el_GR.utf8/LC_ADDRESS 879s /tmp/tmp.WoB3q0SlyL/el_GR.utf8/LC_TIME 879s /tmp/tmp.WoB3q0SlyL/el_GR.utf8/LC_MONETARY 879s /tmp/tmp.WoB3q0SlyL/el_GR.utf8/LC_IDENTIFICATION 879s /tmp/tmp.WoB3q0SlyL/el_GR.utf8/LC_COLLATE 879s /tmp/tmp.WoB3q0SlyL/el_GR.utf8/LC_NUMERIC 879s /tmp/tmp.WoB3q0SlyL/el_GR.utf8/LC_MEASUREMENT 879s /tmp/tmp.WoB3q0SlyL/el_GR.utf8/LC_CTYPE 879s /tmp/tmp.WoB3q0SlyL/de_DE 879s /tmp/tmp.WoB3q0SlyL/de_DE/LC_MESSAGES 879s /tmp/tmp.WoB3q0SlyL/de_DE/LC_MESSAGES/SYS_LC_MESSAGES 879s /tmp/tmp.WoB3q0SlyL/de_DE/LC_PAPER 879s /tmp/tmp.WoB3q0SlyL/de_DE/LC_TELEPHONE 879s /tmp/tmp.WoB3q0SlyL/de_DE/LC_NAME 879s /tmp/tmp.WoB3q0SlyL/de_DE/LC_ADDRESS 879s /tmp/tmp.WoB3q0SlyL/de_DE/LC_TIME 879s /tmp/tmp.WoB3q0SlyL/de_DE/LC_MONETARY 879s /tmp/tmp.WoB3q0SlyL/de_DE/LC_IDENTIFICATION 879s /tmp/tmp.WoB3q0SlyL/de_DE/LC_COLLATE 879s /tmp/tmp.WoB3q0SlyL/de_DE/LC_NUMERIC 879s /tmp/tmp.WoB3q0SlyL/de_DE/LC_MEASUREMENT 879s /tmp/tmp.WoB3q0SlyL/de_DE/LC_CTYPE 879s /tmp/tmp.WoB3q0SlyL/hr_HR.utf8 879s /tmp/tmp.WoB3q0SlyL/hr_HR.utf8/LC_MESSAGES 879s /tmp/tmp.WoB3q0SlyL/hr_HR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 879s /tmp/tmp.WoB3q0SlyL/hr_HR.utf8/LC_PAPER 879s /tmp/tmp.WoB3q0SlyL/hr_HR.utf8/LC_TELEPHONE 879s /tmp/tmp.WoB3q0SlyL/hr_HR.utf8/LC_NAME 879s /tmp/tmp.WoB3q0SlyL/hr_HR.utf8/LC_ADDRESS 879s /tmp/tmp.WoB3q0SlyL/hr_HR.utf8/LC_TIME 879s /tmp/tmp.WoB3q0SlyL/hr_HR.utf8/LC_MONETARY 879s /tmp/tmp.WoB3q0SlyL/hr_HR.utf8/LC_IDENTIFICATION 879s /tmp/tmp.WoB3q0SlyL/hr_HR.utf8/LC_COLLATE 879s /tmp/tmp.WoB3q0SlyL/hr_HR.utf8/LC_NUMERIC 879s /tmp/tmp.WoB3q0SlyL/hr_HR.utf8/LC_MEASUREMENT 879s /tmp/tmp.WoB3q0SlyL/hr_HR.utf8/LC_CTYPE 879s /tmp/tmp.WoB3q0SlyL/sr_RS@latin 879s /tmp/tmp.WoB3q0SlyL/sr_RS@latin/LC_MESSAGES 879s /tmp/tmp.WoB3q0SlyL/sr_RS@latin/LC_MESSAGES/SYS_LC_MESSAGES 879s /tmp/tmp.WoB3q0SlyL/sr_RS@latin/LC_PAPER 879s /tmp/tmp.WoB3q0SlyL/sr_RS@latin/LC_TELEPHONE 879s /tmp/tmp.WoB3q0SlyL/sr_RS@latin/LC_NAME 879s /tmp/tmp.WoB3q0SlyL/sr_RS@latin/LC_ADDRESS 879s /tmp/tmp.WoB3q0SlyL/sr_RS@latin/LC_TIME 879s /tmp/tmp.WoB3q0SlyL/sr_RS@latin/LC_MONETARY 879s /tmp/tmp.WoB3q0SlyL/sr_RS@latin/LC_IDENTIFICATION 879s /tmp/tmp.WoB3q0SlyL/sr_RS@latin/LC_COLLATE 879s /tmp/tmp.WoB3q0SlyL/sr_RS@latin/LC_NUMERIC 879s /tmp/tmp.WoB3q0SlyL/sr_RS@latin/LC_MEASUREMENT 879s /tmp/tmp.WoB3q0SlyL/sr_RS@latin/LC_CTYPE 879s /tmp/tmp.WoB3q0SlyL/ru_RU.utf8 879s /tmp/tmp.WoB3q0SlyL/ru_RU.utf8/LC_MESSAGES 879s /tmp/tmp.WoB3q0SlyL/ru_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES 879s /tmp/tmp.WoB3q0SlyL/ru_RU.utf8/LC_PAPER 879s /tmp/tmp.WoB3q0SlyL/ru_RU.utf8/LC_TELEPHONE 879s /tmp/tmp.WoB3q0SlyL/ru_RU.utf8/LC_NAME 879s /tmp/tmp.WoB3q0SlyL/ru_RU.utf8/LC_ADDRESS 879s /tmp/tmp.WoB3q0SlyL/ru_RU.utf8/LC_TIME 879s /tmp/tmp.WoB3q0SlyL/ru_RU.utf8/LC_MONETARY 879s /tmp/tmp.WoB3q0SlyL/ru_RU.utf8/LC_IDENTIFICATION 879s /tmp/tmp.WoB3q0SlyL/ru_RU.utf8/LC_COLLATE 879s /tmp/tmp.WoB3q0SlyL/ru_RU.utf8/LC_NUMERIC 879s /tmp/tmp.WoB3q0SlyL/ru_RU.utf8/LC_MEASUREMENT 879s /tmp/tmp.WoB3q0SlyL/ru_RU.utf8/LC_CTYPE 879s /tmp/tmp.WoB3q0SlyL/en_US.utf8 879s /tmp/tmp.WoB3q0SlyL/en_US.utf8/LC_MESSAGES 879s /tmp/tmp.WoB3q0SlyL/en_US.utf8/LC_MESSAGES/SYS_LC_MESSAGES 879s /tmp/tmp.WoB3q0SlyL/en_US.utf8/LC_PAPER 879s /tmp/tmp.WoB3q0SlyL/en_US.utf8/LC_TELEPHONE 879s /tmp/tmp.WoB3q0SlyL/en_US.utf8/LC_NAME 879s /tmp/tmp.WoB3q0SlyL/en_US.utf8/LC_ADDRESS 879s /tmp/tmp.WoB3q0SlyL/en_US.utf8/LC_TIME 879s /tmp/tmp.WoB3q0SlyL/en_US.utf8/LC_MONETARY 879s /tmp/tmp.WoB3q0SlyL/en_US.utf8/LC_IDENTIFICATION 879s /tmp/tmp.WoB3q0SlyL/en_US.utf8/LC_COLLATE 879s /tmp/tmp.WoB3q0SlyL/en_US.utf8/LC_NUMERIC 879s /tmp/tmp.WoB3q0SlyL/en_US.utf8/LC_MEASUREMENT 879s /tmp/tmp.WoB3q0SlyL/en_US.utf8/LC_CTYPE 879s /tmp/tmp.WoB3q0SlyL/sv_SE 879s /tmp/tmp.WoB3q0SlyL/sv_SE/LC_MESSAGES 879s /tmp/tmp.WoB3q0SlyL/sv_SE/LC_MESSAGES/SYS_LC_MESSAGES 879s /tmp/tmp.WoB3q0SlyL/sv_SE/LC_PAPER 879s /tmp/tmp.WoB3q0SlyL/sv_SE/LC_TELEPHONE 879s /tmp/tmp.WoB3q0SlyL/sv_SE/LC_NAME 879s /tmp/tmp.WoB3q0SlyL/sv_SE/LC_ADDRESS 879s /tmp/tmp.WoB3q0SlyL/sv_SE/LC_TIME 879s /tmp/tmp.WoB3q0SlyL/sv_SE/LC_MONETARY 879s /tmp/tmp.WoB3q0SlyL/sv_SE/LC_IDENTIFICATION 879s /tmp/tmp.WoB3q0SlyL/sv_SE/LC_COLLATE 879s /tmp/tmp.WoB3q0SlyL/sv_SE/LC_NUMERIC 879s /tmp/tmp.WoB3q0SlyL/sv_SE/LC_MEASUREMENT 879s /tmp/tmp.WoB3q0SlyL/sv_SE/LC_CTYPE 879s 1..319 879s # Running test: glib/gnotification.test 879s TAP version 14 879s # random seed: R02S4cef0d7ead6efb993817a2b9166929f2 879s 1..2 879s # Start of gnotification tests 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s ok 1 /gnotification/basic 879s ok 2 /gnotification/properties 879s # End of gnotification tests 879s ok - glib/gnotification.test 879s # Running test: glib/init.test 879s TAP version 14 879s # random seed: R02S79c3c909508df9ce2ecd020f794f89f0 879s 1..2 879s # Start of thread tests 879s # Start of deprecated tests 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_4NQF02/thread/deprecated/init/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_4NQF02/thread/deprecated/init/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_4NQF02/thread/deprecated/init/.dirs/system-config1:/tmp/test_init_4NQF02/thread/deprecated/init/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_4NQF02/thread/deprecated/init/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_4NQF02/thread/deprecated/init/.dirs/system-data1:/tmp/test_init_4NQF02/thread/deprecated/init/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_4NQF02/thread/deprecated/init/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_4NQF02/thread/deprecated/init/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_4NQF02/thread/deprecated/init/.dirs/runtime 879s ok 1 /thread/deprecated/init 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_4NQF02/thread/deprecated/init-with-errorcheck-mutexes/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_4NQF02/thread/deprecated/init-with-errorcheck-mutexes/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_4NQF02/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config1:/tmp/test_init_4NQF02/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_4NQF02/thread/deprecated/init-with-errorcheck-mutexes/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_4NQF02/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data1:/tmp/test_init_4NQF02/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_4NQF02/thread/deprecated/init-with-errorcheck-mutexes/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_4NQF02/thread/deprecated/init-with-errorcheck-mutexes/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_4NQF02/thread/deprecated/init-with-errorcheck-mutexes/.dirs/runtime 879s ok 2 /thread/deprecated/init-with-errorcheck-mutexes 879s # End of deprecated tests 879s # End of thread tests 879s ok - glib/init.test 879s # Running test: glib/properties-refcount2.test 879s TAP version 14 879s # random seed: R02Sda75aee2e29029c47c7d97fad73886a1 879s 1..1 879s # Start of gobject tests 879s # Start of refcount tests 879s # init 0x557bd059b770 879s # 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # dispose 0x557bd059b770! 879s # 879s ok 1 /gobject/refcount/properties-2 879s # slow test /gobject/refcount/properties-2 executed in 0.58 secs 879s # End of refcount tests 879s # End of gobject tests 879s ok - glib/properties-refcount2.test 879s # Running test: glib/buffered-input-stream.test 879s TAP version 14 879s # random seed: R02Sb4bd157f9c6e7a9bb0c96d9ed295a444 879s 1..10 879s # Start of buffered-input-stream tests 879s ok 1 /buffered-input-stream/peek 879s ok 2 /buffered-input-stream/peek-buffer 879s ok 3 /buffered-input-stream/set-buffer-size 879s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=562393 879s ok 4 /buffered-input-stream/read-byte 879s ok 5 /buffered-input-stream/read 879s ok 6 /buffered-input-stream/read-async 879s ok 7 /buffered-input-stream/skip 879s ok 8 /buffered-input-stream/skip-async 879s ok 9 /buffered-input-stream/seek 879s # End of buffered-input-stream tests 879s # Start of filter-input-stream tests 879s ok 10 /filter-input-stream/close 879s # End of filter-input-stream tests 879s ok - glib/buffered-input-stream.test 879s # Running test: glib/hash.test 879s TAP version 14 879s # random seed: R02S06dee861964ddccb01067d4e30d3c23c 879s 1..34 879s # Start of hash tests 879s ok 1 /hash/misc 879s ok 2 /hash/one 879s ok 3 /hash/honeyman 879s ok 4 /hash/direct 879s ok 5 /hash/direct2 879s ok 6 /hash/int 879s ok 7 /hash/int64 879s ok 8 /hash/double 879s ok 9 /hash/string 879s ok 10 /hash/set 879s ok 11 /hash/set-ref 879s ok 12 /hash/ref 879s ok 13 /hash/remove-all 879s ok 14 /hash/recursive-remove-all 879s ok 15 /hash/find 879s ok 16 /hash/foreach 879s ok 17 /hash/foreach-steal 879s ok 18 /hash/steal-extended 879s ok 19 /hash/steal-all-keys 879s ok 20 /hash/steal-all-values 879s ok 21 /hash/lookup-extended 879s ok 22 /hash/new-similar 879s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642944 879s ok 23 /hash/lookup-null-key 879s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=650459 879s ok 24 /hash/destroy-modify 879s ok 25 /hash/consistency 879s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=662544 879s ok 26 /hash/iter-replace 879s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=692815 879s ok 27 /hash/set-insert-corruption 879s ok 28 /hash/set-to-strv 879s ok 29 /hash/get-keys-as-ptr-array 879s ok 30 /hash/get-values-as-ptr-array 879s ok 31 /hash/primes 879s # Start of int64 tests 879s # /hash/int64/collisions summary: Check int64 Hash collisions caused by ignoring high word 879s ok 32 /hash/int64/collisions 879s # End of int64 tests 879s # Start of double tests 879s # /hash/double/collisions summary: Check double Hash collisions caused by int conversion and by numbers larger than 2^64-1 (G_MAXUINT64) 879s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2771 879s ok 33 /hash/double/collisions 879s # End of double tests 879s # Start of recursive-remove-all tests 879s # End of recursive-remove-all tests 879s # Start of steal-extended tests 879s ok 34 /hash/steal-extended/optional 879s # End of steal-extended tests 879s # End of hash tests 879s ok - glib/hash.test 879s # Running test: glib/gdbus-serialization.test 879s TAP version 14 879s # random seed: R02S1718ecf383f8229ab09585c7baa389fc 879s 1..18 879s # Start of gdbus tests 879s # Start of message-serialize tests 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-serialize/basic/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-serialize/basic/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-serialize/basic/.dirs/system-config1:/tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-serialize/basic/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-serialize/basic/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-serialize/basic/.dirs/system-data1:/tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-serialize/basic/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-serialize/basic/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-serialize/basic/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-serialize/basic/.dirs/runtime 879s ok 1 /gdbus/message-serialize/basic 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-serialize/complex/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-serialize/complex/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-serialize/complex/.dirs/system-config1:/tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-serialize/complex/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-serialize/complex/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-serialize/complex/.dirs/system-data1:/tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-serialize/complex/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-serialize/complex/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-serialize/complex/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-serialize/complex/.dirs/runtime 879s ok 2 /gdbus/message-serialize/complex 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-serialize/invalid/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-serialize/invalid/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-serialize/invalid/.dirs/system-config1:/tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-serialize/invalid/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-serialize/invalid/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-serialize/invalid/.dirs/system-data1:/tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-serialize/invalid/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-serialize/invalid/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-serialize/invalid/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-serialize/invalid/.dirs/runtime 879s ok 3 /gdbus/message-serialize/invalid 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-serialize/header-checks/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-serialize/header-checks/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-serialize/header-checks/.dirs/system-config1:/tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-serialize/header-checks/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-serialize/header-checks/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-serialize/header-checks/.dirs/system-data1:/tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-serialize/header-checks/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-serialize/header-checks/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-serialize/header-checks/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-serialize/header-checks/.dirs/runtime 879s ok 4 /gdbus/message-serialize/header-checks 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-serialize/double-array/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-serialize/double-array/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-serialize/double-array/.dirs/system-config1:/tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-serialize/double-array/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-serialize/double-array/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-serialize/double-array/.dirs/system-data1:/tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-serialize/double-array/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-serialize/double-array/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-serialize/double-array/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-serialize/double-array/.dirs/runtime 879s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=732754 879s ok 5 /gdbus/message-serialize/double-array 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-serialize/empty-structure/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-serialize/empty-structure/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-serialize/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-serialize/empty-structure/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-serialize/empty-structure/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-serialize/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-serialize/empty-structure/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-serialize/empty-structure/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-serialize/empty-structure/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-serialize/empty-structure/.dirs/runtime 879s # /gdbus/message-serialize/empty-structure summary: Test that empty structures are rejected when serializing. 879s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557 879s ok 6 /gdbus/message-serialize/empty-structure 879s # Start of header-checks tests 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-serialize/header-checks/valid/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-serialize/header-checks/valid/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-serialize/header-checks/valid/.dirs/system-config1:/tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-serialize/header-checks/valid/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-serialize/header-checks/valid/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-serialize/header-checks/valid/.dirs/system-data1:/tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-serialize/header-checks/valid/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-serialize/header-checks/valid/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-serialize/header-checks/valid/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-serialize/header-checks/valid/.dirs/runtime 879s # /gdbus/message-serialize/header-checks/valid summary: Test that validation allows well-formed messages of all the different types 879s ok 7 /gdbus/message-serialize/header-checks/valid 879s # End of header-checks tests 879s # End of message-serialize tests 879s # Start of message-parse tests 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config1:/tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data1:/tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/runtime 879s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=673612 879s ok 8 /gdbus/message-parse/empty-arrays-of-arrays 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-parse/non-signature-header/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-parse/non-signature-header/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-parse/non-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-parse/non-signature-header/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-parse/non-signature-header/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-parse/non-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-parse/non-signature-header/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-parse/non-signature-header/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-parse/non-signature-header/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-parse/non-signature-header/.dirs/runtime 879s ok 9 /gdbus/message-parse/non-signature-header 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-parse/empty-signature-header/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-parse/empty-signature-header/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-parse/empty-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-parse/empty-signature-header/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-parse/empty-signature-header/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-parse/empty-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-parse/empty-signature-header/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-parse/empty-signature-header/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-parse/empty-signature-header/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-parse/empty-signature-header/.dirs/runtime 879s ok 10 /gdbus/message-parse/empty-signature-header 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-parse/multiple-signature-header/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-parse/multiple-signature-header/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-parse/multiple-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-parse/multiple-signature-header/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-parse/multiple-signature-header/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-parse/multiple-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-parse/multiple-signature-header/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-parse/multiple-signature-header/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-parse/multiple-signature-header/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-parse/multiple-signature-header/.dirs/runtime 879s ok 11 /gdbus/message-parse/multiple-signature-header 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-parse/over-long-signature-header/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-parse/over-long-signature-header/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-parse/over-long-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-parse/over-long-signature-header/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-parse/over-long-signature-header/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-parse/over-long-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-parse/over-long-signature-header/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-parse/over-long-signature-header/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-parse/over-long-signature-header/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-parse/over-long-signature-header/.dirs/runtime 879s ok 12 /gdbus/message-parse/over-long-signature-header 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-parse/deep-header-nesting/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-parse/deep-header-nesting/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-parse/deep-header-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-parse/deep-header-nesting/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-parse/deep-header-nesting/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-parse/deep-header-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-parse/deep-header-nesting/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-parse/deep-header-nesting/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-parse/deep-header-nesting/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-parse/deep-header-nesting/.dirs/runtime 879s ok 13 /gdbus/message-parse/deep-header-nesting 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-parse/deep-body-nesting/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-parse/deep-body-nesting/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-parse/deep-body-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-parse/deep-body-nesting/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-parse/deep-body-nesting/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-parse/deep-body-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-parse/deep-body-nesting/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-parse/deep-body-nesting/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-parse/deep-body-nesting/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-parse/deep-body-nesting/.dirs/runtime 879s ok 14 /gdbus/message-parse/deep-body-nesting 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-parse/truncated/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-parse/truncated/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-parse/truncated/.dirs/system-config1:/tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-parse/truncated/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-parse/truncated/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-parse/truncated/.dirs/system-data1:/tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-parse/truncated/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-parse/truncated/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-parse/truncated/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-parse/truncated/.dirs/runtime 879s # /gdbus/message-parse/truncated summary: Test that truncated messages are properly rejected. 879s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2528 879s ok 15 /gdbus/message-parse/truncated 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-parse/empty-structure/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-parse/empty-structure/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-parse/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-parse/empty-structure/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-parse/empty-structure/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-parse/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-parse/empty-structure/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-parse/empty-structure/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-parse/empty-structure/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-parse/empty-structure/.dirs/runtime 879s # /gdbus/message-parse/empty-structure summary: Test that empty structures are rejected when parsing. 879s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557 879s ok 16 /gdbus/message-parse/empty-structure 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-parse/missing-header/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-parse/missing-header/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-parse/missing-header/.dirs/system-config1:/tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-parse/missing-header/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-parse/missing-header/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-parse/missing-header/.dirs/system-data1:/tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-parse/missing-header/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-parse/missing-header/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-parse/missing-header/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-parse/missing-header/.dirs/runtime 879s # /gdbus/message-parse/missing-header summary: Test that missing (required) headers prompt an error. 879s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061 879s ok 17 /gdbus/message-parse/missing-header 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-parse/invalid-header-type/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-parse/invalid-header-type/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-parse/invalid-header-type/.dirs/system-config1:/tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-parse/invalid-header-type/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-parse/invalid-header-type/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-parse/invalid-header-type/.dirs/system-data1:/tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-parse/invalid-header-type/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-parse/invalid-header-type/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-parse/invalid-header-type/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_D2C6Z2/gdbus/message-parse/invalid-header-type/.dirs/runtime 879s # /gdbus/message-parse/invalid-header-type summary: Test that the type of well-known headers is checked. 879s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061 879s ok 18 /gdbus/message-parse/invalid-header-type 879s # End of message-parse tests 879s # End of gdbus tests 879s ok - glib/gdbus-serialization.test 879s # Running test: glib/basic-signals.test 879s TAP version 14 879s # random seed: R02S42f37b87c1eddb83bbe8e9ef0bb8faf0 879s 1..1 879s # Start of gobject tests 879s ok 1 /gobject/basic-signals 879s # End of gobject tests 879s ok - glib/basic-signals.test 879s # Running test: glib/cxx.test 879s TAP version 14 879s # random seed: R02Sd1305df96d0984ecf6a0d2df19519277 879s 1..2 879s # Start of gtask tests 879s # 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. 879s ok 1 /gtask/name 879s # Start of name tests 879s # 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. 879s ok 2 /gtask/name/macro-wrapper 879s # End of name tests 879s # End of gtask tests 879s ok - glib/cxx.test 879s # Running test: glib/basics-gobject.test 879s TAP version 14 879s # random seed: R02S315ff2ba23bd0f992dd1bfd36c86d2fb 879s 1..1 879s # Start of gobject tests 879s # private data during initialization: 54321 == 54321 879s # MAIN: emit test-signal: 879s # ::test_signal default_handler called 879s # ::test_signal default_handler called 879s # ::test_signal default_handler called 879s # signal return: "" 879s # MAIN: call iface print-string on test and derived object: 879s # Iface-FOO: "iface-string-from-test-type" from 0x64378f0917a0 879s # Iface-BAR: "iface-string-from-derived-type" from 0x64378f0916c0 879s # chaining: 879s # Iface-FOO: "iface-string-from-derived-type" from 0x64378f0916c0 879s # private data after initialization: 54321 == 54321 879s ok 1 /gobject/basics 879s # End of gobject tests 879s ok - glib/basics-gobject.test 879s # Running test: glib/collate.test 879s TAP version 14 879s # random seed: R02Saceac9d79812e657a6e9cb5d9f7d589e 879s 1..9 879s # Start of unicode tests 879s # Start of collate tests 879s ok 1 /unicode/collate/0 879s ok 2 /unicode/collate/1 879s ok 3 /unicode/collate/2 879s # End of collate tests 879s # Start of collate-key tests 879s ok 4 /unicode/collate-key/0 879s ok 5 /unicode/collate-key/1 879s ok 6 /unicode/collate-key/2 879s # End of collate-key tests 879s # Start of collate-filename tests 879s ok 7 /unicode/collate-filename/0 879s ok 8 /unicode/collate-filename/1 879s ok 9 /unicode/collate-filename/2 879s # End of collate-filename tests 879s # End of unicode tests 879s ok - glib/collate.test 879s # Running test: glib/cxx-11.test 879s TAP version 14 879s # random seed: R02Sb3dbf7ab25e286a07983e38011763d20 879s 1..2 879s # Start of gtask tests 879s # 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. 879s ok 1 /gtask/name 879s # Start of name tests 879s # 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. 879s ok 2 /gtask/name/macro-wrapper 879s # End of name tests 879s # End of gtask tests 879s ok - glib/cxx-11.test 879s # Running test: glib/tls-certificate.test 879s TAP version 14 879s # random seed: R02S15ef403f68866eed70e0fe9c60fcac24 879s 1..19 879s # Start of tls-certificate tests 879s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 879s ok 1 /tls-certificate/pem-parser 879s ok 2 /tls-certificate/pem-parser-handles-chain 879s ok 3 /tls-certificate/from_file 879s ok 4 /tls-certificate/from_files 879s ok 5 /tls-certificate/from_files_crlf 879s ok 6 /tls-certificate/from_files_pkcs8 879s ok 7 /tls-certificate/from_files_pkcs8enc 879s ok 8 /tls-certificate/list_from_file 879s ok 9 /tls-certificate/pkcs11-uri 879s ok 10 /tls-certificate/pkcs11-uri-unsupported 879s ok 11 /tls-certificate/from_pkcs12 879s ok 12 /tls-certificate/from_pkcs12_file 879s ok 13 /tls-certificate/not-valid-before 879s ok 14 /tls-certificate/not-valid-after 879s ok 15 /tls-certificate/subject-name 879s ok 16 /tls-certificate/issuer-name 879s ok 17 /tls-certificate/dns-names 879s ok 18 /tls-certificate/ip-addresses 879s ok 19 /tls-certificate/pem-parser-no-sentinel 879s # End of tls-certificate tests 879s ok - glib/tls-certificate.test 879s # Running test: glib/atomic-c-99.test 879s TAP version 14 879s # random seed: R02S781207905127add0b4a3b682d4ae7232 879s 1..2 879s # Start of atomic tests 879s ok 1 /atomic/types 879s ok 2 /atomic/threaded 879s # End of atomic tests 879s ok - glib/atomic-c-99.test 879s # Running test: glib/logging.test 879s TAP version 14 879s # random seed: R02S331cb5a92da714a63964e62aa79c43d9 879s 1..17 879s # Start of logging tests 881s ok 1 /logging/default-handler 881s # slow test /logging/default-handler executed in 1.12 secs 881s ok 2 /logging/warnings 881s ok 3 /logging/fatal-log-mask 881s # bu-DEBUG: message 881s # ba-DEBUG: message 881s # ba-INFO: message 881s ok 4 /logging/set-handler 881s ok 5 /logging/print-handler 881s ok 6 /logging/printerr-handler 881s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=653052 881s # The Log Message Handler 881s # 881s # The Good Fail Message Handler 881s # 881s ok 7 /logging/653052 881s ok 8 /logging/gibberish 881s # Start of default-handler tests 881s # Start of subprocess tests 881s # End of subprocess tests 881s # End of default-handler tests 881s # End of logging tests 881s # Start of structured-logging tests 881s ok 9 /structured-logging/no-state 881s ok 10 /structured-logging/some-state 881s ok 11 /structured-logging/robustness 881s ok 12 /structured-logging/roundtrip1 881s ok 13 /structured-logging/roundtrip2 881s ok 14 /structured-logging/roundtrip3 881s ok 15 /structured-logging/variant1 881s ok 16 /structured-logging/variant2 881s ok 17 /structured-logging/set-writer-func-twice 881s # End of structured-logging tests 881s ok - glib/logging.test 881s # Running test: glib/string.test 881s TAP version 14 881s # random seed: R02S64d23237901f06d8a16145a29897ceb0 881s 1..23 881s # Start of string tests 881s ok 1 /string/test-string-chunks 881s ok 2 /string/test-string-chunk-insert 881s ok 3 /string/test-string-new 881s ok 4 /string/test-string-printf 881s ok 5 /string/test-string-assign 881s ok 6 /string/test-string-append-c 881s ok 7 /string/test-string-append 881s ok 8 /string/test-string-append-vprintf 881s ok 9 /string/test-string-prepend-c 881s ok 10 /string/test-string-prepend 881s ok 11 /string/test-string-insert 881s ok 12 /string/test-string-insert-unichar 881s ok 13 /string/test-string-equal 881s ok 14 /string/test-string-truncate 881s ok 15 /string/test-string-overwrite 881s ok 16 /string/test-string-nul-handling 881s ok 17 /string/test-string-up-down 881s ok 18 /string/test-string-set-size 881s ok 19 /string/test-string-to-bytes 881s # 0: Replacing "bar" with "baz" (limit 0) in "foo bar foo baz foo bar foobarbaz" 881s # -> 3 replacements, "foo baz foo baz foo baz foobazbaz" 881s # 1: Replacing "baz" with "bar" (limit 3) in "foo baz foo baz foo baz foobazbaz" 881s # -> 3 replacements, "foo bar foo bar foo bar foobazbaz" 881s # 2: Replacing "foobar" with "bar" (limit 1) in "foo bar foo bar foo bar foobazbaz" 881s # -> 0 replacements, "foo bar foo bar foo bar foobazbaz" 881s # 3: Replacing "a" with "abcdefghijkl" (limit 0) in "aaaaaaaa" 881s # -> 8 replacements, "abcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijkl" 881s # 4: Replacing "$LIB" with "lib32" (limit 0) in "/usr/$LIB/libMangoHud.so" 881s # -> 1 replacements, "/usr/lib32/libMangoHud.so" 881s # 5: Replacing "o" with "" (limit 0) in "food for foals" 881s # -> 4 replacements, "fd fr fals" 881s # 6: Replacing "a" with "aaa" (limit 0) in "aaa" 881s # -> 3 replacements, "aaaaaaaaa" 881s # 7: Replacing "a" with "" (limit 0) in "aaa" 881s # -> 3 replacements, "" 881s # 8: Replacing "aa" with "bb" (limit 0) in "aaa" 881s # -> 1 replacements, "bba" 881s # 9: Replacing "" with "bar" (limit 0) in "foo" 881s # -> 4 replacements, "barfbarobarobar" 881s # 10: Replacing "" with "x" (limit 0) in "" 881s # -> 1 replacements, "x" 881s # 11: Replacing "" with "" (limit 0) in "" 881s # -> 1 replacements, "" 881s ok 20 /string/test-string-replace 881s ok 21 /string/test-string-steal 881s ok 22 /string/test-string-new-take 881s # Start of test-string-new-take tests 881s ok 23 /string/test-string-new-take/null 881s # End of test-string-new-take tests 881s # End of string tests 881s ok - glib/string.test 881s # Running test: glib/properties-refcount4.test 881s TAP version 14 881s # random seed: R02S9adb9bb5aa4a32193108694c3a89e87e 881s 1..1 881s # Start of gobject tests 881s # Start of refcount tests 881s ok 1 /gobject/refcount/properties-4 881s # End of refcount tests 881s # End of gobject tests 881s ok - glib/properties-refcount4.test 881s # Running test: glib/genmarshal.py.test 881s TAP version 13 881s ok 1 __main__.TestGenmarshal.test_empty_list 881s # tmpdir: /tmp/tmpt141pwty 881s # genmarshal: /usr/bin/glib-genmarshal 881s # /tmp/tmpt141pwty/tmpwzvcqj5l.list: 881s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpt141pwty/tmpwzvcqj5l.list', '--header', '--quiet'] 881s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 881s # 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. */ 881s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 881s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 881s # 881s # #include 881s # 881s # G_BEGIN_DECLS 881s # 881s # 881s # G_END_DECLS 881s # 881s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 881s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpt141pwty/tmpwzvcqj5l.list', '--body', '--quiet'] 881s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 881s # 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. */ 881s # #include 881s # 881s # #ifdef G_ENABLE_DEBUG 881s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 881s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 881s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 881s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 881s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 881s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 881s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 881s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 881s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 881s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 881s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 881s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 881s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 881s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 881s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 881s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 881s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 881s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 881s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 881s # #else /* !G_ENABLE_DEBUG */ 881s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 881s # * Do not access GValues directly in your code. Instead, use the 881s # * g_value_get_*() functions 881s # */ 881s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 881s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 881s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 881s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 881s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 881s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 881s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 881s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 881s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 881s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 881s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 881s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 881s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 881s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 881s # #endif /* !G_ENABLE_DEBUG */ 881s ok 2 __main__.TestGenmarshal.test_help 881s # tmpdir: /tmp/tmp8y7wezcr 881s # genmarshal: /usr/bin/glib-genmarshal 881s # Running: ['/usr/bin/glib-genmarshal', '--help'] 881s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 881s # Output: usage: glib-genmarshal [-h] [--prefix STRING] [--output FILE] [--skip-source] 881s # [--internal] [--valist-marshallers] [-v] 881s # [--g-fatal-warnings] [--include-header [HEADER]] 881s # [--pragma-once] [-D CPP_DEFINES] [-U CPP_UNDEFINES] 881s # [--prototypes] [--header] [--body] 881s # [--stdinc | --nostdinc] [--quiet | --verbose] 881s # [FILE ...] 881s # 881s # Generate signal marshallers for GObject 881s # 881s # positional arguments: 881s # FILE Files with lists of marshallers to generate, or "-" 881s # for standard input 881s # 881s # options: 881s # -h, --help show this help message and exit 881s # --prefix STRING Specify marshaller prefix 881s # --output FILE Write output into the specified file 881s # --skip-source Skip source location comments 881s # --internal Mark generated functions as internal 881s # --valist-marshallers Generate va_list marshallers 881s # -v, --version Print version information, and exit 881s # --g-fatal-warnings Make warnings fatal 881s # --include-header [HEADER] 881s # Include the specified header in the body 881s # --pragma-once Use "pragma once" as the inclusion guard 881s # -D CPP_DEFINES Pre-processor define 881s # -U CPP_UNDEFINES Pre-processor undefine 881s # --prototypes Generate the marshallers prototype in the C code 881s # --header Generate C headers 881s # --body Generate C code 881s # --stdinc Include standard marshallers 881s # --nostdinc Use standard marshallers 881s # --quiet Only print warnings and errors 881s # --verbose Be verbose, and include debugging information 881s ok 3 __main__.TestGenmarshal.test_no_args 881s # tmpdir: /tmp/tmpfc9paac8 881s # genmarshal: /usr/bin/glib-genmarshal 881s # Running: ['/usr/bin/glib-genmarshal'] 881s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 881s # Output: 881s ok 4 __main__.TestGenmarshal.test_void_boolean 881s # tmpdir: /tmp/tmpncbip3bl 881s # genmarshal: /usr/bin/glib-genmarshal 881s # /tmp/tmpncbip3bl/tmp3u9b6r7l.list: VOID:BOOLEAN 881s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpncbip3bl/tmp3u9b6r7l.list', '--header', '--quiet'] 881s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 881s # 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. */ 881s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 881s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 881s # 881s # #include 881s # 881s # G_BEGIN_DECLS 881s # 881s # /* VOID:BOOLEAN (/tmp/tmpncbip3bl/tmp3u9b6r7l.list:1) */ 881s # #define g_cclosure_user_marshal_VOID__BOOLEAN g_cclosure_marshal_VOID__BOOLEAN 881s # 881s # 881s # G_END_DECLS 881s # 881s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 881s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpncbip3bl/tmp3u9b6r7l.list', '--body', '--quiet'] 881s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 881s # 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. */ 881s # #include 881s # 881s # #ifdef G_ENABLE_DEBUG 881s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 881s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 881s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 881s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 881s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 881s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 881s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 881s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 881s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 881s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 881s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 881s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 881s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 881s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 881s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 881s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 881s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 881s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 881s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 881s # #else /* !G_ENABLE_DEBUG */ 881s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 881s # * Do not access GValues directly in your code. Instead, use the 881s # * g_value_get_*() functions 881s # */ 881s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 881s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 881s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 881s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 881s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 881s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 881s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 881s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 881s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 881s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 881s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 881s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 881s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 881s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 881s # #endif /* !G_ENABLE_DEBUG */ 881s ok 5 __main__.TestGenmarshal.test_void_boolean_int64 881s # tmpdir: /tmp/tmp7fp0mydv 881s # genmarshal: /usr/bin/glib-genmarshal 881s # /tmp/tmp7fp0mydv/tmprr8fsm2x.list: VOID:BOOLEAN,INT64 881s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp7fp0mydv/tmprr8fsm2x.list', '--header', '--quiet'] 881s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 881s # 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. */ 881s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 881s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 881s # 881s # #include 881s # 881s # G_BEGIN_DECLS 881s # 881s # /* VOID:BOOLEAN,INT64 (/tmp/tmp7fp0mydv/tmprr8fsm2x.list:1) */ 881s # extern 881s # void g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure, 881s # GValue *return_value, 881s # guint n_param_values, 881s # const GValue *param_values, 881s # gpointer invocation_hint, 881s # gpointer marshal_data); 881s # 881s # 881s # G_END_DECLS 881s # 881s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 881s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp7fp0mydv/tmprr8fsm2x.list', '--body', '--quiet'] 881s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 881s # 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. */ 881s # #include 881s # 881s # #ifdef G_ENABLE_DEBUG 881s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 881s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 881s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 881s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 881s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 881s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 881s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 881s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 881s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 881s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 881s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 881s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 881s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 881s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 881s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 881s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 881s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 881s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 881s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 881s # #else /* !G_ENABLE_DEBUG */ 881s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 881s # * Do not access GValues directly in your code. Instead, use the 881s # * g_value_get_*() functions 881s # */ 881s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 881s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 881s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 881s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 881s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 881s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 881s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 881s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 881s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 881s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 881s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 881s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 881s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 881s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 881s # #endif /* !G_ENABLE_DEBUG */ 881s # 881s # /* VOID:BOOLEAN,INT64 (/tmp/tmp7fp0mydv/tmprr8fsm2x.list:1) */ 881s # void 881s # g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure, 881s # GValue *return_value G_GNUC_UNUSED, 881s # guint n_param_values, 881s # const GValue *param_values, 881s # gpointer invocation_hint G_GNUC_UNUSED, 881s # gpointer marshal_data) 881s # { 881s # typedef void (*GMarshalFunc_VOID__BOOLEAN_INT64) (gpointer data1, 881s # gboolean arg1, 881s # gint64 arg2, 881s # gpointer data2); 881s # GCClosure *cc = (GCClosure *) closure; 881s # gpointer data1, data2; 881s # GMarshalFunc_VOID__BOOLEAN_INT64 callback; 881s # 881s # g_return_if_fail (n_param_values == 3); 881s # 881s # if (G_CCLOSURE_SWAP_DATA (closure)) 881s # { 881s # data1 = closure->data; 881s # data2 = g_value_peek_pointer (param_values + 0); 881s # } 881s # else 881s # { 881s # data1 = g_value_peek_pointer (param_values + 0); 881s # data2 = closure->data; 881s # } 881s # callback = (GMarshalFunc_VOID__BOOLEAN_INT64) (marshal_data ? marshal_data : cc->callback); 881s # 881s # callback (data1, 881s # g_marshal_value_peek_boolean (param_values + 1), 881s # g_marshal_value_peek_int64 (param_values + 2), 881s # data2); 881s # } 881s ok 6 __main__.TestGenmarshal.test_void_param_nostdinc 881s # tmpdir: /tmp/tmpeqsiu5o_ 881s # genmarshal: /usr/bin/glib-genmarshal 881s # /tmp/tmpeqsiu5o_/tmp0z_sjk9h.list: VOID:PARAM 881s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpeqsiu5o_/tmp0z_sjk9h.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 881s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 881s # 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. */ 881s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 881s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 881s # 881s # G_BEGIN_DECLS 881s # 881s # /* VOID:PARAM (/tmp/tmpeqsiu5o_/tmp0z_sjk9h.list:1) */ 881s # extern 881s # void g_cclosure_user_marshal_VOID__PARAM (GClosure *closure, 881s # GValue *return_value, 881s # guint n_param_values, 881s # const GValue *param_values, 881s # gpointer invocation_hint, 881s # gpointer marshal_data); 881s # extern 881s # void g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure, 881s # GValue *return_value, 881s # gpointer instance, 881s # va_list args, 881s # gpointer marshal_data, 881s # int n_params, 881s # GType *param_types); 881s # 881s # 881s # G_END_DECLS 881s # 881s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 881s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpeqsiu5o_/tmp0z_sjk9h.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 881s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 881s # 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. */ 881s # #ifdef G_ENABLE_DEBUG 881s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 881s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 881s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 881s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 881s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 881s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 881s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 881s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 881s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 881s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 881s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 881s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 881s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 881s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 881s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 881s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 881s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 881s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 881s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 881s # #else /* !G_ENABLE_DEBUG */ 881s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 881s # * Do not access GValues directly in your code. Instead, use the 881s # * g_value_get_*() functions 881s # */ 881s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 881s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 881s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 881s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 881s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 881s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 881s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 881s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 881s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 881s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 881s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 881s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 881s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 881s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 881s # #endif /* !G_ENABLE_DEBUG */ 881s # 881s # /* VOID:PARAM (/tmp/tmpeqsiu5o_/tmp0z_sjk9h.list:1) */ 881s # void 881s # g_cclosure_user_marshal_VOID__PARAM (GClosure *closure, 881s # GValue *return_value G_GNUC_UNUSED, 881s # guint n_param_values, 881s # const GValue *param_values, 881s # gpointer invocation_hint G_GNUC_UNUSED, 881s # gpointer marshal_data) 881s # { 881s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1, 881s # gpointer arg1, 881s # gpointer data2); 881s # GCClosure *cc = (GCClosure *) closure; 881s # gpointer data1, data2; 881s # GMarshalFunc_VOID__PARAM callback; 881s # 881s # g_return_if_fail (n_param_values == 2); 881s # 881s # if (G_CCLOSURE_SWAP_DATA (closure)) 881s # { 881s # data1 = closure->data; 881s # data2 = g_value_peek_pointer (param_values + 0); 881s # } 881s # else 881s # { 881s # data1 = g_value_peek_pointer (param_values + 0); 881s # data2 = closure->data; 881s # } 881s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); 881s # 881s # callback (data1, 881s # g_marshal_value_peek_param (param_values + 1), 881s # data2); 881s # } 881s # 881s # void 881s # g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure, 881s # GValue *return_value G_GNUC_UNUSED, 881s # gpointer instance, 881s # va_list args, 881s # gpointer marshal_data, 881s # int n_params, 881s # GType *param_types) 881s # { 881s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1, 881s # gpointer arg1, 881s # gpointer data2); 881s # GCClosure *cc = (GCClosure *) closure; 881s # gpointer data1, data2; 881s # GMarshalFunc_VOID__PARAM callback; 881s # gpointer arg0; 881s # va_list args_copy; 881s # 881s # va_copy (args_copy, args); 881s # arg0 = (gpointer) va_arg (args_copy, gpointer); 881s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 881s # arg0 = g_param_spec_ref (arg0); 881s # va_end (args_copy); 881s # 881s # 881s # if (G_CCLOSURE_SWAP_DATA (closure)) 881s # { 881s # data1 = closure->data; 881s # data2 = instance; 881s # } 881s # else 881s # { 881s # data1 = instance; 881s # data2 = closure->data; 881s # } 881s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); 881s # 881s # callback (data1, 881s # arg0, 881s # data2); 881s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 881s # g_param_spec_unref (arg0); 881s # } 881s ok 7 __main__.TestGenmarshal.test_void_string_nostdinc 881s # tmpdir: /tmp/tmp0ba_e8v_ 881s # genmarshal: /usr/bin/glib-genmarshal 881s # /tmp/tmp0ba_e8v_/tmpi5b96k7j.list: VOID:STRING 881s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp0ba_e8v_/tmpi5b96k7j.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 881s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 881s # 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. */ 881s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 881s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 881s # 881s # G_BEGIN_DECLS 881s # 881s # /* VOID:STRING (/tmp/tmp0ba_e8v_/tmpi5b96k7j.list:1) */ 881s # extern 881s # void g_cclosure_user_marshal_VOID__STRING (GClosure *closure, 881s # GValue *return_value, 881s # guint n_param_values, 881s # const GValue *param_values, 881s # gpointer invocation_hint, 881s # gpointer marshal_data); 881s # extern 881s # void g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure, 881s # GValue *return_value, 881s # gpointer instance, 881s # va_list args, 881s # gpointer marshal_data, 881s # int n_params, 881s # GType *param_types); 881s # 881s # 881s # G_END_DECLS 881s # 881s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 881s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp0ba_e8v_/tmpi5b96k7j.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 881s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 881s # 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. */ 881s # #ifdef G_ENABLE_DEBUG 881s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 881s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 881s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 881s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 881s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 881s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 881s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 881s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 881s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 881s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 881s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 881s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 881s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 881s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 881s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 881s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 881s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 881s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 881s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 881s # #else /* !G_ENABLE_DEBUG */ 881s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 881s # * Do not access GValues directly in your code. Instead, use the 881s # * g_value_get_*() functions 881s # */ 881s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 881s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 881s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 881s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 881s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 881s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 881s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 881s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 881s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 881s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 881s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 881s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 881s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 881s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 881s # #endif /* !G_ENABLE_DEBUG */ 881s # 881s # /* VOID:STRING (/tmp/tmp0ba_e8v_/tmpi5b96k7j.list:1) */ 881s # void 881s # g_cclosure_user_marshal_VOID__STRING (GClosure *closure, 881s # GValue *return_value G_GNUC_UNUSED, 881s # guint n_param_values, 881s # const GValue *param_values, 881s # gpointer invocation_hint G_GNUC_UNUSED, 881s # gpointer marshal_data) 881s # { 881s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1, 881s # gpointer arg1, 881s # gpointer data2); 881s # GCClosure *cc = (GCClosure *) closure; 881s # gpointer data1, data2; 881s # GMarshalFunc_VOID__STRING callback; 881s # 881s # g_return_if_fail (n_param_values == 2); 881s # 881s # if (G_CCLOSURE_SWAP_DATA (closure)) 881s # { 881s # data1 = closure->data; 881s # data2 = g_value_peek_pointer (param_values + 0); 881s # } 881s # else 881s # { 881s # data1 = g_value_peek_pointer (param_values + 0); 881s # data2 = closure->data; 881s # } 881s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); 881s # 881s # callback (data1, 881s # g_marshal_value_peek_string (param_values + 1), 881s # data2); 881s # } 881s # 881s # void 881s # g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure, 881s # GValue *return_value G_GNUC_UNUSED, 881s # gpointer instance, 881s # va_list args, 881s # gpointer marshal_data, 881s # int n_params, 881s # GType *param_types) 881s # { 881s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1, 881s # gpointer arg1, 881s # gpointer data2); 881s # GCClosure *cc = (GCClosure *) closure; 881s # gpointer data1, data2; 881s # GMarshalFunc_VOID__STRING callback; 881s # gpointer arg0; 881s # va_list args_copy; 881s # 881s # va_copy (args_copy, args); 881s # arg0 = (gpointer) va_arg (args_copy, gpointer); 881s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 881s # arg0 = g_strdup (arg0); 881s # va_end (args_copy); 881s # 881s # 881s # if (G_CCLOSURE_SWAP_DATA (closure)) 881s # { 881s # data1 = closure->data; 881s # data2 = instance; 881s # } 881s # else 881s # { 881s # data1 = instance; 881s # data2 = closure->data; 881s # } 881s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); 881s # 881s # callback (data1, 881s # arg0, 881s # data2); 881s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 881s # g_free (arg0); 881s # } 881s ok 8 __main__.TestGenmarshal.test_void_variant_nostdinc_valist_marshaller 881s # tmpdir: /tmp/tmpbczw5z74 881s # genmarshal: /usr/bin/glib-genmarshal 881s # /tmp/tmpbczw5z74/tmp9aght883.list: VOID:VARIANT 881s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpbczw5z74/tmp9aght883.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 881s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 881s # 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. */ 881s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 881s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 881s # 881s # G_BEGIN_DECLS 881s # 881s # /* VOID:VARIANT (/tmp/tmpbczw5z74/tmp9aght883.list:1) */ 881s # extern 881s # void g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure, 881s # GValue *return_value, 881s # guint n_param_values, 881s # const GValue *param_values, 881s # gpointer invocation_hint, 881s # gpointer marshal_data); 881s # extern 881s # void g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure, 881s # GValue *return_value, 881s # gpointer instance, 881s # va_list args, 881s # gpointer marshal_data, 881s # int n_params, 881s # GType *param_types); 881s # 881s # 881s # G_END_DECLS 881s # 881s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 881s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpbczw5z74/tmp9aght883.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 881s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 881s # 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. */ 881s # #ifdef G_ENABLE_DEBUG 881s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 881s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 881s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 881s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 881s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 881s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 881s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 881s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 881s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 881s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 881s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 881s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 881s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 881s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 881s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 881s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 881s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 881s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 881s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 881s # #else /* !G_ENABLE_DEBUG */ 881s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 881s # * Do not access GValues directly in your code. Instead, use the 881s # * g_value_get_*() functions 881s # */ 881s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 881s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 881s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 881s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 881s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 881s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 881s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 881s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 881s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 881s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 881s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 881s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 881s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 881s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 881s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 881s # #endif /* !G_ENABLE_DEBUG */ 881s # 881s # /* VOID:VARIANT (/tmp/tmpbczw5z74/tmp9aght883.list:1) */ 881s # void 881s # g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure, 881s # GValue *return_value G_GNUC_UNUSED, 881s # guint n_param_values, 881s # const GValue *param_values, 881s # gpointer invocation_hint G_GNUC_UNUSED, 881s # gpointer marshal_data) 881s # { 881s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1, 881s # gpointer arg1, 881s # gpointer data2); 881s # GCClosure *cc = (GCClosure *) closure; 881s # gpointer data1, data2; 881s # GMarshalFunc_VOID__VARIANT callback; 881s # 881s # g_return_if_fail (n_param_values == 2); 881s # 881s # if (G_CCLOSURE_SWAP_DATA (closure)) 881s # { 881s # data1 = closure->data; 881s # data2 = g_value_peek_pointer (param_values + 0); 881s # } 881s # else 881s # { 881s # data1 = g_value_peek_pointer (param_values + 0); 881s # data2 = closure->data; 881s # } 881s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); 881s # 881s # callback (data1, 881s # g_marshal_value_peek_variant (param_values + 1), 881s # data2); 881s # } 881s # 881s # void 881s # g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure, 881s # GValue *return_value G_GNUC_UNUSED, 881s # gpointer instance, 881s # va_list args, 881s # gpointer marshal_data, 881s # int n_params, 881s # GType *param_types) 881s # { 881s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1, 881s # gpointer arg1, 881s # gpointer data2); 881s # GCClosure *cc = (GCClosure *) closure; 881s # gpointer data1, data2; 881s # GMarshalFunc_VOID__VARIANT callback; 881s # gpointer arg0; 881s # va_list args_copy; 881s # 881s # va_copy (args_copy, args); 881s # arg0 = (gpointer) va_arg (args_copy, gpointer); 881s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 881s # arg0 = g_variant_ref_sink (arg0); 881s # va_end (args_copy); 881s # 881s # 881s # if (G_CCLOSURE_SWAP_DATA (closure)) 881s # { 881s # data1 = closure->data; 881s # data2 = instance; 881s # } 881s # else 881s # { 881s # data1 = instance; 881s # data2 = closure->data; 881s # } 881s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); 881s # 881s # callback (data1, 881s # arg0, 881s # data2); 881s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 881s # g_variant_unref (arg0); 881s # } 881s 1..8 881s ok - glib/genmarshal.py.test 881s # Running test: glib/performance.test 881s Running test simple-construction 884s # Executing: glib/performance.test 889s # Executing: glib/performance.test 889s simple-construction: Millions of constructed objects per second: 30.363 889s Running test simple-construction1 893s simple-construction1: Millions of constructed objects per second: 126.546 893s Running test complex-construction 894s # Executing: glib/performance.test 896s complex-construction: Millions of constructed objects per second: 9.863 896s Running test complex-construction1 899s # Executing: glib/performance.test 900s complex-construction1: Millions of constructed objects per second: 17.872 900s Running test complex-construction2 904s # Executing: glib/performance.test 905s complex-construction2: Millions of constructed objects per second: 21.610 905s Running test finalization 906s finalization: Millions of finalized objects per second: 6.710 906s Running test type-check 906s type-check: Million type checks per second: -inf 906s Running test emit-unhandled 907s emit-unhandled: Emissions per second: 8513089 907s Running test emit-unhandled-empty 908s emit-unhandled-empty: Emissions per second: 70731671 908s Running test emit-unhandled-generic 909s # Executing: glib/performance.test 909s emit-unhandled-generic: Emissions per second: 12881868 909s Running test emit-unhandled-generic-empty 910s emit-unhandled-generic-empty: Emissions per second: 71103203 910s Running test emit-unhandled-args 911s emit-unhandled-args: Emissions per second: 6815178 911s Running test emit-handled 912s emit-handled: Emissions per second: 5333538 912s Running test emit-handled-empty 913s emit-handled-empty: Emissions per second: 5566130 913s Running test emit-handled-generic 914s # Executing: glib/performance.test 915s emit-handled-generic: Emissions per second: 5540558 915s Running test emit-handled-generic-empty 916s emit-handled-generic-empty: Emissions per second: 10907042 916s Running test emit-handled-args 917s emit-handled-args: Emissions per second: 4724262 917s Running test notify-unhandled 918s notify-unhandled: Notify (unhandled) per second: 55625031 918s Running test notify-by-pspec-unhandled 919s # Executing: glib/performance.test 919s notify-by-pspec-unhandled: Notify (unhandled) per second: 121737212 919s Running test notify-handled 920s notify-handled: Notify per second: 3255400 920s Running test notify-by-pspec-handled 921s notify-by-pspec-handled: Notify per second: 3399799 921s Running test property-set 922s property-set: Property set per second: 28334487 922s Running test property-get 923s property-get: Property get per second: 25587078 923s Running test refcount 924s # Executing: glib/performance.test 924s refcount: Million refs+unref per second: 79.19 924s Running test refcount-1 925s refcount-1: Million refs+unref per second: 243.20 925s Running test refcount-toggle 926s refcount-toggle: Million refs+unref per second: 120.15 926s ok - glib/performance.test 926s # Running test: glib/application-command-line.test 926s TAP version 14 926s # random seed: R02S043c51acaeb6268f9bc50f10c725f9e4 926s 1..1 926s # Start of application-command-line tests 926s ok 1 /application-command-line/basic-properties 926s # End of application-command-line tests 926s ok - glib/application-command-line.test 926s # Running test: glib/actions.test 926s TAP version 14 926s # random seed: R02S1881e2da4b6006fd17efc7807278f0d1 926s 1..13 926s # Start of actions tests 926s ok 1 /actions/basic 926s ok 2 /actions/name 926s ok 3 /actions/simplegroup 926s ok 4 /actions/stateful 926s ok 5 /actions/default-activate 926s ok 6 /actions/entries 926s ok 7 /actions/parse-detailed 926s ok 8 /actions/property 926s ok 9 /actions/no-properties 926s # Start of dbus tests 926s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 926s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 926s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 926s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 926s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 926s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 926s ok 10 /actions/dbus/export 926s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 926s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 926s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 926s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 926s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 926s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 927s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 928s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 928s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 928s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 928s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 928s ok 11 /actions/dbus/threaded 928s # slow test /actions/dbus/threaded executed in 1.17 secs 928s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 928s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 928s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 928s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 928s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 928s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 928s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 928s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 928s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 928s ok 12 /actions/dbus/bug679509 928s # Start of export tests 928s # /actions/dbus/export/error-handling summary: Test that error handling of action group export failure works 928s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366 928s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 928s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 928s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 928s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 928s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 928s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 928s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 928s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 928s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 928s ok 13 /actions/dbus/export/error-handling 928s # End of export tests 928s # End of dbus tests 928s # End of actions tests 928s ok - glib/actions.test 928s # Running test: glib/network-monitor.test 928s TAP version 14 928s # random seed: R02Sf089eeb0ab0ab82eb8ad2a40b4baecd8 928s 1..4 928s # Start of network-monitor tests 928s # GLib-GIO-DEBUG: Failed to initialize portal (GNetworkMonitorPortal) for gio-network-monitor: Not using portals 928s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 928s # GLib-GIO-DEBUG: Failed to initialize networkmanager (GNetworkMonitorNM) for gio-network-monitor: NetworkManager not running 928s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation netlink (GNetworkMonitorNetlink) for ?gio-network-monitor? 928s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 928s ok 1 /network-monitor/default 928s ok 2 /network-monitor/remove_default 928s ok 3 /network-monitor/add_networks 928s ok 4 /network-monitor/remove_networks 928s # End of network-monitor tests 928s ok - glib/network-monitor.test 928s # Running test: glib/error.test 928s TAP version 14 928s # random seed: R02Sdd5c166222f1624bce40e3f265f74a37 928s 1..3 928s # Start of error tests 928s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_KXBH02/error/from-errno/.dirs/home 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_KXBH02/error/from-errno/.dirs/cache 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_KXBH02/error/from-errno/.dirs/system-config1:/tmp/test_error_KXBH02/error/from-errno/.dirs/system-config2 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_KXBH02/error/from-errno/.dirs/config 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_KXBH02/error/from-errno/.dirs/system-data1:/tmp/test_error_KXBH02/error/from-errno/.dirs/system-data2 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_KXBH02/error/from-errno/.dirs/data 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_KXBH02/error/from-errno/.dirs/state 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_KXBH02/error/from-errno/.dirs/runtime 928s ok 1 /error/from-errno 928s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_KXBH02/error/from-file-error/.dirs/home 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_KXBH02/error/from-file-error/.dirs/cache 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_KXBH02/error/from-file-error/.dirs/system-config1:/tmp/test_error_KXBH02/error/from-file-error/.dirs/system-config2 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_KXBH02/error/from-file-error/.dirs/config 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_KXBH02/error/from-file-error/.dirs/system-data1:/tmp/test_error_KXBH02/error/from-file-error/.dirs/system-data2 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_KXBH02/error/from-file-error/.dirs/data 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_KXBH02/error/from-file-error/.dirs/state 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_KXBH02/error/from-file-error/.dirs/runtime 928s ok 2 /error/from-file-error 928s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_KXBH02/error/from-win32-error/.dirs/home 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_KXBH02/error/from-win32-error/.dirs/cache 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_KXBH02/error/from-win32-error/.dirs/system-config1:/tmp/test_error_KXBH02/error/from-win32-error/.dirs/system-config2 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_KXBH02/error/from-win32-error/.dirs/config 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_KXBH02/error/from-win32-error/.dirs/system-data1:/tmp/test_error_KXBH02/error/from-win32-error/.dirs/system-data2 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_KXBH02/error/from-win32-error/.dirs/data 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_KXBH02/error/from-win32-error/.dirs/state 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_KXBH02/error/from-win32-error/.dirs/runtime 928s ok 3 /error/from-win32-error # SKIP Windows error codes can only be checked on Windows 928s # End of error tests 928s ok - glib/error.test 928s # Running test: glib/converter.test 928s TAP version 14 928s # random seed: R02Sa6a7a193c5704f810683a0ddb5f67669 928s 1..1 928s # Start of converter tests 928s ok 1 /converter/bytes 928s # End of converter tests 928s ok - glib/converter.test 928s # Running test: glib/mainloop.test 928s TAP version 14 928s # random seed: R02S17eaf1c50bbe9124e456e61fad8d62c9 928s 1..45 928s # Start of maincontext tests 928s ok 1 /maincontext/basic 928s # Add same-priority sources: 13 928s # Find each source: 0 928s # Remove in random order: 15 928s ok 2 /maincontext/nsources_same_priority 928s # Add different-priority sources: 12 928s # Find each source: 1 928s # Remove in random order: 28 928s ok 3 /maincontext/nsources_different_priority 928s # Add sources from threads: 63 928s # Remove sources from threads: 152 928s ok 4 /maincontext/nsources_threadpool 928s ok 5 /maincontext/source_finalization 928s # /maincontext/idle-once summary: Test g_idle_add_once() works 928s ok 6 /maincontext/idle-once 928s # /maincontext/timeout-once summary: Test g_timeout_add_once() works 928s ok 7 /maincontext/timeout-once 928s # Start of source_finalization_from_source tests 928s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 928s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 928s ok 8 /maincontext/source_finalization_from_source/0 928s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 928s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 928s ok 9 /maincontext/source_finalization_from_source/1 928s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 928s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 928s ok 10 /maincontext/source_finalization_from_source/2 928s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 928s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 928s ok 11 /maincontext/source_finalization_from_source/3 928s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 928s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 928s ok 12 /maincontext/source_finalization_from_source/4 928s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 928s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 928s ok 13 /maincontext/source_finalization_from_source/5 928s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 928s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 928s ok 14 /maincontext/source_finalization_from_source/6 928s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 928s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 928s ok 15 /maincontext/source_finalization_from_source/7 928s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 928s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 928s ok 16 /maincontext/source_finalization_from_source/8 928s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 928s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 928s ok 17 /maincontext/source_finalization_from_source/9 928s # End of source_finalization_from_source tests 928s # Start of source_finalization_from_dispatch tests 928s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 928s ok 18 /maincontext/source_finalization_from_dispatch/0 928s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 928s ok 19 /maincontext/source_finalization_from_dispatch/1 928s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 928s ok 20 /maincontext/source_finalization_from_dispatch/2 928s # End of source_finalization_from_dispatch tests 928s # End of maincontext tests 928s # Start of mainloop tests 928s ok 21 /mainloop/basic 928s ok 22 /mainloop/timeouts # SKIP Not running timing heavy test 928s ok 23 /mainloop/priorities 929s ok 24 /mainloop/invoke 929s # slow test /mainloop/invoke executed in 0.50 secs 929s # Executing: glib/mainloop.test 930s ok 25 /mainloop/child_sources 930s # slow test /mainloop/child_sources executed in 1.19 secs 932s ok 26 /mainloop/recursive_child_sources 932s # slow test /mainloop/recursive_child_sources executed in 2.17 secs 932s ok 27 /mainloop/recursive_loop_child_sources 932s ok 28 /mainloop/swapping_child_sources 932s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283 932s ok 29 /mainloop/blocked_child_sources 933s ok 30 /mainloop/source_time 933s # slow test /mainloop/source_time executed in 1.00 secs 933s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098 933s ok 31 /mainloop/overflow 934s ok 32 /mainloop/ready-time 934s # slow test /mainloop/ready-time executed in 0.50 secs 934s ok 33 /mainloop/wakeup 934s ok 34 /mainloop/remove-invalid 934s ok 35 /mainloop/unref-while-pending 934s # Executing: glib/mainloop.test 934s ok 36 /mainloop/unix-fd 934s # slow test /mainloop/unix-fd executed in 0.75 secs 934s ok 37 /mainloop/unix-fd-source 934s ok 38 /mainloop/source-unix-fd-api 935s ok 39 /mainloop/wait 935s ok 40 /mainloop/unix-file-poll 935s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592 935s ok 41 /mainloop/unix-fd-priority 935s ok 42 /mainloop/nfds 935s ok 43 /mainloop/steal-fd 935s # Start of ownerless-polling tests 935s ok 44 /mainloop/ownerless-polling/attach-first 935s ok 45 /mainloop/ownerless-polling/pop-first 935s # End of ownerless-polling tests 935s # End of mainloop tests 935s ok - glib/mainloop.test 935s # Running test: glib/null-settings-backend.test 935s TAP version 14 935s # random seed: R02Sad0816f31455cc7fac2ab76ff7c64b64 935s 1..1 935s # Start of null-settings-backend tests 935s ok 1 /null-settings-backend/extension-point-registered 935s # End of null-settings-backend tests 935s ok - glib/null-settings-backend.test 935s # Running test: glib/thread-deprecated.test 935s TAP version 14 935s # random seed: R02S57b9a40fbd748afaabebfe8e93857471 935s 1..6 935s # Start of thread tests 935s ok 1 /thread/mutex 935s ok 2 /thread/static-rec-mutex 939s # Executing: glib/thread-deprecated.test 940s ok 3 /thread/static-private 940s # slow test /thread/static-private executed in 4.40 secs 944s # Executing: glib/thread-deprecated.test 945s ok 4 /thread/static-rw-lock 945s # slow test /thread/static-rw-lock executed in 5.00 secs 945s ok 5 /thread/once 949s # Executing: glib/thread-deprecated.test 954s # Executing: glib/thread-deprecated.test 954s ok 6 /thread/rerun-all 954s # slow test /thread/rerun-all executed in 9.82 secs 954s # End of thread tests 954s ok - glib/thread-deprecated.test 954s # Running test: glib/threadtests.test 954s TAP version 14 954s # random seed: R02S94072b370675065ef45b6645ad3b27a9 954s 1..5 954s # Start of GObject tests 954s ok 1 /GObject/threaded-object-init 955s ok 2 /GObject/threaded-weak-ref 955s # slow test /GObject/threaded-weak-ref executed in 0.82 secs 955s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2394 955s # /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 955s ok 3 /GObject/threaded-toggle-notify 955s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set 955s # Start of threaded-weak-ref tests 955s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 955s # /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. 955s ok 5 /GObject/threaded-weak-ref/on-finalization 955s # End of threaded-weak-ref tests 955s # End of GObject tests 955s ok - glib/threadtests.test 955s # Running test: glib/giomodule.test 956s TAP version 14 956s # random seed: R02S22884dbb2cc1eda690a5bad551900600 956s 1..3 956s # Start of giomodule tests 956s ok 1 /giomodule/extension-point 956s ok 2 /giomodule/module-scan-all 956s ok 3 /giomodule/module-scan-all-with-scope 956s # End of giomodule tests 956s ok - glib/giomodule.test 956s # Running test: glib/gdbus-connection-flush.test 956s TAP version 14 956s # random seed: R02S57173d04469c5e8ce7df91825f7e2be9 956s 1..2 956s # Start of gdbus tests 956s # Start of connection tests 956s # Start of flush tests 956s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_DO79Z2/gdbus/connection/flush/busy/.dirs/home 956s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_DO79Z2/gdbus/connection/flush/busy/.dirs/cache 956s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_DO79Z2/gdbus/connection/flush/busy/.dirs/system-config1:/tmp/test_gdbus-connection-flush_DO79Z2/gdbus/connection/flush/busy/.dirs/system-config2 956s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_DO79Z2/gdbus/connection/flush/busy/.dirs/config 956s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_DO79Z2/gdbus/connection/flush/busy/.dirs/system-data1:/tmp/test_gdbus-connection-flush_DO79Z2/gdbus/connection/flush/busy/.dirs/system-data2 956s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_DO79Z2/gdbus/connection/flush/busy/.dirs/data 956s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_DO79Z2/gdbus/connection/flush/busy/.dirs/state 956s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_DO79Z2/gdbus/connection/flush/busy/.dirs/runtime 956s ok 1 /gdbus/connection/flush/busy 956s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_DO79Z2/gdbus/connection/flush/idle/.dirs/home 956s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_DO79Z2/gdbus/connection/flush/idle/.dirs/cache 956s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_DO79Z2/gdbus/connection/flush/idle/.dirs/system-config1:/tmp/test_gdbus-connection-flush_DO79Z2/gdbus/connection/flush/idle/.dirs/system-config2 956s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_DO79Z2/gdbus/connection/flush/idle/.dirs/config 956s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_DO79Z2/gdbus/connection/flush/idle/.dirs/system-data1:/tmp/test_gdbus-connection-flush_DO79Z2/gdbus/connection/flush/idle/.dirs/system-data2 956s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_DO79Z2/gdbus/connection/flush/idle/.dirs/data 956s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_DO79Z2/gdbus/connection/flush/idle/.dirs/state 956s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_DO79Z2/gdbus/connection/flush/idle/.dirs/runtime 956s ok 2 /gdbus/connection/flush/idle 956s # End of flush tests 956s # End of connection tests 956s # End of gdbus tests 956s ok - glib/gdbus-connection-flush.test 956s # Running test: glib/mapping.test 956s TAP version 14 956s # random seed: R02S714cbef0294adec55551891a878aa670 956s 1..3 956s # Start of mapping tests 956s # test_mapping: ok 956s ok 1 /mapping/flags 956s ok 2 /mapping/private 956s # Subtest: /usr/libexec/installed-tests/glib/mapping 956s # random seed: R02S66ab44dc3331f602acb18140ab2cce39 956s # test_child_private: child spawned 956s # test_child_private: received first child signal 956s # test_child_private: received parent signal 956s # Child exited with status 0 956s # test_child_private: received second child signal 956s ok 3 /mapping/private-child 956s # End of mapping tests 956s ok - glib/mapping.test 956s # Running test: glib/singleton.test 956s TAP version 14 956s # random seed: R02S01a33bf0a454a0a1bed41cd418bcb8d3 956s 1..2 956s # Start of gobject tests 956s # Start of singleton tests 956s ok 1 /gobject/singleton/construction 956s # /gobject/singleton/construct-property summary: Test that creating a singleton with a construct-time property works 956s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2666 956s ok 2 /gobject/singleton/construct-property 956s # End of singleton tests 956s # End of gobject tests 956s ok - glib/singleton.test 956s # Running test: glib/1bit-mutex.test 956s TAP version 14 956s # random seed: R02Sfdbb03c176ff506d70adb2ad5776d7ee 956s 1..2 956s # Start of glib tests 956s # Start of 1bit-mutex tests 959s # Executing: glib/1bit-mutex.test 962s ok 1 /glib/1bit-mutex/int 962s # slow test /glib/1bit-mutex/int executed in 6.19 secs 964s # Executing: glib/1bit-mutex.test 968s ok 2 /glib/1bit-mutex/pointer 968s # slow test /glib/1bit-mutex/pointer executed in 6.28 secs 968s # End of 1bit-mutex tests 968s # End of glib tests 968s ok - glib/1bit-mutex.test 968s # Running test: glib/function-info.test 968s TAP version 14 968s # random seed: R02S7e376299bfc67ff3364d53668fc76a7f 968s 1..1 968s # Start of function-info tests 968s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_function-info_UYCN02/function-info/invoker/.dirs/home 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_function-info_UYCN02/function-info/invoker/.dirs/cache 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_function-info_UYCN02/function-info/invoker/.dirs/system-config1:/tmp/test_function-info_UYCN02/function-info/invoker/.dirs/system-config2 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_function-info_UYCN02/function-info/invoker/.dirs/config 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_function-info_UYCN02/function-info/invoker/.dirs/system-data1:/tmp/test_function-info_UYCN02/function-info/invoker/.dirs/system-data2 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_function-info_UYCN02/function-info/invoker/.dirs/data 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_function-info_UYCN02/function-info/invoker/.dirs/state 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_function-info_UYCN02/function-info/invoker/.dirs/runtime 968s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 968s # /function-info/invoker summary: Test preparing a function invoker 968s ok 1 /function-info/invoker 968s # End of function-info tests 968s ok - glib/function-info.test 968s # Running test: glib/option-argv0.test 968s TAP version 14 968s # random seed: R02S017de5e67675c2d0436cbca25d58a4f7 968s 1..1 968s # Start of option tests 968s ok 1 /option/argv0 968s # End of option tests 968s ok - glib/option-argv0.test 968s # Running test: glib/async-close-output-stream.test 968s TAP version 14 968s # random seed: R02S33bf3301f6cf2fef7e93df2f8d0d4924 968s 1..3 968s # Start of close-async tests 968s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 968s ok 1 /close-async/without-flush 968s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 968s ok 2 /close-async/with-flush 968s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 968s ok 3 /close-async/with-async-flush 968s # End of close-async tests 968s ok - glib/async-close-output-stream.test 968s # Running test: glib/unicode-encoding.test 968s TAP version 14 968s # random seed: R02Sf46bf512a16f9cfdf5846707337a74a7 968s 1..1 968s # Start of unicode tests 968s ok 1 /unicode/encoding 968s # End of unicode tests 968s ok - glib/unicode-encoding.test 968s # Running test: glib/cxx-17.test 968s TAP version 14 968s # random seed: R02Sa42cbcf12df2f63f844ba2031744b2d8 968s 1..2 968s # Start of gtask tests 968s # 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. 968s ok 1 /gtask/name 968s # Start of name tests 968s # 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. 968s ok 2 /gtask/name/macro-wrapper 968s # End of name tests 968s # End of gtask tests 968s ok - glib/cxx-17.test 968s # Running test: glib/tls-database.test 968s TAP version 14 968s # random seed: R02Sa779df6dd4e4eb6654fdb8dd2382c756 968s 1..1 968s # Start of tls-backend tests 968s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 968s ok 1 /tls-backend/set-default-database 968s # End of tls-backend tests 968s ok - glib/tls-database.test 968s # Running test: glib/dump.test 968s TAP version 14 968s # random seed: R02Sa3001cadd1c0716e794157aa14143e08 968s 1..4 968s # Start of dump tests 968s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_44LM02/dump/empty-file/.dirs/home 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_44LM02/dump/empty-file/.dirs/cache 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_44LM02/dump/empty-file/.dirs/system-config1:/tmp/test_dump_44LM02/dump/empty-file/.dirs/system-config2 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_44LM02/dump/empty-file/.dirs/config 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_44LM02/dump/empty-file/.dirs/system-data1:/tmp/test_dump_44LM02/dump/empty-file/.dirs/system-data2 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_44LM02/dump/empty-file/.dirs/data 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_44LM02/dump/empty-file/.dirs/state 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_44LM02/dump/empty-file/.dirs/runtime 968s ok 1 /dump/empty-file 968s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_44LM02/dump/missing-get-type/.dirs/home 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_44LM02/dump/missing-get-type/.dirs/cache 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_44LM02/dump/missing-get-type/.dirs/system-config1:/tmp/test_dump_44LM02/dump/missing-get-type/.dirs/system-config2 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_44LM02/dump/missing-get-type/.dirs/config 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_44LM02/dump/missing-get-type/.dirs/system-data1:/tmp/test_dump_44LM02/dump/missing-get-type/.dirs/system-data2 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_44LM02/dump/missing-get-type/.dirs/data 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_44LM02/dump/missing-get-type/.dirs/state 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_44LM02/dump/missing-get-type/.dirs/runtime 968s Invalid GType function: 'does_not_exist_get_type' 968s ok 2 /dump/missing-get-type 968s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_44LM02/dump/missing-quark/.dirs/home 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_44LM02/dump/missing-quark/.dirs/cache 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_44LM02/dump/missing-quark/.dirs/system-config1:/tmp/test_dump_44LM02/dump/missing-quark/.dirs/system-config2 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_44LM02/dump/missing-quark/.dirs/config 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_44LM02/dump/missing-quark/.dirs/system-data1:/tmp/test_dump_44LM02/dump/missing-quark/.dirs/system-data2 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_44LM02/dump/missing-quark/.dirs/data 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_44LM02/dump/missing-quark/.dirs/state 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_44LM02/dump/missing-quark/.dirs/runtime 968s Invalid error quark function: 'does_not_exist_error' 968s ok 3 /dump/missing-quark 968s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_44LM02/dump/basic/.dirs/home 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_44LM02/dump/basic/.dirs/cache 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_44LM02/dump/basic/.dirs/system-config1:/tmp/test_dump_44LM02/dump/basic/.dirs/system-config2 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_44LM02/dump/basic/.dirs/config 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_44LM02/dump/basic/.dirs/system-data1:/tmp/test_dump_44LM02/dump/basic/.dirs/system-data2 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_44LM02/dump/basic/.dirs/data 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_44LM02/dump/basic/.dirs/state 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_44LM02/dump/basic/.dirs/runtime 968s ok 4 /dump/basic 968s # End of dump tests 968s ok - glib/dump.test 968s # Running test: glib/socket-service.test 968s TAP version 14 968s # random seed: R02Sacfd22f5c1614f57dce7e6e76f788dd3 968s 1..4 968s # Start of socket-service tests 968s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 968s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x5a9c148e8370 and GSocketClientAsyncConnectData 0x5a9c148e0620 968s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 968s ok 1 /socket-service/start-stop 968s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x5a9c148e9ed0 and GSocketClientAsyncConnectData 0x5a9c148e9c70 968s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 968s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 968s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x5a9c148ea3e0 for GSocketClientAsyncConnectData 0x5a9c148e0620 968s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 968s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 968s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 968s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 968s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 968s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x5a9c148eb260 for GSocketClientAsyncConnectData 0x5a9c148e9c70 968s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 968s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 968s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 968s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 968s ok 2 /socket-service/read_write_async 968s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x5a9c148edfb0 and GSocketClientAsyncConnectData 0x5a9c148eb9d0 968s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 968s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 968s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x5a9c148ec190 for GSocketClientAsyncConnectData 0x5a9c148eb9d0 968s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 968s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 968s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 968s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 968s ok 3 /socket-service/read_writev_async 968s # Start of threaded tests 968s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=712570 968s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x5a9c148ef710 and GSocketClientAsyncConnectData 0x5a9c148ebd50 968s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 968s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 968s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x5a9c148ef940 for GSocketClientAsyncConnectData 0x5a9c148ebd50 968s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 968s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 968s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 968s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 968s ok 4 /socket-service/threaded/712570 968s # End of threaded tests 968s # End of socket-service tests 968s ok - glib/socket-service.test 968s # Running test: glib/sandbox.test 968s TAP version 14 968s # random seed: R02Sc542bca6d9f6f6ddd7be5f3e62cefe33 968s 1..4 968s # Start of sandbox tests 968s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_Y1PM02/sandbox/none/.dirs/home 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_Y1PM02/sandbox/none/.dirs/cache 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_Y1PM02/sandbox/none/.dirs/system-config1:/tmp/test_sandbox_Y1PM02/sandbox/none/.dirs/system-config2 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_Y1PM02/sandbox/none/.dirs/config 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_Y1PM02/sandbox/none/.dirs/system-data1:/tmp/test_sandbox_Y1PM02/sandbox/none/.dirs/system-data2 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_Y1PM02/sandbox/none/.dirs/data 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_Y1PM02/sandbox/none/.dirs/state 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_Y1PM02/sandbox/none/.dirs/runtime 968s ok 1 /sandbox/none 968s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_Y1PM02/sandbox/snap/.dirs/home 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_Y1PM02/sandbox/snap/.dirs/cache 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_Y1PM02/sandbox/snap/.dirs/system-config1:/tmp/test_sandbox_Y1PM02/sandbox/snap/.dirs/system-config2 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_Y1PM02/sandbox/snap/.dirs/config 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_Y1PM02/sandbox/snap/.dirs/system-data1:/tmp/test_sandbox_Y1PM02/sandbox/snap/.dirs/system-data2 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_Y1PM02/sandbox/snap/.dirs/data 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_Y1PM02/sandbox/snap/.dirs/state 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_Y1PM02/sandbox/snap/.dirs/runtime 968s # Created snap.yaml in /tmp/test_sandbox_Y1PM02/snap/current/meta/snap.yaml 968s ok 2 /sandbox/snap 968s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_Y1PM02/sandbox/classic-snap/.dirs/home 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_Y1PM02/sandbox/classic-snap/.dirs/cache 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_Y1PM02/sandbox/classic-snap/.dirs/system-config1:/tmp/test_sandbox_Y1PM02/sandbox/classic-snap/.dirs/system-config2 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_Y1PM02/sandbox/classic-snap/.dirs/config 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_Y1PM02/sandbox/classic-snap/.dirs/system-data1:/tmp/test_sandbox_Y1PM02/sandbox/classic-snap/.dirs/system-data2 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_Y1PM02/sandbox/classic-snap/.dirs/data 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_Y1PM02/sandbox/classic-snap/.dirs/state 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_Y1PM02/sandbox/classic-snap/.dirs/runtime 968s # Created snap.yaml in /tmp/test_sandbox_Y1PM02/snap/current/meta/snap.yaml 968s ok 3 /sandbox/classic-snap 968s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_Y1PM02/sandbox/flatpak/.dirs/home 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_Y1PM02/sandbox/flatpak/.dirs/cache 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_Y1PM02/sandbox/flatpak/.dirs/system-config1:/tmp/test_sandbox_Y1PM02/sandbox/flatpak/.dirs/system-config2 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_Y1PM02/sandbox/flatpak/.dirs/config 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_Y1PM02/sandbox/flatpak/.dirs/system-data1:/tmp/test_sandbox_Y1PM02/sandbox/flatpak/.dirs/system-data2 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_Y1PM02/sandbox/flatpak/.dirs/data 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_Y1PM02/sandbox/flatpak/.dirs/state 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_Y1PM02/sandbox/flatpak/.dirs/runtime 968s # Creating .flatpak-info in /tmp/test_sandbox_Y1PM02/sandbox/flatpak/.dirs/runtime/.flatpak-info 968s ok 4 /sandbox/flatpak 968s # End of sandbox tests 968s ok - glib/sandbox.test 968s # Running test: glib/spawn-singlethread.test 968s TAP version 14 968s # random seed: R02Sa6b271a33816cdf7eb223d889594f103 968s 1..9 968s # Start of gthread tests 968s ok 1 /gthread/spawn-single-sync 968s # /gthread/spawn-stderr-socket summary: Test calling g_spawn_sync() with its stderr FD set to a socket 968s ok 2 /gthread/spawn-stderr-socket 968s ok 3 /gthread/spawn-single-async 968s # thread 1 968s # thread 1 968s ok 4 /gthread/spawn-single-async-with-fds 968s ok 5 /gthread/spawn-async-with-invalid-fds 968s ok 6 /gthread/spawn-script 968s ok 7 /gthread/spawn-posix-spawn 968s # Start of spawn tests 968s ok 8 /gthread/spawn/nonexistent 968s # FD map: 968s # • 5 → 15 968s # • 6 → 16 968s # • 7 → 17 968s # • 8 → 18 968s # • 9 → 19 968s # • 10 → 20 968s # • 11 → 21 968s # • 12 → 22 968s # • 13 → 23 968s # • 3 → 13 968s ok 9 /gthread/spawn/fd-assignment-clash 968s # End of spawn tests 968s # End of gthread tests 968s ok - glib/spawn-singlethread.test 968s # Running test: glib/signalgroup.test 968s TAP version 14 968s # random seed: R02Sf510ebc1783df546f1f844c6aa22fdaa 968s 1..9 968s # Start of GObject tests 968s # Start of SignalGroup tests 968s ok 1 /GObject/SignalGroup/invalid 968s ok 2 /GObject/SignalGroup/simple 968s ok 3 /GObject/SignalGroup/changing-target 968s ok 4 /GObject/SignalGroup/blocking 968s ok 5 /GObject/SignalGroup/weak-ref-target 968s ok 6 /GObject/SignalGroup/connect-object 968s ok 7 /GObject/SignalGroup/signal-parsing 968s ok 8 /GObject/SignalGroup/properties 968s ok 9 /GObject/SignalGroup/interface 968s # Start of signal-parsing tests 968s # End of signal-parsing tests 968s # End of SignalGroup tests 968s # End of GObject tests 968s ok - glib/signalgroup.test 968s # Running test: glib/inet-address.test 968s TAP version 14 968s # random seed: R02Sd1719bcd2101de220d99a51f295e0758 968s 1..11 968s # Start of inet-address tests 968s ok 1 /inet-address/parse 968s ok 2 /inet-address/any 968s ok 3 /inet-address/loopback 968s ok 4 /inet-address/bytes 968s ok 5 /inet-address/property 968s # End of inet-address tests 968s # Start of socket-address tests 968s ok 6 /socket-address/basic 968s ok 7 /socket-address/to-string 968s # End of socket-address tests 968s # Start of address-mask tests 968s ok 8 /address-mask/parse 968s ok 9 /address-mask/property 968s ok 10 /address-mask/equal 968s ok 11 /address-mask/match 968s # End of address-mask tests 968s ok - glib/inet-address.test 968s # Running test: glib/notify-init.test 968s TAP version 14 968s # random seed: R02Saa4c3a635a4792cd9c9c3ceb0ef8434a 968s 1..1 968s # Start of properties tests 968s # /properties/notify-in-init summary: Test that emitting notify with a handler already connected in test_object_init() works 968s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665 968s ok 1 /properties/notify-in-init 968s # End of properties tests 968s ok - glib/notify-init.test 968s # Running test: glib/642026-ec.test 968s TAP version 14 968s # random seed: R02S1340b3ecb38b626dcc8b48538a16b4de 968s 1..1 968s # Start of glib tests 968s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026 968s ok 1 /glib/642026 968s # End of glib tests 968s ok - glib/642026-ec.test 968s # Running test: glib/gsubprocess.test 968s TAP version 14 968s # random seed: R02S8c7c3f2e80ef6bb7b689a25c7db5be3a 968s 1..83 968s # Start of gsubprocess tests 968s ok 1 /gsubprocess/noop 968s ok 2 /gsubprocess/noop-all-to-null 968s ok 3 /gsubprocess/noop-no-wait 968s ok 4 /gsubprocess/noop-stdin-inherit 968s ok 5 /gsubprocess/search-path 968s ok 6 /gsubprocess/search-path-from-envp 969s # Executing: glib/gsubprocess.test 972s ok 7 /gsubprocess/signal 972s # slow test /gsubprocess/signal executed in 3.55 secs 972s ok 8 /gsubprocess/exit1 972s ok 9 /gsubprocess/echo1 972s ok 10 /gsubprocess/echo-merged 972s ok 11 /gsubprocess/cat-utf8 973s ok 12 /gsubprocess/cat-eof 973s # slow test /gsubprocess/cat-eof executed in 1.00 secs 974s # Executing: glib/gsubprocess.test 976s ok 13 /gsubprocess/multi1 976s # slow test /gsubprocess/multi1 executed in 3.01 secs 976s ok 14 /gsubprocess/communicate 979s ok 15 /gsubprocess/terminate 979s # slow test /gsubprocess/terminate executed in 2.97 secs 979s # Executing: glib/gsubprocess.test 979s ok 16 /gsubprocess/env 979s ok 17 /gsubprocess/cwd 979s ok 18 /gsubprocess/launcher-close 979s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 979s ok 19 /gsubprocess/stdout-file 979s ok 20 /gsubprocess/stdout-fd 979s ok 21 /gsubprocess/child-setup 979s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 979s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 979s ok 22 /gsubprocess/launcher-environment 979s # Start of exit1 tests 979s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456 979s ok 23 /gsubprocess/exit1/cancel 979s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456 979s ok 24 /gsubprocess/exit1/cancel_in_cb 979s # End of exit1 tests 979s # Start of communicate tests 979s ok 25 /gsubprocess/communicate/cancelled 979s ok 26 /gsubprocess/communicate/async 979s ok 27 /gsubprocess/communicate/utf8 979s # hello world 979s ok 28 /gsubprocess/communicate/no-pipes 979s ok 29 /gsubprocess/communicate/separate-stderr 979s ok 30 /gsubprocess/communicate/stdout-only 979s # hello world 979s ok 31 /gsubprocess/communicate/stderr-only 979s ok 32 /gsubprocess/communicate/stdout-silence 979s ok 33 /gsubprocess/communicate/nothing 979s # Start of async tests 979s ok 34 /gsubprocess/communicate/async/cancelled 979s # hello world 979s ok 35 /gsubprocess/communicate/async/no-pipes 979s ok 36 /gsubprocess/communicate/async/separate-stderr 979s ok 37 /gsubprocess/communicate/async/stdout-only 979s # hello world 979s ok 38 /gsubprocess/communicate/async/stderr-only 979s ok 39 /gsubprocess/communicate/async/stdout-silence 979s # Start of cancelled tests 979s ok 40 /gsubprocess/communicate/async/cancelled/no-pipes 979s ok 41 /gsubprocess/communicate/async/cancelled/separate-stderr 979s ok 42 /gsubprocess/communicate/async/cancelled/stdout-only 979s ok 43 /gsubprocess/communicate/async/cancelled/stderr-only 979s ok 44 /gsubprocess/communicate/async/cancelled/stdout-silence 979s # End of cancelled tests 979s # End of async tests 979s # Start of utf8 tests 979s ok 45 /gsubprocess/communicate/utf8/cancelled 979s ok 46 /gsubprocess/communicate/utf8/async 979s # hello world 979s ok 47 /gsubprocess/communicate/utf8/no-pipes 979s ok 48 /gsubprocess/communicate/utf8/separate-stderr 979s ok 49 /gsubprocess/communicate/utf8/stdout-only 979s # hello world 979s ok 50 /gsubprocess/communicate/utf8/stderr-only 979s ok 51 /gsubprocess/communicate/utf8/stdout-silence 979s ok 52 /gsubprocess/communicate/utf8/invalid 979s # Start of async tests 979s ok 53 /gsubprocess/communicate/utf8/async/cancelled 979s # hello world 979s ok 54 /gsubprocess/communicate/utf8/async/no-pipes 979s ok 55 /gsubprocess/communicate/utf8/async/separate-stderr 979s ok 56 /gsubprocess/communicate/utf8/async/stdout-only 979s # hello world 979s ok 57 /gsubprocess/communicate/utf8/async/stderr-only 979s ok 58 /gsubprocess/communicate/utf8/async/stdout-silence 979s ok 59 /gsubprocess/communicate/utf8/async/invalid 979s # Start of cancelled tests 979s ok 60 /gsubprocess/communicate/utf8/async/cancelled/no-pipes 979s ok 61 /gsubprocess/communicate/utf8/async/cancelled/separate-stderr 979s ok 62 /gsubprocess/communicate/utf8/async/cancelled/stdout-only 979s ok 63 /gsubprocess/communicate/utf8/async/cancelled/stderr-only 979s ok 64 /gsubprocess/communicate/utf8/async/cancelled/stdout-silence 979s # End of cancelled tests 979s # End of async tests 979s # Start of cancelled tests 979s ok 65 /gsubprocess/communicate/utf8/cancelled/no-pipes 979s ok 66 /gsubprocess/communicate/utf8/cancelled/separate-stderr 979s ok 67 /gsubprocess/communicate/utf8/cancelled/stdout-only 979s ok 68 /gsubprocess/communicate/utf8/cancelled/stderr-only 979s ok 69 /gsubprocess/communicate/utf8/cancelled/stdout-silence 979s # End of cancelled tests 979s # End of utf8 tests 979s # Start of cancelled tests 979s ok 70 /gsubprocess/communicate/cancelled/no-pipes 979s ok 71 /gsubprocess/communicate/cancelled/separate-stderr 979s ok 72 /gsubprocess/communicate/cancelled/stdout-only 979s ok 73 /gsubprocess/communicate/cancelled/stderr-only 979s ok 74 /gsubprocess/communicate/cancelled/stdout-silence 979s # End of cancelled tests 979s # End of communicate tests 979s # Start of env tests 979s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 979s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 979s ok 75 /gsubprocess/env/inherit 979s # End of env tests 979s # Start of pass-fd tests 979s ok 76 /gsubprocess/pass-fd/basic 979s ok 77 /gsubprocess/pass-fd/empty-child-setup 979s ok 78 /gsubprocess/pass-fd/inherit-fds 979s # End of pass-fd tests 979s # Start of fd-conflation tests 979s ok 79 /gsubprocess/fd-conflation/basic 979s ok 80 /gsubprocess/fd-conflation/empty-child-setup 979s ok 81 /gsubprocess/fd-conflation/inherit-fds 979s ok 82 /gsubprocess/fd-conflation/child-err-report-fd 979s # End of fd-conflation tests 979s # Start of exit-status tests 979s # /gsubprocess/exit-status/trapped summary: Test that exit status is reported correctly for ptrace()d child processes 979s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3433 979s ok 83 /gsubprocess/exit-status/trapped 979s # End of exit-status tests 979s # End of gsubprocess tests 979s ok - glib/gsubprocess.test 979s # Running test: glib/refcount-macro.test 979s TAP version 14 979s # random seed: R02S5d6f0e3f3e5fdea8b8ef25779991b362 979s 1..4 979s # Start of refcount tests 979s ok 1 /refcount/grefcount 979s ok 2 /refcount/gatomicrefcount 979s # Start of grefcount tests 979s ok 3 /refcount/grefcount/saturation 979s # End of grefcount tests 979s # Start of gatomicrefcount tests 979s ok 4 /refcount/gatomicrefcount/saturation 979s # End of gatomicrefcount tests 979s # End of refcount tests 979s ok - glib/refcount-macro.test 979s # Running test: glib/gdbus-proxy-well-known-name.test 979s TAP version 14 979s # random seed: R02S9df8ae0257d22638627d4178344c4ff5 979s 1..1 979s # Start of gdbus tests 979s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-well-known-name_Z38N02/gdbus/proxy-well-known-name/.dirs/home 979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-well-known-name_Z38N02/gdbus/proxy-well-known-name/.dirs/cache 979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-well-known-name_Z38N02/gdbus/proxy-well-known-name/.dirs/system-config1:/tmp/test_gdbus-proxy-well-known-name_Z38N02/gdbus/proxy-well-known-name/.dirs/system-config2 979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-well-known-name_Z38N02/gdbus/proxy-well-known-name/.dirs/config 979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-well-known-name_Z38N02/gdbus/proxy-well-known-name/.dirs/system-data1:/tmp/test_gdbus-proxy-well-known-name_Z38N02/gdbus/proxy-well-known-name/.dirs/system-data2 979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-well-known-name_Z38N02/gdbus/proxy-well-known-name/.dirs/data 979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-well-known-name_Z38N02/gdbus/proxy-well-known-name/.dirs/state 979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-well-known-name_Z38N02/gdbus/proxy-well-known-name/.dirs/runtime 979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 979s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 979s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 979s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 979s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 979s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 979s ok 1 /gdbus/proxy-well-known-name 979s # End of gdbus tests 979s ok - glib/gdbus-proxy-well-known-name.test 979s # Running test: glib/gsocketclient-slow.test 979s TAP version 14 979s # random seed: R02S39502a65a23c582d7a65a1c49c1d4272 979s 1..4 979s # Start of socket-client tests 979s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3184 979s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 979s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x55cb0e559280 and GSocketClientAsyncConnectData 0x55cb0e551b90 979s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 979s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 979s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x55cb0e55b160 for GSocketClientAsyncConnectData 0x55cb0e551b90 979s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 979s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 979s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 979s # GLib-GIO-DEBUG: GSocketClient: Connection attempt failed: Connection refused 979s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 979s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 979s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x55cb0e55c2c0 for GSocketClientAsyncConnectData 0x55cb0e551b90 979s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 980s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 980s # GLib-GIO-DEBUG: GSocketClient: Connection attempt failed: Connection refused 980s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Could not connect to localhost: Connection refused 980s ok 1 /socket-client/connection-fail 980s # slow test /socket-client/connection-fail executed in 1.20 secs 980s # Start of happy-eyeballs tests 980s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x55cb0e55ec50 and GSocketClientAsyncConnectData 0x55cb0e55cf00 980s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 980s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 980s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x55cb0e55f5d0 for GSocketClientAsyncConnectData 0x55cb0e55cf00 980s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 981s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 981s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 981s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 981s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 981s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 981s ok 2 /socket-client/happy-eyeballs/slow 981s # slow test /socket-client/happy-eyeballs/slow executed in 0.60 secs 981s # Start of cancellation tests 981s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x55cb0e560240 and GSocketClientAsyncConnectData 0x55cb0e55f160 981s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 981s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Operation was cancelled 981s ok 3 /socket-client/happy-eyeballs/cancellation/instant 981s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x55cb0e55ec90 and GSocketClientAsyncConnectData 0x55cb0e5604d0 981s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 981s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 981s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x55cb0e560ca0 for GSocketClientAsyncConnectData 0x55cb0e5604d0 981s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 981s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 981s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 981s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 981s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 981s # GLib-GIO-DEBUG: GSocketClient: Connection cancelled! 981s ok 4 /socket-client/happy-eyeballs/cancellation/delayed 981s # slow test /socket-client/happy-eyeballs/cancellation/delayed executed in 0.60 secs 981s # End of cancellation tests 981s # End of happy-eyeballs tests 981s # End of socket-client tests 981s ok - glib/gsocketclient-slow.test 981s # Running test: glib/bookmarkfile.test 981s TAP version 14 981s # random seed: R02S188f5f673207a7c1f8fcdd5fa35092b6 981s 1..96 981s # Start of bookmarks tests 981s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/load-from-data-dirs/.dirs/home 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/load-from-data-dirs/.dirs/cache 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/load-from-data-dirs/.dirs/system-config1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/load-from-data-dirs/.dirs/system-config2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/load-from-data-dirs/.dirs/config 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/load-from-data-dirs/.dirs/system-data1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/load-from-data-dirs/.dirs/system-data2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/load-from-data-dirs/.dirs/data 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/load-from-data-dirs/.dirs/state 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/load-from-data-dirs/.dirs/runtime 981s ok 1 /bookmarks/load-from-data-dirs 981s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/to-file/.dirs/home 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/to-file/.dirs/cache 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/to-file/.dirs/system-config1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/to-file/.dirs/system-config2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/to-file/.dirs/config 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/to-file/.dirs/system-data1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/to-file/.dirs/system-data2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/to-file/.dirs/data 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/to-file/.dirs/state 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/to-file/.dirs/runtime 981s # Roundtrip from newly created bookmark file /tmp/test_bookmarkfile_CNL6Z2/bookmarkfile-test-N9L6Z2.xbel 981s # Roundtrip from a valid bookmark file 981s ok 2 /bookmarks/to-file 981s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/move-item/.dirs/home 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/move-item/.dirs/cache 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/move-item/.dirs/system-config1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/move-item/.dirs/system-config2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/move-item/.dirs/config 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/move-item/.dirs/system-data1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/move-item/.dirs/system-data2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/move-item/.dirs/data 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/move-item/.dirs/state 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/move-item/.dirs/runtime 981s ok 3 /bookmarks/move-item 981s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/corner-cases/.dirs/home 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/corner-cases/.dirs/cache 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/corner-cases/.dirs/system-config1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/corner-cases/.dirs/system-config2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/corner-cases/.dirs/config 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/corner-cases/.dirs/system-data1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/corner-cases/.dirs/system-data2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/corner-cases/.dirs/data 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/corner-cases/.dirs/state 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/corner-cases/.dirs/runtime 981s ok 4 /bookmarks/corner-cases 981s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/misc/.dirs/home 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/misc/.dirs/cache 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/misc/.dirs/system-config1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/misc/.dirs/system-config2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/misc/.dirs/config 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/misc/.dirs/system-data1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/misc/.dirs/system-data2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/misc/.dirs/data 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/misc/.dirs/state 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/misc/.dirs/runtime 981s ok 5 /bookmarks/misc 981s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/deprecated/.dirs/home 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/deprecated/.dirs/cache 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/deprecated/.dirs/system-config1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/deprecated/.dirs/system-config2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/deprecated/.dirs/config 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/deprecated/.dirs/system-data1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/deprecated/.dirs/system-data2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/deprecated/.dirs/data 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/deprecated/.dirs/state 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/deprecated/.dirs/runtime 981s ok 6 /bookmarks/deprecated 981s # Start of parse tests 981s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-40.xbel/.dirs/home 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-40.xbel/.dirs/cache 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-40.xbel/.dirs/system-config2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-40.xbel/.dirs/config 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-40.xbel/.dirs/system-data2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-40.xbel/.dirs/data 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-40.xbel/.dirs/state 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-40.xbel/.dirs/runtime 981s ok 7 /bookmarks/parse/fail-40.xbel 981s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-17.xbel/.dirs/home 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-17.xbel/.dirs/cache 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-17.xbel/.dirs/system-config2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-17.xbel/.dirs/config 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-17.xbel/.dirs/system-data2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-17.xbel/.dirs/data 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-17.xbel/.dirs/state 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-17.xbel/.dirs/runtime 981s ok 8 /bookmarks/parse/fail-17.xbel 981s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-13.xbel/.dirs/home 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-13.xbel/.dirs/cache 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-13.xbel/.dirs/system-config2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-13.xbel/.dirs/config 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-13.xbel/.dirs/system-data2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-13.xbel/.dirs/data 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-13.xbel/.dirs/state 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-13.xbel/.dirs/runtime 981s ok 9 /bookmarks/parse/fail-13.xbel 981s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-24.xbel/.dirs/home 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-24.xbel/.dirs/cache 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-24.xbel/.dirs/system-config2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-24.xbel/.dirs/config 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-24.xbel/.dirs/system-data2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-24.xbel/.dirs/data 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-24.xbel/.dirs/state 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-24.xbel/.dirs/runtime 981s ok 10 /bookmarks/parse/fail-24.xbel 981s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-30.xbel/.dirs/home 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-30.xbel/.dirs/cache 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-30.xbel/.dirs/system-config2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-30.xbel/.dirs/config 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-30.xbel/.dirs/system-data2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-30.xbel/.dirs/data 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-30.xbel/.dirs/state 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-30.xbel/.dirs/runtime 981s ok 11 /bookmarks/parse/fail-30.xbel 981s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-26.xbel/.dirs/home 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-26.xbel/.dirs/cache 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-26.xbel/.dirs/system-config2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-26.xbel/.dirs/config 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-26.xbel/.dirs/system-data2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-26.xbel/.dirs/data 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-26.xbel/.dirs/state 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-26.xbel/.dirs/runtime 981s ok 12 /bookmarks/parse/fail-26.xbel 981s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-41.xbel/.dirs/home 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-41.xbel/.dirs/cache 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-41.xbel/.dirs/system-config2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-41.xbel/.dirs/config 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-41.xbel/.dirs/system-data2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-41.xbel/.dirs/data 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-41.xbel/.dirs/state 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-41.xbel/.dirs/runtime 981s ok 13 /bookmarks/parse/fail-41.xbel 981s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-34.xbel/.dirs/home 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-34.xbel/.dirs/cache 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-34.xbel/.dirs/system-config2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-34.xbel/.dirs/config 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-34.xbel/.dirs/system-data2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-34.xbel/.dirs/data 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-34.xbel/.dirs/state 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-34.xbel/.dirs/runtime 981s ok 14 /bookmarks/parse/fail-34.xbel 981s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-15.xbel/.dirs/home 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-15.xbel/.dirs/cache 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-15.xbel/.dirs/system-config2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-15.xbel/.dirs/config 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-15.xbel/.dirs/system-data2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-15.xbel/.dirs/data 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-15.xbel/.dirs/state 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-15.xbel/.dirs/runtime 981s ok 15 /bookmarks/parse/fail-15.xbel 981s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-16.xbel/.dirs/home 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-16.xbel/.dirs/cache 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-16.xbel/.dirs/system-config2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-16.xbel/.dirs/config 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-16.xbel/.dirs/system-data2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-16.xbel/.dirs/data 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-16.xbel/.dirs/state 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-16.xbel/.dirs/runtime 981s ok 16 /bookmarks/parse/fail-16.xbel 981s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-39.xbel/.dirs/home 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-39.xbel/.dirs/cache 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-39.xbel/.dirs/system-config2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-39.xbel/.dirs/config 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-39.xbel/.dirs/system-data2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-39.xbel/.dirs/data 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-39.xbel/.dirs/state 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-39.xbel/.dirs/runtime 981s ok 17 /bookmarks/parse/fail-39.xbel 981s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-38.xbel/.dirs/home 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-38.xbel/.dirs/cache 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-38.xbel/.dirs/system-config2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-38.xbel/.dirs/config 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-38.xbel/.dirs/system-data2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-38.xbel/.dirs/data 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-38.xbel/.dirs/state 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-38.xbel/.dirs/runtime 981s ok 18 /bookmarks/parse/fail-38.xbel 981s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-29.xbel/.dirs/home 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-29.xbel/.dirs/cache 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-29.xbel/.dirs/system-config2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-29.xbel/.dirs/config 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-29.xbel/.dirs/system-data2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-29.xbel/.dirs/data 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-29.xbel/.dirs/state 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-29.xbel/.dirs/runtime 981s ok 19 /bookmarks/parse/fail-29.xbel 981s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-37.xbel/.dirs/home 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-37.xbel/.dirs/cache 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-37.xbel/.dirs/system-config2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-37.xbel/.dirs/config 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-37.xbel/.dirs/system-data2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-37.xbel/.dirs/data 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-37.xbel/.dirs/state 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-37.xbel/.dirs/runtime 981s ok 20 /bookmarks/parse/fail-37.xbel 981s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-31.xbel/.dirs/home 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-31.xbel/.dirs/cache 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-31.xbel/.dirs/system-config2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-31.xbel/.dirs/config 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-31.xbel/.dirs/system-data2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-31.xbel/.dirs/data 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-31.xbel/.dirs/state 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-31.xbel/.dirs/runtime 981s ok 21 /bookmarks/parse/fail-31.xbel 981s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-21.xbel/.dirs/home 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-21.xbel/.dirs/cache 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-21.xbel/.dirs/system-config2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-21.xbel/.dirs/config 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-21.xbel/.dirs/system-data2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-21.xbel/.dirs/data 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-21.xbel/.dirs/state 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-21.xbel/.dirs/runtime 981s ok 22 /bookmarks/parse/fail-21.xbel 981s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-04.xbel/.dirs/home 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-04.xbel/.dirs/cache 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-04.xbel/.dirs/system-config2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-04.xbel/.dirs/config 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-04.xbel/.dirs/system-data2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-04.xbel/.dirs/data 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-04.xbel/.dirs/state 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-04.xbel/.dirs/runtime 981s ok 23 /bookmarks/parse/fail-04.xbel 981s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-36.xbel/.dirs/home 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-36.xbel/.dirs/cache 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-36.xbel/.dirs/system-config2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-36.xbel/.dirs/config 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-36.xbel/.dirs/system-data2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-36.xbel/.dirs/data 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-36.xbel/.dirs/state 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-36.xbel/.dirs/runtime 981s ok 24 /bookmarks/parse/fail-36.xbel 981s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-08.xbel/.dirs/home 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-08.xbel/.dirs/cache 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-08.xbel/.dirs/system-config2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-08.xbel/.dirs/config 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-08.xbel/.dirs/system-data2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-08.xbel/.dirs/data 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-08.xbel/.dirs/state 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-08.xbel/.dirs/runtime 981s ok 25 /bookmarks/parse/fail-08.xbel 981s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-11.xbel/.dirs/home 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-11.xbel/.dirs/cache 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-11.xbel/.dirs/system-config2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-11.xbel/.dirs/config 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-11.xbel/.dirs/system-data2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-11.xbel/.dirs/data 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-11.xbel/.dirs/state 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-11.xbel/.dirs/runtime 981s ok 26 /bookmarks/parse/fail-11.xbel 981s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-22.xbel/.dirs/home 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-22.xbel/.dirs/cache 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-22.xbel/.dirs/system-config2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-22.xbel/.dirs/config 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-22.xbel/.dirs/system-data2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-22.xbel/.dirs/data 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-22.xbel/.dirs/state 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-22.xbel/.dirs/runtime 981s ok 27 /bookmarks/parse/fail-22.xbel 981s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-01.xbel/.dirs/home 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-01.xbel/.dirs/cache 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-01.xbel/.dirs/system-config2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-01.xbel/.dirs/config 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-01.xbel/.dirs/system-data2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-01.xbel/.dirs/data 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-01.xbel/.dirs/state 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-01.xbel/.dirs/runtime 981s ok 28 /bookmarks/parse/fail-01.xbel 981s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-23.xbel/.dirs/home 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-23.xbel/.dirs/cache 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-23.xbel/.dirs/system-config2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-23.xbel/.dirs/config 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-23.xbel/.dirs/system-data2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-23.xbel/.dirs/data 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-23.xbel/.dirs/state 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-23.xbel/.dirs/runtime 981s ok 29 /bookmarks/parse/fail-23.xbel 981s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-19.xbel/.dirs/home 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-19.xbel/.dirs/cache 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-19.xbel/.dirs/system-config2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-19.xbel/.dirs/config 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-19.xbel/.dirs/system-data2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-19.xbel/.dirs/data 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-19.xbel/.dirs/state 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-19.xbel/.dirs/runtime 981s ok 30 /bookmarks/parse/fail-19.xbel 981s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-27.xbel/.dirs/home 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-27.xbel/.dirs/cache 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-27.xbel/.dirs/system-config2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-27.xbel/.dirs/config 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-27.xbel/.dirs/system-data2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-27.xbel/.dirs/data 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-27.xbel/.dirs/state 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-27.xbel/.dirs/runtime 981s ok 31 /bookmarks/parse/fail-27.xbel 981s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-03.xbel/.dirs/home 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-03.xbel/.dirs/cache 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-03.xbel/.dirs/system-config2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-03.xbel/.dirs/config 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-03.xbel/.dirs/system-data2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-03.xbel/.dirs/data 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-03.xbel/.dirs/state 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-03.xbel/.dirs/runtime 981s ok 32 /bookmarks/parse/fail-03.xbel 981s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-18.xbel/.dirs/home 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-18.xbel/.dirs/cache 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-18.xbel/.dirs/system-config2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-18.xbel/.dirs/config 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-18.xbel/.dirs/system-data2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-18.xbel/.dirs/data 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-18.xbel/.dirs/state 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-18.xbel/.dirs/runtime 981s ok 33 /bookmarks/parse/fail-18.xbel 981s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-42.xbel/.dirs/home 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-42.xbel/.dirs/cache 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-42.xbel/.dirs/system-config2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-42.xbel/.dirs/config 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-42.xbel/.dirs/system-data2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-42.xbel/.dirs/data 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-42.xbel/.dirs/state 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-42.xbel/.dirs/runtime 981s ok 34 /bookmarks/parse/fail-42.xbel 981s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/valid-01.xbel/.dirs/home 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/valid-01.xbel/.dirs/cache 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/valid-01.xbel/.dirs/system-config2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/valid-01.xbel/.dirs/config 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/valid-01.xbel/.dirs/system-data2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/valid-01.xbel/.dirs/data 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/valid-01.xbel/.dirs/state 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/valid-01.xbel/.dirs/runtime 981s ok 35 /bookmarks/parse/valid-01.xbel 981s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-20.xbel/.dirs/home 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-20.xbel/.dirs/cache 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-20.xbel/.dirs/system-config2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-20.xbel/.dirs/config 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-20.xbel/.dirs/system-data2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-20.xbel/.dirs/data 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-20.xbel/.dirs/state 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-20.xbel/.dirs/runtime 981s ok 36 /bookmarks/parse/fail-20.xbel 981s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-35.xbel/.dirs/home 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-35.xbel/.dirs/cache 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-35.xbel/.dirs/system-config2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-35.xbel/.dirs/config 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-35.xbel/.dirs/system-data2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-35.xbel/.dirs/data 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-35.xbel/.dirs/state 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-35.xbel/.dirs/runtime 981s ok 37 /bookmarks/parse/fail-35.xbel 981s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/valid-02.xbel/.dirs/home 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/valid-02.xbel/.dirs/cache 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/valid-02.xbel/.dirs/system-config2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/valid-02.xbel/.dirs/config 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/valid-02.xbel/.dirs/system-data2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/valid-02.xbel/.dirs/data 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/valid-02.xbel/.dirs/state 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/valid-02.xbel/.dirs/runtime 981s ok 38 /bookmarks/parse/valid-02.xbel 981s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-09.xbel/.dirs/home 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-09.xbel/.dirs/cache 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-09.xbel/.dirs/system-config2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-09.xbel/.dirs/config 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-09.xbel/.dirs/system-data2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-09.xbel/.dirs/data 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-09.xbel/.dirs/state 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-09.xbel/.dirs/runtime 981s ok 39 /bookmarks/parse/fail-09.xbel 981s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/valid-03.xbel/.dirs/home 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/valid-03.xbel/.dirs/cache 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/valid-03.xbel/.dirs/system-config2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/valid-03.xbel/.dirs/config 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/valid-03.xbel/.dirs/system-data2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/valid-03.xbel/.dirs/data 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/valid-03.xbel/.dirs/state 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/valid-03.xbel/.dirs/runtime 981s ok 40 /bookmarks/parse/valid-03.xbel 981s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-12.xbel/.dirs/home 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-12.xbel/.dirs/cache 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-12.xbel/.dirs/system-config2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-12.xbel/.dirs/config 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-12.xbel/.dirs/system-data2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-12.xbel/.dirs/data 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-12.xbel/.dirs/state 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-12.xbel/.dirs/runtime 981s ok 41 /bookmarks/parse/fail-12.xbel 981s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-05.xbel/.dirs/home 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-05.xbel/.dirs/cache 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-05.xbel/.dirs/system-config2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-05.xbel/.dirs/config 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-05.xbel/.dirs/system-data2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-05.xbel/.dirs/data 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-05.xbel/.dirs/state 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-05.xbel/.dirs/runtime 981s ok 42 /bookmarks/parse/fail-05.xbel 981s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-33.xbel/.dirs/home 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-33.xbel/.dirs/cache 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-33.xbel/.dirs/system-config2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-33.xbel/.dirs/config 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-33.xbel/.dirs/system-data2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-33.xbel/.dirs/data 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-33.xbel/.dirs/state 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-33.xbel/.dirs/runtime 981s ok 43 /bookmarks/parse/fail-33.xbel 981s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-06.xbel/.dirs/home 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-06.xbel/.dirs/cache 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-06.xbel/.dirs/system-config2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-06.xbel/.dirs/config 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-06.xbel/.dirs/system-data2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-06.xbel/.dirs/data 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-06.xbel/.dirs/state 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-06.xbel/.dirs/runtime 981s ok 44 /bookmarks/parse/fail-06.xbel 981s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-28.xbel/.dirs/home 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-28.xbel/.dirs/cache 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-28.xbel/.dirs/system-config2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-28.xbel/.dirs/config 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-28.xbel/.dirs/system-data2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-28.xbel/.dirs/data 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-28.xbel/.dirs/state 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-28.xbel/.dirs/runtime 981s ok 45 /bookmarks/parse/fail-28.xbel 981s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-02.xbel/.dirs/home 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-02.xbel/.dirs/cache 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-02.xbel/.dirs/system-config2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-02.xbel/.dirs/config 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-02.xbel/.dirs/system-data2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-02.xbel/.dirs/data 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-02.xbel/.dirs/state 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-02.xbel/.dirs/runtime 981s ok 46 /bookmarks/parse/fail-02.xbel 981s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-07.xbel/.dirs/home 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-07.xbel/.dirs/cache 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-07.xbel/.dirs/system-config2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-07.xbel/.dirs/config 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-07.xbel/.dirs/system-data2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-07.xbel/.dirs/data 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-07.xbel/.dirs/state 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-07.xbel/.dirs/runtime 981s ok 47 /bookmarks/parse/fail-07.xbel 981s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-14.xbel/.dirs/home 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-14.xbel/.dirs/cache 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-14.xbel/.dirs/system-config2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-14.xbel/.dirs/config 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-14.xbel/.dirs/system-data2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-14.xbel/.dirs/data 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-14.xbel/.dirs/state 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-14.xbel/.dirs/runtime 981s ok 48 /bookmarks/parse/fail-14.xbel 981s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-25.xbel/.dirs/home 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-25.xbel/.dirs/cache 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-25.xbel/.dirs/system-config2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-25.xbel/.dirs/config 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-25.xbel/.dirs/system-data2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-25.xbel/.dirs/data 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-25.xbel/.dirs/state 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-25.xbel/.dirs/runtime 981s ok 49 /bookmarks/parse/fail-25.xbel 981s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-10.xbel/.dirs/home 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-10.xbel/.dirs/cache 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-10.xbel/.dirs/system-config2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-10.xbel/.dirs/config 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-10.xbel/.dirs/system-data2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-10.xbel/.dirs/data 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-10.xbel/.dirs/state 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-10.xbel/.dirs/runtime 981s ok 50 /bookmarks/parse/fail-10.xbel 981s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-32.xbel/.dirs/home 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-32.xbel/.dirs/cache 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-32.xbel/.dirs/system-config2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-32.xbel/.dirs/config 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-32.xbel/.dirs/system-data2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-32.xbel/.dirs/data 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-32.xbel/.dirs/state 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/parse/fail-32.xbel/.dirs/runtime 981s ok 51 /bookmarks/parse/fail-32.xbel 981s # End of parse tests 981s # Start of copy tests 981s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-40.xbel/.dirs/home 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-40.xbel/.dirs/cache 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-40.xbel/.dirs/system-config2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-40.xbel/.dirs/config 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-40.xbel/.dirs/system-data2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-40.xbel/.dirs/data 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-40.xbel/.dirs/state 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-40.xbel/.dirs/runtime 981s ok 52 /bookmarks/copy/fail-40.xbel 981s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-17.xbel/.dirs/home 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-17.xbel/.dirs/cache 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-17.xbel/.dirs/system-config2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-17.xbel/.dirs/config 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-17.xbel/.dirs/system-data2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-17.xbel/.dirs/data 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-17.xbel/.dirs/state 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-17.xbel/.dirs/runtime 981s ok 53 /bookmarks/copy/fail-17.xbel 981s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-13.xbel/.dirs/home 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-13.xbel/.dirs/cache 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-13.xbel/.dirs/system-config2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-13.xbel/.dirs/config 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-13.xbel/.dirs/system-data2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-13.xbel/.dirs/data 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-13.xbel/.dirs/state 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-13.xbel/.dirs/runtime 981s ok 54 /bookmarks/copy/fail-13.xbel 981s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-24.xbel/.dirs/home 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-24.xbel/.dirs/cache 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-24.xbel/.dirs/system-config2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-24.xbel/.dirs/config 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-24.xbel/.dirs/system-data2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-24.xbel/.dirs/data 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-24.xbel/.dirs/state 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-24.xbel/.dirs/runtime 981s ok 55 /bookmarks/copy/fail-24.xbel 981s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-30.xbel/.dirs/home 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-30.xbel/.dirs/cache 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-30.xbel/.dirs/system-config2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-30.xbel/.dirs/config 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-30.xbel/.dirs/system-data2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-30.xbel/.dirs/data 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-30.xbel/.dirs/state 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-30.xbel/.dirs/runtime 981s ok 56 /bookmarks/copy/fail-30.xbel 981s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-26.xbel/.dirs/home 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-26.xbel/.dirs/cache 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-26.xbel/.dirs/system-config2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-26.xbel/.dirs/config 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-26.xbel/.dirs/system-data2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-26.xbel/.dirs/data 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-26.xbel/.dirs/state 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-26.xbel/.dirs/runtime 981s ok 57 /bookmarks/copy/fail-26.xbel 981s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-41.xbel/.dirs/home 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-41.xbel/.dirs/cache 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-41.xbel/.dirs/system-config2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-41.xbel/.dirs/config 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-41.xbel/.dirs/system-data2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-41.xbel/.dirs/data 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-41.xbel/.dirs/state 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-41.xbel/.dirs/runtime 981s ok 58 /bookmarks/copy/fail-41.xbel 981s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-34.xbel/.dirs/home 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-34.xbel/.dirs/cache 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-34.xbel/.dirs/system-config2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-34.xbel/.dirs/config 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-34.xbel/.dirs/system-data2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-34.xbel/.dirs/data 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-34.xbel/.dirs/state 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-34.xbel/.dirs/runtime 981s ok 59 /bookmarks/copy/fail-34.xbel 981s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-15.xbel/.dirs/home 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-15.xbel/.dirs/cache 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-15.xbel/.dirs/system-config2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-15.xbel/.dirs/config 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-15.xbel/.dirs/system-data2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-15.xbel/.dirs/data 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-15.xbel/.dirs/state 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-15.xbel/.dirs/runtime 981s ok 60 /bookmarks/copy/fail-15.xbel 981s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-16.xbel/.dirs/home 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-16.xbel/.dirs/cache 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-16.xbel/.dirs/system-config2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-16.xbel/.dirs/config 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-16.xbel/.dirs/system-data2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-16.xbel/.dirs/data 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-16.xbel/.dirs/state 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-16.xbel/.dirs/runtime 981s ok 61 /bookmarks/copy/fail-16.xbel 981s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-39.xbel/.dirs/home 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-39.xbel/.dirs/cache 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-39.xbel/.dirs/system-config2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-39.xbel/.dirs/config 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-39.xbel/.dirs/system-data2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-39.xbel/.dirs/data 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-39.xbel/.dirs/state 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-39.xbel/.dirs/runtime 981s ok 62 /bookmarks/copy/fail-39.xbel 981s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-38.xbel/.dirs/home 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-38.xbel/.dirs/cache 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-38.xbel/.dirs/system-config2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-38.xbel/.dirs/config 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-38.xbel/.dirs/system-data2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-38.xbel/.dirs/data 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-38.xbel/.dirs/state 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-38.xbel/.dirs/runtime 981s ok 63 /bookmarks/copy/fail-38.xbel 981s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-29.xbel/.dirs/home 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-29.xbel/.dirs/cache 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-29.xbel/.dirs/system-config2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-29.xbel/.dirs/config 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-29.xbel/.dirs/system-data2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-29.xbel/.dirs/data 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-29.xbel/.dirs/state 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-29.xbel/.dirs/runtime 981s ok 64 /bookmarks/copy/fail-29.xbel 981s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-37.xbel/.dirs/home 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-37.xbel/.dirs/cache 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-37.xbel/.dirs/system-config2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-37.xbel/.dirs/config 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-37.xbel/.dirs/system-data2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-37.xbel/.dirs/data 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-37.xbel/.dirs/state 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-37.xbel/.dirs/runtime 981s ok 65 /bookmarks/copy/fail-37.xbel 981s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-31.xbel/.dirs/home 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-31.xbel/.dirs/cache 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-31.xbel/.dirs/system-config2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-31.xbel/.dirs/config 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-31.xbel/.dirs/system-data2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-31.xbel/.dirs/data 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-31.xbel/.dirs/state 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-31.xbel/.dirs/runtime 981s ok 66 /bookmarks/copy/fail-31.xbel 981s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-21.xbel/.dirs/home 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-21.xbel/.dirs/cache 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-21.xbel/.dirs/system-config2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-21.xbel/.dirs/config 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-21.xbel/.dirs/system-data2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-21.xbel/.dirs/data 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-21.xbel/.dirs/state 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-21.xbel/.dirs/runtime 981s ok 67 /bookmarks/copy/fail-21.xbel 981s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-04.xbel/.dirs/home 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-04.xbel/.dirs/cache 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-04.xbel/.dirs/system-config2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-04.xbel/.dirs/config 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-04.xbel/.dirs/system-data2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-04.xbel/.dirs/data 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-04.xbel/.dirs/state 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-04.xbel/.dirs/runtime 981s ok 68 /bookmarks/copy/fail-04.xbel 981s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-36.xbel/.dirs/home 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-36.xbel/.dirs/cache 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-36.xbel/.dirs/system-config2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-36.xbel/.dirs/config 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-36.xbel/.dirs/system-data2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-36.xbel/.dirs/data 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-36.xbel/.dirs/state 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-36.xbel/.dirs/runtime 981s ok 69 /bookmarks/copy/fail-36.xbel 981s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-08.xbel/.dirs/home 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-08.xbel/.dirs/cache 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-08.xbel/.dirs/system-config2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-08.xbel/.dirs/config 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-08.xbel/.dirs/system-data2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-08.xbel/.dirs/data 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-08.xbel/.dirs/state 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-08.xbel/.dirs/runtime 981s ok 70 /bookmarks/copy/fail-08.xbel 981s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-11.xbel/.dirs/home 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-11.xbel/.dirs/cache 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-11.xbel/.dirs/system-config2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-11.xbel/.dirs/config 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-11.xbel/.dirs/system-data2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-11.xbel/.dirs/data 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-11.xbel/.dirs/state 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-11.xbel/.dirs/runtime 981s ok 71 /bookmarks/copy/fail-11.xbel 981s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-22.xbel/.dirs/home 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-22.xbel/.dirs/cache 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-22.xbel/.dirs/system-config2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-22.xbel/.dirs/config 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-22.xbel/.dirs/system-data2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-22.xbel/.dirs/data 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-22.xbel/.dirs/state 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-22.xbel/.dirs/runtime 981s ok 72 /bookmarks/copy/fail-22.xbel 981s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-01.xbel/.dirs/home 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-01.xbel/.dirs/cache 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-01.xbel/.dirs/system-config2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-01.xbel/.dirs/config 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-01.xbel/.dirs/system-data2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-01.xbel/.dirs/data 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-01.xbel/.dirs/state 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-01.xbel/.dirs/runtime 981s ok 73 /bookmarks/copy/fail-01.xbel 981s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-23.xbel/.dirs/home 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-23.xbel/.dirs/cache 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-23.xbel/.dirs/system-config2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-23.xbel/.dirs/config 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-23.xbel/.dirs/system-data2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-23.xbel/.dirs/data 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-23.xbel/.dirs/state 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-23.xbel/.dirs/runtime 981s ok 74 /bookmarks/copy/fail-23.xbel 981s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-19.xbel/.dirs/home 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-19.xbel/.dirs/cache 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-19.xbel/.dirs/system-config2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-19.xbel/.dirs/config 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-19.xbel/.dirs/system-data2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-19.xbel/.dirs/data 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-19.xbel/.dirs/state 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-19.xbel/.dirs/runtime 981s ok 75 /bookmarks/copy/fail-19.xbel 981s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-27.xbel/.dirs/home 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-27.xbel/.dirs/cache 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-27.xbel/.dirs/system-config2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-27.xbel/.dirs/config 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-27.xbel/.dirs/system-data2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-27.xbel/.dirs/data 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-27.xbel/.dirs/state 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-27.xbel/.dirs/runtime 981s ok 76 /bookmarks/copy/fail-27.xbel 981s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-03.xbel/.dirs/home 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-03.xbel/.dirs/cache 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-03.xbel/.dirs/system-config2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-03.xbel/.dirs/config 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-03.xbel/.dirs/system-data2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-03.xbel/.dirs/data 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-03.xbel/.dirs/state 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-03.xbel/.dirs/runtime 981s ok 77 /bookmarks/copy/fail-03.xbel 981s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-18.xbel/.dirs/home 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-18.xbel/.dirs/cache 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-18.xbel/.dirs/system-config2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-18.xbel/.dirs/config 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-18.xbel/.dirs/system-data2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-18.xbel/.dirs/data 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-18.xbel/.dirs/state 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-18.xbel/.dirs/runtime 981s ok 78 /bookmarks/copy/fail-18.xbel 981s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-42.xbel/.dirs/home 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-42.xbel/.dirs/cache 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-42.xbel/.dirs/system-config2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-42.xbel/.dirs/config 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-42.xbel/.dirs/system-data2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-42.xbel/.dirs/data 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-42.xbel/.dirs/state 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-42.xbel/.dirs/runtime 981s ok 79 /bookmarks/copy/fail-42.xbel 981s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/valid-01.xbel/.dirs/home 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/valid-01.xbel/.dirs/cache 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/valid-01.xbel/.dirs/system-config2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/valid-01.xbel/.dirs/config 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/valid-01.xbel/.dirs/system-data2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/valid-01.xbel/.dirs/data 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/valid-01.xbel/.dirs/state 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/valid-01.xbel/.dirs/runtime 981s ok 80 /bookmarks/copy/valid-01.xbel 981s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-20.xbel/.dirs/home 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-20.xbel/.dirs/cache 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-20.xbel/.dirs/system-config2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-20.xbel/.dirs/config 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-20.xbel/.dirs/system-data2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-20.xbel/.dirs/data 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-20.xbel/.dirs/state 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-20.xbel/.dirs/runtime 981s ok 81 /bookmarks/copy/fail-20.xbel 981s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-35.xbel/.dirs/home 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-35.xbel/.dirs/cache 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-35.xbel/.dirs/system-config2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-35.xbel/.dirs/config 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-35.xbel/.dirs/system-data2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-35.xbel/.dirs/data 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-35.xbel/.dirs/state 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-35.xbel/.dirs/runtime 981s ok 82 /bookmarks/copy/fail-35.xbel 981s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/valid-02.xbel/.dirs/home 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/valid-02.xbel/.dirs/cache 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/valid-02.xbel/.dirs/system-config2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/valid-02.xbel/.dirs/config 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/valid-02.xbel/.dirs/system-data2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/valid-02.xbel/.dirs/data 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/valid-02.xbel/.dirs/state 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/valid-02.xbel/.dirs/runtime 981s ok 83 /bookmarks/copy/valid-02.xbel 981s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-09.xbel/.dirs/home 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-09.xbel/.dirs/cache 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-09.xbel/.dirs/system-config2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-09.xbel/.dirs/config 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-09.xbel/.dirs/system-data2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-09.xbel/.dirs/data 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-09.xbel/.dirs/state 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-09.xbel/.dirs/runtime 981s ok 84 /bookmarks/copy/fail-09.xbel 981s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/valid-03.xbel/.dirs/home 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/valid-03.xbel/.dirs/cache 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/valid-03.xbel/.dirs/system-config2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/valid-03.xbel/.dirs/config 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/valid-03.xbel/.dirs/system-data2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/valid-03.xbel/.dirs/data 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/valid-03.xbel/.dirs/state 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/valid-03.xbel/.dirs/runtime 981s ok 85 /bookmarks/copy/valid-03.xbel 981s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-12.xbel/.dirs/home 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-12.xbel/.dirs/cache 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-12.xbel/.dirs/system-config2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-12.xbel/.dirs/config 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-12.xbel/.dirs/system-data2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-12.xbel/.dirs/data 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-12.xbel/.dirs/state 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-12.xbel/.dirs/runtime 981s ok 86 /bookmarks/copy/fail-12.xbel 981s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-05.xbel/.dirs/home 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-05.xbel/.dirs/cache 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-05.xbel/.dirs/system-config2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-05.xbel/.dirs/config 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-05.xbel/.dirs/system-data2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-05.xbel/.dirs/data 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-05.xbel/.dirs/state 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-05.xbel/.dirs/runtime 981s ok 87 /bookmarks/copy/fail-05.xbel 981s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-33.xbel/.dirs/home 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-33.xbel/.dirs/cache 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-33.xbel/.dirs/system-config2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-33.xbel/.dirs/config 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-33.xbel/.dirs/system-data2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-33.xbel/.dirs/data 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-33.xbel/.dirs/state 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-33.xbel/.dirs/runtime 981s ok 88 /bookmarks/copy/fail-33.xbel 981s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-06.xbel/.dirs/home 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-06.xbel/.dirs/cache 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-06.xbel/.dirs/system-config2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-06.xbel/.dirs/config 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-06.xbel/.dirs/system-data2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-06.xbel/.dirs/data 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-06.xbel/.dirs/state 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-06.xbel/.dirs/runtime 981s ok 89 /bookmarks/copy/fail-06.xbel 981s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-28.xbel/.dirs/home 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-28.xbel/.dirs/cache 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-28.xbel/.dirs/system-config2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-28.xbel/.dirs/config 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-28.xbel/.dirs/system-data2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-28.xbel/.dirs/data 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-28.xbel/.dirs/state 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-28.xbel/.dirs/runtime 981s ok 90 /bookmarks/copy/fail-28.xbel 981s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-02.xbel/.dirs/home 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-02.xbel/.dirs/cache 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-02.xbel/.dirs/system-config2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-02.xbel/.dirs/config 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-02.xbel/.dirs/system-data2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-02.xbel/.dirs/data 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-02.xbel/.dirs/state 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-02.xbel/.dirs/runtime 981s ok 91 /bookmarks/copy/fail-02.xbel 981s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-07.xbel/.dirs/home 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-07.xbel/.dirs/cache 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-07.xbel/.dirs/system-config2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-07.xbel/.dirs/config 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-07.xbel/.dirs/system-data2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-07.xbel/.dirs/data 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-07.xbel/.dirs/state 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-07.xbel/.dirs/runtime 981s ok 92 /bookmarks/copy/fail-07.xbel 981s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-14.xbel/.dirs/home 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-14.xbel/.dirs/cache 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-14.xbel/.dirs/system-config2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-14.xbel/.dirs/config 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-14.xbel/.dirs/system-data2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-14.xbel/.dirs/data 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-14.xbel/.dirs/state 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-14.xbel/.dirs/runtime 981s ok 93 /bookmarks/copy/fail-14.xbel 981s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-25.xbel/.dirs/home 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-25.xbel/.dirs/cache 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-25.xbel/.dirs/system-config2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-25.xbel/.dirs/config 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-25.xbel/.dirs/system-data2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-25.xbel/.dirs/data 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-25.xbel/.dirs/state 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-25.xbel/.dirs/runtime 981s ok 94 /bookmarks/copy/fail-25.xbel 981s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-10.xbel/.dirs/home 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-10.xbel/.dirs/cache 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-10.xbel/.dirs/system-config2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-10.xbel/.dirs/config 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-10.xbel/.dirs/system-data2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-10.xbel/.dirs/data 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-10.xbel/.dirs/state 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-10.xbel/.dirs/runtime 981s ok 95 /bookmarks/copy/fail-10.xbel 981s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-32.xbel/.dirs/home 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-32.xbel/.dirs/cache 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-32.xbel/.dirs/system-config2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-32.xbel/.dirs/config 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-32.xbel/.dirs/system-data2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-32.xbel/.dirs/data 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-32.xbel/.dirs/state 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNL6Z2/bookmarks/copy/fail-32.xbel/.dirs/runtime 981s ok 96 /bookmarks/copy/fail-32.xbel 981s # End of copy tests 981s # End of bookmarks tests 981s ok - glib/bookmarkfile.test 981s # Running test: glib/rec-mutex.test 981s TAP version 14 981s # random seed: R02S29086ce873ba34e01d5de5fc0b693adc 981s 1..29 981s # Start of thread tests 981s ok 1 /thread/rec-mutex1 981s ok 2 /thread/rec-mutex2 981s ok 3 /thread/rec-mutex3 981s ok 4 /thread/rec-mutex4 981s # Start of rec-mutex tests 981s # Start of perf tests 981s # Start of uncontended tests 981s # max perf: inf mips 981s ok 5 /thread/rec-mutex/perf/uncontended/depth1 981s # max perf: inf mips 981s ok 6 /thread/rec-mutex/perf/uncontended/depth2 981s # max perf: inf mips 981s ok 7 /thread/rec-mutex/perf/uncontended/depth3 981s # max perf: inf mips 981s ok 8 /thread/rec-mutex/perf/uncontended/depth4 981s # max perf: inf mips 981s ok 9 /thread/rec-mutex/perf/uncontended/depth5 981s # End of uncontended tests 981s # Start of contended1 tests 981s # max perf: 2.000000 mips 981s ok 10 /thread/rec-mutex/perf/contended1/depth1 981s # max perf: inf mips 981s ok 11 /thread/rec-mutex/perf/contended1/depth2 981s # max perf: inf mips 981s ok 12 /thread/rec-mutex/perf/contended1/depth3 981s # max perf: inf mips 981s ok 13 /thread/rec-mutex/perf/contended1/depth4 981s # max perf: 2.000000 mips 981s ok 14 /thread/rec-mutex/perf/contended1/depth5 981s # End of contended1 tests 981s # Start of contended2 tests 981s # max perf: 3.000000 mips 981s ok 15 /thread/rec-mutex/perf/contended2/depth1 981s # max perf: 3.000000 mips 981s ok 16 /thread/rec-mutex/perf/contended2/depth2 981s # max perf: 3.000000 mips 981s ok 17 /thread/rec-mutex/perf/contended2/depth3 981s # max perf: inf mips 981s ok 18 /thread/rec-mutex/perf/contended2/depth4 981s # max perf: inf mips 981s ok 19 /thread/rec-mutex/perf/contended2/depth5 981s # End of contended2 tests 981s # Start of contended3 tests 981s # max perf: 4.000000 mips 981s ok 20 /thread/rec-mutex/perf/contended3/depth1 981s # max perf: 4.000000 mips 981s ok 21 /thread/rec-mutex/perf/contended3/depth2 981s # max perf: 4.000000 mips 981s ok 22 /thread/rec-mutex/perf/contended3/depth3 981s # max perf: 4.000000 mips 981s ok 23 /thread/rec-mutex/perf/contended3/depth4 981s # max perf: 2.000000 mips 981s ok 24 /thread/rec-mutex/perf/contended3/depth5 981s # End of contended3 tests 981s # Start of contended4 tests 981s # max perf: 5.000000 mips 981s ok 25 /thread/rec-mutex/perf/contended4/depth1 981s # max perf: 5.000000 mips 981s ok 26 /thread/rec-mutex/perf/contended4/depth2 981s # max perf: 5.000000 mips 981s ok 27 /thread/rec-mutex/perf/contended4/depth3 981s # max perf: 2.500000 mips 981s ok 28 /thread/rec-mutex/perf/contended4/depth4 981s # max perf: 2.500000 mips 981s ok 29 /thread/rec-mutex/perf/contended4/depth5 981s # End of contended4 tests 981s # End of perf tests 981s # End of rec-mutex tests 981s # End of thread tests 981s ok - glib/rec-mutex.test 981s # Running test: glib/regex.test 981s TAP version 14 981s # random seed: R02Sc0705e0830eb1390794f3d9094131c5a 981s 1..848 981s # Start of regex tests 981s ok 1 /regex/properties 981s ok 2 /regex/class 981s ok 3 /regex/lookahead 981s ok 4 /regex/lookbehind 981s ok 5 /regex/subpattern 981s ok 6 /regex/condition 981s ok 7 /regex/recursion 981s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640489 981s ok 8 /regex/multiline 981s ok 9 /regex/explicit-crlf 981s ok 10 /regex/max-lookbehind 981s ok 11 /regex/compile-errors 981s ok 12 /regex/jit-unsupported-matching 981s # /regex/unmatched-named-subpattern summary: Test that unmatched subpatterns can still be queried 981s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2881 981s ok 13 /regex/unmatched-named-subpattern 981s # /regex/compiled-regex-after-jit-failure summary: Test that failed OPTIMIZE regex doesn't cause issues on subsequent matches 981s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2824 981s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 981s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 981s ok 14 /regex/compiled-regex-after-jit-failure 981s # Start of new tests 981s ok 15 /regex/new/1 981s ok 16 /regex/new/2 981s ok 17 /regex/new/3 981s ok 18 /regex/new/4 981s ok 19 /regex/new/5 981s ok 20 /regex/new/6 981s ok 21 /regex/new/7 981s ok 22 /regex/new/8 981s ok 23 /regex/new/9 981s ok 24 /regex/new/10 981s ok 25 /regex/new/11 981s ok 26 /regex/new/12 981s ok 27 /regex/new/13 981s ok 28 /regex/new/14 981s ok 29 /regex/new/15 981s ok 30 /regex/new/16 981s ok 31 /regex/new/17 981s ok 32 /regex/new/18 981s ok 33 /regex/new/19 981s ok 34 /regex/new/71 981s ok 35 /regex/new/80 981s ok 36 /regex/new/82 981s # End of new tests 981s # Start of new-check-flags tests 981s ok 37 /regex/new-check-flags/20 981s ok 38 /regex/new-check-flags/21 981s ok 39 /regex/new-check-flags/22 981s ok 40 /regex/new-check-flags/23 981s ok 41 /regex/new-check-flags/24 981s ok 42 /regex/new-check-flags/25 981s ok 43 /regex/new-check-flags/26 981s ok 44 /regex/new-check-flags/27 981s ok 45 /regex/new-check-flags/28 981s ok 46 /regex/new-check-flags/29 981s ok 47 /regex/new-check-flags/30 981s ok 48 /regex/new-check-flags/31 981s ok 49 /regex/new-check-flags/32 981s ok 50 /regex/new-check-flags/33 981s ok 51 /regex/new-check-flags/34 981s ok 52 /regex/new-check-flags/35 981s ok 53 /regex/new-check-flags/36 981s # End of new-check-flags tests 981s # Start of new-fail tests 981s ok 54 /regex/new-fail/37 981s ok 55 /regex/new-fail/38 981s ok 56 /regex/new-fail/39 981s ok 57 /regex/new-fail/40 981s ok 58 /regex/new-fail/41 981s ok 59 /regex/new-fail/42 981s ok 60 /regex/new-fail/43 981s ok 61 /regex/new-fail/44 981s ok 62 /regex/new-fail/45 981s ok 63 /regex/new-fail/46 981s ok 64 /regex/new-fail/47 981s ok 65 /regex/new-fail/48 981s ok 66 /regex/new-fail/49 981s ok 67 /regex/new-fail/50 981s ok 68 /regex/new-fail/51 981s ok 69 /regex/new-fail/52 981s ok 70 /regex/new-fail/53 981s ok 71 /regex/new-fail/54 981s ok 72 /regex/new-fail/55 981s ok 73 /regex/new-fail/56 981s ok 74 /regex/new-fail/57 981s ok 75 /regex/new-fail/58 981s ok 76 /regex/new-fail/59 981s ok 77 /regex/new-fail/60 981s ok 78 /regex/new-fail/61 981s ok 79 /regex/new-fail/62 981s ok 80 /regex/new-fail/63 981s ok 81 /regex/new-fail/64 981s ok 82 /regex/new-fail/65 981s ok 83 /regex/new-fail/66 981s ok 84 /regex/new-fail/67 981s ok 85 /regex/new-fail/68 981s ok 86 /regex/new-fail/69 981s ok 87 /regex/new-fail/70 981s ok 88 /regex/new-fail/72 981s ok 89 /regex/new-fail/73 981s ok 90 /regex/new-fail/74 981s ok 91 /regex/new-fail/75 981s ok 92 /regex/new-fail/76 981s ok 93 /regex/new-fail/77 981s ok 94 /regex/new-fail/78 981s ok 95 /regex/new-fail/79 981s ok 96 /regex/new-fail/81 981s ok 97 /regex/new-fail/83 981s ok 98 /regex/new-fail/84 981s ok 99 /regex/new-fail/85 981s ok 100 /regex/new-fail/86 981s ok 101 /regex/new-fail/87 981s ok 102 /regex/new-fail/88 981s ok 103 /regex/new-fail/89 981s ok 104 /regex/new-fail/90 981s ok 105 /regex/new-fail/91 981s # End of new-fail tests 981s # Start of match-simple tests 981s ok 106 /regex/match-simple/92 981s ok 107 /regex/match-simple/93 981s ok 108 /regex/match-simple/94 981s ok 109 /regex/match-simple/95 981s ok 110 /regex/match-simple/96 981s ok 111 /regex/match-simple/97 981s ok 112 /regex/match-simple/98 981s ok 113 /regex/match-simple/99 981s ok 114 /regex/match-simple/100 981s ok 115 /regex/match-simple/101 981s ok 116 /regex/match-simple/102 981s ok 117 /regex/match-simple/103 981s ok 118 /regex/match-simple/104 981s ok 119 /regex/match-simple/105 981s ok 120 /regex/match-simple/106 981s ok 121 /regex/match-simple/107 981s ok 122 /regex/match-simple/108 981s ok 123 /regex/match-simple/109 981s ok 124 /regex/match-simple/110 981s ok 125 /regex/match-simple/111 981s ok 126 /regex/match-simple/112 981s ok 127 /regex/match-simple/113 981s ok 128 /regex/match-simple/114 981s ok 129 /regex/match-simple/115 981s ok 130 /regex/match-simple/116 981s ok 131 /regex/match-simple/117 981s ok 132 /regex/match-simple/118 981s ok 133 /regex/match-simple/119 981s ok 134 /regex/match-simple/120 981s ok 135 /regex/match-simple/121 981s ok 136 /regex/match-simple/122 981s ok 137 /regex/match-simple/123 981s ok 138 /regex/match-simple/124 981s ok 139 /regex/match-simple/125 981s ok 140 /regex/match-simple/126 981s ok 141 /regex/match-simple/127 981s ok 142 /regex/match-simple/128 981s ok 143 /regex/match-simple/129 981s ok 144 /regex/match-simple/130 981s ok 145 /regex/match-simple/131 981s ok 146 /regex/match-simple/132 981s ok 147 /regex/match-simple/133 981s ok 148 /regex/match-simple/134 981s ok 149 /regex/match-simple/135 981s ok 150 /regex/match-simple/136 981s ok 151 /regex/match-simple/137 981s ok 152 /regex/match-simple/138 981s ok 153 /regex/match-simple/139 981s ok 154 /regex/match-simple/140 981s ok 155 /regex/match-simple/141 981s ok 156 /regex/match-simple/142 981s ok 157 /regex/match-simple/143 981s ok 158 /regex/match-simple/144 981s ok 159 /regex/match-simple/145 981s ok 160 /regex/match-simple/146 981s ok 161 /regex/match-simple/147 981s ok 162 /regex/match-simple/148 981s ok 163 /regex/match-simple/149 981s ok 164 /regex/match-simple/150 981s ok 165 /regex/match-simple/151 981s ok 166 /regex/match-simple/152 981s ok 167 /regex/match-simple/153 981s ok 168 /regex/match-simple/154 981s ok 169 /regex/match-simple/155 981s ok 170 /regex/match-simple/156 981s ok 171 /regex/match-simple/157 981s ok 172 /regex/match-simple/158 981s ok 173 /regex/match-simple/159 981s ok 174 /regex/match-simple/160 981s ok 175 /regex/match-simple/161 981s ok 176 /regex/match-simple/162 981s ok 177 /regex/match-simple/163 982s ok 178 /regex/match-simple/164 982s # End of match-simple tests 982s # Start of match-simple-optimized tests 982s ok 179 /regex/match-simple-optimized/92 982s ok 180 /regex/match-simple-optimized/93 982s ok 181 /regex/match-simple-optimized/94 982s ok 182 /regex/match-simple-optimized/95 982s ok 183 /regex/match-simple-optimized/96 982s ok 184 /regex/match-simple-optimized/97 982s ok 185 /regex/match-simple-optimized/98 982s ok 186 /regex/match-simple-optimized/99 982s ok 187 /regex/match-simple-optimized/100 982s ok 188 /regex/match-simple-optimized/101 982s ok 189 /regex/match-simple-optimized/102 982s ok 190 /regex/match-simple-optimized/103 982s ok 191 /regex/match-simple-optimized/104 982s ok 192 /regex/match-simple-optimized/105 982s ok 193 /regex/match-simple-optimized/106 982s ok 194 /regex/match-simple-optimized/107 982s ok 195 /regex/match-simple-optimized/108 982s ok 196 /regex/match-simple-optimized/109 982s ok 197 /regex/match-simple-optimized/110 982s ok 198 /regex/match-simple-optimized/111 982s ok 199 /regex/match-simple-optimized/112 982s ok 200 /regex/match-simple-optimized/113 982s ok 201 /regex/match-simple-optimized/114 982s ok 202 /regex/match-simple-optimized/115 982s ok 203 /regex/match-simple-optimized/116 982s ok 204 /regex/match-simple-optimized/117 982s ok 205 /regex/match-simple-optimized/118 982s ok 206 /regex/match-simple-optimized/119 982s ok 207 /regex/match-simple-optimized/120 982s ok 208 /regex/match-simple-optimized/121 982s ok 209 /regex/match-simple-optimized/122 982s ok 210 /regex/match-simple-optimized/123 982s ok 211 /regex/match-simple-optimized/124 982s ok 212 /regex/match-simple-optimized/125 982s ok 213 /regex/match-simple-optimized/126 982s ok 214 /regex/match-simple-optimized/127 982s ok 215 /regex/match-simple-optimized/128 982s ok 216 /regex/match-simple-optimized/129 982s ok 217 /regex/match-simple-optimized/130 982s ok 218 /regex/match-simple-optimized/131 982s ok 219 /regex/match-simple-optimized/132 982s ok 220 /regex/match-simple-optimized/133 982s ok 221 /regex/match-simple-optimized/134 982s ok 222 /regex/match-simple-optimized/135 982s ok 223 /regex/match-simple-optimized/136 982s ok 224 /regex/match-simple-optimized/137 982s ok 225 /regex/match-simple-optimized/138 982s ok 226 /regex/match-simple-optimized/139 982s ok 227 /regex/match-simple-optimized/140 982s ok 228 /regex/match-simple-optimized/141 982s ok 229 /regex/match-simple-optimized/142 982s ok 230 /regex/match-simple-optimized/143 982s ok 231 /regex/match-simple-optimized/144 982s ok 232 /regex/match-simple-optimized/145 982s ok 233 /regex/match-simple-optimized/146 982s ok 234 /regex/match-simple-optimized/147 982s ok 235 /regex/match-simple-optimized/148 982s ok 236 /regex/match-simple-optimized/149 982s ok 237 /regex/match-simple-optimized/150 982s ok 238 /regex/match-simple-optimized/151 982s ok 239 /regex/match-simple-optimized/152 982s ok 240 /regex/match-simple-optimized/153 982s ok 241 /regex/match-simple-optimized/154 982s ok 242 /regex/match-simple-optimized/155 982s ok 243 /regex/match-simple-optimized/156 982s ok 244 /regex/match-simple-optimized/157 982s ok 245 /regex/match-simple-optimized/158 982s ok 246 /regex/match-simple-optimized/159 982s ok 247 /regex/match-simple-optimized/160 982s ok 248 /regex/match-simple-optimized/161 982s ok 249 /regex/match-simple-optimized/162 982s ok 250 /regex/match-simple-optimized/163 982s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 982s ok 251 /regex/match-simple-optimized/164 982s # End of match-simple-optimized tests 982s # Start of match tests 982s ok 252 /regex/match/165 982s ok 253 /regex/match/166 982s ok 254 /regex/match/167 982s ok 255 /regex/match/168 982s ok 256 /regex/match/169 982s ok 257 /regex/match/170 982s ok 258 /regex/match/171 982s ok 259 /regex/match/172 982s ok 260 /regex/match/173 982s ok 261 /regex/match/174 982s ok 262 /regex/match/175 982s ok 263 /regex/match/176 982s ok 264 /regex/match/177 982s ok 265 /regex/match/178 982s ok 266 /regex/match/179 982s ok 267 /regex/match/180 982s ok 268 /regex/match/181 982s ok 269 /regex/match/182 982s ok 270 /regex/match/183 982s ok 271 /regex/match/184 982s ok 272 /regex/match/185 982s ok 273 /regex/match/186 982s ok 274 /regex/match/187 982s ok 275 /regex/match/188 982s ok 276 /regex/match/189 982s ok 277 /regex/match/190 982s ok 278 /regex/match/191 982s ok 279 /regex/match/192 982s ok 280 /regex/match/193 982s ok 281 /regex/match/194 982s ok 282 /regex/match/195 982s ok 283 /regex/match/196 982s ok 284 /regex/match/197 982s ok 285 /regex/match/198 982s ok 286 /regex/match/199 982s ok 287 /regex/match/200 982s ok 288 /regex/match/201 982s ok 289 /regex/match/202 982s ok 290 /regex/match/203 982s ok 291 /regex/match/204 982s ok 292 /regex/match/205 982s ok 293 /regex/match/206 982s ok 294 /regex/match/207 982s ok 295 /regex/match/208 982s ok 296 /regex/match/209 982s ok 297 /regex/match/210 982s ok 298 /regex/match/211 982s ok 299 /regex/match/212 982s ok 300 /regex/match/213 982s ok 301 /regex/match/214 982s ok 302 /regex/match/215 982s ok 303 /regex/match/216 982s ok 304 /regex/match/217 982s ok 305 /regex/match/218 982s ok 306 /regex/match/219 982s ok 307 /regex/match/220 982s ok 308 /regex/match/221 982s ok 309 /regex/match/222 982s ok 310 /regex/match/223 982s ok 311 /regex/match/224 982s ok 312 /regex/match/225 982s ok 313 /regex/match/226 982s ok 314 /regex/match/227 982s ok 315 /regex/match/228 982s ok 316 /regex/match/229 982s ok 317 /regex/match/230 982s ok 318 /regex/match/231 982s ok 319 /regex/match/232 982s ok 320 /regex/match/233 982s ok 321 /regex/match/234 982s ok 322 /regex/match/235 982s ok 323 /regex/match/236 982s ok 324 /regex/match/237 982s ok 325 /regex/match/238 982s ok 326 /regex/match/239 982s ok 327 /regex/match/240 982s ok 328 /regex/match/241 982s ok 329 /regex/match/242 982s ok 330 /regex/match/243 982s ok 331 /regex/match/244 982s ok 332 /regex/match/245 982s ok 333 /regex/match/246 982s ok 334 /regex/match/partial281 982s ok 335 /regex/match/partial282 982s ok 336 /regex/match/partial283 982s ok 337 /regex/match/partial284 982s ok 338 /regex/match/partial285 982s ok 339 /regex/match/partial286 982s ok 340 /regex/match/partial287 982s ok 341 /regex/match/partial288 982s ok 342 /regex/match/partial289 982s ok 343 /regex/match/partial290 982s ok 344 /regex/match/partial291 982s ok 345 /regex/match/partial292 982s ok 346 /regex/match/partial293 982s ok 347 /regex/match/partial294 982s ok 348 /regex/match/partial295 982s ok 349 /regex/match/partial296 982s ok 350 /regex/match/partial297 982s ok 351 /regex/match/partial298 982s ok 352 /regex/match/partial299 982s ok 353 /regex/match/partial300 982s ok 354 /regex/match/partial301 982s ok 355 /regex/match/partial302 982s # Start of next0 tests 982s ok 356 /regex/match/next0/247 982s ok 357 /regex/match/next0/248 982s ok 358 /regex/match/next0/249 982s ok 359 /regex/match/next0/250 982s # End of next0 tests 982s # Start of next1 tests 982s ok 360 /regex/match/next1/251 982s ok 361 /regex/match/next1/252 982s ok 362 /regex/match/next1/253 982s ok 363 /regex/match/next1/254 982s ok 364 /regex/match/next1/255 982s # End of next1 tests 982s # Start of next2 tests 982s ok 365 /regex/match/next2/256 982s ok 366 /regex/match/next2/257 982s ok 367 /regex/match/next2/258 982s ok 368 /regex/match/next2/259 982s ok 369 /regex/match/next2/260 982s ok 370 /regex/match/next2/261 982s ok 371 /regex/match/next2/262 982s ok 372 /regex/match/next2/263 982s # End of next2 tests 982s # Start of next3 tests 982s ok 373 /regex/match/next3/264 982s ok 374 /regex/match/next3/265 982s ok 375 /regex/match/next3/266 982s ok 376 /regex/match/next3/267 982s ok 377 /regex/match/next3/268 982s ok 378 /regex/match/next3/269 982s # End of next3 tests 982s # Start of next4 tests 982s ok 379 /regex/match/next4/270 982s # End of next4 tests 982s # Start of count tests 982s ok 380 /regex/match/count/271 982s ok 381 /regex/match/count/272 982s ok 382 /regex/match/count/273 982s ok 383 /regex/match/count/274 982s ok 384 /regex/match/count/275 982s ok 385 /regex/match/count/276 982s ok 386 /regex/match/count/277 982s ok 387 /regex/match/count/278 982s ok 388 /regex/match/count/279 982s ok 389 /regex/match/count/280 982s # End of count tests 982s # Start of count-optimized tests 982s ok 390 /regex/match/count-optimized/271 982s ok 391 /regex/match/count-optimized/272 982s ok 392 /regex/match/count-optimized/273 982s ok 393 /regex/match/count-optimized/274 982s ok 394 /regex/match/count-optimized/275 982s ok 395 /regex/match/count-optimized/276 982s ok 396 /regex/match/count-optimized/277 982s ok 397 /regex/match/count-optimized/278 982s ok 398 /regex/match/count-optimized/279 982s ok 399 /regex/match/count-optimized/280 982s # End of count-optimized tests 982s # Start of partial-optimized tests 982s ok 400 /regex/match/partial-optimized/281 982s ok 401 /regex/match/partial-optimized/282 982s ok 402 /regex/match/partial-optimized/283 982s ok 403 /regex/match/partial-optimized/284 982s ok 404 /regex/match/partial-optimized/285 982s ok 405 /regex/match/partial-optimized/286 982s ok 406 /regex/match/partial-optimized/287 982s ok 407 /regex/match/partial-optimized/288 982s ok 408 /regex/match/partial-optimized/289 982s ok 409 /regex/match/partial-optimized/290 982s ok 410 /regex/match/partial-optimized/291 982s ok 411 /regex/match/partial-optimized/292 982s ok 412 /regex/match/partial-optimized/293 982s ok 413 /regex/match/partial-optimized/294 982s ok 414 /regex/match/partial-optimized/295 982s ok 415 /regex/match/partial-optimized/296 982s ok 416 /regex/match/partial-optimized/297 982s ok 417 /regex/match/partial-optimized/298 982s ok 418 /regex/match/partial-optimized/299 982s ok 419 /regex/match/partial-optimized/300 982s ok 420 /regex/match/partial-optimized/301 982s ok 421 /regex/match/partial-optimized/302 982s # End of partial-optimized tests 982s # Start of subpattern tests 982s ok 422 /regex/match/subpattern/303 982s ok 423 /regex/match/subpattern/304 982s ok 424 /regex/match/subpattern/305 982s ok 425 /regex/match/subpattern/306 982s ok 426 /regex/match/subpattern/307 982s ok 427 /regex/match/subpattern/308 982s ok 428 /regex/match/subpattern/309 982s ok 429 /regex/match/subpattern/310 982s ok 430 /regex/match/subpattern/311 982s ok 431 /regex/match/subpattern/312 982s ok 432 /regex/match/subpattern/313 982s ok 433 /regex/match/subpattern/314 982s ok 434 /regex/match/subpattern/315 982s # Start of named tests 982s # Start of dupnames tests 982s ok 435 /regex/match/subpattern/named/dupnames/325 982s ok 436 /regex/match/subpattern/named/dupnames/326 982s ok 437 /regex/match/subpattern/named/dupnames/327 982s ok 438 /regex/match/subpattern/named/dupnames/328 982s ok 439 /regex/match/subpattern/named/dupnames/329 982s # End of dupnames tests 982s # End of named tests 982s # End of subpattern tests 982s # Start of subpattern-optimized tests 982s ok 440 /regex/match/subpattern-optimized/303 982s ok 441 /regex/match/subpattern-optimized/304 982s ok 442 /regex/match/subpattern-optimized/305 982s ok 443 /regex/match/subpattern-optimized/306 982s ok 444 /regex/match/subpattern-optimized/307 982s ok 445 /regex/match/subpattern-optimized/308 982s ok 446 /regex/match/subpattern-optimized/309 982s ok 447 /regex/match/subpattern-optimized/310 982s ok 448 /regex/match/subpattern-optimized/311 982s ok 449 /regex/match/subpattern-optimized/312 982s ok 450 /regex/match/subpattern-optimized/313 982s ok 451 /regex/match/subpattern-optimized/314 982s ok 452 /regex/match/subpattern-optimized/315 982s # End of subpattern-optimized tests 982s # Start of named tests 982s # Start of subpattern tests 982s ok 453 /regex/match/named/subpattern/316 982s ok 454 /regex/match/named/subpattern/317 982s ok 455 /regex/match/named/subpattern/318 982s ok 456 /regex/match/named/subpattern/319 982s ok 457 /regex/match/named/subpattern/320 982s ok 458 /regex/match/named/subpattern/321 982s ok 459 /regex/match/named/subpattern/322 982s ok 460 /regex/match/named/subpattern/323 982s ok 461 /regex/match/named/subpattern/324 982s ok 462 /regex/match/named/subpattern/330 982s ok 463 /regex/match/named/subpattern/331 982s ok 464 /regex/match/named/subpattern/332 982s ok 465 /regex/match/named/subpattern/333 982s ok 466 /regex/match/named/subpattern/334 982s # End of subpattern tests 982s # End of named tests 982s # End of match tests 982s # Start of match-optimized tests 982s ok 467 /regex/match-optimized/165 982s ok 468 /regex/match-optimized/166 982s ok 469 /regex/match-optimized/167 982s ok 470 /regex/match-optimized/168 982s ok 471 /regex/match-optimized/169 982s ok 472 /regex/match-optimized/170 982s ok 473 /regex/match-optimized/171 982s ok 474 /regex/match-optimized/172 982s ok 475 /regex/match-optimized/173 982s ok 476 /regex/match-optimized/174 982s ok 477 /regex/match-optimized/175 982s ok 478 /regex/match-optimized/176 982s ok 479 /regex/match-optimized/177 982s ok 480 /regex/match-optimized/178 982s ok 481 /regex/match-optimized/179 982s ok 482 /regex/match-optimized/180 982s ok 483 /regex/match-optimized/181 982s ok 484 /regex/match-optimized/182 982s ok 485 /regex/match-optimized/183 982s ok 486 /regex/match-optimized/184 982s ok 487 /regex/match-optimized/185 982s ok 488 /regex/match-optimized/186 982s ok 489 /regex/match-optimized/187 982s ok 490 /regex/match-optimized/188 982s ok 491 /regex/match-optimized/189 982s ok 492 /regex/match-optimized/190 982s ok 493 /regex/match-optimized/191 982s ok 494 /regex/match-optimized/192 982s ok 495 /regex/match-optimized/193 982s ok 496 /regex/match-optimized/194 982s ok 497 /regex/match-optimized/195 982s ok 498 /regex/match-optimized/196 982s ok 499 /regex/match-optimized/197 982s ok 500 /regex/match-optimized/198 982s ok 501 /regex/match-optimized/199 982s ok 502 /regex/match-optimized/200 982s ok 503 /regex/match-optimized/201 982s ok 504 /regex/match-optimized/202 982s ok 505 /regex/match-optimized/203 982s ok 506 /regex/match-optimized/204 982s ok 507 /regex/match-optimized/205 982s ok 508 /regex/match-optimized/206 982s ok 509 /regex/match-optimized/207 982s ok 510 /regex/match-optimized/208 982s ok 511 /regex/match-optimized/209 982s ok 512 /regex/match-optimized/210 982s ok 513 /regex/match-optimized/211 982s ok 514 /regex/match-optimized/212 982s ok 515 /regex/match-optimized/213 982s ok 516 /regex/match-optimized/214 982s ok 517 /regex/match-optimized/215 982s ok 518 /regex/match-optimized/216 982s ok 519 /regex/match-optimized/217 982s ok 520 /regex/match-optimized/218 982s ok 521 /regex/match-optimized/219 982s ok 522 /regex/match-optimized/220 982s ok 523 /regex/match-optimized/221 982s ok 524 /regex/match-optimized/222 982s ok 525 /regex/match-optimized/223 982s ok 526 /regex/match-optimized/224 982s ok 527 /regex/match-optimized/225 982s ok 528 /regex/match-optimized/226 982s ok 529 /regex/match-optimized/227 982s ok 530 /regex/match-optimized/228 982s ok 531 /regex/match-optimized/229 982s ok 532 /regex/match-optimized/230 982s ok 533 /regex/match-optimized/231 982s ok 534 /regex/match-optimized/232 982s ok 535 /regex/match-optimized/233 982s ok 536 /regex/match-optimized/234 982s ok 537 /regex/match-optimized/235 982s ok 538 /regex/match-optimized/236 982s ok 539 /regex/match-optimized/237 982s ok 540 /regex/match-optimized/238 982s ok 541 /regex/match-optimized/239 982s ok 542 /regex/match-optimized/240 982s ok 543 /regex/match-optimized/241 982s ok 544 /regex/match-optimized/242 982s ok 545 /regex/match-optimized/243 982s ok 546 /regex/match-optimized/244 982s ok 547 /regex/match-optimized/245 982s ok 548 /regex/match-optimized/246 982s # End of match-optimized tests 982s # Start of fetch-all0 tests 982s ok 549 /regex/fetch-all0/335 982s ok 550 /regex/fetch-all0/336 982s # End of fetch-all0 tests 982s # Start of fetch-all1 tests 982s ok 551 /regex/fetch-all1/337 982s ok 552 /regex/fetch-all1/338 982s ok 553 /regex/fetch-all1/339 982s # End of fetch-all1 tests 982s # Start of fetch-all2 tests 982s ok 554 /regex/fetch-all2/340 982s ok 555 /regex/fetch-all2/341 982s ok 556 /regex/fetch-all2/342 982s # End of fetch-all2 tests 982s # Start of fetch-all3 tests 982s ok 557 /regex/fetch-all3/343 982s ok 558 /regex/fetch-all3/344 982s ok 559 /regex/fetch-all3/345 982s ok 560 /regex/fetch-all3/346 982s ok 561 /regex/fetch-all3/347 982s # End of fetch-all3 tests 982s # Start of split tests 982s # Start of simple0 tests 982s ok 562 /regex/split/simple0/348 982s ok 563 /regex/split/simple0/349 982s ok 564 /regex/split/simple0/364 982s ok 565 /regex/split/simple0/365 982s # End of simple0 tests 982s # Start of simple1 tests 982s ok 566 /regex/split/simple1/350 982s ok 567 /regex/split/simple1/351 982s # End of simple1 tests 982s # Start of simple2 tests 982s ok 568 /regex/split/simple2/352 982s ok 569 /regex/split/simple2/358 982s ok 570 /regex/split/simple2/360 982s # End of simple2 tests 982s # Start of simple3 tests 982s ok 571 /regex/split/simple3/353 982s ok 572 /regex/split/simple3/354 982s ok 573 /regex/split/simple3/355 982s ok 574 /regex/split/simple3/356 982s ok 575 /regex/split/simple3/357 982s ok 576 /regex/split/simple3/359 982s ok 577 /regex/split/simple3/361 982s ok 578 /regex/split/simple3/362 982s ok 579 /regex/split/simple3/363 982s # End of simple3 tests 982s # End of split tests 982s # Start of split0 tests 982s ok 580 /regex/split0/366 982s ok 581 /regex/split0/368 982s # End of split0 tests 982s # Start of full-split0 tests 982s ok 582 /regex/full-split0/367 982s ok 583 /regex/full-split0/369 982s ok 584 /regex/full-split0/370 982s ok 585 /regex/full-split0/371 982s ok 586 /regex/full-split0/372 982s # End of full-split0 tests 982s # Start of split1 tests 982s ok 587 /regex/split1/373 982s ok 588 /regex/split1/376 982s # End of split1 tests 982s # Start of full-split1 tests 982s ok 589 /regex/full-split1/374 982s ok 590 /regex/full-split1/375 982s ok 591 /regex/full-split1/377 982s ok 592 /regex/full-split1/378 982s ok 593 /regex/full-split1/404 982s # End of full-split1 tests 982s # Start of split2 tests 982s ok 594 /regex/split2/379 982s ok 595 /regex/split2/383 982s ok 596 /regex/split2/395 982s # End of split2 tests 982s # Start of full-split2 tests 982s ok 597 /regex/full-split2/380 982s ok 598 /regex/full-split2/381 982s ok 599 /regex/full-split2/382 982s ok 600 /regex/full-split2/384 982s ok 601 /regex/full-split2/396 982s ok 602 /regex/full-split2/399 982s ok 603 /regex/full-split2/405 982s # End of full-split2 tests 982s # Start of split3 tests 982s ok 604 /regex/split3/385 982s ok 605 /regex/split3/387 982s ok 606 /regex/split3/389 982s ok 607 /regex/split3/391 982s ok 608 /regex/split3/393 982s ok 609 /regex/split3/397 982s ok 610 /regex/split3/400 982s ok 611 /regex/split3/402 982s # End of split3 tests 982s # Start of full-split3 tests 982s ok 612 /regex/full-split3/386 982s ok 613 /regex/full-split3/388 982s ok 614 /regex/full-split3/390 982s ok 615 /regex/full-split3/392 982s ok 616 /regex/full-split3/394 982s ok 617 /regex/full-split3/398 982s ok 618 /regex/full-split3/401 982s ok 619 /regex/full-split3/403 982s ok 620 /regex/full-split3/406 982s ok 621 /regex/full-split3/407 982s # End of full-split3 tests 982s # Start of check-repacement tests 982s ok 622 /regex/check-repacement/408 982s ok 623 /regex/check-repacement/409 982s ok 624 /regex/check-repacement/410 982s ok 625 /regex/check-repacement/411 982s ok 626 /regex/check-repacement/412 982s ok 627 /regex/check-repacement/413 982s ok 628 /regex/check-repacement/414 982s ok 629 /regex/check-repacement/415 982s # End of check-repacement tests 982s # Start of expand tests 982s ok 630 /regex/expand/416 982s ok 631 /regex/expand/417 982s ok 632 /regex/expand/418 982s ok 633 /regex/expand/419 982s ok 634 /regex/expand/420 982s ok 635 /regex/expand/421 982s ok 636 /regex/expand/422 982s ok 637 /regex/expand/423 982s ok 638 /regex/expand/424 982s ok 639 /regex/expand/425 982s ok 640 /regex/expand/426 982s ok 641 /regex/expand/427 982s ok 642 /regex/expand/428 982s ok 643 /regex/expand/429 982s ok 644 /regex/expand/430 982s ok 645 /regex/expand/431 982s ok 646 /regex/expand/432 982s ok 647 /regex/expand/433 982s ok 648 /regex/expand/434 982s ok 649 /regex/expand/435 982s ok 650 /regex/expand/436 982s ok 651 /regex/expand/437 982s ok 652 /regex/expand/438 982s ok 653 /regex/expand/439 982s ok 654 /regex/expand/440 982s ok 655 /regex/expand/441 982s ok 656 /regex/expand/442 982s ok 657 /regex/expand/443 982s ok 658 /regex/expand/444 982s ok 659 /regex/expand/445 982s ok 660 /regex/expand/446 982s ok 661 /regex/expand/447 982s ok 662 /regex/expand/448 982s ok 663 /regex/expand/449 982s ok 664 /regex/expand/450 982s ok 665 /regex/expand/451 982s ok 666 /regex/expand/452 982s ok 667 /regex/expand/453 982s ok 668 /regex/expand/454 982s ok 669 /regex/expand/455 982s ok 670 /regex/expand/456 982s ok 671 /regex/expand/457 982s ok 672 /regex/expand/458 982s ok 673 /regex/expand/459 982s ok 674 /regex/expand/460 982s ok 675 /regex/expand/461 982s ok 676 /regex/expand/462 982s ok 677 /regex/expand/463 982s ok 678 /regex/expand/464 982s ok 679 /regex/expand/465 982s ok 680 /regex/expand/466 982s ok 681 /regex/expand/467 982s ok 682 /regex/expand/468 982s ok 683 /regex/expand/469 982s ok 684 /regex/expand/470 982s ok 685 /regex/expand/471 982s ok 686 /regex/expand/472 982s ok 687 /regex/expand/473 982s ok 688 /regex/expand/474 982s ok 689 /regex/expand/475 982s ok 690 /regex/expand/476 982s ok 691 /regex/expand/477 982s ok 692 /regex/expand/478 982s ok 693 /regex/expand/479 982s ok 694 /regex/expand/480 982s ok 695 /regex/expand/481 982s # End of expand tests 982s # Start of replace tests 982s ok 696 /regex/replace/482 982s ok 697 /regex/replace/483 982s ok 698 /regex/replace/484 982s ok 699 /regex/replace/485 982s ok 700 /regex/replace/486 982s ok 701 /regex/replace/487 982s ok 702 /regex/replace/488 982s ok 703 /regex/replace/489 982s ok 704 /regex/replace/490 982s ok 705 /regex/replace/491 982s ok 706 /regex/replace/492 982s ok 707 /regex/replace/493 982s ok 708 /regex/replace/494 982s ok 709 /regex/replace/495 982s ok 710 /regex/replace/496 982s ok 711 /regex/replace/497 982s ok 712 /regex/replace/498 982s ok 713 /regex/replace/499 982s ok 714 /regex/replace/500 982s ok 715 /regex/replace/501 982s ok 716 /regex/replace/502 982s ok 717 /regex/replace/503 982s ok 718 /regex/replace/504 982s ok 719 /regex/replace/505 982s ok 720 /regex/replace/506 982s ok 721 /regex/replace/507 982s ok 722 /regex/replace/508 982s ok 723 /regex/replace/509 982s # End of replace tests 982s # Start of replace-optimized tests 982s ok 724 /regex/replace-optimized/482 982s ok 725 /regex/replace-optimized/483 982s ok 726 /regex/replace-optimized/484 982s ok 727 /regex/replace-optimized/485 982s ok 728 /regex/replace-optimized/486 982s ok 729 /regex/replace-optimized/487 982s ok 730 /regex/replace-optimized/488 982s ok 731 /regex/replace-optimized/489 982s ok 732 /regex/replace-optimized/490 982s ok 733 /regex/replace-optimized/491 982s ok 734 /regex/replace-optimized/492 982s ok 735 /regex/replace-optimized/493 982s ok 736 /regex/replace-optimized/494 982s ok 737 /regex/replace-optimized/495 982s ok 738 /regex/replace-optimized/496 982s ok 739 /regex/replace-optimized/497 982s ok 740 /regex/replace-optimized/498 982s ok 741 /regex/replace-optimized/499 982s ok 742 /regex/replace-optimized/500 982s ok 743 /regex/replace-optimized/501 982s ok 744 /regex/replace-optimized/502 982s ok 745 /regex/replace-optimized/503 982s ok 746 /regex/replace-optimized/504 982s ok 747 /regex/replace-optimized/505 982s ok 748 /regex/replace-optimized/506 982s ok 749 /regex/replace-optimized/507 982s ok 750 /regex/replace-optimized/508 982s ok 751 /regex/replace-optimized/509 982s # End of replace-optimized tests 982s # Start of replace-literally tests 982s ok 752 /regex/replace-literally/510 982s ok 753 /regex/replace-literally/511 982s ok 754 /regex/replace-literally/512 982s ok 755 /regex/replace-literally/513 982s ok 756 /regex/replace-literally/514 982s ok 757 /regex/replace-literally/515 982s ok 758 /regex/replace-literally/516 982s ok 759 /regex/replace-literally/517 982s ok 760 /regex/replace-literally/518 982s ok 761 /regex/replace-literally/519 982s ok 762 /regex/replace-literally/520 982s ok 763 /regex/replace-literally/521 982s ok 764 /regex/replace-literally/522 982s ok 765 /regex/replace-literally/523 982s ok 766 /regex/replace-literally/524 982s ok 767 /regex/replace-literally/525 982s ok 768 /regex/replace-literally/526 982s ok 769 /regex/replace-literally/527 982s ok 770 /regex/replace-literally/528 982s ok 771 /regex/replace-literally/529 982s # End of replace-literally tests 982s # Start of string-number tests 982s ok 772 /regex/string-number/530 982s ok 773 /regex/string-number/531 982s ok 774 /regex/string-number/532 982s ok 775 /regex/string-number/533 982s ok 776 /regex/string-number/534 982s ok 777 /regex/string-number/535 982s ok 778 /regex/string-number/536 982s ok 779 /regex/string-number/537 982s ok 780 /regex/string-number/538 982s ok 781 /regex/string-number/539 982s ok 782 /regex/string-number/540 982s ok 783 /regex/string-number/541 982s ok 784 /regex/string-number/542 982s ok 785 /regex/string-number/543 982s ok 786 /regex/string-number/544 982s # End of string-number tests 982s # Start of escape_nul tests 982s ok 787 /regex/escape_nul/545 982s ok 788 /regex/escape_nul/546 982s ok 789 /regex/escape_nul/547 982s ok 790 /regex/escape_nul/548 982s ok 791 /regex/escape_nul/549 982s ok 792 /regex/escape_nul/550 982s ok 793 /regex/escape_nul/551 982s ok 794 /regex/escape_nul/552 982s ok 795 /regex/escape_nul/553 982s ok 796 /regex/escape_nul/554 982s ok 797 /regex/escape_nul/555 982s ok 798 /regex/escape_nul/556 982s ok 799 /regex/escape_nul/557 982s ok 800 /regex/escape_nul/558 982s ok 801 /regex/escape_nul/559 982s # End of escape_nul tests 982s # Start of escape tests 982s ok 802 /regex/escape/560 982s ok 803 /regex/escape/561 982s ok 804 /regex/escape/562 982s ok 805 /regex/escape/563 982s ok 806 /regex/escape/564 982s ok 807 /regex/escape/565 982s ok 808 /regex/escape/566 982s ok 809 /regex/escape/567 982s ok 810 /regex/escape/568 982s ok 811 /regex/escape/569 982s ok 812 /regex/escape/570 982s ok 813 /regex/escape/571 982s ok 814 /regex/escape/572 982s ok 815 /regex/escape/573 982s ok 816 /regex/escape/574 982s ok 817 /regex/escape/575 982s ok 818 /regex/escape/576 982s ok 819 /regex/escape/577 982s # End of escape tests 982s # Start of match-all0 tests 982s ok 820 /regex/match-all0/578 982s ok 821 /regex/match-all0/580 982s # End of match-all0 tests 982s # Start of match-all-full0 tests 982s ok 822 /regex/match-all-full0/579 982s ok 823 /regex/match-all-full0/581 982s ok 824 /regex/match-all-full0/582 982s ok 825 /regex/match-all-full0/583 982s # End of match-all-full0 tests 982s # Start of match-all1 tests 982s ok 826 /regex/match-all1/584 982s ok 827 /regex/match-all1/586 982s ok 828 /regex/match-all1/591 982s # End of match-all1 tests 982s # Start of match-all-full1 tests 982s ok 829 /regex/match-all-full1/585 982s ok 830 /regex/match-all-full1/587 982s ok 831 /regex/match-all-full1/588 982s ok 832 /regex/match-all-full1/589 982s ok 833 /regex/match-all-full1/590 982s ok 834 /regex/match-all-full1/592 982s # End of match-all-full1 tests 982s # Start of match-all2 tests 982s ok 835 /regex/match-all2/593 982s ok 836 /regex/match-all2/595 982s ok 837 /regex/match-all2/597 982s # End of match-all2 tests 982s # Start of match-all-full2 tests 982s ok 838 /regex/match-all-full2/594 982s ok 839 /regex/match-all-full2/596 982s ok 840 /regex/match-all-full2/598 982s # End of match-all-full2 tests 982s # Start of match-all3 tests 982s ok 841 /regex/match-all3/599 982s ok 842 /regex/match-all3/601 982s # End of match-all3 tests 982s # Start of match-all-full3 tests 982s ok 843 /regex/match-all-full3/600 982s ok 844 /regex/match-all-full3/602 982s # End of match-all-full3 tests 982s # Start of match-notempty tests 982s ok 845 /regex/match-notempty/603 982s # End of match-notempty tests 982s # Start of match-notempty-optimized tests 982s ok 846 /regex/match-notempty-optimized/603 982s # End of match-notempty-optimized tests 982s # Start of match-notempty-atstart tests 982s ok 847 /regex/match-notempty-atstart/604 982s # End of match-notempty-atstart tests 982s # Start of match-notempty-atstart-optimized tests 982s ok 848 /regex/match-notempty-atstart-optimized/604 982s # End of match-notempty-atstart-optimized tests 982s # End of regex tests 982s ok - glib/regex.test 982s # Running test: glib/g-file.test 982s TAP version 14 982s # random seed: R02S3cf75604697432da9bd1f156744e8752 982s 1..8 982s # Start of g-file tests 982s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 982s ok 1 /g-file/test_g_file_new_null 982s ok 2 /g-file/test_g_file_new_for_path 982s ok 3 /g-file/test_g_file_new_for_uri 982s ok 4 /g-file/test_g_file_dup 982s ok 5 /g-file/test_g_file_get_parse_name_utf8 982s file:///tmp/test-tmp-glib_g-file.test-RODI02 982s file:///tmp 982s file:///tmp 982s file:////UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 982s file:///UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 982s ok 6 /g-file/test_g_file_new_for_commandline_arg 982s /dir1 /dir1/dir2/dir3/ 982s /dir1/ /dir1/dir2/dir3/ 982s /dir1 /dir1/dir2/dir3 982s /dir1/ /dir1/dir2/dir3 982s /tmp/ /something/ 982s /dir1/dir2 /dir1/ 982s //dir1/new //dir1/new/dir2/dir3 982s /dir/UTF-8 p??li? ?lu?ou?k? k?? /dir/UTF-8 p??li? ?lu?ou?k? k??/dir2 982s file:///dir1 file:///dir1/dir2/dir3/ 982s file:///dir1/ file:///dir1/dir2/dir3/ 982s file:///dir1 file:///dir1/dir2/dir3 982s file:///dir1/ file:///dir1/dir2/dir3 982s file:///tmp/ file:///something/ 982s file:///dir1/dir2 file:///dir1/ 982s file:////dir1/new file:////dir1/new/dir2/dir3 982s 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 982s ok 7 /g-file/test_g_file_has_prefix 982s ok 8 /g-file/test_g_file_get_parent_child 982s # End of g-file tests 982s ok - glib/g-file.test 982s # Running test: glib/spawn-multithreaded.test 982s TAP version 14 982s # random seed: R02Se1ad467a332110754f66361a5b830051 982s 1..4 982s # Start of gthread tests 983s # Child 8659 (ttl 1) exited, status 0 984s # Child 8660 (ttl 2) exited, status 0 984s ok 1 /gthread/spawn-childs 984s # slow test /gthread/spawn-childs executed in 2.00 secs 984s # Created pid: 8664 (ttl 1) 984s # Created pid: 8665 (ttl 2) 984s # Executing: glib/spawn-multithreaded.test 985s # Child 8664 (ttl 1) exited, status 0 986s # Child 8665 (ttl 2) exited, status 0 986s ok 2 /gthread/spawn-childs-threads 986s # slow test /gthread/spawn-childs-threads executed in 2.00 secs 986s ok 3 /gthread/spawn-sync 986s ok 4 /gthread/spawn-async 986s # End of gthread tests 986s ok - glib/spawn-multithreaded.test 986s # Running test: glib/unix-fd.test 986s TAP version 14 986s # random seed: R02Sf5ec6ea9919347df07274dfae8cac4b8 986s 1..2 986s # Start of unix-fd tests 986s ok 1 /unix-fd/fd-list 986s ok 2 /unix-fd/scm 986s # End of unix-fd tests 986s ok - glib/unix-fd.test 986s # Running test: glib/binding.test 986s TAP version 14 986s # random seed: R02S8d23db4d7a7c39e9f3f372e92aa2b958 986s 1..19 986s # Start of binding tests 986s ok 1 /binding/default 986s # /binding/canonicalisation summary: Test that bindings set up with non-canonical property names work 986s ok 2 /binding/canonicalisation 986s ok 3 /binding/bidirectional 986s ok 4 /binding/transform 986s ok 5 /binding/transform-default 986s ok 6 /binding/transform-closure 986s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=621782 986s ok 7 /binding/chain 986s ok 8 /binding/sync-create 986s ok 9 /binding/invert-boolean 986s ok 10 /binding/same-object 986s ok 11 /binding/unbind 986s ok 12 /binding/unbind-weak 986s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1373 986s ok 13 /binding/unbind-multiple 986s ok 14 /binding/fail 986s ok 15 /binding/interface 986s # /binding/concurrent-unbind summary: Test that unbinding from multiple threads concurrently works correctly 986s ok 16 /binding/concurrent-unbind 986s # /binding/concurrent-finalizing summary: Test that finalizing source/target from multiple threads concurrently works correctly 986s ok 17 /binding/concurrent-finalizing 986s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676 986s ok 18 /binding/dispose-source 986s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676 986s ok 19 /binding/dispose-target 986s # End of binding tests 986s ok - glib/binding.test 986s # Running test: glib/async-splice-output-stream.test 986s TAP version 14 986s # random seed: R02S4772a57b71e9c78dcda48d132fa4e109 986s 1..5 986s # Start of async-splice tests 986s ok 1 /async-splice/copy-chunks 986s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 986s ok 2 /async-splice/copy-chunks-threaded-input 986s ok 3 /async-splice/copy-chunks-threaded-output 986s ok 4 /async-splice/copy-chunks-threaded 986s ok 5 /async-splice/cancelled 986s # End of async-splice tests 986s ok - glib/async-splice-output-stream.test 986s # Running test: glib/portal-support-snap.test 986s TAP version 14 986s # random seed: R02S1ff685d0e22ba284bc5be198a40a5616 986s 1..7 986s # Start of portal-support tests 986s # Start of snap tests 986s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_FJVG02/portal-support/snap/no-snapctl/.dirs/home 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_FJVG02/portal-support/snap/no-snapctl/.dirs/cache 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_FJVG02/portal-support/snap/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap_FJVG02/portal-support/snap/no-snapctl/.dirs/system-config2 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_FJVG02/portal-support/snap/no-snapctl/.dirs/config 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_FJVG02/portal-support/snap/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap_FJVG02/portal-support/snap/no-snapctl/.dirs/system-data2 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_FJVG02/portal-support/snap/no-snapctl/.dirs/data 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_FJVG02/portal-support/snap/no-snapctl/.dirs/state 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_FJVG02/portal-support/snap/no-snapctl/.dirs/runtime 986s # Created snap.yaml in /tmp/test_portal-support-snap_FJVG02/meta/snap.yaml 986s Unable to clean up temporary directory /tmp/test_portal-support-snap_FJVG02/portal-support/snap/no-snapctl: No such file or directory 986s ok 1 /portal-support/snap/no-snapctl 986s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_FJVG02/portal-support/snap/none/.dirs/home 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_FJVG02/portal-support/snap/none/.dirs/cache 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_FJVG02/portal-support/snap/none/.dirs/system-config1:/tmp/test_portal-support-snap_FJVG02/portal-support/snap/none/.dirs/system-config2 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_FJVG02/portal-support/snap/none/.dirs/config 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_FJVG02/portal-support/snap/none/.dirs/system-data1:/tmp/test_portal-support-snap_FJVG02/portal-support/snap/none/.dirs/system-data2 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_FJVG02/portal-support/snap/none/.dirs/data 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_FJVG02/portal-support/snap/none/.dirs/state 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_FJVG02/portal-support/snap/none/.dirs/runtime 986s # Created snap.yaml in /tmp/test_portal-support-snap_FJVG02/meta/snap.yaml 986s # Created snapctl in /tmp/test_portal-support-snap_FJVG02/portal-support/snap/none/.dirs/runtime/snapctl 986s Unable to clean up temporary directory /tmp/test_portal-support-snap_FJVG02/portal-support/snap/none: No such file or directory 986s ok 2 /portal-support/snap/none 986s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_FJVG02/portal-support/snap/all/.dirs/home 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_FJVG02/portal-support/snap/all/.dirs/cache 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_FJVG02/portal-support/snap/all/.dirs/system-config1:/tmp/test_portal-support-snap_FJVG02/portal-support/snap/all/.dirs/system-config2 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_FJVG02/portal-support/snap/all/.dirs/config 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_FJVG02/portal-support/snap/all/.dirs/system-data1:/tmp/test_portal-support-snap_FJVG02/portal-support/snap/all/.dirs/system-data2 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_FJVG02/portal-support/snap/all/.dirs/data 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_FJVG02/portal-support/snap/all/.dirs/state 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_FJVG02/portal-support/snap/all/.dirs/runtime 986s # Created snap.yaml in /tmp/test_portal-support-snap_FJVG02/meta/snap.yaml 986s # Created snapctl in /tmp/test_portal-support-snap_FJVG02/portal-support/snap/all/.dirs/runtime/snapctl 986s Unable to clean up temporary directory /tmp/test_portal-support-snap_FJVG02/portal-support/snap/all: No such file or directory 986s ok 3 /portal-support/snap/all 986s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_FJVG02/portal-support/snap/desktop-only/.dirs/home 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_FJVG02/portal-support/snap/desktop-only/.dirs/cache 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_FJVG02/portal-support/snap/desktop-only/.dirs/system-config1:/tmp/test_portal-support-snap_FJVG02/portal-support/snap/desktop-only/.dirs/system-config2 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_FJVG02/portal-support/snap/desktop-only/.dirs/config 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_FJVG02/portal-support/snap/desktop-only/.dirs/system-data1:/tmp/test_portal-support-snap_FJVG02/portal-support/snap/desktop-only/.dirs/system-data2 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_FJVG02/portal-support/snap/desktop-only/.dirs/data 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_FJVG02/portal-support/snap/desktop-only/.dirs/state 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_FJVG02/portal-support/snap/desktop-only/.dirs/runtime 986s # Created snap.yaml in /tmp/test_portal-support-snap_FJVG02/meta/snap.yaml 986s # Created snapctl in /tmp/test_portal-support-snap_FJVG02/portal-support/snap/desktop-only/.dirs/runtime/snapctl 986s Unable to clean up temporary directory /tmp/test_portal-support-snap_FJVG02/portal-support/snap/desktop-only: No such file or directory 986s ok 4 /portal-support/snap/desktop-only 986s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_FJVG02/portal-support/snap/network-only/.dirs/home 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_FJVG02/portal-support/snap/network-only/.dirs/cache 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_FJVG02/portal-support/snap/network-only/.dirs/system-config1:/tmp/test_portal-support-snap_FJVG02/portal-support/snap/network-only/.dirs/system-config2 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_FJVG02/portal-support/snap/network-only/.dirs/config 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_FJVG02/portal-support/snap/network-only/.dirs/system-data1:/tmp/test_portal-support-snap_FJVG02/portal-support/snap/network-only/.dirs/system-data2 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_FJVG02/portal-support/snap/network-only/.dirs/data 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_FJVG02/portal-support/snap/network-only/.dirs/state 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_FJVG02/portal-support/snap/network-only/.dirs/runtime 986s # Created snap.yaml in /tmp/test_portal-support-snap_FJVG02/meta/snap.yaml 986s # Created snapctl in /tmp/test_portal-support-snap_FJVG02/portal-support/snap/network-only/.dirs/runtime/snapctl 986s Unable to clean up temporary directory /tmp/test_portal-support-snap_FJVG02/portal-support/snap/network-only: No such file or directory 986s ok 5 /portal-support/snap/network-only 986s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_FJVG02/portal-support/snap/gsettings-only/.dirs/home 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_FJVG02/portal-support/snap/gsettings-only/.dirs/cache 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_FJVG02/portal-support/snap/gsettings-only/.dirs/system-config1:/tmp/test_portal-support-snap_FJVG02/portal-support/snap/gsettings-only/.dirs/system-config2 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_FJVG02/portal-support/snap/gsettings-only/.dirs/config 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_FJVG02/portal-support/snap/gsettings-only/.dirs/system-data1:/tmp/test_portal-support-snap_FJVG02/portal-support/snap/gsettings-only/.dirs/system-data2 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_FJVG02/portal-support/snap/gsettings-only/.dirs/data 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_FJVG02/portal-support/snap/gsettings-only/.dirs/state 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_FJVG02/portal-support/snap/gsettings-only/.dirs/runtime 986s # Created snap.yaml in /tmp/test_portal-support-snap_FJVG02/meta/snap.yaml 986s # Created snapctl in /tmp/test_portal-support-snap_FJVG02/portal-support/snap/gsettings-only/.dirs/runtime/snapctl 986s Unable to clean up temporary directory /tmp/test_portal-support-snap_FJVG02/portal-support/snap/gsettings-only: No such file or directory 986s ok 6 /portal-support/snap/gsettings-only 986s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_FJVG02/portal-support/snap/updates-dynamically/.dirs/home 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_FJVG02/portal-support/snap/updates-dynamically/.dirs/cache 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_FJVG02/portal-support/snap/updates-dynamically/.dirs/system-config1:/tmp/test_portal-support-snap_FJVG02/portal-support/snap/updates-dynamically/.dirs/system-config2 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_FJVG02/portal-support/snap/updates-dynamically/.dirs/config 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_FJVG02/portal-support/snap/updates-dynamically/.dirs/system-data1:/tmp/test_portal-support-snap_FJVG02/portal-support/snap/updates-dynamically/.dirs/system-data2 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_FJVG02/portal-support/snap/updates-dynamically/.dirs/data 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_FJVG02/portal-support/snap/updates-dynamically/.dirs/state 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_FJVG02/portal-support/snap/updates-dynamically/.dirs/runtime 986s # Created snap.yaml in /tmp/test_portal-support-snap_FJVG02/meta/snap.yaml 986s # Created snapctl in /tmp/test_portal-support-snap_FJVG02/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 986s # Created snapctl in /tmp/test_portal-support-snap_FJVG02/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 986s # Created snapctl in /tmp/test_portal-support-snap_FJVG02/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 986s # Created snapctl in /tmp/test_portal-support-snap_FJVG02/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 986s # Created snapctl in /tmp/test_portal-support-snap_FJVG02/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 986s # Created snapctl in /tmp/test_portal-support-snap_FJVG02/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 986s # Created snapctl in /tmp/test_portal-support-snap_FJVG02/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 986s Unable to clean up temporary directory /tmp/test_portal-support-snap_FJVG02/portal-support/snap/updates-dynamically: No such file or directory 986s ok 7 /portal-support/snap/updates-dynamically 986s # End of snap tests 986s # End of portal-support tests 986s Unable to clean up temporary directory /tmp/test_portal-support-snap_FJVG02: No such file or directory 986s ok - glib/portal-support-snap.test 986s # Running test: glib/g-file-info.test 986s TAP version 14 986s # random seed: R02S901de79e3ab9d06a6b8f47a9ee604845 986s 1..6 986s # Start of g-file-info tests 986s ok 1 /g-file-info/test_g_file_info 986s # /g-file-info/xattrs summary: Test setting and getting escaped xattrs 986s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 986s ok 2 /g-file-info/xattrs 986s # /g-file-info/set-modified-date-time-precision summary: Test that g_file_info_set_modified_date_time() preserves microseconds 986s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3116 986s ok 3 /g-file-info/set-modified-date-time-precision 986s # Start of test_g_file_info tests 986s # /g-file-info/test_g_file_info/modification-time summary: Test that getting the modification time of a file works. 986s ok 4 /g-file-info/test_g_file_info/modification-time 986s # /g-file-info/test_g_file_info/access-time summary: Test that getting the access time of a file works. 986s ok 5 /g-file-info/test_g_file_info/access-time 986s # /g-file-info/test_g_file_info/creation-time summary: Test that getting the creation time of a file works. 986s ok 6 /g-file-info/test_g_file_info/creation-time 986s # End of test_g_file_info tests 986s # End of g-file-info tests 986s ok - glib/g-file-info.test 986s # Running test: glib/network-monitor-race.test 986s TAP version 14 986s # random seed: R02Sdf9a4fc70aa086727c041f90443ee2ea 986s 1..1 986s # Start of network-monitor tests 986s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793727 988s ok 1 /network-monitor/create-in-thread 988s # slow test /network-monitor/create-in-thread executed in 2.16 secs 988s # End of network-monitor tests 988s ok - glib/network-monitor-race.test 988s # Running test: glib/object.test 988s TAP version 14 988s # random seed: R02Sa305a62e6b3c68def765332e00ef9d87 988s 1..2 988s # Start of object tests 988s # Start of constructor tests 988s ok 1 /object/constructor/singleton 988s ok 2 /object/constructor/infanticide # SKIP skip tests that rely on debug-only warnings 988s # End of constructor tests 988s # End of object tests 988s ok - glib/object.test 988s # Running test: glib/autoptr-girepository.test 988s TAP version 14 988s # random seed: R02S9338f95bec7fb32bb313e7ad5d610eb4 988s 1..24 988s # Start of autoptr tests 988s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_G15K02/autoptr/repository/.dirs/home 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_G15K02/autoptr/repository/.dirs/cache 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_G15K02/autoptr/repository/.dirs/system-config1:/tmp/test_autoptr-girepository_G15K02/autoptr/repository/.dirs/system-config2 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_G15K02/autoptr/repository/.dirs/config 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_G15K02/autoptr/repository/.dirs/system-data1:/tmp/test_autoptr-girepository_G15K02/autoptr/repository/.dirs/system-data2 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_G15K02/autoptr/repository/.dirs/data 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_G15K02/autoptr/repository/.dirs/state 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_G15K02/autoptr/repository/.dirs/runtime 988s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 988s ok 1 /autoptr/repository 988s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_G15K02/autoptr/typelib/.dirs/home 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_G15K02/autoptr/typelib/.dirs/cache 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_G15K02/autoptr/typelib/.dirs/system-config1:/tmp/test_autoptr-girepository_G15K02/autoptr/typelib/.dirs/system-config2 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_G15K02/autoptr/typelib/.dirs/config 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_G15K02/autoptr/typelib/.dirs/system-data1:/tmp/test_autoptr-girepository_G15K02/autoptr/typelib/.dirs/system-data2 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_G15K02/autoptr/typelib/.dirs/data 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_G15K02/autoptr/typelib/.dirs/state 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_G15K02/autoptr/typelib/.dirs/runtime 988s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 988s ok 2 /autoptr/typelib 988s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_G15K02/autoptr/base-info/.dirs/home 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_G15K02/autoptr/base-info/.dirs/cache 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_G15K02/autoptr/base-info/.dirs/system-config1:/tmp/test_autoptr-girepository_G15K02/autoptr/base-info/.dirs/system-config2 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_G15K02/autoptr/base-info/.dirs/config 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_G15K02/autoptr/base-info/.dirs/system-data1:/tmp/test_autoptr-girepository_G15K02/autoptr/base-info/.dirs/system-data2 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_G15K02/autoptr/base-info/.dirs/data 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_G15K02/autoptr/base-info/.dirs/state 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_G15K02/autoptr/base-info/.dirs/runtime 988s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 988s ok 3 /autoptr/base-info 988s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_G15K02/autoptr/arg-info/.dirs/home 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_G15K02/autoptr/arg-info/.dirs/cache 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_G15K02/autoptr/arg-info/.dirs/system-config1:/tmp/test_autoptr-girepository_G15K02/autoptr/arg-info/.dirs/system-config2 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_G15K02/autoptr/arg-info/.dirs/config 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_G15K02/autoptr/arg-info/.dirs/system-data1:/tmp/test_autoptr-girepository_G15K02/autoptr/arg-info/.dirs/system-data2 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_G15K02/autoptr/arg-info/.dirs/data 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_G15K02/autoptr/arg-info/.dirs/state 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_G15K02/autoptr/arg-info/.dirs/runtime 988s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 988s ok 4 /autoptr/arg-info 988s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_G15K02/autoptr/callable-info/.dirs/home 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_G15K02/autoptr/callable-info/.dirs/cache 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_G15K02/autoptr/callable-info/.dirs/system-config1:/tmp/test_autoptr-girepository_G15K02/autoptr/callable-info/.dirs/system-config2 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_G15K02/autoptr/callable-info/.dirs/config 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_G15K02/autoptr/callable-info/.dirs/system-data1:/tmp/test_autoptr-girepository_G15K02/autoptr/callable-info/.dirs/system-data2 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_G15K02/autoptr/callable-info/.dirs/data 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_G15K02/autoptr/callable-info/.dirs/state 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_G15K02/autoptr/callable-info/.dirs/runtime 988s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 988s ok 5 /autoptr/callable-info 988s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_G15K02/autoptr/callback-info/.dirs/home 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_G15K02/autoptr/callback-info/.dirs/cache 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_G15K02/autoptr/callback-info/.dirs/system-config1:/tmp/test_autoptr-girepository_G15K02/autoptr/callback-info/.dirs/system-config2 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_G15K02/autoptr/callback-info/.dirs/config 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_G15K02/autoptr/callback-info/.dirs/system-data1:/tmp/test_autoptr-girepository_G15K02/autoptr/callback-info/.dirs/system-data2 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_G15K02/autoptr/callback-info/.dirs/data 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_G15K02/autoptr/callback-info/.dirs/state 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_G15K02/autoptr/callback-info/.dirs/runtime 988s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 988s ok 6 /autoptr/callback-info 988s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_G15K02/autoptr/constant-info/.dirs/home 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_G15K02/autoptr/constant-info/.dirs/cache 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_G15K02/autoptr/constant-info/.dirs/system-config1:/tmp/test_autoptr-girepository_G15K02/autoptr/constant-info/.dirs/system-config2 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_G15K02/autoptr/constant-info/.dirs/config 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_G15K02/autoptr/constant-info/.dirs/system-data1:/tmp/test_autoptr-girepository_G15K02/autoptr/constant-info/.dirs/system-data2 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_G15K02/autoptr/constant-info/.dirs/data 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_G15K02/autoptr/constant-info/.dirs/state 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_G15K02/autoptr/constant-info/.dirs/runtime 988s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 988s ok 7 /autoptr/constant-info 988s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_G15K02/autoptr/enum-info/.dirs/home 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_G15K02/autoptr/enum-info/.dirs/cache 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_G15K02/autoptr/enum-info/.dirs/system-config1:/tmp/test_autoptr-girepository_G15K02/autoptr/enum-info/.dirs/system-config2 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_G15K02/autoptr/enum-info/.dirs/config 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_G15K02/autoptr/enum-info/.dirs/system-data1:/tmp/test_autoptr-girepository_G15K02/autoptr/enum-info/.dirs/system-data2 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_G15K02/autoptr/enum-info/.dirs/data 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_G15K02/autoptr/enum-info/.dirs/state 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_G15K02/autoptr/enum-info/.dirs/runtime 988s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 988s ok 8 /autoptr/enum-info 988s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_G15K02/autoptr/field-info/.dirs/home 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_G15K02/autoptr/field-info/.dirs/cache 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_G15K02/autoptr/field-info/.dirs/system-config1:/tmp/test_autoptr-girepository_G15K02/autoptr/field-info/.dirs/system-config2 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_G15K02/autoptr/field-info/.dirs/config 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_G15K02/autoptr/field-info/.dirs/system-data1:/tmp/test_autoptr-girepository_G15K02/autoptr/field-info/.dirs/system-data2 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_G15K02/autoptr/field-info/.dirs/data 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_G15K02/autoptr/field-info/.dirs/state 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_G15K02/autoptr/field-info/.dirs/runtime 988s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 988s ok 9 /autoptr/field-info 988s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_G15K02/autoptr/flags-info/.dirs/home 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_G15K02/autoptr/flags-info/.dirs/cache 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_G15K02/autoptr/flags-info/.dirs/system-config1:/tmp/test_autoptr-girepository_G15K02/autoptr/flags-info/.dirs/system-config2 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_G15K02/autoptr/flags-info/.dirs/config 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_G15K02/autoptr/flags-info/.dirs/system-data1:/tmp/test_autoptr-girepository_G15K02/autoptr/flags-info/.dirs/system-data2 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_G15K02/autoptr/flags-info/.dirs/data 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_G15K02/autoptr/flags-info/.dirs/state 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_G15K02/autoptr/flags-info/.dirs/runtime 988s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 988s ok 10 /autoptr/flags-info 988s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_G15K02/autoptr/function-info/.dirs/home 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_G15K02/autoptr/function-info/.dirs/cache 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_G15K02/autoptr/function-info/.dirs/system-config1:/tmp/test_autoptr-girepository_G15K02/autoptr/function-info/.dirs/system-config2 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_G15K02/autoptr/function-info/.dirs/config 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_G15K02/autoptr/function-info/.dirs/system-data1:/tmp/test_autoptr-girepository_G15K02/autoptr/function-info/.dirs/system-data2 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_G15K02/autoptr/function-info/.dirs/data 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_G15K02/autoptr/function-info/.dirs/state 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_G15K02/autoptr/function-info/.dirs/runtime 988s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 988s ok 11 /autoptr/function-info 988s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_G15K02/autoptr/interface-info/.dirs/home 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_G15K02/autoptr/interface-info/.dirs/cache 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_G15K02/autoptr/interface-info/.dirs/system-config1:/tmp/test_autoptr-girepository_G15K02/autoptr/interface-info/.dirs/system-config2 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_G15K02/autoptr/interface-info/.dirs/config 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_G15K02/autoptr/interface-info/.dirs/system-data1:/tmp/test_autoptr-girepository_G15K02/autoptr/interface-info/.dirs/system-data2 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_G15K02/autoptr/interface-info/.dirs/data 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_G15K02/autoptr/interface-info/.dirs/state 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_G15K02/autoptr/interface-info/.dirs/runtime 988s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 988s ok 12 /autoptr/interface-info 988s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_G15K02/autoptr/object-info/.dirs/home 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_G15K02/autoptr/object-info/.dirs/cache 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_G15K02/autoptr/object-info/.dirs/system-config1:/tmp/test_autoptr-girepository_G15K02/autoptr/object-info/.dirs/system-config2 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_G15K02/autoptr/object-info/.dirs/config 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_G15K02/autoptr/object-info/.dirs/system-data1:/tmp/test_autoptr-girepository_G15K02/autoptr/object-info/.dirs/system-data2 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_G15K02/autoptr/object-info/.dirs/data 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_G15K02/autoptr/object-info/.dirs/state 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_G15K02/autoptr/object-info/.dirs/runtime 988s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 988s ok 13 /autoptr/object-info 988s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_G15K02/autoptr/property-info/.dirs/home 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_G15K02/autoptr/property-info/.dirs/cache 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_G15K02/autoptr/property-info/.dirs/system-config1:/tmp/test_autoptr-girepository_G15K02/autoptr/property-info/.dirs/system-config2 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_G15K02/autoptr/property-info/.dirs/config 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_G15K02/autoptr/property-info/.dirs/system-data1:/tmp/test_autoptr-girepository_G15K02/autoptr/property-info/.dirs/system-data2 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_G15K02/autoptr/property-info/.dirs/data 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_G15K02/autoptr/property-info/.dirs/state 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_G15K02/autoptr/property-info/.dirs/runtime 988s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 988s ok 14 /autoptr/property-info 988s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_G15K02/autoptr/registered-type-info/.dirs/home 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_G15K02/autoptr/registered-type-info/.dirs/cache 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_G15K02/autoptr/registered-type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_G15K02/autoptr/registered-type-info/.dirs/system-config2 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_G15K02/autoptr/registered-type-info/.dirs/config 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_G15K02/autoptr/registered-type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_G15K02/autoptr/registered-type-info/.dirs/system-data2 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_G15K02/autoptr/registered-type-info/.dirs/data 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_G15K02/autoptr/registered-type-info/.dirs/state 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_G15K02/autoptr/registered-type-info/.dirs/runtime 988s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 988s ok 15 /autoptr/registered-type-info 988s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_G15K02/autoptr/signal-info/.dirs/home 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_G15K02/autoptr/signal-info/.dirs/cache 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_G15K02/autoptr/signal-info/.dirs/system-config1:/tmp/test_autoptr-girepository_G15K02/autoptr/signal-info/.dirs/system-config2 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_G15K02/autoptr/signal-info/.dirs/config 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_G15K02/autoptr/signal-info/.dirs/system-data1:/tmp/test_autoptr-girepository_G15K02/autoptr/signal-info/.dirs/system-data2 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_G15K02/autoptr/signal-info/.dirs/data 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_G15K02/autoptr/signal-info/.dirs/state 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_G15K02/autoptr/signal-info/.dirs/runtime 988s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 988s ok 16 /autoptr/signal-info 988s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_G15K02/autoptr/struct-info/.dirs/home 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_G15K02/autoptr/struct-info/.dirs/cache 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_G15K02/autoptr/struct-info/.dirs/system-config1:/tmp/test_autoptr-girepository_G15K02/autoptr/struct-info/.dirs/system-config2 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_G15K02/autoptr/struct-info/.dirs/config 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_G15K02/autoptr/struct-info/.dirs/system-data1:/tmp/test_autoptr-girepository_G15K02/autoptr/struct-info/.dirs/system-data2 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_G15K02/autoptr/struct-info/.dirs/data 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_G15K02/autoptr/struct-info/.dirs/state 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_G15K02/autoptr/struct-info/.dirs/runtime 988s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 988s ok 17 /autoptr/struct-info 988s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_G15K02/autoptr/type-info/.dirs/home 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_G15K02/autoptr/type-info/.dirs/cache 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_G15K02/autoptr/type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_G15K02/autoptr/type-info/.dirs/system-config2 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_G15K02/autoptr/type-info/.dirs/config 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_G15K02/autoptr/type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_G15K02/autoptr/type-info/.dirs/system-data2 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_G15K02/autoptr/type-info/.dirs/data 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_G15K02/autoptr/type-info/.dirs/state 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_G15K02/autoptr/type-info/.dirs/runtime 988s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 988s ok 18 /autoptr/type-info 988s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_G15K02/autoptr/union-info/.dirs/home 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_G15K02/autoptr/union-info/.dirs/cache 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_G15K02/autoptr/union-info/.dirs/system-config1:/tmp/test_autoptr-girepository_G15K02/autoptr/union-info/.dirs/system-config2 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_G15K02/autoptr/union-info/.dirs/config 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_G15K02/autoptr/union-info/.dirs/system-data1:/tmp/test_autoptr-girepository_G15K02/autoptr/union-info/.dirs/system-data2 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_G15K02/autoptr/union-info/.dirs/data 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_G15K02/autoptr/union-info/.dirs/state 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_G15K02/autoptr/union-info/.dirs/runtime 988s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 988s ok 19 /autoptr/union-info 988s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_G15K02/autoptr/value-info/.dirs/home 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_G15K02/autoptr/value-info/.dirs/cache 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_G15K02/autoptr/value-info/.dirs/system-config1:/tmp/test_autoptr-girepository_G15K02/autoptr/value-info/.dirs/system-config2 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_G15K02/autoptr/value-info/.dirs/config 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_G15K02/autoptr/value-info/.dirs/system-data1:/tmp/test_autoptr-girepository_G15K02/autoptr/value-info/.dirs/system-data2 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_G15K02/autoptr/value-info/.dirs/data 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_G15K02/autoptr/value-info/.dirs/state 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_G15K02/autoptr/value-info/.dirs/runtime 988s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 988s ok 20 /autoptr/value-info 988s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_G15K02/autoptr/vfunc-info/.dirs/home 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_G15K02/autoptr/vfunc-info/.dirs/cache 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_G15K02/autoptr/vfunc-info/.dirs/system-config1:/tmp/test_autoptr-girepository_G15K02/autoptr/vfunc-info/.dirs/system-config2 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_G15K02/autoptr/vfunc-info/.dirs/config 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_G15K02/autoptr/vfunc-info/.dirs/system-data1:/tmp/test_autoptr-girepository_G15K02/autoptr/vfunc-info/.dirs/system-data2 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_G15K02/autoptr/vfunc-info/.dirs/data 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_G15K02/autoptr/vfunc-info/.dirs/state 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_G15K02/autoptr/vfunc-info/.dirs/runtime 988s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 988s ok 21 /autoptr/vfunc-info 988s # End of autoptr tests 988s # Start of auto tests 988s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_G15K02/auto/arg-info/.dirs/home 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_G15K02/auto/arg-info/.dirs/cache 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_G15K02/auto/arg-info/.dirs/system-config1:/tmp/test_autoptr-girepository_G15K02/auto/arg-info/.dirs/system-config2 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_G15K02/auto/arg-info/.dirs/config 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_G15K02/auto/arg-info/.dirs/system-data1:/tmp/test_autoptr-girepository_G15K02/auto/arg-info/.dirs/system-data2 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_G15K02/auto/arg-info/.dirs/data 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_G15K02/auto/arg-info/.dirs/state 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_G15K02/auto/arg-info/.dirs/runtime 988s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 988s ok 22 /auto/arg-info 988s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_G15K02/auto/type-info/.dirs/home 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_G15K02/auto/type-info/.dirs/cache 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_G15K02/auto/type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_G15K02/auto/type-info/.dirs/system-config2 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_G15K02/auto/type-info/.dirs/config 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_G15K02/auto/type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_G15K02/auto/type-info/.dirs/system-data2 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_G15K02/auto/type-info/.dirs/data 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_G15K02/auto/type-info/.dirs/state 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_G15K02/auto/type-info/.dirs/runtime 988s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 988s ok 23 /auto/type-info 988s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_G15K02/auto/function-invoker/.dirs/home 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_G15K02/auto/function-invoker/.dirs/cache 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_G15K02/auto/function-invoker/.dirs/system-config1:/tmp/test_autoptr-girepository_G15K02/auto/function-invoker/.dirs/system-config2 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_G15K02/auto/function-invoker/.dirs/config 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_G15K02/auto/function-invoker/.dirs/system-data1:/tmp/test_autoptr-girepository_G15K02/auto/function-invoker/.dirs/system-data2 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_G15K02/auto/function-invoker/.dirs/data 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_G15K02/auto/function-invoker/.dirs/state 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_G15K02/auto/function-invoker/.dirs/runtime 988s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 988s ok 24 /auto/function-invoker 988s # End of auto tests 988s ok - glib/autoptr-girepository.test 988s # Running test: glib/portal-support-flatpak-full.test 988s TAP version 14 988s # random seed: R02S008498671da44b043f74464890597312 988s 1..1 988s # Start of portal-support tests 988s # Start of flatpak tests 988s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-full_I1CN02/portal-support/flatpak/full/.dirs/home 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-full_I1CN02/portal-support/flatpak/full/.dirs/cache 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-full_I1CN02/portal-support/flatpak/full/.dirs/system-config1:/tmp/test_portal-support-flatpak-full_I1CN02/portal-support/flatpak/full/.dirs/system-config2 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-full_I1CN02/portal-support/flatpak/full/.dirs/config 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-full_I1CN02/portal-support/flatpak/full/.dirs/system-data1:/tmp/test_portal-support-flatpak-full_I1CN02/portal-support/flatpak/full/.dirs/system-data2 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-full_I1CN02/portal-support/flatpak/full/.dirs/data 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-full_I1CN02/portal-support/flatpak/full/.dirs/state 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-full_I1CN02/portal-support/flatpak/full/.dirs/runtime 988s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-full_I1CN02/portal-support/flatpak/full/.dirs/runtime/.flatpak-info 988s ok 1 /portal-support/flatpak/full 988s # End of flatpak tests 988s # End of portal-support tests 988s ok - glib/portal-support-flatpak-full.test 988s # Running test: glib/dir.test 988s TAP version 14 988s # random seed: R02S1993ee87993c1a0304406a434e8c0cf9 988s 1..3 988s # Start of dir tests 988s ok 1 /dir/read 988s ok 2 /dir/nonexisting 988s # /dir/refcounting summary: Test refcounting interactions with g_dir_close() 988s ok 3 /dir/refcounting 988s # End of dir tests 988s ok - glib/dir.test 988s # Running test: glib/custom-dispatch.test 988s TAP version 14 988s # random seed: R02Sedffbd0a75ceef77880545a63a4475c7 988s 1..2 988s # Start of properties tests 988s # Start of custom-dispatch tests 988s # /properties/custom-dispatch/init summary: Test that custom dispatch_properties_changed is called on initialization 988s ok 1 /properties/custom-dispatch/init 988s # /properties/custom-dispatch/set summary: Test that custom dispatch_properties_changed is called regardless of connected notify handlers 988s ok 2 /properties/custom-dispatch/set 988s # End of custom-dispatch tests 988s # End of properties tests 988s ok - glib/custom-dispatch.test 988s # Running test: glib/type-flags.test 988s TAP version 14 988s # random seed: R02S1b9d88e44f7223a89b24326bce571dab 988s 1..4 988s # Start of type tests 988s # Start of flags tests 988s ok 1 /type/flags/interface 988s ok 2 /type/flags/final 988s # /type/flags/deprecated summary: Test that trying to instantiate a deprecated type results in a warning. 988s ok 3 /type/flags/deprecated 988s # Start of final tests 988s ok 4 /type/flags/final/instance-check 988s # End of final tests 988s # End of flags tests 988s # End of type tests 988s ok - glib/type-flags.test 988s # Running test: glib/tls-bindings.test 988s TAP version 14 988s # random seed: R02S631b681a032f5b31fbafa69baebccfe1 988s 1..2 988s # Start of tls-connection tests 988s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 988s ok 1 /tls-connection/get-tls-channel-binding 988s ok 2 /tls-connection/get-dtls-channel-binding 988s # End of tls-connection tests 988s ok - glib/tls-bindings.test 988s # Running test: glib/gobject-query.py.test 988s TAP version 13 988s ok 1 __main__.TestGobjectQuery.test_froots 988s # gobject-query: /usr/bin/gobject-query 988s # Running: ['/usr/bin/gobject-query', 'froots'] 988s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 988s # Output: ├void 988s # ├GInterface 988s # │ └GTypePlugin 988s # ├gchar 988s # ├guchar 988s # ├gboolean 988s # ├gint 988s # ├guint 988s # ├glong 988s # ├gulong 988s # ├gint64 988s # ├guint64 988s # ├GEnum 988s # ├GFlags 988s # ├gfloat 988s # ├gdouble 988s # ├gchararray 988s # ├gpointer 988s # │ └GType 988s # ├GBoxed 988s # │ └GValueArray 988s # ├GParam 988s # │ ├GParamChar 988s # │ ├GParamUChar 988s # │ ├GParamBoolean 988s # │ ├GParamInt 988s # │ ├GParamUInt 988s # │ ├GParamLong 988s # │ ├GParamULong 988s # │ ├GParamInt64 988s # │ ├GParamUInt64 988s # │ ├GParamUnichar 988s # │ ├GParamEnum 988s # │ ├GParamFlags 988s # │ ├GParamFloat 988s # │ ├GParamDouble 988s # │ ├GParamString 988s # │ ├GParamParam 988s # │ ├GParamBoxed 988s # │ ├GParamPointer 988s # │ ├GParamValueArray 988s # │ ├GParamObject 988s # │ ├GParamOverride 988s # │ ├GParamGType 988s # │ └GParamVariant 988s # ├GObject 988s # └GVariant 988s ok 2 __main__.TestGobjectQuery.test_help 988s # gobject-query: /usr/bin/gobject-query 988s # Running: ['/usr/bin/gobject-query', '--help'] 988s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 988s # Output: usage: gobject-query [-r ] [-{i|b} ""] [-s #] [-{h|x|y}] 988s # -r specify root type 988s # -n don't descend type tree 988s # -h show help 988s # -b specify indent string 988s # -i specify incremental indent string 988s # -s specify line spacing 988s # qualifiers: 988s # froots iterate over fundamental roots 988s # tree print type tree 988s ok 3 __main__.TestGobjectQuery.test_tree 988s # gobject-query: /usr/bin/gobject-query 988s # Running: ['/usr/bin/gobject-query', 'tree'] 988s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 988s # Output: GObject 988s ok 4 __main__.TestGobjectQuery.test_version 988s # gobject-query: /usr/bin/gobject-query 988s # Running: ['/usr/bin/gobject-query', '--version'] 988s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 988s # Output: 2.82.4 988s 1..4 988s ok - glib/gobject-query.py.test 988s # Running test: glib/gdbus-peer-object-manager.test 988s TAP version 14 988s # random seed: R02S82de4184740bb759de2971f8466cc68f 988s 1..2 988s # Start of gdbus tests 988s # Start of peer-object-manager tests 988s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_XQ56Z2/gdbus/peer-object-manager/normal/.dirs/home 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_XQ56Z2/gdbus/peer-object-manager/normal/.dirs/cache 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_XQ56Z2/gdbus/peer-object-manager/normal/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_XQ56Z2/gdbus/peer-object-manager/normal/.dirs/system-config2 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_XQ56Z2/gdbus/peer-object-manager/normal/.dirs/config 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_XQ56Z2/gdbus/peer-object-manager/normal/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_XQ56Z2/gdbus/peer-object-manager/normal/.dirs/system-data2 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_XQ56Z2/gdbus/peer-object-manager/normal/.dirs/data 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_XQ56Z2/gdbus/peer-object-manager/normal/.dirs/state 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_XQ56Z2/gdbus/peer-object-manager/normal/.dirs/runtime 988s ok 1 /gdbus/peer-object-manager/normal 988s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_XQ56Z2/gdbus/peer-object-manager/root/.dirs/home 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_XQ56Z2/gdbus/peer-object-manager/root/.dirs/cache 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_XQ56Z2/gdbus/peer-object-manager/root/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_XQ56Z2/gdbus/peer-object-manager/root/.dirs/system-config2 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_XQ56Z2/gdbus/peer-object-manager/root/.dirs/config 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_XQ56Z2/gdbus/peer-object-manager/root/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_XQ56Z2/gdbus/peer-object-manager/root/.dirs/system-data2 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_XQ56Z2/gdbus/peer-object-manager/root/.dirs/data 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_XQ56Z2/gdbus/peer-object-manager/root/.dirs/state 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_XQ56Z2/gdbus/peer-object-manager/root/.dirs/runtime 988s ok 2 /gdbus/peer-object-manager/root 988s # End of peer-object-manager tests 988s # End of gdbus tests 988s ok - glib/gdbus-peer-object-manager.test 988s # Running test: glib/properties-introspection.test 988s TAP version 14 988s # random seed: R02S15012236893f4f1259505a60084c43a9 988s 1..2 988s # Start of properties tests 988s # /properties/introspection summary: Verify that introspecting properties on an interface initializes the GParamSpecPool. 988s ok 1 /properties/introspection 988s # /properties/collision summary: Verify that multiple threads create a single GParamSpecPool. 988s ok 2 /properties/collision 988s # End of properties tests 988s ok - glib/properties-introspection.test 988s # Running test: glib/static-link.test 988s Test disabled because GLIB_TEST_COMPILATION is not set in the env. 988s If you wish to run this test, set GLIB_TEST_COMPILATION=1 in the env, 988s and make sure you have glib build dependencies installed, including 988s meson. 988s ok # SKIP - glib/static-link.test 988s # Running test: glib/registered-type-info.test 988s TAP version 14 988s # random seed: R02Sfc89d7fb7687bd2ff8d166fbbbeb6092 988s 1..1 988s # Start of registered-type-info tests 988s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_registered-type-info_BQE9Z2/registered-type-info/boxed/.dirs/home 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_registered-type-info_BQE9Z2/registered-type-info/boxed/.dirs/cache 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_registered-type-info_BQE9Z2/registered-type-info/boxed/.dirs/system-config1:/tmp/test_registered-type-info_BQE9Z2/registered-type-info/boxed/.dirs/system-config2 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_registered-type-info_BQE9Z2/registered-type-info/boxed/.dirs/config 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_registered-type-info_BQE9Z2/registered-type-info/boxed/.dirs/system-data1:/tmp/test_registered-type-info_BQE9Z2/registered-type-info/boxed/.dirs/system-data2 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_registered-type-info_BQE9Z2/registered-type-info/boxed/.dirs/data 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_registered-type-info_BQE9Z2/registered-type-info/boxed/.dirs/state 988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_registered-type-info_BQE9Z2/registered-type-info/boxed/.dirs/runtime 988s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 988s # /registered-type-info/boxed summary: Test various boxed and non-boxed types for GIRegisteredTypeInfo 988s # Expecting CClosure to not be boxed 988s # Expecting TypeCValue to not be boxed 988s # Expecting InitiallyUnownedClass to not be boxed 988s # Expecting BookmarkFile to be boxed 988s # Expecting Closure to be boxed 988s # Expecting Object to not be boxed 988s ok 1 /registered-type-info/boxed 988s # End of registered-type-info tests 988s ok - glib/registered-type-info.test 988s # Running test: glib/mount-operation.test 988s TAP version 14 988s # random seed: R02S7f1d762acb2be51b5f02278c1c072d95 988s 1..2 988s # Start of mount-operation tests 988s ok 1 /mount-operation/construction 988s ok 2 /mount-operation/properties 988s # End of mount-operation tests 988s ok - glib/mount-operation.test 988s # Running test: glib/dataset.test 988s TAP version 14 988s # random seed: R02S6b36cbccbb89e520ac86805de7f0418f 988s 1..14 988s # Start of quark tests 988s ok 1 /quark/basic 988s ok 2 /quark/string 988s # End of quark tests 988s # Start of dataset tests 988s ok 3 /dataset/basic 988s ok 4 /dataset/id 988s ok 5 /dataset/full 988s ok 6 /dataset/foreach 988s ok 7 /dataset/destroy 988s # End of dataset tests 988s # Start of datalist tests 988s ok 8 /datalist/basic 988s ok 9 /datalist/id 988s ok 10 /datalist/recursive-clear 988s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672 988s ok 11 /datalist/id-remove-multiple 988s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672 988s ok 12 /datalist/id-remove-multiple-destroy-order 988s ok 13 /datalist/update-atomic 988s # Start of id-remove-multiple tests 988s ok 14 /datalist/id-remove-multiple/resize 988s # End of id-remove-multiple tests 988s # End of datalist tests 988s ok - glib/dataset.test 988s # Running test: glib/socket.test 988s TAP version 14 988s # random seed: R02S510f3d81102f7d2f7232a917b6af61e4 988s 1..28 988s # Start of socket tests 989s # Executing: glib/socket.test 989s ok 1 /socket/ipv4_sync 989s # slow test /socket/ipv4_sync executed in 1.00 secs 990s ok 2 /socket/ipv4_async 990s # slow test /socket/ipv4_async executed in 1.00 secs 990s ok 3 /socket/ipv6_sync 990s ok 4 /socket/ipv6_async 990s ok 5 /socket/ipv6_v4mapped 991s ok 6 /socket/close_graceful 991s # slow test /socket/close_graceful executed in 1.00 secs 991s ok 7 /socket/timed_wait # SKIP Not running timing heavy test 991s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707 991s ok 8 /socket/fd_reuse 991s ok 9 /socket/address 991s ok 10 /socket/unix-from-fd 991s ok 11 /socket/unix-connection 991s ok 12 /socket/unix-connection-ancillary-data 991s ok 13 /socket/source-postmortem 991s ok 14 /socket/read_write 991s ok 15 /socket/read_writev 991s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes() 991s ok 16 /socket/receive_bytes 991s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from() 991s ok 17 /socket/receive_bytes_from 991s # Start of ipv4_sync tests 991s ok 18 /socket/ipv4_sync/datagram 991s # Start of datagram tests 992s ok 19 /socket/ipv4_sync/datagram/timeouts 992s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs 992s # End of datagram tests 992s # End of ipv4_sync tests 992s # Start of ipv6_sync tests 992s ok 20 /socket/ipv6_sync/datagram 992s # Start of datagram tests 993s ok 21 /socket/ipv6_sync/datagram/timeouts 993s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs 993s # End of datagram tests 993s # End of ipv6_sync tests 993s # Start of reuse tests 993s ok 22 /socket/reuse/tcp 993s ok 23 /socket/reuse/udp 993s # End of reuse tests 993s # Start of get_available tests 993s ok 24 /socket/get_available/datagram 993s ok 25 /socket/get_available/stream 993s # End of get_available tests 993s # Start of credentials tests 993s # Supported on this OS: GCredentials:linux-ucred:pid=0 993s ok 26 /socket/credentials/tcp_client 993s # Supported on this OS: GCredentials:linux-ucred:pid=0 993s ok 27 /socket/credentials/tcp_server 993s # Supported on this OS: GCredentials:linux-ucred:pid=9496,uid=1000,gid=1000 993s ok 28 /socket/credentials/unix_socketpair 993s # End of credentials tests 993s # End of socket tests 993s ok - glib/socket.test 993s # Running test: glib/markup.test 994s TAP version 14 994s # random seed: R02Sa430a907205e3dce90edb6541aa9190d 994s 1..1 994s # Start of markup tests 994s ok 1 /markup/stack 994s # End of markup tests 994s ok - glib/markup.test 994s # Running test: glib/bytes.test 994s TAP version 14 994s # random seed: R02S87fb9d750a859edf4c65e7df974d77be 994s 1..21 994s # Start of bytes tests 994s ok 1 /bytes/new 994s ok 2 /bytes/new-take 994s ok 3 /bytes/new-static 994s ok 4 /bytes/new-with-free-func 994s ok 5 /bytes/new-from-bytes 994s ok 6 /bytes/new-from-bytes-slice 994s ok 7 /bytes/new-from-bytes-shared-ref 994s ok 8 /bytes/hash 994s ok 9 /bytes/equal 994s ok 10 /bytes/compare 994s ok 11 /bytes/null 994s ok 12 /bytes/get-region 994s # /bytes/unref-null summary: Test that calling g_bytes_unref() on NULL is a no-op 994s ok 13 /bytes/unref-null 994s # Start of to-data tests 994s ok 14 /bytes/to-data/transferred 994s ok 15 /bytes/to-data/two-refs 994s ok 16 /bytes/to-data/non-malloc 994s ok 17 /bytes/to-data/different-free-func 994s # End of to-data tests 994s # Start of to-array tests 994s ok 18 /bytes/to-array/transferred 994s ok 19 /bytes/to-array/two-refs 994s ok 20 /bytes/to-array/non-malloc 994s # Start of transferred tests 994s # g_bytes_unref_to_array() can only take GBytes up to G_MAXUINT in length; test that longer ones are rejected 994s ok 21 /bytes/to-array/transferred/oversize 994s # End of transferred tests 994s # End of to-array tests 994s # End of bytes tests 994s ok - glib/bytes.test 994s # Running test: glib/memory-monitor-portal.test 994s # Executing: glib/memory-monitor-portal.test 994s TAP version 13 994s ok 1 __main__.TestLowMemoryMonitorPortal.test_low_memory_warning_portal_signal # SKIP xdg-desktop-portal not available 994s 1..1 994s ok - glib/memory-monitor-portal.test 994s # Running test: glib/gdbus-peer.test 994s TAP version 14 994s # random seed: R02Sc03ccdb091146383667140949e7ce309 994s 1..12 994s # Start of gdbus tests 994s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_NS9K02/gdbus/peer-to-peer/.dirs/home 994s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_NS9K02/gdbus/peer-to-peer/.dirs/cache 994s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_NS9K02/gdbus/peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_NS9K02/gdbus/peer-to-peer/.dirs/system-config2 994s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_NS9K02/gdbus/peer-to-peer/.dirs/config 994s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_NS9K02/gdbus/peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_NS9K02/gdbus/peer-to-peer/.dirs/system-data2 994s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_NS9K02/gdbus/peer-to-peer/.dirs/data 994s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_NS9K02/gdbus/peer-to-peer/.dirs/state 994s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_NS9K02/gdbus/peer-to-peer/.dirs/runtime 994s # Testing with unix:dir address 994s # Testing with unix:tmpdir address 994s # Testing with unix:path address 994s ok 1 /gdbus/peer-to-peer 994s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_NS9K02/gdbus/delayed-message-processing/.dirs/home 994s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_NS9K02/gdbus/delayed-message-processing/.dirs/cache 994s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_NS9K02/gdbus/delayed-message-processing/.dirs/system-config1:/tmp/test_gdbus-peer_NS9K02/gdbus/delayed-message-processing/.dirs/system-config2 994s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_NS9K02/gdbus/delayed-message-processing/.dirs/config 994s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_NS9K02/gdbus/delayed-message-processing/.dirs/system-data1:/tmp/test_gdbus-peer_NS9K02/gdbus/delayed-message-processing/.dirs/system-data2 994s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_NS9K02/gdbus/delayed-message-processing/.dirs/data 994s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_NS9K02/gdbus/delayed-message-processing/.dirs/state 994s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_NS9K02/gdbus/delayed-message-processing/.dirs/runtime 994s # Testing with unix:dir address 994s ok 2 /gdbus/delayed-message-processing 994s # slow test /gdbus/delayed-message-processing executed in 0.50 secs 994s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_NS9K02/gdbus/nonce-tcp/.dirs/home 994s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_NS9K02/gdbus/nonce-tcp/.dirs/cache 994s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_NS9K02/gdbus/nonce-tcp/.dirs/system-config1:/tmp/test_gdbus-peer_NS9K02/gdbus/nonce-tcp/.dirs/system-config2 994s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_NS9K02/gdbus/nonce-tcp/.dirs/config 994s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_NS9K02/gdbus/nonce-tcp/.dirs/system-data1:/tmp/test_gdbus-peer_NS9K02/gdbus/nonce-tcp/.dirs/system-data2 994s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_NS9K02/gdbus/nonce-tcp/.dirs/data 994s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_NS9K02/gdbus/nonce-tcp/.dirs/state 994s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_NS9K02/gdbus/nonce-tcp/.dirs/runtime 995s ok 3 /gdbus/nonce-tcp 995s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_NS9K02/gdbus/tcp-anonymous/.dirs/home 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_NS9K02/gdbus/tcp-anonymous/.dirs/cache 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_NS9K02/gdbus/tcp-anonymous/.dirs/system-config1:/tmp/test_gdbus-peer_NS9K02/gdbus/tcp-anonymous/.dirs/system-config2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_NS9K02/gdbus/tcp-anonymous/.dirs/config 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_NS9K02/gdbus/tcp-anonymous/.dirs/system-data1:/tmp/test_gdbus-peer_NS9K02/gdbus/tcp-anonymous/.dirs/system-data2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_NS9K02/gdbus/tcp-anonymous/.dirs/data 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_NS9K02/gdbus/tcp-anonymous/.dirs/state 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_NS9K02/gdbus/tcp-anonymous/.dirs/runtime 995s ok 4 /gdbus/tcp-anonymous 995s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_NS9K02/gdbus/credentials/.dirs/home 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_NS9K02/gdbus/credentials/.dirs/cache 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_NS9K02/gdbus/credentials/.dirs/system-config1:/tmp/test_gdbus-peer_NS9K02/gdbus/credentials/.dirs/system-config2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_NS9K02/gdbus/credentials/.dirs/config 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_NS9K02/gdbus/credentials/.dirs/system-data1:/tmp/test_gdbus-peer_NS9K02/gdbus/credentials/.dirs/system-data2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_NS9K02/gdbus/credentials/.dirs/data 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_NS9K02/gdbus/credentials/.dirs/state 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_NS9K02/gdbus/credentials/.dirs/runtime 995s ok 5 /gdbus/credentials 995s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_NS9K02/gdbus/codegen-peer-to-peer/.dirs/home 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_NS9K02/gdbus/codegen-peer-to-peer/.dirs/cache 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_NS9K02/gdbus/codegen-peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_NS9K02/gdbus/codegen-peer-to-peer/.dirs/system-config2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_NS9K02/gdbus/codegen-peer-to-peer/.dirs/config 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_NS9K02/gdbus/codegen-peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_NS9K02/gdbus/codegen-peer-to-peer/.dirs/system-data2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_NS9K02/gdbus/codegen-peer-to-peer/.dirs/data 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_NS9K02/gdbus/codegen-peer-to-peer/.dirs/state 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_NS9K02/gdbus/codegen-peer-to-peer/.dirs/runtime 995s # Testing with unix:dir address 995s # Machine ID: e0539402bd3f444686ad381d193c7625 996s ok 6 /gdbus/codegen-peer-to-peer 996s # slow test /gdbus/codegen-peer-to-peer executed in 1.10 secs 996s # Start of peer-to-peer tests 996s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_NS9K02/gdbus/peer-to-peer/signals/.dirs/home 996s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_NS9K02/gdbus/peer-to-peer/signals/.dirs/cache 996s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_NS9K02/gdbus/peer-to-peer/signals/.dirs/system-config1:/tmp/test_gdbus-peer_NS9K02/gdbus/peer-to-peer/signals/.dirs/system-config2 996s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_NS9K02/gdbus/peer-to-peer/signals/.dirs/config 996s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_NS9K02/gdbus/peer-to-peer/signals/.dirs/system-data1:/tmp/test_gdbus-peer_NS9K02/gdbus/peer-to-peer/signals/.dirs/system-data2 996s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_NS9K02/gdbus/peer-to-peer/signals/.dirs/data 996s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_NS9K02/gdbus/peer-to-peer/signals/.dirs/state 996s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_NS9K02/gdbus/peer-to-peer/signals/.dirs/runtime 996s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1620 996s # Testing with unix:dir address 996s ok 7 /gdbus/peer-to-peer/signals 996s # Start of invalid tests 996s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_NS9K02/gdbus/peer-to-peer/invalid/server/.dirs/home 996s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_NS9K02/gdbus/peer-to-peer/invalid/server/.dirs/cache 996s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_NS9K02/gdbus/peer-to-peer/invalid/server/.dirs/system-config1:/tmp/test_gdbus-peer_NS9K02/gdbus/peer-to-peer/invalid/server/.dirs/system-config2 996s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_NS9K02/gdbus/peer-to-peer/invalid/server/.dirs/config 996s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_NS9K02/gdbus/peer-to-peer/invalid/server/.dirs/system-data1:/tmp/test_gdbus-peer_NS9K02/gdbus/peer-to-peer/invalid/server/.dirs/system-data2 996s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_NS9K02/gdbus/peer-to-peer/invalid/server/.dirs/data 996s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_NS9K02/gdbus/peer-to-peer/invalid/server/.dirs/state 996s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_NS9K02/gdbus/peer-to-peer/invalid/server/.dirs/runtime 996s ok 8 /gdbus/peer-to-peer/invalid/server 996s # Start of conn tests 996s # Start of stream tests 996s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_NS9K02/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/home 996s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_NS9K02/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/cache 996s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_NS9K02/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config1:/tmp/test_gdbus-peer_NS9K02/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config2 996s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_NS9K02/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/config 996s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_NS9K02/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data1:/tmp/test_gdbus-peer_NS9K02/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data2 996s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_NS9K02/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/data 996s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_NS9K02/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/state 996s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_NS9K02/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/runtime 996s ok 9 /gdbus/peer-to-peer/invalid/conn/stream/async 996s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_NS9K02/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/home 996s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_NS9K02/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/cache 996s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_NS9K02/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config1:/tmp/test_gdbus-peer_NS9K02/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config2 996s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_NS9K02/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/config 996s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_NS9K02/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data1:/tmp/test_gdbus-peer_NS9K02/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data2 996s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_NS9K02/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/data 996s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_NS9K02/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/state 996s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_NS9K02/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/runtime 996s ok 10 /gdbus/peer-to-peer/invalid/conn/stream/sync 996s # End of stream tests 996s # Start of addr tests 996s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_NS9K02/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/home 996s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_NS9K02/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/cache 996s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_NS9K02/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config1:/tmp/test_gdbus-peer_NS9K02/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config2 996s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_NS9K02/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/config 996s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_NS9K02/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data1:/tmp/test_gdbus-peer_NS9K02/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data2 996s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_NS9K02/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/data 996s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_NS9K02/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/state 996s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_NS9K02/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/runtime 996s ok 11 /gdbus/peer-to-peer/invalid/conn/addr/async 996s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_NS9K02/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/home 996s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_NS9K02/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/cache 996s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_NS9K02/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config1:/tmp/test_gdbus-peer_NS9K02/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config2 996s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_NS9K02/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/config 996s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_NS9K02/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data1:/tmp/test_gdbus-peer_NS9K02/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data2 996s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_NS9K02/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/data 996s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_NS9K02/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/state 996s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_NS9K02/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/runtime 996s ok 12 /gdbus/peer-to-peer/invalid/conn/addr/sync 996s # End of addr tests 996s # End of conn tests 996s # End of invalid tests 996s # End of peer-to-peer tests 996s # End of gdbus tests 996s ok - glib/gdbus-peer.test 996s # Running test: glib/shell.test 996s TAP version 14 996s # random seed: R02Scdf4f368275ddef85af64f1b5ca76b7d 996s 1..51 996s # Start of shell tests 996s # Start of cmdline tests 996s test cmdline: foo bar 996s ok 1 /shell/cmdline/0 996s test cmdline: foo 'bar' 996s ok 2 /shell/cmdline/1 996s test cmdline: foo "bar" 996s ok 3 /shell/cmdline/2 996s test cmdline: foo '' 'bar' 996s ok 4 /shell/cmdline/3 996s test cmdline: foo "bar"'baz'blah'foo'\''blah'"boo" 996s ok 5 /shell/cmdline/4 996s test cmdline: foo blah foo bar baz 996s ok 6 /shell/cmdline/5 996s test cmdline: foo ' spaces more spaces lots of spaces in this ' 996s ok 7 /shell/cmdline/6 996s test cmdline: foo \ 996s bar 996s ok 8 /shell/cmdline/7 996s test cmdline: foo '' '' 996s ok 9 /shell/cmdline/8 996s test cmdline: foo \" la la la 996s ok 10 /shell/cmdline/9 996s test cmdline: foo \ foo woo woo\ 996s ok 11 /shell/cmdline/10 996s test cmdline: foo "yada yada \$\"" 996s ok 12 /shell/cmdline/11 996s test cmdline: foo "c:\\" 996s ok 13 /shell/cmdline/12 996s test cmdline: foo # bla bla bla 996s bar 996s ok 14 /shell/cmdline/13 996s test cmdline: foo a#b 996s ok 15 /shell/cmdline/14 996s test cmdline: #foo 996s ok 16 /shell/cmdline/15 996s test cmdline: foo bar \ 996s ok 17 /shell/cmdline/16 996s test cmdline: foo 'bar baz 996s ok 18 /shell/cmdline/17 996s test cmdline: foo '"bar" baz 996s ok 19 /shell/cmdline/18 996s test cmdline: 996s ok 20 /shell/cmdline/19 996s test cmdline: 996s ok 21 /shell/cmdline/20 996s test cmdline: # foo bar 996s ok 22 /shell/cmdline/21 996s test cmdline: foo '/bar/summer'\''09 tours.pdf' 996s ok 23 /shell/cmdline/22 996s # End of cmdline tests 996s # Start of quote tests 996s ok 24 /shell/quote/0 996s ok 25 /shell/quote/1 996s ok 26 /shell/quote/2 996s ok 27 /shell/quote/3 996s ok 28 /shell/quote/4 996s ok 29 /shell/quote/5 996s ok 30 /shell/quote/6 996s # End of quote tests 996s # Start of unquote tests 996s ok 31 /shell/unquote/0 996s ok 32 /shell/unquote/1 996s ok 33 /shell/unquote/2 996s ok 34 /shell/unquote/3 996s ok 35 /shell/unquote/4 996s ok 36 /shell/unquote/5 996s ok 37 /shell/unquote/6 996s ok 38 /shell/unquote/7 996s ok 39 /shell/unquote/8 996s ok 40 /shell/unquote/9 996s ok 41 /shell/unquote/10 996s ok 42 /shell/unquote/11 996s ok 43 /shell/unquote/12 996s ok 44 /shell/unquote/13 996s ok 45 /shell/unquote/14 996s ok 46 /shell/unquote/15 996s ok 47 /shell/unquote/16 996s ok 48 /shell/unquote/17 996s ok 49 /shell/unquote/18 996s ok 50 /shell/unquote/19 996s ok 51 /shell/unquote/20 996s # End of unquote tests 996s # End of shell tests 996s ok - glib/shell.test 996s # Running test: glib/macros.test 996s TAP version 14 996s # random seed: R02S7bd097d3e6631b26a0dd854387f4c024 996s 1..3 996s # Start of alignof tests 996s ok 1 /alignof/fallback 996s # End of alignof tests 996s # Start of assert tests 996s ok 2 /assert/static 996s # End of assert tests 996s # Start of struct tests 996s ok 3 /struct/sizeof_member 996s # End of struct tests 996s ok - glib/macros.test 996s # Running test: glib/utils-c-89.test 996s TAP version 14 996s # random seed: R02S2266732b3b7190c9e2caaee72a67a023 996s 1..40 996s # Start of utils tests 996s ok 1 /utils/language-names 996s ok 2 /utils/locale-variants 996s ok 3 /utils/version 996s ok 4 /utils/appname 996s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 996s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 996s ok 5 /utils/prgname-thread-safety 996s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 996s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 996s ok 6 /utils/tmpdir 996s ok 7 /utils/basic_bits 996s ok 8 /utils/bits 996s ok 9 /utils/swap 996s ok 10 /utils/find-program 996s ok 11 /utils/find-program-for-path 996s ok 12 /utils/debug 996s ok 13 /utils/codeset 996s ok 14 /utils/codeset2 996s ok 15 /utils/console-charset 996s ok 16 /utils/gettext 996s ok 17 /utils/username 996s ok 18 /utils/realname 996s ok 19 /utils/hostname 996s ok 20 /utils/xdgdirs 996s ok 21 /utils/specialdir 996s # NAME: Ubuntu 996s ok 22 /utils/os-info 996s ok 23 /utils/clear-pointer 996s ok 24 /utils/clear-pointer-cast 996s ok 25 /utils/take-pointer 996s ok 26 /utils/clear-source 996s ok 27 /utils/misc-mem 996s # /utils/aligned-mem summary: Aligned memory allocator 996s # Alignment must not be zero 996s # Alignment must be a power of two 996s # Alignment must be a multiple of sizeof(void*) 996s ok 28 /utils/aligned-mem 996s # /utils/free-sized summary: Check that g_free_sized() works 996s ok 29 /utils/free-sized 996s ok 30 /utils/nullify 996s ok 31 /utils/atexit 996s ok 32 /utils/check-setuid 996s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 996s ok 33 /utils/int-limits 996s ok 34 /utils/clear-list 996s ok 35 /utils/clear-slist 996s # Start of specialdir tests 996s ok 36 /utils/specialdir/desktop 996s # End of specialdir tests 996s # Start of clear-pointer tests 996s ok 37 /utils/clear-pointer/side-effects 996s # End of clear-pointer tests 996s # Start of aligned-mem tests 996s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 996s ok 38 /utils/aligned-mem/alignment 996s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 996s ok 39 /utils/aligned-mem/zeroed 996s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 996s ok 40 /utils/aligned-mem/free-sized 996s # Start of subprocess tests 996s # End of subprocess tests 996s # End of aligned-mem tests 996s # End of utils tests 996s ok - glib/utils-c-89.test 996s # Running test: glib/spawn-test.test 996s TAP version 14 996s # random seed: R02Scf92580c91b4e1cf339cbd88f0ae10d7 996s 1..2 996s # Start of spawn tests 996s ok 1 /spawn/basics 996s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/16 996s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr open 996s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr already closed 996s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr open 996s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr already closed 996s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr open 996s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr already closed 996s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr open 996s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr already closed 996s # Fetching GSpawn result output with stdin open, stdout open, stderr open 996s # Fetching GSpawn result output with stdin open, stdout open, stderr already closed 996s # Fetching GSpawn result output with stdin open, stdout already closed, stderr open 996s # Fetching GSpawn result output with stdin open, stdout already closed, stderr already closed 996s # Fetching GSpawn result output with stdin already closed, stdout open, stderr open 996s # Fetching GSpawn result output with stdin already closed, stdout open, stderr already closed 996s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr open 996s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr already closed 996s # Fetching GSpawn result error output with stdin open, stdout open, stderr open 996s # Fetching GSpawn result error output with stdin open, stdout open, stderr already closed 996s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr open 996s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr already closed 996s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr open 996s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr already closed 996s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr open 996s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr already closed 996s # Fetching GSpawn result with stdin open, stdout open, stderr open 996s # Fetching GSpawn result with stdin open, stdout open, stderr already closed 996s # Fetching GSpawn result with stdin open, stdout already closed, stderr open 996s # Fetching GSpawn result with stdin open, stdout already closed, stderr already closed 996s # Fetching GSpawn result with stdin already closed, stdout open, stderr open 996s # Fetching GSpawn result with stdin already closed, stdout open, stderr already closed 996s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr open 996s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr already closed 996s ok 2 /spawn/stdio-overwrite 996s # End of spawn tests 996s ok - glib/spawn-test.test 996s # Running test: glib/properties-refcount1.test 996s TAP version 14 996s # random seed: R02Sb86cff59cd6a467a89b7140cd7ae56e5 996s 1..1 996s # Start of gobject tests 996s # Start of refcount tests 996s # .c 996s # .d 996s # .e 996s # .b 996s # .f 996s # .c 996s # .d 996s # .d 996s # .c 996s # .b 996s # .f 996s # .e 996s # .c 996s # .d 996s # .f 996s # .b 996s # .c 996s # .e 996s # .d 996s # .c 996s # .f 996s # .d 996s # .b 996s # .e 996s # .f 996s # .c 996s # .b 996s # .d 996s # .e 996s # .f 996s # .b 996s # .c 996s # .f 996s # .d 996s # .e 996s # .b 996s # .f 996s # .c 996s # .d 996s # .b 996s # .e 996s # .f 996s # .d 996s # .c 996s # .d 996s # .d 996s # .b 996s # .e 996s # .d 996s # .c 996s # .f 996s # .b 996s # .e 996s # .d 996s # .f 996s # .c 996s # .e 996s # .d 996s # .b 996s # .e 996s # .f 996s # .c 996s # .d 996s # .c 996s # .b 996s # .f 996s # .e 996s # .b 996s # .c 996s # .b 996s # .d 996s # .b 996s # .f 996s # .e 996s # .b 996s # .d 996s # .c 996s # .e 996s # .b 996s # .f 996s # .e 996s # .d 996s # .b 996s # .c 996s # .f 996s # .e 996s # .d 996s # .c 996s # .b 996s # .f 996s # .d 996s # .e 996s # .c 996s # .b 996s # .d 996s # .c 996s # .f 996s # .e 996s # .b 996s # .c 996s # .d 997s # .f 997s # .e 997s # .b 997s # .d 997s # .c 997s # .f 997s # .b 997s # .f 997s # .e 997s # .d 997s # .c 997s # .b 997s # .f 997s # .e 997s # .d 997s # .e 997s # .b 997s # .f 997s # .c 997s # .d 997s # .f 997s # .b 997s # .e 997s # .f 997s # .c 997s # .d 997s # .b 997s # .f 997s # .c 997s # .d 997s # .e 997s # .b 997s # .f 997s # .c 997s # .e 997s # .d 997s # .b 997s # .f 997s # .e 997s # .b 997s # .c 997s # .d 997s # .b 997s # .e 997s # .f 997s # .d 997s # .c 997s # .f 997s # .b 997s # .e 997s # .d 997s # .c 997s # .e 997s # .f 997s # .c 997s # .d 997s # .e 997s # .b 997s # .c 997s # .f 997s # .d 997s # .c 997s # .e 997s # .b 997s # .c 997s # .f 997s # .e 997s # .d 997s # .c 997s # .b 997s # .e 997s # .c 997s # .f 997s # .e 997s # .d 997s # .c 997s # .b 997s # .e 997s # .f 997s # .c 997s # .d 997s # .e 997s # .b 997s # .d 997s # .f 997s # .c 997s # .e 997s # .b 997s # .d 997s # .f 997s # .b 997s # .e 997s # .c 997s # .e 997s # .d 997s # .b 997s # .f 997s # .e 997s # .c 997s # .d 997s # .b 997s # .f 997s # .e 997s # .d 997s # .c 997s # .f 997s # .b 997s # .d 997s # .e 997s # .c 997s # .f 997s # .b 997s # .e 997s # .d 997s # .f 997s # .c 997s # .e 997s # .f 997s # .b 997s # .e 997s # .d 997s # .c 997s # .f 997s # .e 997s # .b 997s # .f 997s # .d 997s # .e 997s # .c 997s # .f 997s # .d 997s # .c 997s # .b 997s # .e 998s # .d 998s # .c 998s # .f 998s # .e 998s # .b 998s # .d 998s # .c 998s # .f 998s # .e 998s # .b 998s # .d 998s # .f 998s # .e 998s # .c 998s # .d 998s # .b 998s # .e 998s # .f 998s # .c 998s # .d 998s # .b 998s # .e 998s # .d 998s # .f 998s # .c 998s # .b 998s # .f 998s # .c 998s # .e 998s # .d 998s # .f 998s # .b 998s # .e 998s # .c 998s # .b 998s # .d 998s # .e 998s # .f 998s # .b 998s # .c 998s # .e 998s # .d 998s # .f 998s # .b 998s # .e 998s # .c 998s # .f 998s # .d 998s # .c 998s # .e 998s # .b 998s # .f 998s # .d 998s # .c 998s # .f 998s # .e 998s # .b 998s # .c 998s # .f 998s # .d 998s # .c 998s # .e 998s # .f 998s # .b 998s # .d 998s # .f 998s # .c 998s # .e 998s # .b 998s # .f 998s # .c 998s # .d 998s # .e 998s # .b 998s # .f 998s # .c 998s # .d 998s # .e 998s # .b 998s # .c 998s # .f 998s # .e 998s # .d 998s # .b 998s # .c 998s # .f 998s # .e 998s # .d 998s # .b 998s # .c 998s # .d 998s # .f 998s # .e 998s # .c 998s # .d 998s # .b 998s # .e 998s # .f 998s # .c 998s # .d 998s # .f 998s # .b 998s # .c 998s # .d 998s # .e 998s # .c 998s # .d 998s # .f 998s # .e 998s # .b 998s # .c 998s # .d 998s # .f 998s # .b 998s # .e 998s # .c 998s # .d 998s # .c 998s # .f 998s # .e 998s # .d 998s # .b 998s # .c 998s # .f 998s # .d 998s # .e 998s # .b 998s # .c 998s # .d 998s # .f 998s # .e 998s # .d 998s # .b 998s # .c 998s # .f 998s # .b 998s # .f 998s # .d 998s # .e 998s # .c 999s # .b 999s # .f 999s # .d 999s # .e 999s # .c 999s # .b 999s # .f 999s # .d 999s # .e 999s # .b 999s # .c 999s # .f 999s # .d 999s # .e 999s # .b 999s # .c 999s # .d 999s # .f 999s # .e 999s # .c 999s # .b 999s # .d 999s # .e 999s # .c 999s # .f 999s # Executing: glib/properties-refcount1.test 999s # .b 999s # .d 999s # .e 999s # .d 999s # .c 999s # .f 999s # .b 999s ok 1 /gobject/refcount/properties-1 999s # slow test /gobject/refcount/properties-1 executed in 3.00 secs 999s # End of refcount tests 999s # End of gobject tests 999s ok - glib/properties-refcount1.test 999s # Running test: glib/markup-escape.test 999s TAP version 14 999s # random seed: R02Se922161d81027ae36b72cff49a1f325e 999s 1..41 999s # Start of markup tests 999s ok 1 /markup/format 999s # Start of escape-text tests 999s ok 2 /markup/escape-text/0 999s ok 3 /markup/escape-text/1 999s ok 4 /markup/escape-text/2 999s ok 5 /markup/escape-text/3 999s ok 6 /markup/escape-text/4 999s ok 7 /markup/escape-text/5 999s ok 8 /markup/escape-text/6 999s ok 9 /markup/escape-text/7 999s ok 10 /markup/escape-text/8 999s ok 11 /markup/escape-text/9 999s ok 12 /markup/escape-text/10 999s ok 13 /markup/escape-text/11 999s ok 14 /markup/escape-text/12 999s ok 15 /markup/escape-text/13 999s ok 16 /markup/escape-text/14 999s ok 17 /markup/escape-text/15 999s ok 18 /markup/escape-text/16 999s ok 19 /markup/escape-text/17 999s ok 20 /markup/escape-text/18 999s ok 21 /markup/escape-text/19 999s ok 22 /markup/escape-text/20 999s ok 23 /markup/escape-text/21 999s ok 24 /markup/escape-text/22 999s # End of escape-text tests 999s # Start of escape-unichar tests 999s ok 25 /markup/escape-unichar/0 999s ok 26 /markup/escape-unichar/1 999s ok 27 /markup/escape-unichar/2 999s ok 28 /markup/escape-unichar/3 999s ok 29 /markup/escape-unichar/4 999s ok 30 /markup/escape-unichar/5 999s ok 31 /markup/escape-unichar/6 999s ok 32 /markup/escape-unichar/7 999s ok 33 /markup/escape-unichar/8 999s ok 34 /markup/escape-unichar/9 999s ok 35 /markup/escape-unichar/10 999s ok 36 /markup/escape-unichar/11 999s ok 37 /markup/escape-unichar/12 999s ok 38 /markup/escape-unichar/13 999s ok 39 /markup/escape-unichar/14 999s ok 40 /markup/escape-unichar/15 999s ok 41 /markup/escape-unichar/16 999s # End of escape-unichar tests 999s # End of markup tests 999s ok - glib/markup-escape.test 999s # Running test: glib/flags.test 999s TAP version 14 999s # random seed: R02S0178adb76ba34c65b274030014ee75fc 999s 1..1 999s # Start of gobject tests 999s # Start of flags tests 999s ok 1 /gobject/flags/validate 999s # End of flags tests 999s # End of gobject tests 999s ok - glib/flags.test 999s # Running test: glib/debugcontroller.test 999s TAP version 14 999s # random seed: R02S20e92bc0e8aecaeb402233c893d3b0de 999s 1..3 999s # Start of debug-controller tests 999s # Start of dbus tests 999s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus. 999s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 999s # GLib-GIO-DEBUG: Debug output enabled 999s # GLib-GIO-DEBUG: Debug output disabled 999s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 999s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 999s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 999s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 999s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 999s ok 1 /debug-controller/dbus/basic 999s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails. 999s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 999s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 999s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 999s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 999s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 999s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 999s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 999s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 999s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 999s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 999s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 999s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 999s ok 2 /debug-controller/dbus/duplicate 999s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus. 999s ok 3 /debug-controller/dbus/properties # SKIP https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2486#note_1384102 999s # End of dbus tests 999s # End of debug-controller tests 999s ok - glib/debugcontroller.test 999s # Running test: glib/type.test 999s TAP version 14 999s # random seed: R02S34796f533ef7058d2dfa14d296d0b172 999s 1..6 999s # Start of type tests 999s ok 1 /type/registration-serial 999s ok 2 /type/interface-prerequisite 999s ok 3 /type/interface-check 999s ok 4 /type/next-base 999s ok 5 /type/is-a 999s # Invalid types can?t be queried. 999s # Unclassed types can?t be queried. 999s ok 6 /type/query 999s # End of type tests 999s ok - glib/type.test 999s # Running test: glib/include.test 999s TAP version 14 999s # random seed: R02S5b333241c8c3e035d0351b63fddf5143 999s 1..1 999s # Start of include tests 999s ok 1 /include/rwlock 999s # End of include tests 999s ok - glib/include.test 999s # Running test: glib/credentials.test 999s TAP version 14 999s # random seed: R02S1e810f5d368208f3b9340fafbf732c1b 999s 1..1 999s # Start of credentials tests 999s # GCredentials:linux-ucred:pid=9637,uid=1000,gid=1000 999s # GCredentials:linux-ucred:pid=9637,uid=0,gid=1000 999s ok 1 /credentials/basic 999s # End of credentials tests 999s ok - glib/credentials.test 999s # Running test: glib/resources.test 999s TAP version 14 999s # random seed: R02S28c3791b26b3ff344d8040eeb72e5988 999s 1..17 999s # Start of resource tests 999s ok 1 /resource/file 999s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 999s ok 2 /resource/file-path 999s ok 3 /resource/data 999s ok 4 /resource/data_unaligned 999s ok 5 /resource/data-corrupt 999s ok 6 /resource/data-empty 999s ok 7 /resource/registered 999s ok 8 /resource/manual 999s ok 9 /resource/manual2 999s ok 10 /resource/automatic 999s ok 11 /resource/module 999s ok 12 /resource/binary-linked 999s ok 13 /resource/64k 999s GLib-GIO-Message: 17:18:44.240: Adding GResources overlay '/auto_loaded/test1.txt=/usr/libexec/installed-tests/glib/test1.overlay' 999s ok 14 /resource/overlay 999s ok 15 /resource/digits 999s # Start of uri tests 999s ok 16 /resource/uri/query-info 999s ok 17 /resource/uri/file 999s # End of uri tests 999s # End of resource tests 999s ok - glib/resources.test 999s # Running test: glib/properties.test 999s TAP version 14 999s # random seed: R02S99a773fea2ed75bcd7366734093edafc 999s 1..13 999s # Start of properties tests 999s ok 1 /properties/install 999s ok 2 /properties/install-many 999s ok 3 /properties/notify 999s ok 4 /properties/notify-queue 999s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=630357 999s ok 5 /properties/construct 999s # /properties/get-property summary: g_object_get_property() accepts uninitialized, initialized, and transformable values 999s # Test g_object_get_property with an initialized value 999s # Test g_object_get_property with an uninitialized value 999s # Test g_object_get_property with a transformable value 999s ok 6 /properties/get-property 999s ok 7 /properties/testv_with_no_properties 999s ok 8 /properties/testv_with_valid_properties 999s ok 9 /properties/testv_with_invalid_property_type 999s ok 10 /properties/testv_with_invalid_property_names 999s ok 11 /properties/testv_getv 999s ok 12 /properties/testv_notify_queue 999s # Start of set-property tests 999s # Start of variant tests 999s # /properties/set-property/variant/floating summary: Test that setting a property to a floating variant consumes the reference 999s ok 13 /properties/set-property/variant/floating 999s # End of variant tests 999s # End of set-property tests 999s # End of properties tests 999s ok - glib/properties.test 999s # Running test: glib/simple-proxy.test 999s TAP version 14 999s # random seed: R02S3ecfb53830af5ae16f8ff47c8c9967de 999s 1..3 999s # Start of static-proxy tests 999s ok 1 /static-proxy/uri 999s ok 2 /static-proxy/socks 999s ok 3 /static-proxy/ignore 999s # End of static-proxy tests 999s ok - glib/simple-proxy.test 999s # Running test: glib/references.test 999s TAP version 14 999s # random seed: R02Se45a975cc72811a4ad4b9a2738f881e5 999s 1..1 999s # Start of gobject tests 999s ok 1 /gobject/references 999s # End of gobject tests 999s ok - glib/references.test 999s # Running test: glib/closure.test 999s TAP version 14 999s # random seed: R02S405a8600ccf9308ce41843a276b6e02a 999s 1..6 999s # Start of closure tests 999s ok 1 /closure/idle 999s ok 2 /closure/timeout 999s ok 3 /closure/iochannel 999s ok 4 /closure/child 999s ok 5 /closure/fd 999s ok 6 /closure/signal 999s # End of closure tests 999s ok - glib/closure.test 999s # Running test: glib/checksum.test 999s TAP version 14 999s # random seed: R02S5a05a5bb20076a68653ff34c67ae2ab5 999s 1..1851 999s # Start of checksum tests 999s ok 1 /checksum/unsupported 999s # Start of MD5 tests 999s ok 2 /checksum/MD5/0 999s ok 3 /checksum/MD5/1 999s ok 4 /checksum/MD5/2 999s ok 5 /checksum/MD5/3 999s ok 6 /checksum/MD5/4 999s ok 7 /checksum/MD5/5 999s ok 8 /checksum/MD5/6 999s ok 9 /checksum/MD5/7 999s ok 10 /checksum/MD5/8 999s ok 11 /checksum/MD5/9 999s ok 12 /checksum/MD5/10 999s ok 13 /checksum/MD5/11 999s ok 14 /checksum/MD5/12 999s ok 15 /checksum/MD5/13 999s ok 16 /checksum/MD5/14 999s ok 17 /checksum/MD5/15 999s ok 18 /checksum/MD5/16 999s ok 19 /checksum/MD5/17 999s ok 20 /checksum/MD5/18 999s ok 21 /checksum/MD5/19 999s ok 22 /checksum/MD5/20 999s ok 23 /checksum/MD5/21 999s ok 24 /checksum/MD5/22 999s ok 25 /checksum/MD5/23 999s ok 26 /checksum/MD5/24 999s ok 27 /checksum/MD5/25 999s ok 28 /checksum/MD5/26 999s ok 29 /checksum/MD5/27 999s ok 30 /checksum/MD5/28 999s ok 31 /checksum/MD5/29 999s ok 32 /checksum/MD5/30 999s ok 33 /checksum/MD5/31 999s ok 34 /checksum/MD5/32 999s ok 35 /checksum/MD5/33 999s ok 36 /checksum/MD5/34 999s ok 37 /checksum/MD5/35 999s ok 38 /checksum/MD5/36 999s ok 39 /checksum/MD5/37 999s ok 40 /checksum/MD5/38 999s ok 41 /checksum/MD5/39 999s ok 42 /checksum/MD5/40 999s ok 43 /checksum/MD5/41 999s ok 44 /checksum/MD5/42 999s ok 45 /checksum/MD5/43 999s ok 46 /checksum/MD5/44 999s ok 47 /checksum/MD5/45 999s ok 48 /checksum/MD5/46 999s ok 49 /checksum/MD5/47 999s ok 50 /checksum/MD5/48 999s ok 51 /checksum/MD5/49 999s ok 52 /checksum/MD5/50 999s ok 53 /checksum/MD5/51 999s ok 54 /checksum/MD5/52 999s ok 55 /checksum/MD5/53 999s ok 56 /checksum/MD5/54 999s ok 57 /checksum/MD5/55 999s ok 58 /checksum/MD5/56 999s ok 59 /checksum/MD5/57 999s ok 60 /checksum/MD5/58 999s ok 61 /checksum/MD5/59 999s ok 62 /checksum/MD5/60 999s ok 63 /checksum/MD5/61 999s ok 64 /checksum/MD5/62 999s ok 65 /checksum/MD5/63 999s ok 66 /checksum/MD5/64 999s ok 67 /checksum/MD5/65 999s ok 68 /checksum/MD5/66 999s ok 69 /checksum/MD5/67 999s ok 70 /checksum/MD5/68 999s ok 71 /checksum/MD5/69 999s ok 72 /checksum/MD5/70 999s ok 73 /checksum/MD5/71 999s ok 74 /checksum/MD5/72 999s ok 75 /checksum/MD5/73 999s ok 76 /checksum/MD5/74 999s ok 77 /checksum/MD5/75 999s ok 78 /checksum/MD5/76 999s ok 79 /checksum/MD5/77 999s ok 80 /checksum/MD5/78 999s ok 81 /checksum/MD5/79 999s ok 82 /checksum/MD5/80 999s ok 83 /checksum/MD5/81 999s ok 84 /checksum/MD5/82 999s ok 85 /checksum/MD5/83 999s ok 86 /checksum/MD5/84 999s ok 87 /checksum/MD5/85 999s ok 88 /checksum/MD5/86 999s ok 89 /checksum/MD5/87 999s ok 90 /checksum/MD5/88 999s ok 91 /checksum/MD5/89 999s ok 92 /checksum/MD5/90 999s ok 93 /checksum/MD5/91 999s ok 94 /checksum/MD5/92 999s ok 95 /checksum/MD5/93 999s ok 96 /checksum/MD5/94 999s ok 97 /checksum/MD5/95 999s ok 98 /checksum/MD5/96 999s ok 99 /checksum/MD5/97 999s ok 100 /checksum/MD5/98 999s ok 101 /checksum/MD5/99 999s ok 102 /checksum/MD5/100 999s ok 103 /checksum/MD5/101 999s ok 104 /checksum/MD5/102 999s ok 105 /checksum/MD5/103 999s ok 106 /checksum/MD5/104 999s ok 107 /checksum/MD5/105 999s ok 108 /checksum/MD5/106 999s ok 109 /checksum/MD5/107 999s ok 110 /checksum/MD5/108 999s ok 111 /checksum/MD5/109 999s ok 112 /checksum/MD5/110 999s ok 113 /checksum/MD5/111 999s ok 114 /checksum/MD5/112 999s ok 115 /checksum/MD5/113 999s ok 116 /checksum/MD5/114 999s ok 117 /checksum/MD5/115 999s ok 118 /checksum/MD5/116 999s ok 119 /checksum/MD5/117 999s ok 120 /checksum/MD5/118 999s ok 121 /checksum/MD5/119 999s ok 122 /checksum/MD5/120 999s ok 123 /checksum/MD5/121 999s ok 124 /checksum/MD5/122 999s ok 125 /checksum/MD5/123 999s ok 126 /checksum/MD5/124 999s ok 127 /checksum/MD5/125 999s ok 128 /checksum/MD5/126 999s ok 129 /checksum/MD5/127 999s ok 130 /checksum/MD5/128 999s ok 131 /checksum/MD5/129 999s ok 132 /checksum/MD5/130 999s ok 133 /checksum/MD5/131 999s ok 134 /checksum/MD5/132 999s ok 135 /checksum/MD5/133 999s ok 136 /checksum/MD5/134 999s ok 137 /checksum/MD5/135 999s ok 138 /checksum/MD5/136 999s ok 139 /checksum/MD5/137 999s ok 140 /checksum/MD5/138 999s ok 141 /checksum/MD5/139 999s ok 142 /checksum/MD5/140 999s ok 143 /checksum/MD5/141 999s ok 144 /checksum/MD5/142 999s ok 145 /checksum/MD5/143 999s ok 146 /checksum/MD5/144 999s ok 147 /checksum/MD5/145 999s ok 148 /checksum/MD5/146 999s ok 149 /checksum/MD5/147 999s ok 150 /checksum/MD5/148 999s ok 151 /checksum/MD5/149 999s ok 152 /checksum/MD5/150 999s ok 153 /checksum/MD5/151 999s ok 154 /checksum/MD5/152 999s ok 155 /checksum/MD5/153 999s ok 156 /checksum/MD5/154 999s ok 157 /checksum/MD5/155 999s ok 158 /checksum/MD5/156 999s ok 159 /checksum/MD5/157 999s ok 160 /checksum/MD5/158 999s ok 161 /checksum/MD5/159 999s ok 162 /checksum/MD5/160 999s ok 163 /checksum/MD5/161 999s ok 164 /checksum/MD5/162 999s ok 165 /checksum/MD5/163 999s ok 166 /checksum/MD5/164 999s ok 167 /checksum/MD5/165 999s ok 168 /checksum/MD5/166 999s ok 169 /checksum/MD5/167 999s ok 170 /checksum/MD5/168 999s ok 171 /checksum/MD5/169 999s ok 172 /checksum/MD5/170 999s ok 173 /checksum/MD5/171 999s ok 174 /checksum/MD5/172 999s ok 175 /checksum/MD5/173 999s ok 176 /checksum/MD5/174 999s ok 177 /checksum/MD5/175 999s ok 178 /checksum/MD5/176 999s ok 179 /checksum/MD5/177 999s ok 180 /checksum/MD5/178 999s ok 181 /checksum/MD5/179 999s ok 182 /checksum/MD5/180 999s ok 183 /checksum/MD5/181 999s ok 184 /checksum/MD5/182 999s ok 185 /checksum/MD5/183 999s ok 186 /checksum/MD5/string 999s ok 187 /checksum/MD5/bytes 999s # Start of reset tests 999s ok 188 /checksum/MD5/reset/0 999s ok 189 /checksum/MD5/reset/1 999s ok 190 /checksum/MD5/reset/2 999s ok 191 /checksum/MD5/reset/3 999s ok 192 /checksum/MD5/reset/4 999s ok 193 /checksum/MD5/reset/5 999s ok 194 /checksum/MD5/reset/6 999s ok 195 /checksum/MD5/reset/7 999s ok 196 /checksum/MD5/reset/8 999s ok 197 /checksum/MD5/reset/9 999s ok 198 /checksum/MD5/reset/10 999s ok 199 /checksum/MD5/reset/11 999s ok 200 /checksum/MD5/reset/12 999s ok 201 /checksum/MD5/reset/13 999s ok 202 /checksum/MD5/reset/14 999s ok 203 /checksum/MD5/reset/15 999s ok 204 /checksum/MD5/reset/16 999s ok 205 /checksum/MD5/reset/17 999s ok 206 /checksum/MD5/reset/18 999s ok 207 /checksum/MD5/reset/19 999s ok 208 /checksum/MD5/reset/20 999s ok 209 /checksum/MD5/reset/21 999s ok 210 /checksum/MD5/reset/22 999s ok 211 /checksum/MD5/reset/23 999s ok 212 /checksum/MD5/reset/24 999s ok 213 /checksum/MD5/reset/25 999s ok 214 /checksum/MD5/reset/26 999s ok 215 /checksum/MD5/reset/27 999s ok 216 /checksum/MD5/reset/28 999s ok 217 /checksum/MD5/reset/29 999s ok 218 /checksum/MD5/reset/30 999s ok 219 /checksum/MD5/reset/31 999s ok 220 /checksum/MD5/reset/32 999s ok 221 /checksum/MD5/reset/33 999s ok 222 /checksum/MD5/reset/34 999s ok 223 /checksum/MD5/reset/35 999s ok 224 /checksum/MD5/reset/36 999s ok 225 /checksum/MD5/reset/37 999s ok 226 /checksum/MD5/reset/38 999s ok 227 /checksum/MD5/reset/39 999s ok 228 /checksum/MD5/reset/40 999s ok 229 /checksum/MD5/reset/41 999s ok 230 /checksum/MD5/reset/42 999s ok 231 /checksum/MD5/reset/43 999s ok 232 /checksum/MD5/reset/44 999s ok 233 /checksum/MD5/reset/45 999s ok 234 /checksum/MD5/reset/46 999s ok 235 /checksum/MD5/reset/47 999s ok 236 /checksum/MD5/reset/48 999s ok 237 /checksum/MD5/reset/49 999s ok 238 /checksum/MD5/reset/50 999s ok 239 /checksum/MD5/reset/51 999s ok 240 /checksum/MD5/reset/52 999s ok 241 /checksum/MD5/reset/53 999s ok 242 /checksum/MD5/reset/54 999s ok 243 /checksum/MD5/reset/55 999s ok 244 /checksum/MD5/reset/56 999s ok 245 /checksum/MD5/reset/57 999s ok 246 /checksum/MD5/reset/58 999s ok 247 /checksum/MD5/reset/59 999s ok 248 /checksum/MD5/reset/60 999s ok 249 /checksum/MD5/reset/61 999s ok 250 /checksum/MD5/reset/62 999s ok 251 /checksum/MD5/reset/63 999s ok 252 /checksum/MD5/reset/64 999s ok 253 /checksum/MD5/reset/65 999s ok 254 /checksum/MD5/reset/66 999s ok 255 /checksum/MD5/reset/67 999s ok 256 /checksum/MD5/reset/68 999s ok 257 /checksum/MD5/reset/69 999s ok 258 /checksum/MD5/reset/70 999s ok 259 /checksum/MD5/reset/71 999s ok 260 /checksum/MD5/reset/72 999s ok 261 /checksum/MD5/reset/73 999s ok 262 /checksum/MD5/reset/74 999s ok 263 /checksum/MD5/reset/75 999s ok 264 /checksum/MD5/reset/76 999s ok 265 /checksum/MD5/reset/77 999s ok 266 /checksum/MD5/reset/78 999s ok 267 /checksum/MD5/reset/79 999s ok 268 /checksum/MD5/reset/80 999s ok 269 /checksum/MD5/reset/81 999s ok 270 /checksum/MD5/reset/82 999s ok 271 /checksum/MD5/reset/83 999s ok 272 /checksum/MD5/reset/84 999s ok 273 /checksum/MD5/reset/85 999s ok 274 /checksum/MD5/reset/86 999s ok 275 /checksum/MD5/reset/87 999s ok 276 /checksum/MD5/reset/88 999s ok 277 /checksum/MD5/reset/89 999s ok 278 /checksum/MD5/reset/90 999s ok 279 /checksum/MD5/reset/91 999s ok 280 /checksum/MD5/reset/92 999s ok 281 /checksum/MD5/reset/93 999s ok 282 /checksum/MD5/reset/94 999s ok 283 /checksum/MD5/reset/95 999s ok 284 /checksum/MD5/reset/96 999s ok 285 /checksum/MD5/reset/97 999s ok 286 /checksum/MD5/reset/98 999s ok 287 /checksum/MD5/reset/99 999s ok 288 /checksum/MD5/reset/100 999s ok 289 /checksum/MD5/reset/101 999s ok 290 /checksum/MD5/reset/102 999s ok 291 /checksum/MD5/reset/103 999s ok 292 /checksum/MD5/reset/104 999s ok 293 /checksum/MD5/reset/105 999s ok 294 /checksum/MD5/reset/106 999s ok 295 /checksum/MD5/reset/107 999s ok 296 /checksum/MD5/reset/108 999s ok 297 /checksum/MD5/reset/109 999s ok 298 /checksum/MD5/reset/110 999s ok 299 /checksum/MD5/reset/111 999s ok 300 /checksum/MD5/reset/112 999s ok 301 /checksum/MD5/reset/113 999s ok 302 /checksum/MD5/reset/114 999s ok 303 /checksum/MD5/reset/115 999s ok 304 /checksum/MD5/reset/116 999s ok 305 /checksum/MD5/reset/117 999s ok 306 /checksum/MD5/reset/118 999s ok 307 /checksum/MD5/reset/119 999s ok 308 /checksum/MD5/reset/120 999s ok 309 /checksum/MD5/reset/121 999s ok 310 /checksum/MD5/reset/122 999s ok 311 /checksum/MD5/reset/123 999s ok 312 /checksum/MD5/reset/124 999s ok 313 /checksum/MD5/reset/125 999s ok 314 /checksum/MD5/reset/126 999s ok 315 /checksum/MD5/reset/127 999s ok 316 /checksum/MD5/reset/128 999s ok 317 /checksum/MD5/reset/129 999s ok 318 /checksum/MD5/reset/130 999s ok 319 /checksum/MD5/reset/131 999s ok 320 /checksum/MD5/reset/132 999s ok 321 /checksum/MD5/reset/133 999s ok 322 /checksum/MD5/reset/134 999s ok 323 /checksum/MD5/reset/135 999s ok 324 /checksum/MD5/reset/136 999s ok 325 /checksum/MD5/reset/137 999s ok 326 /checksum/MD5/reset/138 999s ok 327 /checksum/MD5/reset/139 999s ok 328 /checksum/MD5/reset/140 999s ok 329 /checksum/MD5/reset/141 999s ok 330 /checksum/MD5/reset/142 999s ok 331 /checksum/MD5/reset/143 999s ok 332 /checksum/MD5/reset/144 999s ok 333 /checksum/MD5/reset/145 999s ok 334 /checksum/MD5/reset/146 999s ok 335 /checksum/MD5/reset/147 999s ok 336 /checksum/MD5/reset/148 999s ok 337 /checksum/MD5/reset/149 999s ok 338 /checksum/MD5/reset/150 999s ok 339 /checksum/MD5/reset/151 999s ok 340 /checksum/MD5/reset/152 999s ok 341 /checksum/MD5/reset/153 999s ok 342 /checksum/MD5/reset/154 999s ok 343 /checksum/MD5/reset/155 999s ok 344 /checksum/MD5/reset/156 999s ok 345 /checksum/MD5/reset/157 999s ok 346 /checksum/MD5/reset/158 999s ok 347 /checksum/MD5/reset/159 999s ok 348 /checksum/MD5/reset/160 999s ok 349 /checksum/MD5/reset/161 999s ok 350 /checksum/MD5/reset/162 999s ok 351 /checksum/MD5/reset/163 999s ok 352 /checksum/MD5/reset/164 999s ok 353 /checksum/MD5/reset/165 999s ok 354 /checksum/MD5/reset/166 999s ok 355 /checksum/MD5/reset/167 999s ok 356 /checksum/MD5/reset/168 999s ok 357 /checksum/MD5/reset/169 999s ok 358 /checksum/MD5/reset/170 999s ok 359 /checksum/MD5/reset/171 999s ok 360 /checksum/MD5/reset/172 999s ok 361 /checksum/MD5/reset/173 999s ok 362 /checksum/MD5/reset/174 999s ok 363 /checksum/MD5/reset/175 999s ok 364 /checksum/MD5/reset/176 999s ok 365 /checksum/MD5/reset/177 999s ok 366 /checksum/MD5/reset/178 999s ok 367 /checksum/MD5/reset/179 999s ok 368 /checksum/MD5/reset/180 999s ok 369 /checksum/MD5/reset/181 999s ok 370 /checksum/MD5/reset/182 999s ok 371 /checksum/MD5/reset/183 999s # End of reset tests 999s # End of MD5 tests 999s # Start of SHA1 tests 999s ok 372 /checksum/SHA1/0 999s ok 373 /checksum/SHA1/1 999s ok 374 /checksum/SHA1/2 999s ok 375 /checksum/SHA1/3 999s ok 376 /checksum/SHA1/4 999s ok 377 /checksum/SHA1/5 999s ok 378 /checksum/SHA1/6 999s ok 379 /checksum/SHA1/7 999s ok 380 /checksum/SHA1/8 999s ok 381 /checksum/SHA1/9 999s ok 382 /checksum/SHA1/10 999s ok 383 /checksum/SHA1/11 999s ok 384 /checksum/SHA1/12 999s ok 385 /checksum/SHA1/13 999s ok 386 /checksum/SHA1/14 999s ok 387 /checksum/SHA1/15 999s ok 388 /checksum/SHA1/16 999s ok 389 /checksum/SHA1/17 999s ok 390 /checksum/SHA1/18 999s ok 391 /checksum/SHA1/19 999s ok 392 /checksum/SHA1/20 999s ok 393 /checksum/SHA1/21 999s ok 394 /checksum/SHA1/22 999s ok 395 /checksum/SHA1/23 999s ok 396 /checksum/SHA1/24 999s ok 397 /checksum/SHA1/25 999s ok 398 /checksum/SHA1/26 999s ok 399 /checksum/SHA1/27 999s ok 400 /checksum/SHA1/28 999s ok 401 /checksum/SHA1/29 999s ok 402 /checksum/SHA1/30 999s ok 403 /checksum/SHA1/31 999s ok 404 /checksum/SHA1/32 999s ok 405 /checksum/SHA1/33 999s ok 406 /checksum/SHA1/34 999s ok 407 /checksum/SHA1/35 999s ok 408 /checksum/SHA1/36 999s ok 409 /checksum/SHA1/37 999s ok 410 /checksum/SHA1/38 999s ok 411 /checksum/SHA1/39 999s ok 412 /checksum/SHA1/40 999s ok 413 /checksum/SHA1/41 999s ok 414 /checksum/SHA1/42 999s ok 415 /checksum/SHA1/43 999s ok 416 /checksum/SHA1/44 999s ok 417 /checksum/SHA1/45 999s ok 418 /checksum/SHA1/46 999s ok 419 /checksum/SHA1/47 999s ok 420 /checksum/SHA1/48 999s ok 421 /checksum/SHA1/49 999s ok 422 /checksum/SHA1/50 999s ok 423 /checksum/SHA1/51 999s ok 424 /checksum/SHA1/52 999s ok 425 /checksum/SHA1/53 999s ok 426 /checksum/SHA1/54 999s ok 427 /checksum/SHA1/55 999s ok 428 /checksum/SHA1/56 999s ok 429 /checksum/SHA1/57 999s ok 430 /checksum/SHA1/58 999s ok 431 /checksum/SHA1/59 999s ok 432 /checksum/SHA1/60 999s ok 433 /checksum/SHA1/61 999s ok 434 /checksum/SHA1/62 999s ok 435 /checksum/SHA1/63 999s ok 436 /checksum/SHA1/64 999s ok 437 /checksum/SHA1/65 999s ok 438 /checksum/SHA1/66 999s ok 439 /checksum/SHA1/67 999s ok 440 /checksum/SHA1/68 999s ok 441 /checksum/SHA1/69 999s ok 442 /checksum/SHA1/70 999s ok 443 /checksum/SHA1/71 999s ok 444 /checksum/SHA1/72 999s ok 445 /checksum/SHA1/73 999s ok 446 /checksum/SHA1/74 999s ok 447 /checksum/SHA1/75 999s ok 448 /checksum/SHA1/76 999s ok 449 /checksum/SHA1/77 999s ok 450 /checksum/SHA1/78 999s ok 451 /checksum/SHA1/79 999s ok 452 /checksum/SHA1/80 999s ok 453 /checksum/SHA1/81 999s ok 454 /checksum/SHA1/82 999s ok 455 /checksum/SHA1/83 999s ok 456 /checksum/SHA1/84 999s ok 457 /checksum/SHA1/85 999s ok 458 /checksum/SHA1/86 999s ok 459 /checksum/SHA1/87 999s ok 460 /checksum/SHA1/88 999s ok 461 /checksum/SHA1/89 999s ok 462 /checksum/SHA1/90 999s ok 463 /checksum/SHA1/91 999s ok 464 /checksum/SHA1/92 999s ok 465 /checksum/SHA1/93 999s ok 466 /checksum/SHA1/94 999s ok 467 /checksum/SHA1/95 999s ok 468 /checksum/SHA1/96 999s ok 469 /checksum/SHA1/97 999s ok 470 /checksum/SHA1/98 999s ok 471 /checksum/SHA1/99 999s ok 472 /checksum/SHA1/100 999s ok 473 /checksum/SHA1/101 999s ok 474 /checksum/SHA1/102 999s ok 475 /checksum/SHA1/103 999s ok 476 /checksum/SHA1/104 999s ok 477 /checksum/SHA1/105 999s ok 478 /checksum/SHA1/106 999s ok 479 /checksum/SHA1/107 999s ok 480 /checksum/SHA1/108 999s ok 481 /checksum/SHA1/109 999s ok 482 /checksum/SHA1/110 999s ok 483 /checksum/SHA1/111 999s ok 484 /checksum/SHA1/112 999s ok 485 /checksum/SHA1/113 999s ok 486 /checksum/SHA1/114 999s ok 487 /checksum/SHA1/115 999s ok 488 /checksum/SHA1/116 999s ok 489 /checksum/SHA1/117 999s ok 490 /checksum/SHA1/118 999s ok 491 /checksum/SHA1/119 999s ok 492 /checksum/SHA1/120 999s ok 493 /checksum/SHA1/121 999s ok 494 /checksum/SHA1/122 999s ok 495 /checksum/SHA1/123 999s ok 496 /checksum/SHA1/124 999s ok 497 /checksum/SHA1/125 999s ok 498 /checksum/SHA1/126 999s ok 499 /checksum/SHA1/127 999s ok 500 /checksum/SHA1/128 999s ok 501 /checksum/SHA1/129 999s ok 502 /checksum/SHA1/130 999s ok 503 /checksum/SHA1/131 999s ok 504 /checksum/SHA1/132 999s ok 505 /checksum/SHA1/133 999s ok 506 /checksum/SHA1/134 999s ok 507 /checksum/SHA1/135 999s ok 508 /checksum/SHA1/136 999s ok 509 /checksum/SHA1/137 999s ok 510 /checksum/SHA1/138 999s ok 511 /checksum/SHA1/139 999s ok 512 /checksum/SHA1/140 999s ok 513 /checksum/SHA1/141 999s ok 514 /checksum/SHA1/142 999s ok 515 /checksum/SHA1/143 999s ok 516 /checksum/SHA1/144 999s ok 517 /checksum/SHA1/145 999s ok 518 /checksum/SHA1/146 999s ok 519 /checksum/SHA1/147 999s ok 520 /checksum/SHA1/148 999s ok 521 /checksum/SHA1/149 999s ok 522 /checksum/SHA1/150 999s ok 523 /checksum/SHA1/151 999s ok 524 /checksum/SHA1/152 999s ok 525 /checksum/SHA1/153 999s ok 526 /checksum/SHA1/154 999s ok 527 /checksum/SHA1/155 999s ok 528 /checksum/SHA1/156 999s ok 529 /checksum/SHA1/157 999s ok 530 /checksum/SHA1/158 999s ok 531 /checksum/SHA1/159 999s ok 532 /checksum/SHA1/160 999s ok 533 /checksum/SHA1/161 999s ok 534 /checksum/SHA1/162 999s ok 535 /checksum/SHA1/163 999s ok 536 /checksum/SHA1/164 999s ok 537 /checksum/SHA1/165 999s ok 538 /checksum/SHA1/166 999s ok 539 /checksum/SHA1/167 999s ok 540 /checksum/SHA1/168 999s ok 541 /checksum/SHA1/169 999s ok 542 /checksum/SHA1/170 999s ok 543 /checksum/SHA1/171 999s ok 544 /checksum/SHA1/172 999s ok 545 /checksum/SHA1/173 999s ok 546 /checksum/SHA1/174 999s ok 547 /checksum/SHA1/175 999s ok 548 /checksum/SHA1/176 999s ok 549 /checksum/SHA1/177 999s ok 550 /checksum/SHA1/178 999s ok 551 /checksum/SHA1/179 999s ok 552 /checksum/SHA1/180 999s ok 553 /checksum/SHA1/181 999s ok 554 /checksum/SHA1/182 999s ok 555 /checksum/SHA1/183 999s ok 556 /checksum/SHA1/string 999s ok 557 /checksum/SHA1/bytes 999s # Start of reset tests 999s ok 558 /checksum/SHA1/reset/0 999s ok 559 /checksum/SHA1/reset/1 999s ok 560 /checksum/SHA1/reset/2 999s ok 561 /checksum/SHA1/reset/3 999s ok 562 /checksum/SHA1/reset/4 999s ok 563 /checksum/SHA1/reset/5 999s ok 564 /checksum/SHA1/reset/6 999s ok 565 /checksum/SHA1/reset/7 999s ok 566 /checksum/SHA1/reset/8 999s ok 567 /checksum/SHA1/reset/9 999s ok 568 /checksum/SHA1/reset/10 999s ok 569 /checksum/SHA1/reset/11 999s ok 570 /checksum/SHA1/reset/12 999s ok 571 /checksum/SHA1/reset/13 999s ok 572 /checksum/SHA1/reset/14 999s ok 573 /checksum/SHA1/reset/15 999s ok 574 /checksum/SHA1/reset/16 999s ok 575 /checksum/SHA1/reset/17 999s ok 576 /checksum/SHA1/reset/18 999s ok 577 /checksum/SHA1/reset/19 999s ok 578 /checksum/SHA1/reset/20 999s ok 579 /checksum/SHA1/reset/21 999s ok 580 /checksum/SHA1/reset/22 999s ok 581 /checksum/SHA1/reset/23 999s ok 582 /checksum/SHA1/reset/24 999s ok 583 /checksum/SHA1/reset/25 999s ok 584 /checksum/SHA1/reset/26 999s ok 585 /checksum/SHA1/reset/27 999s ok 586 /checksum/SHA1/reset/28 999s ok 587 /checksum/SHA1/reset/29 999s ok 588 /checksum/SHA1/reset/30 999s ok 589 /checksum/SHA1/reset/31 999s ok 590 /checksum/SHA1/reset/32 999s ok 591 /checksum/SHA1/reset/33 999s ok 592 /checksum/SHA1/reset/34 999s ok 593 /checksum/SHA1/reset/35 999s ok 594 /checksum/SHA1/reset/36 999s ok 595 /checksum/SHA1/reset/37 999s ok 596 /checksum/SHA1/reset/38 999s ok 597 /checksum/SHA1/reset/39 999s ok 598 /checksum/SHA1/reset/40 999s ok 599 /checksum/SHA1/reset/41 999s ok 600 /checksum/SHA1/reset/42 999s ok 601 /checksum/SHA1/reset/43 999s ok 602 /checksum/SHA1/reset/44 999s ok 603 /checksum/SHA1/reset/45 999s ok 604 /checksum/SHA1/reset/46 999s ok 605 /checksum/SHA1/reset/47 999s ok 606 /checksum/SHA1/reset/48 999s ok 607 /checksum/SHA1/reset/49 999s ok 608 /checksum/SHA1/reset/50 999s ok 609 /checksum/SHA1/reset/51 999s ok 610 /checksum/SHA1/reset/52 999s ok 611 /checksum/SHA1/reset/53 999s ok 612 /checksum/SHA1/reset/54 999s ok 613 /checksum/SHA1/reset/55 999s ok 614 /checksum/SHA1/reset/56 999s ok 615 /checksum/SHA1/reset/57 999s ok 616 /checksum/SHA1/reset/58 999s ok 617 /checksum/SHA1/reset/59 999s ok 618 /checksum/SHA1/reset/60 999s ok 619 /checksum/SHA1/reset/61 999s ok 620 /checksum/SHA1/reset/62 999s ok 621 /checksum/SHA1/reset/63 999s ok 622 /checksum/SHA1/reset/64 999s ok 623 /checksum/SHA1/reset/65 999s ok 624 /checksum/SHA1/reset/66 999s ok 625 /checksum/SHA1/reset/67 999s ok 626 /checksum/SHA1/reset/68 999s ok 627 /checksum/SHA1/reset/69 999s ok 628 /checksum/SHA1/reset/70 999s ok 629 /checksum/SHA1/reset/71 999s ok 630 /checksum/SHA1/reset/72 999s ok 631 /checksum/SHA1/reset/73 999s ok 632 /checksum/SHA1/reset/74 999s ok 633 /checksum/SHA1/reset/75 999s ok 634 /checksum/SHA1/reset/76 999s ok 635 /checksum/SHA1/reset/77 999s ok 636 /checksum/SHA1/reset/78 999s ok 637 /checksum/SHA1/reset/79 999s ok 638 /checksum/SHA1/reset/80 999s ok 639 /checksum/SHA1/reset/81 999s ok 640 /checksum/SHA1/reset/82 999s ok 641 /checksum/SHA1/reset/83 999s ok 642 /checksum/SHA1/reset/84 999s ok 643 /checksum/SHA1/reset/85 999s ok 644 /checksum/SHA1/reset/86 999s ok 645 /checksum/SHA1/reset/87 999s ok 646 /checksum/SHA1/reset/88 999s ok 647 /checksum/SHA1/reset/89 999s ok 648 /checksum/SHA1/reset/90 999s ok 649 /checksum/SHA1/reset/91 999s ok 650 /checksum/SHA1/reset/92 999s ok 651 /checksum/SHA1/reset/93 999s ok 652 /checksum/SHA1/reset/94 999s ok 653 /checksum/SHA1/reset/95 999s ok 654 /checksum/SHA1/reset/96 999s ok 655 /checksum/SHA1/reset/97 999s ok 656 /checksum/SHA1/reset/98 999s ok 657 /checksum/SHA1/reset/99 999s ok 658 /checksum/SHA1/reset/100 999s ok 659 /checksum/SHA1/reset/101 999s ok 660 /checksum/SHA1/reset/102 999s ok 661 /checksum/SHA1/reset/103 999s ok 662 /checksum/SHA1/reset/104 999s ok 663 /checksum/SHA1/reset/105 999s ok 664 /checksum/SHA1/reset/106 999s ok 665 /checksum/SHA1/reset/107 999s ok 666 /checksum/SHA1/reset/108 999s ok 667 /checksum/SHA1/reset/109 999s ok 668 /checksum/SHA1/reset/110 999s ok 669 /checksum/SHA1/reset/111 999s ok 670 /checksum/SHA1/reset/112 999s ok 671 /checksum/SHA1/reset/113 999s ok 672 /checksum/SHA1/reset/114 999s ok 673 /checksum/SHA1/reset/115 999s ok 674 /checksum/SHA1/reset/116 999s ok 675 /checksum/SHA1/reset/117 999s ok 676 /checksum/SHA1/reset/118 999s ok 677 /checksum/SHA1/reset/119 999s ok 678 /checksum/SHA1/reset/120 999s ok 679 /checksum/SHA1/reset/121 999s ok 680 /checksum/SHA1/reset/122 999s ok 681 /checksum/SHA1/reset/123 999s ok 682 /checksum/SHA1/reset/124 999s ok 683 /checksum/SHA1/reset/125 999s ok 684 /checksum/SHA1/reset/126 999s ok 685 /checksum/SHA1/reset/127 999s ok 686 /checksum/SHA1/reset/128 999s ok 687 /checksum/SHA1/reset/129 999s ok 688 /checksum/SHA1/reset/130 999s ok 689 /checksum/SHA1/reset/131 999s ok 690 /checksum/SHA1/reset/132 999s ok 691 /checksum/SHA1/reset/133 999s ok 692 /checksum/SHA1/reset/134 999s ok 693 /checksum/SHA1/reset/135 999s ok 694 /checksum/SHA1/reset/136 999s ok 695 /checksum/SHA1/reset/137 999s ok 696 /checksum/SHA1/reset/138 999s ok 697 /checksum/SHA1/reset/139 999s ok 698 /checksum/SHA1/reset/140 999s ok 699 /checksum/SHA1/reset/141 999s ok 700 /checksum/SHA1/reset/142 999s ok 701 /checksum/SHA1/reset/143 999s ok 702 /checksum/SHA1/reset/144 999s ok 703 /checksum/SHA1/reset/145 999s ok 704 /checksum/SHA1/reset/146 999s ok 705 /checksum/SHA1/reset/147 999s ok 706 /checksum/SHA1/reset/148 999s ok 707 /checksum/SHA1/reset/149 999s ok 708 /checksum/SHA1/reset/150 999s ok 709 /checksum/SHA1/reset/151 999s ok 710 /checksum/SHA1/reset/152 999s ok 711 /checksum/SHA1/reset/153 999s ok 712 /checksum/SHA1/reset/154 999s ok 713 /checksum/SHA1/reset/155 999s ok 714 /checksum/SHA1/reset/156 999s ok 715 /checksum/SHA1/reset/157 999s ok 716 /checksum/SHA1/reset/158 999s ok 717 /checksum/SHA1/reset/159 999s ok 718 /checksum/SHA1/reset/160 999s ok 719 /checksum/SHA1/reset/161 999s ok 720 /checksum/SHA1/reset/162 999s ok 721 /checksum/SHA1/reset/163 999s ok 722 /checksum/SHA1/reset/164 999s ok 723 /checksum/SHA1/reset/165 999s ok 724 /checksum/SHA1/reset/166 999s ok 725 /checksum/SHA1/reset/167 999s ok 726 /checksum/SHA1/reset/168 999s ok 727 /checksum/SHA1/reset/169 999s ok 728 /checksum/SHA1/reset/170 999s ok 729 /checksum/SHA1/reset/171 999s ok 730 /checksum/SHA1/reset/172 999s ok 731 /checksum/SHA1/reset/173 999s ok 732 /checksum/SHA1/reset/174 999s ok 733 /checksum/SHA1/reset/175 999s ok 734 /checksum/SHA1/reset/176 999s ok 735 /checksum/SHA1/reset/177 999s ok 736 /checksum/SHA1/reset/178 999s ok 737 /checksum/SHA1/reset/179 999s ok 738 /checksum/SHA1/reset/180 999s ok 739 /checksum/SHA1/reset/181 999s ok 740 /checksum/SHA1/reset/182 999s ok 741 /checksum/SHA1/reset/183 999s # End of reset tests 999s # End of SHA1 tests 999s # Start of SHA256 tests 999s ok 742 /checksum/SHA256/0 999s ok 743 /checksum/SHA256/1 999s ok 744 /checksum/SHA256/2 999s ok 745 /checksum/SHA256/3 999s ok 746 /checksum/SHA256/4 999s ok 747 /checksum/SHA256/5 999s ok 748 /checksum/SHA256/6 999s ok 749 /checksum/SHA256/7 999s ok 750 /checksum/SHA256/8 999s ok 751 /checksum/SHA256/9 999s ok 752 /checksum/SHA256/10 999s ok 753 /checksum/SHA256/11 999s ok 754 /checksum/SHA256/12 999s ok 755 /checksum/SHA256/13 999s ok 756 /checksum/SHA256/14 999s ok 757 /checksum/SHA256/15 999s ok 758 /checksum/SHA256/16 999s ok 759 /checksum/SHA256/17 999s ok 760 /checksum/SHA256/18 999s ok 761 /checksum/SHA256/19 999s ok 762 /checksum/SHA256/20 999s ok 763 /checksum/SHA256/21 999s ok 764 /checksum/SHA256/22 999s ok 765 /checksum/SHA256/23 999s ok 766 /checksum/SHA256/24 999s ok 767 /checksum/SHA256/25 999s ok 768 /checksum/SHA256/26 999s ok 769 /checksum/SHA256/27 999s ok 770 /checksum/SHA256/28 999s ok 771 /checksum/SHA256/29 999s ok 772 /checksum/SHA256/30 999s ok 773 /checksum/SHA256/31 999s ok 774 /checksum/SHA256/32 999s ok 775 /checksum/SHA256/33 999s ok 776 /checksum/SHA256/34 999s ok 777 /checksum/SHA256/35 999s ok 778 /checksum/SHA256/36 999s ok 779 /checksum/SHA256/37 999s ok 780 /checksum/SHA256/38 999s ok 781 /checksum/SHA256/39 999s ok 782 /checksum/SHA256/40 999s ok 783 /checksum/SHA256/41 999s ok 784 /checksum/SHA256/42 999s ok 785 /checksum/SHA256/43 999s ok 786 /checksum/SHA256/44 999s ok 787 /checksum/SHA256/45 999s ok 788 /checksum/SHA256/46 999s ok 789 /checksum/SHA256/47 999s ok 790 /checksum/SHA256/48 999s ok 791 /checksum/SHA256/49 999s ok 792 /checksum/SHA256/50 999s ok 793 /checksum/SHA256/51 999s ok 794 /checksum/SHA256/52 999s ok 795 /checksum/SHA256/53 999s ok 796 /checksum/SHA256/54 999s ok 797 /checksum/SHA256/55 999s ok 798 /checksum/SHA256/56 999s ok 799 /checksum/SHA256/57 999s ok 800 /checksum/SHA256/58 999s ok 801 /checksum/SHA256/59 999s ok 802 /checksum/SHA256/60 999s ok 803 /checksum/SHA256/61 999s ok 804 /checksum/SHA256/62 999s ok 805 /checksum/SHA256/63 999s ok 806 /checksum/SHA256/64 999s ok 807 /checksum/SHA256/65 999s ok 808 /checksum/SHA256/66 999s ok 809 /checksum/SHA256/67 999s ok 810 /checksum/SHA256/68 999s ok 811 /checksum/SHA256/69 999s ok 812 /checksum/SHA256/70 999s ok 813 /checksum/SHA256/71 999s ok 814 /checksum/SHA256/72 999s ok 815 /checksum/SHA256/73 999s ok 816 /checksum/SHA256/74 999s ok 817 /checksum/SHA256/75 999s ok 818 /checksum/SHA256/76 999s ok 819 /checksum/SHA256/77 999s ok 820 /checksum/SHA256/78 999s ok 821 /checksum/SHA256/79 999s ok 822 /checksum/SHA256/80 999s ok 823 /checksum/SHA256/81 999s ok 824 /checksum/SHA256/82 999s ok 825 /checksum/SHA256/83 999s ok 826 /checksum/SHA256/84 999s ok 827 /checksum/SHA256/85 999s ok 828 /checksum/SHA256/86 999s ok 829 /checksum/SHA256/87 999s ok 830 /checksum/SHA256/88 999s ok 831 /checksum/SHA256/89 999s ok 832 /checksum/SHA256/90 999s ok 833 /checksum/SHA256/91 999s ok 834 /checksum/SHA256/92 999s ok 835 /checksum/SHA256/93 999s ok 836 /checksum/SHA256/94 999s ok 837 /checksum/SHA256/95 999s ok 838 /checksum/SHA256/96 999s ok 839 /checksum/SHA256/97 999s ok 840 /checksum/SHA256/98 999s ok 841 /checksum/SHA256/99 999s ok 842 /checksum/SHA256/100 999s ok 843 /checksum/SHA256/101 999s ok 844 /checksum/SHA256/102 999s ok 845 /checksum/SHA256/103 999s ok 846 /checksum/SHA256/104 999s ok 847 /checksum/SHA256/105 999s ok 848 /checksum/SHA256/106 999s ok 849 /checksum/SHA256/107 999s ok 850 /checksum/SHA256/108 999s ok 851 /checksum/SHA256/109 999s ok 852 /checksum/SHA256/110 999s ok 853 /checksum/SHA256/111 999s ok 854 /checksum/SHA256/112 999s ok 855 /checksum/SHA256/113 999s ok 856 /checksum/SHA256/114 999s ok 857 /checksum/SHA256/115 999s ok 858 /checksum/SHA256/116 999s ok 859 /checksum/SHA256/117 999s ok 860 /checksum/SHA256/118 999s ok 861 /checksum/SHA256/119 999s ok 862 /checksum/SHA256/120 999s ok 863 /checksum/SHA256/121 999s ok 864 /checksum/SHA256/122 999s ok 865 /checksum/SHA256/123 999s ok 866 /checksum/SHA256/124 999s ok 867 /checksum/SHA256/125 999s ok 868 /checksum/SHA256/126 999s ok 869 /checksum/SHA256/127 999s ok 870 /checksum/SHA256/128 999s ok 871 /checksum/SHA256/129 999s ok 872 /checksum/SHA256/130 999s ok 873 /checksum/SHA256/131 999s ok 874 /checksum/SHA256/132 999s ok 875 /checksum/SHA256/133 999s ok 876 /checksum/SHA256/134 999s ok 877 /checksum/SHA256/135 999s ok 878 /checksum/SHA256/136 999s ok 879 /checksum/SHA256/137 999s ok 880 /checksum/SHA256/138 999s ok 881 /checksum/SHA256/139 999s ok 882 /checksum/SHA256/140 999s ok 883 /checksum/SHA256/141 999s ok 884 /checksum/SHA256/142 999s ok 885 /checksum/SHA256/143 999s ok 886 /checksum/SHA256/144 999s ok 887 /checksum/SHA256/145 999s ok 888 /checksum/SHA256/146 999s ok 889 /checksum/SHA256/147 999s ok 890 /checksum/SHA256/148 999s ok 891 /checksum/SHA256/149 999s ok 892 /checksum/SHA256/150 999s ok 893 /checksum/SHA256/151 999s ok 894 /checksum/SHA256/152 999s ok 895 /checksum/SHA256/153 999s ok 896 /checksum/SHA256/154 999s ok 897 /checksum/SHA256/155 999s ok 898 /checksum/SHA256/156 999s ok 899 /checksum/SHA256/157 999s ok 900 /checksum/SHA256/158 999s ok 901 /checksum/SHA256/159 999s ok 902 /checksum/SHA256/160 999s ok 903 /checksum/SHA256/161 999s ok 904 /checksum/SHA256/162 999s ok 905 /checksum/SHA256/163 999s ok 906 /checksum/SHA256/164 999s ok 907 /checksum/SHA256/165 999s ok 908 /checksum/SHA256/166 999s ok 909 /checksum/SHA256/167 999s ok 910 /checksum/SHA256/168 999s ok 911 /checksum/SHA256/169 999s ok 912 /checksum/SHA256/170 999s ok 913 /checksum/SHA256/171 999s ok 914 /checksum/SHA256/172 999s ok 915 /checksum/SHA256/173 999s ok 916 /checksum/SHA256/174 999s ok 917 /checksum/SHA256/175 999s ok 918 /checksum/SHA256/176 999s ok 919 /checksum/SHA256/177 999s ok 920 /checksum/SHA256/178 999s ok 921 /checksum/SHA256/179 999s ok 922 /checksum/SHA256/180 999s ok 923 /checksum/SHA256/181 999s ok 924 /checksum/SHA256/182 999s ok 925 /checksum/SHA256/183 999s ok 926 /checksum/SHA256/string 999s ok 927 /checksum/SHA256/bytes 999s # Start of reset tests 999s ok 928 /checksum/SHA256/reset/0 999s ok 929 /checksum/SHA256/reset/1 999s ok 930 /checksum/SHA256/reset/2 999s ok 931 /checksum/SHA256/reset/3 999s ok 932 /checksum/SHA256/reset/4 999s ok 933 /checksum/SHA256/reset/5 999s ok 934 /checksum/SHA256/reset/6 999s ok 935 /checksum/SHA256/reset/7 999s ok 936 /checksum/SHA256/reset/8 999s ok 937 /checksum/SHA256/reset/9 999s ok 938 /checksum/SHA256/reset/10 999s ok 939 /checksum/SHA256/reset/11 999s ok 940 /checksum/SHA256/reset/12 999s ok 941 /checksum/SHA256/reset/13 999s ok 942 /checksum/SHA256/reset/14 999s ok 943 /checksum/SHA256/reset/15 999s ok 944 /checksum/SHA256/reset/16 999s ok 945 /checksum/SHA256/reset/17 999s ok 946 /checksum/SHA256/reset/18 999s ok 947 /checksum/SHA256/reset/19 999s ok 948 /checksum/SHA256/reset/20 999s ok 949 /checksum/SHA256/reset/21 999s ok 950 /checksum/SHA256/reset/22 999s ok 951 /checksum/SHA256/reset/23 999s ok 952 /checksum/SHA256/reset/24 999s ok 953 /checksum/SHA256/reset/25 999s ok 954 /checksum/SHA256/reset/26 999s ok 955 /checksum/SHA256/reset/27 999s ok 956 /checksum/SHA256/reset/28 999s ok 957 /checksum/SHA256/reset/29 999s ok 958 /checksum/SHA256/reset/30 999s ok 959 /checksum/SHA256/reset/31 999s ok 960 /checksum/SHA256/reset/32 999s ok 961 /checksum/SHA256/reset/33 999s ok 962 /checksum/SHA256/reset/34 999s ok 963 /checksum/SHA256/reset/35 999s ok 964 /checksum/SHA256/reset/36 999s ok 965 /checksum/SHA256/reset/37 999s ok 966 /checksum/SHA256/reset/38 999s ok 967 /checksum/SHA256/reset/39 999s ok 968 /checksum/SHA256/reset/40 999s ok 969 /checksum/SHA256/reset/41 999s ok 970 /checksum/SHA256/reset/42 999s ok 971 /checksum/SHA256/reset/43 999s ok 972 /checksum/SHA256/reset/44 999s ok 973 /checksum/SHA256/reset/45 999s ok 974 /checksum/SHA256/reset/46 999s ok 975 /checksum/SHA256/reset/47 999s ok 976 /checksum/SHA256/reset/48 999s ok 977 /checksum/SHA256/reset/49 999s ok 978 /checksum/SHA256/reset/50 999s ok 979 /checksum/SHA256/reset/51 999s ok 980 /checksum/SHA256/reset/52 999s ok 981 /checksum/SHA256/reset/53 999s ok 982 /checksum/SHA256/reset/54 999s ok 983 /checksum/SHA256/reset/55 999s ok 984 /checksum/SHA256/reset/56 999s ok 985 /checksum/SHA256/reset/57 999s ok 986 /checksum/SHA256/reset/58 999s ok 987 /checksum/SHA256/reset/59 999s ok 988 /checksum/SHA256/reset/60 999s ok 989 /checksum/SHA256/reset/61 999s ok 990 /checksum/SHA256/reset/62 999s ok 991 /checksum/SHA256/reset/63 999s ok 992 /checksum/SHA256/reset/64 999s ok 993 /checksum/SHA256/reset/65 999s ok 994 /checksum/SHA256/reset/66 999s ok 995 /checksum/SHA256/reset/67 999s ok 996 /checksum/SHA256/reset/68 999s ok 997 /checksum/SHA256/reset/69 999s ok 998 /checksum/SHA256/reset/70 999s ok 999 /checksum/SHA256/reset/71 999s ok 1000 /checksum/SHA256/reset/72 999s ok 1001 /checksum/SHA256/reset/73 999s ok 1002 /checksum/SHA256/reset/74 999s ok 1003 /checksum/SHA256/reset/75 999s ok 1004 /checksum/SHA256/reset/76 999s ok 1005 /checksum/SHA256/reset/77 999s ok 1006 /checksum/SHA256/reset/78 999s ok 1007 /checksum/SHA256/reset/79 999s ok 1008 /checksum/SHA256/reset/80 999s ok 1009 /checksum/SHA256/reset/81 999s ok 1010 /checksum/SHA256/reset/82 999s ok 1011 /checksum/SHA256/reset/83 999s ok 1012 /checksum/SHA256/reset/84 999s ok 1013 /checksum/SHA256/reset/85 999s ok 1014 /checksum/SHA256/reset/86 999s ok 1015 /checksum/SHA256/reset/87 999s ok 1016 /checksum/SHA256/reset/88 999s ok 1017 /checksum/SHA256/reset/89 999s ok 1018 /checksum/SHA256/reset/90 999s ok 1019 /checksum/SHA256/reset/91 999s ok 1020 /checksum/SHA256/reset/92 999s ok 1021 /checksum/SHA256/reset/93 999s ok 1022 /checksum/SHA256/reset/94 999s ok 1023 /checksum/SHA256/reset/95 999s ok 1024 /checksum/SHA256/reset/96 999s ok 1025 /checksum/SHA256/reset/97 999s ok 1026 /checksum/SHA256/reset/98 999s ok 1027 /checksum/SHA256/reset/99 999s ok 1028 /checksum/SHA256/reset/100 999s ok 1029 /checksum/SHA256/reset/101 999s ok 1030 /checksum/SHA256/reset/102 999s ok 1031 /checksum/SHA256/reset/103 999s ok 1032 /checksum/SHA256/reset/104 999s ok 1033 /checksum/SHA256/reset/105 999s ok 1034 /checksum/SHA256/reset/106 999s ok 1035 /checksum/SHA256/reset/107 999s ok 1036 /checksum/SHA256/reset/108 999s ok 1037 /checksum/SHA256/reset/109 999s ok 1038 /checksum/SHA256/reset/110 999s ok 1039 /checksum/SHA256/reset/111 999s ok 1040 /checksum/SHA256/reset/112 999s ok 1041 /checksum/SHA256/reset/113 999s ok 1042 /checksum/SHA256/reset/114 999s ok 1043 /checksum/SHA256/reset/115 999s ok 1044 /checksum/SHA256/reset/116 999s ok 1045 /checksum/SHA256/reset/117 999s ok 1046 /checksum/SHA256/reset/118 999s ok 1047 /checksum/SHA256/reset/119 999s ok 1048 /checksum/SHA256/reset/120 999s ok 1049 /checksum/SHA256/reset/121 999s ok 1050 /checksum/SHA256/reset/122 999s ok 1051 /checksum/SHA256/reset/123 999s ok 1052 /checksum/SHA256/reset/124 999s ok 1053 /checksum/SHA256/reset/125 999s ok 1054 /checksum/SHA256/reset/126 999s ok 1055 /checksum/SHA256/reset/127 999s ok 1056 /checksum/SHA256/reset/128 999s ok 1057 /checksum/SHA256/reset/129 999s ok 1058 /checksum/SHA256/reset/130 999s ok 1059 /checksum/SHA256/reset/131 999s ok 1060 /checksum/SHA256/reset/132 999s ok 1061 /checksum/SHA256/reset/133 999s ok 1062 /checksum/SHA256/reset/134 999s ok 1063 /checksum/SHA256/reset/135 999s ok 1064 /checksum/SHA256/reset/136 999s ok 1065 /checksum/SHA256/reset/137 999s ok 1066 /checksum/SHA256/reset/138 999s ok 1067 /checksum/SHA256/reset/139 999s ok 1068 /checksum/SHA256/reset/140 999s ok 1069 /checksum/SHA256/reset/141 999s ok 1070 /checksum/SHA256/reset/142 999s ok 1071 /checksum/SHA256/reset/143 999s ok 1072 /checksum/SHA256/reset/144 999s ok 1073 /checksum/SHA256/reset/145 999s ok 1074 /checksum/SHA256/reset/146 999s ok 1075 /checksum/SHA256/reset/147 999s ok 1076 /checksum/SHA256/reset/148 999s ok 1077 /checksum/SHA256/reset/149 999s ok 1078 /checksum/SHA256/reset/150 999s ok 1079 /checksum/SHA256/reset/151 999s ok 1080 /checksum/SHA256/reset/152 999s ok 1081 /checksum/SHA256/reset/153 999s ok 1082 /checksum/SHA256/reset/154 999s ok 1083 /checksum/SHA256/reset/155 999s ok 1084 /checksum/SHA256/reset/156 999s ok 1085 /checksum/SHA256/reset/157 999s ok 1086 /checksum/SHA256/reset/158 999s ok 1087 /checksum/SHA256/reset/159 999s ok 1088 /checksum/SHA256/reset/160 999s ok 1089 /checksum/SHA256/reset/161 999s ok 1090 /checksum/SHA256/reset/162 999s ok 1091 /checksum/SHA256/reset/163 999s ok 1092 /checksum/SHA256/reset/164 999s ok 1093 /checksum/SHA256/reset/165 999s ok 1094 /checksum/SHA256/reset/166 999s ok 1095 /checksum/SHA256/reset/167 999s ok 1096 /checksum/SHA256/reset/168 999s ok 1097 /checksum/SHA256/reset/169 999s ok 1098 /checksum/SHA256/reset/170 999s ok 1099 /checksum/SHA256/reset/171 999s ok 1100 /checksum/SHA256/reset/172 999s ok 1101 /checksum/SHA256/reset/173 999s ok 1102 /checksum/SHA256/reset/174 999s ok 1103 /checksum/SHA256/reset/175 999s ok 1104 /checksum/SHA256/reset/176 999s ok 1105 /checksum/SHA256/reset/177 999s ok 1106 /checksum/SHA256/reset/178 999s ok 1107 /checksum/SHA256/reset/179 999s ok 1108 /checksum/SHA256/reset/180 999s ok 1109 /checksum/SHA256/reset/181 999s ok 1110 /checksum/SHA256/reset/182 999s ok 1111 /checksum/SHA256/reset/183 999s # End of reset tests 999s # End of SHA256 tests 999s # Start of SHA384 tests 999s ok 1112 /checksum/SHA384/0 999s ok 1113 /checksum/SHA384/1 999s ok 1114 /checksum/SHA384/2 999s ok 1115 /checksum/SHA384/3 999s ok 1116 /checksum/SHA384/4 999s ok 1117 /checksum/SHA384/5 999s ok 1118 /checksum/SHA384/6 999s ok 1119 /checksum/SHA384/7 999s ok 1120 /checksum/SHA384/8 999s ok 1121 /checksum/SHA384/9 999s ok 1122 /checksum/SHA384/10 999s ok 1123 /checksum/SHA384/11 999s ok 1124 /checksum/SHA384/12 999s ok 1125 /checksum/SHA384/13 999s ok 1126 /checksum/SHA384/14 999s ok 1127 /checksum/SHA384/15 999s ok 1128 /checksum/SHA384/16 999s ok 1129 /checksum/SHA384/17 999s ok 1130 /checksum/SHA384/18 999s ok 1131 /checksum/SHA384/19 999s ok 1132 /checksum/SHA384/20 999s ok 1133 /checksum/SHA384/21 999s ok 1134 /checksum/SHA384/22 999s ok 1135 /checksum/SHA384/23 999s ok 1136 /checksum/SHA384/24 999s ok 1137 /checksum/SHA384/25 999s ok 1138 /checksum/SHA384/26 999s ok 1139 /checksum/SHA384/27 999s ok 1140 /checksum/SHA384/28 999s ok 1141 /checksum/SHA384/29 999s ok 1142 /checksum/SHA384/30 999s ok 1143 /checksum/SHA384/31 999s ok 1144 /checksum/SHA384/32 999s ok 1145 /checksum/SHA384/33 999s ok 1146 /checksum/SHA384/34 999s ok 1147 /checksum/SHA384/35 999s ok 1148 /checksum/SHA384/36 999s ok 1149 /checksum/SHA384/37 999s ok 1150 /checksum/SHA384/38 999s ok 1151 /checksum/SHA384/39 999s ok 1152 /checksum/SHA384/40 999s ok 1153 /checksum/SHA384/41 999s ok 1154 /checksum/SHA384/42 999s ok 1155 /checksum/SHA384/43 999s ok 1156 /checksum/SHA384/44 999s ok 1157 /checksum/SHA384/45 999s ok 1158 /checksum/SHA384/46 999s ok 1159 /checksum/SHA384/47 999s ok 1160 /checksum/SHA384/48 999s ok 1161 /checksum/SHA384/49 999s ok 1162 /checksum/SHA384/50 999s ok 1163 /checksum/SHA384/51 999s ok 1164 /checksum/SHA384/52 999s ok 1165 /checksum/SHA384/53 999s ok 1166 /checksum/SHA384/54 999s ok 1167 /checksum/SHA384/55 999s ok 1168 /checksum/SHA384/56 999s ok 1169 /checksum/SHA384/57 999s ok 1170 /checksum/SHA384/58 999s ok 1171 /checksum/SHA384/59 999s ok 1172 /checksum/SHA384/60 999s ok 1173 /checksum/SHA384/61 999s ok 1174 /checksum/SHA384/62 999s ok 1175 /checksum/SHA384/63 999s ok 1176 /checksum/SHA384/64 999s ok 1177 /checksum/SHA384/65 999s ok 1178 /checksum/SHA384/66 999s ok 1179 /checksum/SHA384/67 999s ok 1180 /checksum/SHA384/68 999s ok 1181 /checksum/SHA384/69 999s ok 1182 /checksum/SHA384/70 999s ok 1183 /checksum/SHA384/71 999s ok 1184 /checksum/SHA384/72 999s ok 1185 /checksum/SHA384/73 999s ok 1186 /checksum/SHA384/74 999s ok 1187 /checksum/SHA384/75 999s ok 1188 /checksum/SHA384/76 999s ok 1189 /checksum/SHA384/77 999s ok 1190 /checksum/SHA384/78 999s ok 1191 /checksum/SHA384/79 999s ok 1192 /checksum/SHA384/80 999s ok 1193 /checksum/SHA384/81 999s ok 1194 /checksum/SHA384/82 999s ok 1195 /checksum/SHA384/83 999s ok 1196 /checksum/SHA384/84 999s ok 1197 /checksum/SHA384/85 999s ok 1198 /checksum/SHA384/86 999s ok 1199 /checksum/SHA384/87 999s ok 1200 /checksum/SHA384/88 999s ok 1201 /checksum/SHA384/89 999s ok 1202 /checksum/SHA384/90 999s ok 1203 /checksum/SHA384/91 999s ok 1204 /checksum/SHA384/92 999s ok 1205 /checksum/SHA384/93 999s ok 1206 /checksum/SHA384/94 999s ok 1207 /checksum/SHA384/95 999s ok 1208 /checksum/SHA384/96 999s ok 1209 /checksum/SHA384/97 999s ok 1210 /checksum/SHA384/98 999s ok 1211 /checksum/SHA384/99 999s ok 1212 /checksum/SHA384/100 999s ok 1213 /checksum/SHA384/101 999s ok 1214 /checksum/SHA384/102 999s ok 1215 /checksum/SHA384/103 999s ok 1216 /checksum/SHA384/104 999s ok 1217 /checksum/SHA384/105 999s ok 1218 /checksum/SHA384/106 999s ok 1219 /checksum/SHA384/107 999s ok 1220 /checksum/SHA384/108 999s ok 1221 /checksum/SHA384/109 999s ok 1222 /checksum/SHA384/110 999s ok 1223 /checksum/SHA384/111 999s ok 1224 /checksum/SHA384/112 999s ok 1225 /checksum/SHA384/113 999s ok 1226 /checksum/SHA384/114 999s ok 1227 /checksum/SHA384/115 999s ok 1228 /checksum/SHA384/116 999s ok 1229 /checksum/SHA384/117 999s ok 1230 /checksum/SHA384/118 999s ok 1231 /checksum/SHA384/119 999s ok 1232 /checksum/SHA384/120 999s ok 1233 /checksum/SHA384/121 999s ok 1234 /checksum/SHA384/122 999s ok 1235 /checksum/SHA384/123 999s ok 1236 /checksum/SHA384/124 999s ok 1237 /checksum/SHA384/125 999s ok 1238 /checksum/SHA384/126 999s ok 1239 /checksum/SHA384/127 999s ok 1240 /checksum/SHA384/128 999s ok 1241 /checksum/SHA384/129 999s ok 1242 /checksum/SHA384/130 999s ok 1243 /checksum/SHA384/131 999s ok 1244 /checksum/SHA384/132 999s ok 1245 /checksum/SHA384/133 999s ok 1246 /checksum/SHA384/134 999s ok 1247 /checksum/SHA384/135 999s ok 1248 /checksum/SHA384/136 999s ok 1249 /checksum/SHA384/137 999s ok 1250 /checksum/SHA384/138 999s ok 1251 /checksum/SHA384/139 999s ok 1252 /checksum/SHA384/140 999s ok 1253 /checksum/SHA384/141 999s ok 1254 /checksum/SHA384/142 999s ok 1255 /checksum/SHA384/143 999s ok 1256 /checksum/SHA384/144 999s ok 1257 /checksum/SHA384/145 999s ok 1258 /checksum/SHA384/146 999s ok 1259 /checksum/SHA384/147 999s ok 1260 /checksum/SHA384/148 999s ok 1261 /checksum/SHA384/149 999s ok 1262 /checksum/SHA384/150 999s ok 1263 /checksum/SHA384/151 999s ok 1264 /checksum/SHA384/152 999s ok 1265 /checksum/SHA384/153 999s ok 1266 /checksum/SHA384/154 999s ok 1267 /checksum/SHA384/155 999s ok 1268 /checksum/SHA384/156 999s ok 1269 /checksum/SHA384/157 999s ok 1270 /checksum/SHA384/158 999s ok 1271 /checksum/SHA384/159 999s ok 1272 /checksum/SHA384/160 999s ok 1273 /checksum/SHA384/161 999s ok 1274 /checksum/SHA384/162 999s ok 1275 /checksum/SHA384/163 999s ok 1276 /checksum/SHA384/164 999s ok 1277 /checksum/SHA384/165 999s ok 1278 /checksum/SHA384/166 999s ok 1279 /checksum/SHA384/167 999s ok 1280 /checksum/SHA384/168 999s ok 1281 /checksum/SHA384/169 999s ok 1282 /checksum/SHA384/170 999s ok 1283 /checksum/SHA384/171 999s ok 1284 /checksum/SHA384/172 999s ok 1285 /checksum/SHA384/173 999s ok 1286 /checksum/SHA384/174 999s ok 1287 /checksum/SHA384/175 999s ok 1288 /checksum/SHA384/176 999s ok 1289 /checksum/SHA384/177 999s ok 1290 /checksum/SHA384/178 999s ok 1291 /checksum/SHA384/179 999s ok 1292 /checksum/SHA384/180 999s ok 1293 /checksum/SHA384/181 999s ok 1294 /checksum/SHA384/182 999s ok 1295 /checksum/SHA384/183 999s ok 1296 /checksum/SHA384/string 999s ok 1297 /checksum/SHA384/bytes 999s # Start of reset tests 999s ok 1298 /checksum/SHA384/reset/0 999s ok 1299 /checksum/SHA384/reset/1 999s ok 1300 /checksum/SHA384/reset/2 999s ok 1301 /checksum/SHA384/reset/3 999s ok 1302 /checksum/SHA384/reset/4 999s ok 1303 /checksum/SHA384/reset/5 999s ok 1304 /checksum/SHA384/reset/6 999s ok 1305 /checksum/SHA384/reset/7 999s ok 1306 /checksum/SHA384/reset/8 999s ok 1307 /checksum/SHA384/reset/9 999s ok 1308 /checksum/SHA384/reset/10 999s ok 1309 /checksum/SHA384/reset/11 999s ok 1310 /checksum/SHA384/reset/12 999s ok 1311 /checksum/SHA384/reset/13 999s ok 1312 /checksum/SHA384/reset/14 999s ok 1313 /checksum/SHA384/reset/15 999s ok 1314 /checksum/SHA384/reset/16 999s ok 1315 /checksum/SHA384/reset/17 999s ok 1316 /checksum/SHA384/reset/18 999s ok 1317 /checksum/SHA384/reset/19 999s ok 1318 /checksum/SHA384/reset/20 999s ok 1319 /checksum/SHA384/reset/21 999s ok 1320 /checksum/SHA384/reset/22 999s ok 1321 /checksum/SHA384/reset/23 999s ok 1322 /checksum/SHA384/reset/24 999s ok 1323 /checksum/SHA384/reset/25 999s ok 1324 /checksum/SHA384/reset/26 999s ok 1325 /checksum/SHA384/reset/27 999s ok 1326 /checksum/SHA384/reset/28 999s ok 1327 /checksum/SHA384/reset/29 999s ok 1328 /checksum/SHA384/reset/30 999s ok 1329 /checksum/SHA384/reset/31 999s ok 1330 /checksum/SHA384/reset/32 999s ok 1331 /checksum/SHA384/reset/33 999s ok 1332 /checksum/SHA384/reset/34 999s ok 1333 /checksum/SHA384/reset/35 999s ok 1334 /checksum/SHA384/reset/36 999s ok 1335 /checksum/SHA384/reset/37 999s ok 1336 /checksum/SHA384/reset/38 999s ok 1337 /checksum/SHA384/reset/39 999s ok 1338 /checksum/SHA384/reset/40 999s ok 1339 /checksum/SHA384/reset/41 999s ok 1340 /checksum/SHA384/reset/42 999s ok 1341 /checksum/SHA384/reset/43 999s ok 1342 /checksum/SHA384/reset/44 999s ok 1343 /checksum/SHA384/reset/45 999s ok 1344 /checksum/SHA384/reset/46 999s ok 1345 /checksum/SHA384/reset/47 999s ok 1346 /checksum/SHA384/reset/48 999s ok 1347 /checksum/SHA384/reset/49 999s ok 1348 /checksum/SHA384/reset/50 999s ok 1349 /checksum/SHA384/reset/51 999s ok 1350 /checksum/SHA384/reset/52 999s ok 1351 /checksum/SHA384/reset/53 999s ok 1352 /checksum/SHA384/reset/54 999s ok 1353 /checksum/SHA384/reset/55 999s ok 1354 /checksum/SHA384/reset/56 999s ok 1355 /checksum/SHA384/reset/57 999s ok 1356 /checksum/SHA384/reset/58 999s ok 1357 /checksum/SHA384/reset/59 999s ok 1358 /checksum/SHA384/reset/60 999s ok 1359 /checksum/SHA384/reset/61 999s ok 1360 /checksum/SHA384/reset/62 999s ok 1361 /checksum/SHA384/reset/63 999s ok 1362 /checksum/SHA384/reset/64 999s ok 1363 /checksum/SHA384/reset/65 999s ok 1364 /checksum/SHA384/reset/66 999s ok 1365 /checksum/SHA384/reset/67 999s ok 1366 /checksum/SHA384/reset/68 999s ok 1367 /checksum/SHA384/reset/69 999s ok 1368 /checksum/SHA384/reset/70 999s ok 1369 /checksum/SHA384/reset/71 999s ok 1370 /checksum/SHA384/reset/72 999s ok 1371 /checksum/SHA384/reset/73 999s ok 1372 /checksum/SHA384/reset/74 999s ok 1373 /checksum/SHA384/reset/75 999s ok 1374 /checksum/SHA384/reset/76 999s ok 1375 /checksum/SHA384/reset/77 999s ok 1376 /checksum/SHA384/reset/78 999s ok 1377 /checksum/SHA384/reset/79 999s ok 1378 /checksum/SHA384/reset/80 999s ok 1379 /checksum/SHA384/reset/81 999s ok 1380 /checksum/SHA384/reset/82 999s ok 1381 /checksum/SHA384/reset/83 999s ok 1382 /checksum/SHA384/reset/84 999s ok 1383 /checksum/SHA384/reset/85 999s ok 1384 /checksum/SHA384/reset/86 999s ok 1385 /checksum/SHA384/reset/87 999s ok 1386 /checksum/SHA384/reset/88 999s ok 1387 /checksum/SHA384/reset/89 999s ok 1388 /checksum/SHA384/reset/90 999s ok 1389 /checksum/SHA384/reset/91 999s ok 1390 /checksum/SHA384/reset/92 999s ok 1391 /checksum/SHA384/reset/93 999s ok 1392 /checksum/SHA384/reset/94 999s ok 1393 /checksum/SHA384/reset/95 999s ok 1394 /checksum/SHA384/reset/96 999s ok 1395 /checksum/SHA384/reset/97 999s ok 1396 /checksum/SHA384/reset/98 999s ok 1397 /checksum/SHA384/reset/99 999s ok 1398 /checksum/SHA384/reset/100 999s ok 1399 /checksum/SHA384/reset/101 999s ok 1400 /checksum/SHA384/reset/102 999s ok 1401 /checksum/SHA384/reset/103 999s ok 1402 /checksum/SHA384/reset/104 999s ok 1403 /checksum/SHA384/reset/105 999s ok 1404 /checksum/SHA384/reset/106 999s ok 1405 /checksum/SHA384/reset/107 999s ok 1406 /checksum/SHA384/reset/108 999s ok 1407 /checksum/SHA384/reset/109 999s ok 1408 /checksum/SHA384/reset/110 999s ok 1409 /checksum/SHA384/reset/111 999s ok 1410 /checksum/SHA384/reset/112 999s ok 1411 /checksum/SHA384/reset/113 999s ok 1412 /checksum/SHA384/reset/114 999s ok 1413 /checksum/SHA384/reset/115 999s ok 1414 /checksum/SHA384/reset/116 999s ok 1415 /checksum/SHA384/reset/117 999s ok 1416 /checksum/SHA384/reset/118 999s ok 1417 /checksum/SHA384/reset/119 999s ok 1418 /checksum/SHA384/reset/120 999s ok 1419 /checksum/SHA384/reset/121 999s ok 1420 /checksum/SHA384/reset/122 999s ok 1421 /checksum/SHA384/reset/123 999s ok 1422 /checksum/SHA384/reset/124 999s ok 1423 /checksum/SHA384/reset/125 999s ok 1424 /checksum/SHA384/reset/126 999s ok 1425 /checksum/SHA384/reset/127 999s ok 1426 /checksum/SHA384/reset/128 999s ok 1427 /checksum/SHA384/reset/129 999s ok 1428 /checksum/SHA384/reset/130 999s ok 1429 /checksum/SHA384/reset/131 999s ok 1430 /checksum/SHA384/reset/132 999s ok 1431 /checksum/SHA384/reset/133 999s ok 1432 /checksum/SHA384/reset/134 999s ok 1433 /checksum/SHA384/reset/135 999s ok 1434 /checksum/SHA384/reset/136 999s ok 1435 /checksum/SHA384/reset/137 999s ok 1436 /checksum/SHA384/reset/138 999s ok 1437 /checksum/SHA384/reset/139 999s ok 1438 /checksum/SHA384/reset/140 999s ok 1439 /checksum/SHA384/reset/141 999s ok 1440 /checksum/SHA384/reset/142 999s ok 1441 /checksum/SHA384/reset/143 999s ok 1442 /checksum/SHA384/reset/144 999s ok 1443 /checksum/SHA384/reset/145 999s ok 1444 /checksum/SHA384/reset/146 999s ok 1445 /checksum/SHA384/reset/147 999s ok 1446 /checksum/SHA384/reset/148 999s ok 1447 /checksum/SHA384/reset/149 999s ok 1448 /checksum/SHA384/reset/150 999s ok 1449 /checksum/SHA384/reset/151 999s ok 1450 /checksum/SHA384/reset/152 999s ok 1451 /checksum/SHA384/reset/153 999s ok 1452 /checksum/SHA384/reset/154 999s ok 1453 /checksum/SHA384/reset/155 999s ok 1454 /checksum/SHA384/reset/156 999s ok 1455 /checksum/SHA384/reset/157 999s ok 1456 /checksum/SHA384/reset/158 999s ok 1457 /checksum/SHA384/reset/159 999s ok 1458 /checksum/SHA384/reset/160 999s ok 1459 /checksum/SHA384/reset/161 999s ok 1460 /checksum/SHA384/reset/162 999s ok 1461 /checksum/SHA384/reset/163 999s ok 1462 /checksum/SHA384/reset/164 999s ok 1463 /checksum/SHA384/reset/165 999s ok 1464 /checksum/SHA384/reset/166 999s ok 1465 /checksum/SHA384/reset/167 999s ok 1466 /checksum/SHA384/reset/168 999s ok 1467 /checksum/SHA384/reset/169 999s ok 1468 /checksum/SHA384/reset/170 999s ok 1469 /checksum/SHA384/reset/171 999s ok 1470 /checksum/SHA384/reset/172 999s ok 1471 /checksum/SHA384/reset/173 999s ok 1472 /checksum/SHA384/reset/174 999s ok 1473 /checksum/SHA384/reset/175 999s ok 1474 /checksum/SHA384/reset/176 999s ok 1475 /checksum/SHA384/reset/177 999s ok 1476 /checksum/SHA384/reset/178 999s ok 1477 /checksum/SHA384/reset/179 999s ok 1478 /checksum/SHA384/reset/180 999s ok 1479 /checksum/SHA384/reset/181 999s ok 1480 /checksum/SHA384/reset/182 999s ok 1481 /checksum/SHA384/reset/183 999s # End of reset tests 999s # End of SHA384 tests 999s # Start of SHA512 tests 999s ok 1482 /checksum/SHA512/0 999s ok 1483 /checksum/SHA512/1 999s ok 1484 /checksum/SHA512/2 999s ok 1485 /checksum/SHA512/3 999s ok 1486 /checksum/SHA512/4 999s ok 1487 /checksum/SHA512/5 999s ok 1488 /checksum/SHA512/6 999s ok 1489 /checksum/SHA512/7 999s ok 1490 /checksum/SHA512/8 999s ok 1491 /checksum/SHA512/9 999s ok 1492 /checksum/SHA512/10 999s ok 1493 /checksum/SHA512/11 999s ok 1494 /checksum/SHA512/12 999s ok 1495 /checksum/SHA512/13 999s ok 1496 /checksum/SHA512/14 999s ok 1497 /checksum/SHA512/15 999s ok 1498 /checksum/SHA512/16 999s ok 1499 /checksum/SHA512/17 999s ok 1500 /checksum/SHA512/18 999s ok 1501 /checksum/SHA512/19 999s ok 1502 /checksum/SHA512/20 999s ok 1503 /checksum/SHA512/21 999s ok 1504 /checksum/SHA512/22 999s ok 1505 /checksum/SHA512/23 999s ok 1506 /checksum/SHA512/24 999s ok 1507 /checksum/SHA512/25 999s ok 1508 /checksum/SHA512/26 999s ok 1509 /checksum/SHA512/27 999s ok 1510 /checksum/SHA512/28 999s ok 1511 /checksum/SHA512/29 999s ok 1512 /checksum/SHA512/30 999s ok 1513 /checksum/SHA512/31 999s ok 1514 /checksum/SHA512/32 999s ok 1515 /checksum/SHA512/33 999s ok 1516 /checksum/SHA512/34 999s ok 1517 /checksum/SHA512/35 999s ok 1518 /checksum/SHA512/36 999s ok 1519 /checksum/SHA512/37 999s ok 1520 /checksum/SHA512/38 999s ok 1521 /checksum/SHA512/39 999s ok 1522 /checksum/SHA512/40 999s ok 1523 /checksum/SHA512/41 999s ok 1524 /checksum/SHA512/42 999s ok 1525 /checksum/SHA512/43 999s ok 1526 /checksum/SHA512/44 999s ok 1527 /checksum/SHA512/45 999s ok 1528 /checksum/SHA512/46 999s ok 1529 /checksum/SHA512/47 999s ok 1530 /checksum/SHA512/48 999s ok 1531 /checksum/SHA512/49 999s ok 1532 /checksum/SHA512/50 999s ok 1533 /checksum/SHA512/51 999s ok 1534 /checksum/SHA512/52 999s ok 1535 /checksum/SHA512/53 999s ok 1536 /checksum/SHA512/54 999s ok 1537 /checksum/SHA512/55 999s ok 1538 /checksum/SHA512/56 999s ok 1539 /checksum/SHA512/57 999s ok 1540 /checksum/SHA512/58 999s ok 1541 /checksum/SHA512/59 999s ok 1542 /checksum/SHA512/60 999s ok 1543 /checksum/SHA512/61 999s ok 1544 /checksum/SHA512/62 999s ok 1545 /checksum/SHA512/63 999s ok 1546 /checksum/SHA512/64 999s ok 1547 /checksum/SHA512/65 999s ok 1548 /checksum/SHA512/66 999s ok 1549 /checksum/SHA512/67 999s ok 1550 /checksum/SHA512/68 999s ok 1551 /checksum/SHA512/69 999s ok 1552 /checksum/SHA512/70 999s ok 1553 /checksum/SHA512/71 999s ok 1554 /checksum/SHA512/72 999s ok 1555 /checksum/SHA512/73 999s ok 1556 /checksum/SHA512/74 999s ok 1557 /checksum/SHA512/75 999s ok 1558 /checksum/SHA512/76 999s ok 1559 /checksum/SHA512/77 999s ok 1560 /checksum/SHA512/78 999s ok 1561 /checksum/SHA512/79 999s ok 1562 /checksum/SHA512/80 999s ok 1563 /checksum/SHA512/81 999s ok 1564 /checksum/SHA512/82 999s ok 1565 /checksum/SHA512/83 999s ok 1566 /checksum/SHA512/84 999s ok 1567 /checksum/SHA512/85 999s ok 1568 /checksum/SHA512/86 999s ok 1569 /checksum/SHA512/87 999s ok 1570 /checksum/SHA512/88 999s ok 1571 /checksum/SHA512/89 999s ok 1572 /checksum/SHA512/90 999s ok 1573 /checksum/SHA512/91 999s ok 1574 /checksum/SHA512/92 999s ok 1575 /checksum/SHA512/93 999s ok 1576 /checksum/SHA512/94 999s ok 1577 /checksum/SHA512/95 999s ok 1578 /checksum/SHA512/96 999s ok 1579 /checksum/SHA512/97 999s ok 1580 /checksum/SHA512/98 999s ok 1581 /checksum/SHA512/99 999s ok 1582 /checksum/SHA512/100 999s ok 1583 /checksum/SHA512/101 999s ok 1584 /checksum/SHA512/102 999s ok 1585 /checksum/SHA512/103 999s ok 1586 /checksum/SHA512/104 999s ok 1587 /checksum/SHA512/105 999s ok 1588 /checksum/SHA512/106 999s ok 1589 /checksum/SHA512/107 999s ok 1590 /checksum/SHA512/108 999s ok 1591 /checksum/SHA512/109 999s ok 1592 /checksum/SHA512/110 999s ok 1593 /checksum/SHA512/111 999s ok 1594 /checksum/SHA512/112 999s ok 1595 /checksum/SHA512/113 999s ok 1596 /checksum/SHA512/114 999s ok 1597 /checksum/SHA512/115 999s ok 1598 /checksum/SHA512/116 999s ok 1599 /checksum/SHA512/117 999s ok 1600 /checksum/SHA512/118 999s ok 1601 /checksum/SHA512/119 999s ok 1602 /checksum/SHA512/120 999s ok 1603 /checksum/SHA512/121 999s ok 1604 /checksum/SHA512/122 999s ok 1605 /checksum/SHA512/123 999s ok 1606 /checksum/SHA512/124 999s ok 1607 /checksum/SHA512/125 999s ok 1608 /checksum/SHA512/126 999s ok 1609 /checksum/SHA512/127 999s ok 1610 /checksum/SHA512/128 999s ok 1611 /checksum/SHA512/129 999s ok 1612 /checksum/SHA512/130 999s ok 1613 /checksum/SHA512/131 999s ok 1614 /checksum/SHA512/132 999s ok 1615 /checksum/SHA512/133 999s ok 1616 /checksum/SHA512/134 999s ok 1617 /checksum/SHA512/135 999s ok 1618 /checksum/SHA512/136 999s ok 1619 /checksum/SHA512/137 999s ok 1620 /checksum/SHA512/138 999s ok 1621 /checksum/SHA512/139 999s ok 1622 /checksum/SHA512/140 999s ok 1623 /checksum/SHA512/141 999s ok 1624 /checksum/SHA512/142 999s ok 1625 /checksum/SHA512/143 999s ok 1626 /checksum/SHA512/144 999s ok 1627 /checksum/SHA512/145 999s ok 1628 /checksum/SHA512/146 999s ok 1629 /checksum/SHA512/147 999s ok 1630 /checksum/SHA512/148 999s ok 1631 /checksum/SHA512/149 999s ok 1632 /checksum/SHA512/150 999s ok 1633 /checksum/SHA512/151 999s ok 1634 /checksum/SHA512/152 999s ok 1635 /checksum/SHA512/153 999s ok 1636 /checksum/SHA512/154 999s ok 1637 /checksum/SHA512/155 999s ok 1638 /checksum/SHA512/156 999s ok 1639 /checksum/SHA512/157 999s ok 1640 /checksum/SHA512/158 999s ok 1641 /checksum/SHA512/159 999s ok 1642 /checksum/SHA512/160 999s ok 1643 /checksum/SHA512/161 999s ok 1644 /checksum/SHA512/162 999s ok 1645 /checksum/SHA512/163 999s ok 1646 /checksum/SHA512/164 999s ok 1647 /checksum/SHA512/165 999s ok 1648 /checksum/SHA512/166 999s ok 1649 /checksum/SHA512/167 999s ok 1650 /checksum/SHA512/168 999s ok 1651 /checksum/SHA512/169 999s ok 1652 /checksum/SHA512/170 999s ok 1653 /checksum/SHA512/171 999s ok 1654 /checksum/SHA512/172 999s ok 1655 /checksum/SHA512/173 999s ok 1656 /checksum/SHA512/174 999s ok 1657 /checksum/SHA512/175 999s ok 1658 /checksum/SHA512/176 999s ok 1659 /checksum/SHA512/177 999s ok 1660 /checksum/SHA512/178 999s ok 1661 /checksum/SHA512/179 999s ok 1662 /checksum/SHA512/180 999s ok 1663 /checksum/SHA512/181 999s ok 1664 /checksum/SHA512/182 999s ok 1665 /checksum/SHA512/183 999s ok 1666 /checksum/SHA512/string 999s ok 1667 /checksum/SHA512/bytes 999s # Start of reset tests 999s ok 1668 /checksum/SHA512/reset/0 999s ok 1669 /checksum/SHA512/reset/1 999s ok 1670 /checksum/SHA512/reset/2 999s ok 1671 /checksum/SHA512/reset/3 999s ok 1672 /checksum/SHA512/reset/4 999s ok 1673 /checksum/SHA512/reset/5 999s ok 1674 /checksum/SHA512/reset/6 999s ok 1675 /checksum/SHA512/reset/7 999s ok 1676 /checksum/SHA512/reset/8 999s ok 1677 /checksum/SHA512/reset/9 999s ok 1678 /checksum/SHA512/reset/10 999s ok 1679 /checksum/SHA512/reset/11 999s ok 1680 /checksum/SHA512/reset/12 999s ok 1681 /checksum/SHA512/reset/13 999s ok 1682 /checksum/SHA512/reset/14 999s ok 1683 /checksum/SHA512/reset/15 999s ok 1684 /checksum/SHA512/reset/16 999s ok 1685 /checksum/SHA512/reset/17 999s ok 1686 /checksum/SHA512/reset/18 999s ok 1687 /checksum/SHA512/reset/19 999s ok 1688 /checksum/SHA512/reset/20 999s ok 1689 /checksum/SHA512/reset/21 999s ok 1690 /checksum/SHA512/reset/22 999s ok 1691 /checksum/SHA512/reset/23 999s ok 1692 /checksum/SHA512/reset/24 999s ok 1693 /checksum/SHA512/reset/25 999s ok 1694 /checksum/SHA512/reset/26 999s ok 1695 /checksum/SHA512/reset/27 999s ok 1696 /checksum/SHA512/reset/28 999s ok 1697 /checksum/SHA512/reset/29 999s ok 1698 /checksum/SHA512/reset/30 999s ok 1699 /checksum/SHA512/reset/31 999s ok 1700 /checksum/SHA512/reset/32 999s ok 1701 /checksum/SHA512/reset/33 999s ok 1702 /checksum/SHA512/reset/34 999s ok 1703 /checksum/SHA512/reset/35 999s ok 1704 /checksum/SHA512/reset/36 999s ok 1705 /checksum/SHA512/reset/37 999s ok 1706 /checksum/SHA512/reset/38 999s ok 1707 /checksum/SHA512/reset/39 999s ok 1708 /checksum/SHA512/reset/40 999s ok 1709 /checksum/SHA512/reset/41 999s ok 1710 /checksum/SHA512/reset/42 999s ok 1711 /checksum/SHA512/reset/43 999s ok 1712 /checksum/SHA512/reset/44 999s ok 1713 /checksum/SHA512/reset/45 999s ok 1714 /checksum/SHA512/reset/46 999s ok 1715 /checksum/SHA512/reset/47 999s ok 1716 /checksum/SHA512/reset/48 999s ok 1717 /checksum/SHA512/reset/49 999s ok 1718 /checksum/SHA512/reset/50 999s ok 1719 /checksum/SHA512/reset/51 999s ok 1720 /checksum/SHA512/reset/52 999s ok 1721 /checksum/SHA512/reset/53 999s ok 1722 /checksum/SHA512/reset/54 999s ok 1723 /checksum/SHA512/reset/55 999s ok 1724 /checksum/SHA512/reset/56 999s ok 1725 /checksum/SHA512/reset/57 999s ok 1726 /checksum/SHA512/reset/58 999s ok 1727 /checksum/SHA512/reset/59 999s ok 1728 /checksum/SHA512/reset/60 999s ok 1729 /checksum/SHA512/reset/61 999s ok 1730 /checksum/SHA512/reset/62 999s ok 1731 /checksum/SHA512/reset/63 999s ok 1732 /checksum/SHA512/reset/64 999s ok 1733 /checksum/SHA512/reset/65 999s ok 1734 /checksum/SHA512/reset/66 999s ok 1735 /checksum/SHA512/reset/67 999s ok 1736 /checksum/SHA512/reset/68 999s ok 1737 /checksum/SHA512/reset/69 999s ok 1738 /checksum/SHA512/reset/70 999s ok 1739 /checksum/SHA512/reset/71 999s ok 1740 /checksum/SHA512/reset/72 999s ok 1741 /checksum/SHA512/reset/73 999s ok 1742 /checksum/SHA512/reset/74 999s ok 1743 /checksum/SHA512/reset/75 999s ok 1744 /checksum/SHA512/reset/76 999s ok 1745 /checksum/SHA512/reset/77 999s ok 1746 /checksum/SHA512/reset/78 999s ok 1747 /checksum/SHA512/reset/79 999s ok 1748 /checksum/SHA512/reset/80 999s ok 1749 /checksum/SHA512/reset/81 999s ok 1750 /checksum/SHA512/reset/82 999s ok 1751 /checksum/SHA512/reset/83 999s ok 1752 /checksum/SHA512/reset/84 999s ok 1753 /checksum/SHA512/reset/85 999s ok 1754 /checksum/SHA512/reset/86 999s ok 1755 /checksum/SHA512/reset/87 999s ok 1756 /checksum/SHA512/reset/88 999s ok 1757 /checksum/SHA512/reset/89 999s ok 1758 /checksum/SHA512/reset/90 999s ok 1759 /checksum/SHA512/reset/91 999s ok 1760 /checksum/SHA512/reset/92 999s ok 1761 /checksum/SHA512/reset/93 999s ok 1762 /checksum/SHA512/reset/94 999s ok 1763 /checksum/SHA512/reset/95 999s ok 1764 /checksum/SHA512/reset/96 999s ok 1765 /checksum/SHA512/reset/97 999s ok 1766 /checksum/SHA512/reset/98 999s ok 1767 /checksum/SHA512/reset/99 999s ok 1768 /checksum/SHA512/reset/100 999s ok 1769 /checksum/SHA512/reset/101 999s ok 1770 /checksum/SHA512/reset/102 999s ok 1771 /checksum/SHA512/reset/103 999s ok 1772 /checksum/SHA512/reset/104 999s ok 1773 /checksum/SHA512/reset/105 999s ok 1774 /checksum/SHA512/reset/106 999s ok 1775 /checksum/SHA512/reset/107 999s ok 1776 /checksum/SHA512/reset/108 999s ok 1777 /checksum/SHA512/reset/109 999s ok 1778 /checksum/SHA512/reset/110 999s ok 1779 /checksum/SHA512/reset/111 999s ok 1780 /checksum/SHA512/reset/112 999s ok 1781 /checksum/SHA512/reset/113 999s ok 1782 /checksum/SHA512/reset/114 999s ok 1783 /checksum/SHA512/reset/115 999s ok 1784 /checksum/SHA512/reset/116 999s ok 1785 /checksum/SHA512/reset/117 999s ok 1786 /checksum/SHA512/reset/118 999s ok 1787 /checksum/SHA512/reset/119 999s ok 1788 /checksum/SHA512/reset/120 999s ok 1789 /checksum/SHA512/reset/121 999s ok 1790 /checksum/SHA512/reset/122 999s ok 1791 /checksum/SHA512/reset/123 999s ok 1792 /checksum/SHA512/reset/124 999s ok 1793 /checksum/SHA512/reset/125 999s ok 1794 /checksum/SHA512/reset/126 999s ok 1795 /checksum/SHA512/reset/127 999s ok 1796 /checksum/SHA512/reset/128 999s ok 1797 /checksum/SHA512/reset/129 999s ok 1798 /checksum/SHA512/reset/130 999s ok 1799 /checksum/SHA512/reset/131 999s ok 1800 /checksum/SHA512/reset/132 999s ok 1801 /checksum/SHA512/reset/133 999s ok 1802 /checksum/SHA512/reset/134 999s ok 1803 /checksum/SHA512/reset/135 999s ok 1804 /checksum/SHA512/reset/136 999s ok 1805 /checksum/SHA512/reset/137 999s ok 1806 /checksum/SHA512/reset/138 999s ok 1807 /checksum/SHA512/reset/139 999s ok 1808 /checksum/SHA512/reset/140 999s ok 1809 /checksum/SHA512/reset/141 999s ok 1810 /checksum/SHA512/reset/142 999s ok 1811 /checksum/SHA512/reset/143 999s ok 1812 /checksum/SHA512/reset/144 999s ok 1813 /checksum/SHA512/reset/145 999s ok 1814 /checksum/SHA512/reset/146 999s ok 1815 /checksum/SHA512/reset/147 999s ok 1816 /checksum/SHA512/reset/148 999s ok 1817 /checksum/SHA512/reset/149 999s ok 1818 /checksum/SHA512/reset/150 999s ok 1819 /checksum/SHA512/reset/151 999s ok 1820 /checksum/SHA512/reset/152 999s ok 1821 /checksum/SHA512/reset/153 999s ok 1822 /checksum/SHA512/reset/154 999s ok 1823 /checksum/SHA512/reset/155 999s ok 1824 /checksum/SHA512/reset/156 999s ok 1825 /checksum/SHA512/reset/157 999s ok 1826 /checksum/SHA512/reset/158 999s ok 1827 /checksum/SHA512/reset/159 999s ok 1828 /checksum/SHA512/reset/160 999s ok 1829 /checksum/SHA512/reset/161 999s ok 1830 /checksum/SHA512/reset/162 999s ok 1831 /checksum/SHA512/reset/163 999s ok 1832 /checksum/SHA512/reset/164 999s ok 1833 /checksum/SHA512/reset/165 999s ok 1834 /checksum/SHA512/reset/166 999s ok 1835 /checksum/SHA512/reset/167 999s ok 1836 /checksum/SHA512/reset/168 999s ok 1837 /checksum/SHA512/reset/169 999s ok 1838 /checksum/SHA512/reset/170 999s ok 1839 /checksum/SHA512/reset/171 999s ok 1840 /checksum/SHA512/reset/172 999s ok 1841 /checksum/SHA512/reset/173 999s ok 1842 /checksum/SHA512/reset/174 999s ok 1843 /checksum/SHA512/reset/175 999s ok 1844 /checksum/SHA512/reset/176 999s ok 1845 /checksum/SHA512/reset/177 999s ok 1846 /checksum/SHA512/reset/178 999s ok 1847 /checksum/SHA512/reset/179 999s ok 1848 /checksum/SHA512/reset/180 999s ok 1849 /checksum/SHA512/reset/181 999s ok 1850 /checksum/SHA512/reset/182 999s ok 1851 /checksum/SHA512/reset/183 999s # End of reset tests 999s # End of SHA512 tests 999s # End of checksum tests 999s ok - glib/checksum.test 999s # Running test: glib/cancellable.test 999s TAP version 14 999s # random seed: R02Sc47d282d66e93826a5767ce7f2a3dbf0 999s 1..10 999s # Start of cancellable tests 999s ok 1 /cancellable/multiple-concurrent # SKIP Not running timing heavy test 999s ok 2 /cancellable/null 999s # /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 999s ok 3 /cancellable/disconnect-on-cancelled-callback-hangs 999s # /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 999s ok 4 /cancellable/resets-on-cancel-callback-hangs 999s ok 5 /cancellable/poll-fd 999s # /cancellable/poll-fd-cancelled summary: Tests that cancellation wakes up a pollable FD on creation 999s ok 6 /cancellable/poll-fd-cancelled 999s # /cancellable/poll-fd-cancelled-threaded summary: Tests that a cancellation wakes up a pollable FD 999s ok 7 /cancellable/poll-fd-cancelled-threaded 999s # /cancellable/cancel-reset-races summary: Tests threads racing for cancelling and resetting a GCancellable 999s ok 8 /cancellable/cancel-reset-races 999s # /cancellable/cancel-reset-connect-races summary: Tests threads racing for cancelling, connecting and disconnecting and resetting a GCancellable 999s not ok 9 /cancellable/cancel-reset-connect-races # TODO We didn't really checked if callbacks is called properly 999s # End of cancellable tests 999s # Start of cancellable-source tests 999s # /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) 999s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1841 1000s ok 10 /cancellable-source/threaded-dispose 1000s # slow test /cancellable-source/threaded-dispose executed in 0.54 secs 1000s # End of cancellable-source tests 1000s ok - glib/cancellable.test 1000s # Running test: glib/utils.test 1000s TAP version 14 1000s # random seed: R02S61df12918481f942a62894e4d3e9cae9 1000s 1..40 1000s # Start of utils tests 1000s ok 1 /utils/language-names 1000s ok 2 /utils/locale-variants 1000s ok 3 /utils/version 1000s ok 4 /utils/appname 1000s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1000s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1000s ok 5 /utils/prgname-thread-safety 1000s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1000s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1000s ok 6 /utils/tmpdir 1000s ok 7 /utils/basic_bits 1000s ok 8 /utils/bits 1000s ok 9 /utils/swap 1000s ok 10 /utils/find-program 1000s ok 11 /utils/find-program-for-path 1000s ok 12 /utils/debug 1000s ok 13 /utils/codeset 1000s ok 14 /utils/codeset2 1000s ok 15 /utils/console-charset 1000s ok 16 /utils/gettext 1000s ok 17 /utils/username 1000s ok 18 /utils/realname 1000s ok 19 /utils/hostname 1000s ok 20 /utils/xdgdirs 1000s ok 21 /utils/specialdir 1000s # NAME: Ubuntu 1000s ok 22 /utils/os-info 1000s ok 23 /utils/clear-pointer 1000s ok 24 /utils/clear-pointer-cast 1000s ok 25 /utils/take-pointer 1000s ok 26 /utils/clear-source 1000s ok 27 /utils/misc-mem 1000s # /utils/aligned-mem summary: Aligned memory allocator 1000s # Alignment must not be zero 1000s # Alignment must be a power of two 1000s # Alignment must be a multiple of sizeof(void*) 1000s ok 28 /utils/aligned-mem 1000s # /utils/free-sized summary: Check that g_free_sized() works 1000s ok 29 /utils/free-sized 1000s ok 30 /utils/nullify 1000s ok 31 /utils/atexit 1000s ok 32 /utils/check-setuid 1000s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1000s ok 33 /utils/int-limits 1000s ok 34 /utils/clear-list 1000s ok 35 /utils/clear-slist 1000s # Start of specialdir tests 1000s ok 36 /utils/specialdir/desktop 1000s # End of specialdir tests 1000s # Start of clear-pointer tests 1000s ok 37 /utils/clear-pointer/side-effects 1000s # End of clear-pointer tests 1000s # Start of aligned-mem tests 1000s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1000s ok 38 /utils/aligned-mem/alignment 1000s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1000s ok 39 /utils/aligned-mem/zeroed 1000s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1000s ok 40 /utils/aligned-mem/free-sized 1000s # Start of subprocess tests 1000s # End of subprocess tests 1000s # End of aligned-mem tests 1000s # End of utils tests 1000s ok - glib/utils.test 1000s # Running test: glib/file-thumbnail.test 1000s TAP version 14 1000s # random seed: R02S825fc254a4375c878ad7c3640b391ee8 1000s 1..7 1000s # Start of file-thumbnail tests 1000s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_T05P02/file-thumbnail/fail/.dirs/home 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_T05P02/file-thumbnail/fail/.dirs/cache 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_T05P02/file-thumbnail/fail/.dirs/system-config1:/tmp/test_file-thumbnail_T05P02/file-thumbnail/fail/.dirs/system-config2 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_T05P02/file-thumbnail/fail/.dirs/config 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_T05P02/file-thumbnail/fail/.dirs/system-data1:/tmp/test_file-thumbnail_T05P02/file-thumbnail/fail/.dirs/system-data2 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_T05P02/file-thumbnail/fail/.dirs/data 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_T05P02/file-thumbnail/fail/.dirs/state 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_T05P02/file-thumbnail/fail/.dirs/runtime 1000s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1000s # Created test thumbnail at /tmp/test_file-thumbnail_T05P02/file-thumbnail/fail/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png 1000s ok 1 /file-thumbnail/fail 1000s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_T05P02/file-thumbnail/size-priority/.dirs/home 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_T05P02/file-thumbnail/size-priority/.dirs/cache 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_T05P02/file-thumbnail/size-priority/.dirs/system-config1:/tmp/test_file-thumbnail_T05P02/file-thumbnail/size-priority/.dirs/system-config2 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_T05P02/file-thumbnail/size-priority/.dirs/config 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_T05P02/file-thumbnail/size-priority/.dirs/system-data1:/tmp/test_file-thumbnail_T05P02/file-thumbnail/size-priority/.dirs/system-data2 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_T05P02/file-thumbnail/size-priority/.dirs/data 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_T05P02/file-thumbnail/size-priority/.dirs/state 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_T05P02/file-thumbnail/size-priority/.dirs/runtime 1000s # Created test thumbnail at /tmp/test_file-thumbnail_T05P02/file-thumbnail/size-priority/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png 1000s # Created test thumbnail at /tmp/test_file-thumbnail_T05P02/file-thumbnail/size-priority/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png 1000s # Created test thumbnail at /tmp/test_file-thumbnail_T05P02/file-thumbnail/size-priority/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png 1000s # Created test thumbnail at /tmp/test_file-thumbnail_T05P02/file-thumbnail/size-priority/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png 1000s # Created test thumbnail at /tmp/test_file-thumbnail_T05P02/file-thumbnail/size-priority/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png 1000s ok 2 /file-thumbnail/size-priority 1000s # Start of valid tests 1000s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_T05P02/file-thumbnail/valid/normal/.dirs/home 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_T05P02/file-thumbnail/valid/normal/.dirs/cache 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_T05P02/file-thumbnail/valid/normal/.dirs/system-config1:/tmp/test_file-thumbnail_T05P02/file-thumbnail/valid/normal/.dirs/system-config2 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_T05P02/file-thumbnail/valid/normal/.dirs/config 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_T05P02/file-thumbnail/valid/normal/.dirs/system-data1:/tmp/test_file-thumbnail_T05P02/file-thumbnail/valid/normal/.dirs/system-data2 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_T05P02/file-thumbnail/valid/normal/.dirs/data 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_T05P02/file-thumbnail/valid/normal/.dirs/state 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_T05P02/file-thumbnail/valid/normal/.dirs/runtime 1000s # Created test thumbnail at /tmp/test_file-thumbnail_T05P02/file-thumbnail/valid/normal/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png 1000s ok 3 /file-thumbnail/valid/normal 1000s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_T05P02/file-thumbnail/valid/large/.dirs/home 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_T05P02/file-thumbnail/valid/large/.dirs/cache 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_T05P02/file-thumbnail/valid/large/.dirs/system-config1:/tmp/test_file-thumbnail_T05P02/file-thumbnail/valid/large/.dirs/system-config2 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_T05P02/file-thumbnail/valid/large/.dirs/config 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_T05P02/file-thumbnail/valid/large/.dirs/system-data1:/tmp/test_file-thumbnail_T05P02/file-thumbnail/valid/large/.dirs/system-data2 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_T05P02/file-thumbnail/valid/large/.dirs/data 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_T05P02/file-thumbnail/valid/large/.dirs/state 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_T05P02/file-thumbnail/valid/large/.dirs/runtime 1000s # Created test thumbnail at /tmp/test_file-thumbnail_T05P02/file-thumbnail/valid/large/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png 1000s ok 4 /file-thumbnail/valid/large 1000s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_T05P02/file-thumbnail/valid/x-large/.dirs/home 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_T05P02/file-thumbnail/valid/x-large/.dirs/cache 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_T05P02/file-thumbnail/valid/x-large/.dirs/system-config1:/tmp/test_file-thumbnail_T05P02/file-thumbnail/valid/x-large/.dirs/system-config2 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_T05P02/file-thumbnail/valid/x-large/.dirs/config 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_T05P02/file-thumbnail/valid/x-large/.dirs/system-data1:/tmp/test_file-thumbnail_T05P02/file-thumbnail/valid/x-large/.dirs/system-data2 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_T05P02/file-thumbnail/valid/x-large/.dirs/data 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_T05P02/file-thumbnail/valid/x-large/.dirs/state 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_T05P02/file-thumbnail/valid/x-large/.dirs/runtime 1000s # Created test thumbnail at /tmp/test_file-thumbnail_T05P02/file-thumbnail/valid/x-large/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png 1000s ok 5 /file-thumbnail/valid/x-large 1000s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_T05P02/file-thumbnail/valid/xx-large/.dirs/home 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_T05P02/file-thumbnail/valid/xx-large/.dirs/cache 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_T05P02/file-thumbnail/valid/xx-large/.dirs/system-config1:/tmp/test_file-thumbnail_T05P02/file-thumbnail/valid/xx-large/.dirs/system-config2 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_T05P02/file-thumbnail/valid/xx-large/.dirs/config 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_T05P02/file-thumbnail/valid/xx-large/.dirs/system-data1:/tmp/test_file-thumbnail_T05P02/file-thumbnail/valid/xx-large/.dirs/system-data2 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_T05P02/file-thumbnail/valid/xx-large/.dirs/data 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_T05P02/file-thumbnail/valid/xx-large/.dirs/state 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_T05P02/file-thumbnail/valid/xx-large/.dirs/runtime 1000s # Created test thumbnail at /tmp/test_file-thumbnail_T05P02/file-thumbnail/valid/xx-large/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png 1000s ok 6 /file-thumbnail/valid/xx-large 1000s # End of valid tests 1000s # Start of unknown tests 1000s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_T05P02/file-thumbnail/unknown/super-large/.dirs/home 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_T05P02/file-thumbnail/unknown/super-large/.dirs/cache 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_T05P02/file-thumbnail/unknown/super-large/.dirs/system-config1:/tmp/test_file-thumbnail_T05P02/file-thumbnail/unknown/super-large/.dirs/system-config2 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_T05P02/file-thumbnail/unknown/super-large/.dirs/config 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_T05P02/file-thumbnail/unknown/super-large/.dirs/system-data1:/tmp/test_file-thumbnail_T05P02/file-thumbnail/unknown/super-large/.dirs/system-data2 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_T05P02/file-thumbnail/unknown/super-large/.dirs/data 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_T05P02/file-thumbnail/unknown/super-large/.dirs/state 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_T05P02/file-thumbnail/unknown/super-large/.dirs/runtime 1000s # Created test thumbnail at /tmp/test_file-thumbnail_T05P02/file-thumbnail/unknown/super-large/.dirs/cache/thumbnails/super-large/f098bcae74f8241ee3835bded7284cdd.png 1000s ok 7 /file-thumbnail/unknown/super-large 1000s # End of unknown tests 1000s # End of file-thumbnail tests 1000s ok - glib/file-thumbnail.test 1000s # Running test: glib/rwlock.test 1000s TAP version 14 1000s # random seed: R02Scedc7393e67280b0a0aa65d7c02913b6 1000s 1..8 1000s # Start of thread tests 1000s ok 1 /thread/rwlock1 1000s ok 2 /thread/rwlock2 1000s ok 3 /thread/rwlock3 1000s ok 4 /thread/rwlock4 1000s ok 5 /thread/rwlock5 1000s ok 6 /thread/rwlock6 1004s # Executing: glib/rwlock.test 1006s ok 7 /thread/rwlock7 1006s # slow test /thread/rwlock7 executed in 5.87 secs 1006s ok 8 /thread/rwlock8 1006s # End of thread tests 1006s ok - glib/rwlock.test 1006s # Running test: glib/testing.test 1006s TAP version 14 1006s # random seed: R02S23551996012d21fc987de842a1ef7037 1006s 1..1 1006s # Start of assert tests 1006s ok 1 /assert/finalize_object 1006s # Start of finalize_object tests 1006s # Start of subprocess tests 1006s # End of subprocess tests 1006s # End of finalize_object tests 1006s # End of assert tests 1006s ok - glib/testing.test 1006s # Running test: glib/memory-settings-backend.test 1006s TAP version 14 1006s # random seed: R02Sabbced9ea1e21817e8ce8e6b7b54e9f8 1006s 1..1 1006s # Start of memory-settings-backend tests 1006s ok 1 /memory-settings-backend/extension-point-registered 1006s # End of memory-settings-backend tests 1006s ok - glib/memory-settings-backend.test 1006s # Running test: glib/gdbus-proxy.test 1006s TAP version 14 1006s # random seed: R02S25f68a4162ddff33e81b1a8ef99e08db 1006s 1..5 1006s # Start of gdbus tests 1006s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_G21O02/gdbus/proxy/.dirs/home 1006s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_G21O02/gdbus/proxy/.dirs/cache 1006s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_G21O02/gdbus/proxy/.dirs/system-config1:/tmp/test_gdbus-proxy_G21O02/gdbus/proxy/.dirs/system-config2 1006s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_G21O02/gdbus/proxy/.dirs/config 1006s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_G21O02/gdbus/proxy/.dirs/system-data1:/tmp/test_gdbus-proxy_G21O02/gdbus/proxy/.dirs/system-data2 1006s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_G21O02/gdbus/proxy/.dirs/data 1006s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_G21O02/gdbus/proxy/.dirs/state 1006s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_G21O02/gdbus/proxy/.dirs/runtime 1006s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1008s ok 1 /gdbus/proxy 1008s # slow test /gdbus/proxy executed in 1.72 secs 1008s # Start of proxy tests 1008s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_G21O02/gdbus/proxy/no-properties/.dirs/home 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_G21O02/gdbus/proxy/no-properties/.dirs/cache 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_G21O02/gdbus/proxy/no-properties/.dirs/system-config1:/tmp/test_gdbus-proxy_G21O02/gdbus/proxy/no-properties/.dirs/system-config2 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_G21O02/gdbus/proxy/no-properties/.dirs/config 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_G21O02/gdbus/proxy/no-properties/.dirs/system-data1:/tmp/test_gdbus-proxy_G21O02/gdbus/proxy/no-properties/.dirs/system-data2 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_G21O02/gdbus/proxy/no-properties/.dirs/data 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_G21O02/gdbus/proxy/no-properties/.dirs/state 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_G21O02/gdbus/proxy/no-properties/.dirs/runtime 1008s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1008s ok 2 /gdbus/proxy/no-properties 1008s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_G21O02/gdbus/proxy/wellknown-noauto/.dirs/home 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_G21O02/gdbus/proxy/wellknown-noauto/.dirs/cache 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_G21O02/gdbus/proxy/wellknown-noauto/.dirs/system-config1:/tmp/test_gdbus-proxy_G21O02/gdbus/proxy/wellknown-noauto/.dirs/system-config2 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_G21O02/gdbus/proxy/wellknown-noauto/.dirs/config 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_G21O02/gdbus/proxy/wellknown-noauto/.dirs/system-data1:/tmp/test_gdbus-proxy_G21O02/gdbus/proxy/wellknown-noauto/.dirs/system-data2 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_G21O02/gdbus/proxy/wellknown-noauto/.dirs/data 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_G21O02/gdbus/proxy/wellknown-noauto/.dirs/state 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_G21O02/gdbus/proxy/wellknown-noauto/.dirs/runtime 1008s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1008s ok 3 /gdbus/proxy/wellknown-noauto 1008s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_G21O02/gdbus/proxy/async/.dirs/home 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_G21O02/gdbus/proxy/async/.dirs/cache 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_G21O02/gdbus/proxy/async/.dirs/system-config1:/tmp/test_gdbus-proxy_G21O02/gdbus/proxy/async/.dirs/system-config2 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_G21O02/gdbus/proxy/async/.dirs/config 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_G21O02/gdbus/proxy/async/.dirs/system-data1:/tmp/test_gdbus-proxy_G21O02/gdbus/proxy/async/.dirs/system-data2 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_G21O02/gdbus/proxy/async/.dirs/data 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_G21O02/gdbus/proxy/async/.dirs/state 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_G21O02/gdbus/proxy/async/.dirs/runtime 1008s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1009s # Executing: glib/gdbus-proxy.test 1009s ok 4 /gdbus/proxy/async 1009s # slow test /gdbus/proxy/async executed in 1.72 secs 1009s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_G21O02/gdbus/proxy/no-match-rule/.dirs/home 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_G21O02/gdbus/proxy/no-match-rule/.dirs/cache 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_G21O02/gdbus/proxy/no-match-rule/.dirs/system-config1:/tmp/test_gdbus-proxy_G21O02/gdbus/proxy/no-match-rule/.dirs/system-config2 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_G21O02/gdbus/proxy/no-match-rule/.dirs/config 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_G21O02/gdbus/proxy/no-match-rule/.dirs/system-data1:/tmp/test_gdbus-proxy_G21O02/gdbus/proxy/no-match-rule/.dirs/system-data2 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_G21O02/gdbus/proxy/no-match-rule/.dirs/data 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_G21O02/gdbus/proxy/no-match-rule/.dirs/state 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_G21O02/gdbus/proxy/no-match-rule/.dirs/runtime 1009s # /gdbus/proxy/no-match-rule summary: Test that G_DBUS_PROXY_FLAGS_NO_MATCH_RULE works 1009s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1109 1009s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1011s ok 5 /gdbus/proxy/no-match-rule 1011s # slow test /gdbus/proxy/no-match-rule executed in 1.72 secs 1011s # End of proxy tests 1011s # End of gdbus tests 1011s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1011s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1011s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1011s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1011s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1011s ok - glib/gdbus-proxy.test 1011s # Running test: glib/test-printf.test 1011s TAP version 14 1011s # random seed: R02S1a744e0ab87b581159ebd9bd11df5acd 1011s 1..22 1011s # Start of snprintf tests 1011s ok 1 /snprintf/retval-and-trunc 1011s ok 2 /snprintf/%d 1011s ok 3 /snprintf/%d-invalid 1011s ok 4 /snprintf/%o 1011s ok 5 /snprintf/%u 1011s ok 6 /snprintf/%x 1011s ok 7 /snprintf/%X 1011s ok 8 /snprintf/%f 1011s ok 9 /snprintf/%e 1011s ok 10 /snprintf/%c 1011s ok 11 /snprintf/%s 1011s ok 12 /snprintf/%n 1011s ok 13 /snprintf/test-percent 1011s ok 14 /snprintf/test-positional-params 1011s ok 15 /snprintf/test-64bit 1011s # End of snprintf tests 1011s # Start of printf tests 1011s ok 16 /printf/test-percent 1011s ok 17 /printf/test-positional-params 1011s ok 18 /printf/test-64bit 1011s # Start of test-64bit tests 1011s # Start of subprocess tests 1011s # End of subprocess tests 1011s # End of test-64bit tests 1011s # End of printf tests 1011s # Start of sprintf tests 1011s ok 19 /sprintf/test-positional-params 1011s ok 20 /sprintf/upper-bound 1011s # End of sprintf tests 1011s # Start of vasprintf tests 1011s # /vasprintf/invalid-format-placeholder summary: Test error handling for invalid format placeholder in g_vasprintf() 1011s ok 21 /vasprintf/invalid-format-placeholder 1011s # /vasprintf/invalid-wide-string summary: Test error handling for invalid wide strings in g_vasprintf() 1011s ok 22 /vasprintf/invalid-wide-string 1011s # End of vasprintf tests 1011s ok - glib/test-printf.test 1011s # Running test: glib/override.test 1011s TAP version 14 1011s # random seed: R02Sc07decdef368b96b9fd86fcbe25f4a97 1011s 1..1 1011s # Start of gobject tests 1011s # *** emitting foo on a TestA instance 1011s # Expecting: TestA::foo,TestI::foo 1011s # Got: TestA::foo,TestI::foo 1011s # *** emitting bar on a TestA instance 1011s # Expecting: TestA::bar 1011s # Got: TestA::bar 1011s # *** emitting baz on a TestA instance 1011s # Expecting: TestA::baz 1011s # Got: TestA::baz 1011s # *** emitting foo on a TestB instance 1011s # Expecting: TestB::foo,TestA::foo,TestI::foo 1011s # Got: TestB::foo,TestA::foo,TestI::foo 1011s # *** emitting bar on a TestB instance 1011s # Expecting: TestB::bar,TestA::bar 1011s # Got: TestB::bar,TestA::bar 1011s # *** emitting baz on a TestB instance 1011s # Expecting: TestB::baz,TestA::baz 1011s # Got: TestB::baz,TestA::baz 1011s # *** emitting foo on a TestC instance 1011s # Expecting: TestC::foo,TestB::foo,TestA::foo,TestI::foo 1011s # Got: TestC::foo,TestB::foo,TestA::foo,TestI::foo 1011s # *** emitting bar on a TestC instance 1011s # Expecting: TestC::bar,TestB::bar,TestA::bar 1011s # Got: TestC::bar,TestB::bar,TestA::bar 1011s # *** emitting baz on a TestC instance 1011s # Expecting: TestC::baz,TestB::baz,TestA::baz 1011s # Got: TestC::baz,TestB::baz,TestA::baz 1011s ok 1 /gobject/override 1011s # End of gobject tests 1011s ok - glib/override.test 1011s # Running test: glib/dbus-appinfo.test 1011s TAP version 14 1011s # random seed: R02Sfa788ffcab8d4ffd08dd46094bb6e3bc 1011s 1..3 1011s # Start of appinfo tests 1011s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1011s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1011s ok 1 /appinfo/dbusappinfo 1011s # /appinfo/flatpak-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal. 1011s dbus-daemon[9842]: [session uid=1000 pid=9842] Activating service name='org.freedesktop.portal.Documents' requested by ':1.0' (uid=1000 pid=9841 comm="/usr/libexec/installed-tests/glib/dbus-appinfo" label="unconfined") 1011s # Acquired a message bus connection 1011s dbus-daemon[9842]: [session uid=1000 pid=9842] Successfully activated service 'org.freedesktop.portal.Documents' 1011s # Acquired the name org.freedesktop.portal.Documents 1011s # on_flatpak_open received file '/document-portal/document-id/org.gtk.test.dbusappinfo.flatpak.desktop' 1011s ok 2 /appinfo/flatpak-doc-export 1011s # /appinfo/flatpak-missing-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal. 1011s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1011s # on_flatpak_open received file '/hopefully/an/invalid/path.desktop' 1011s ok 3 /appinfo/flatpak-missing-doc-export 1011s # End of appinfo tests 1011s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1011s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1011s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1011s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1011s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1011s # Lost the name org.freedesktop.portal.Documents 1011s ok - glib/dbus-appinfo.test 1011s # Running test: glib/scannerapi.test 1011s TAP version 14 1011s # random seed: R02S95e241665aa251540b6fe2998c2c0023 1011s 1..4 1011s # Start of scanner tests 1011s ok 1 /scanner/warn 1011s ok 2 /scanner/error 1011s ok 3 /scanner/symbols 1011s ok 4 /scanner/tokens 1011s # End of scanner tests 1011s ok - glib/scannerapi.test 1011s # Running test: glib/converter-stream.test 1011s TAP version 14 1011s # random seed: R02S94a0785e306557e752dc7fc91b13f1ef 1011s 1..17 1011s # Start of converter tests 1011s ok 1 /converter/basics 1011s # End of converter tests 1011s # Start of converter-input-stream tests 1011s ok 2 /converter-input-stream/expander 1011s ok 3 /converter-input-stream/compressor 1011s # Start of truncation tests 1011s ok 4 /converter-input-stream/truncation/zlib 1011s ok 5 /converter-input-stream/truncation/gzip 1011s ok 6 /converter-input-stream/truncation/raw 1011s # End of truncation tests 1011s # Start of charset tests 1011s ok 7 /converter-input-stream/charset/utf8->latin1 1011s ok 8 /converter-input-stream/charset/latin1->utf8 1011s ok 9 /converter-input-stream/charset/fallbacks 1011s # End of charset tests 1011s # End of converter-input-stream tests 1011s # Start of converter-output-stream tests 1011s # Start of roundtrip tests 1011s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1011s ok 10 /converter-output-stream/roundtrip/zlib-0 1011s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1011s ok 11 /converter-output-stream/roundtrip/zlib-9 1011s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1011s ok 12 /converter-output-stream/roundtrip/gzip-0 1011s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1012s ok 13 /converter-output-stream/roundtrip/gzip-9 1012s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1012s ok 14 /converter-output-stream/roundtrip/raw-0 1012s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1012s ok 15 /converter-output-stream/roundtrip/raw-9 1012s # End of roundtrip tests 1012s # End of converter-output-stream tests 1012s # Start of converter-stream tests 1012s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1012s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x5ee172f2ee40 and GSocketClientAsyncConnectData 0x5ee173324320 1012s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1012s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1012s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x5ee172f3f5c0 for GSocketClientAsyncConnectData 0x5ee173324320 1012s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1012s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1012s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1012s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1012s ok 16 /converter-stream/pollable 1012s ok 17 /converter-stream/leftover 1012s # End of converter-stream tests 1012s ok - glib/converter-stream.test 1012s # Running test: glib/sleepy-stream.test 1012s TAP version 14 1012s # random seed: R02Sd80d1d28c6b1bf7680c887721404009c 1012s 1..2 1012s # Start of filter-stream tests 1012s ok 1 /filter-stream/input 1012s ok 2 /filter-stream/async 1012s # End of filter-stream tests 1012s ok - glib/sleepy-stream.test 1012s # Running test: glib/overflow.test 1012s TAP version 14 1012s # random seed: R02S1c1818791094fda35782100dc31071b9 1012s 1..6 1012s # Start of glib tests 1012s # Start of checked-math tests 1012s ok 1 /glib/checked-math/guint-add 1012s ok 2 /glib/checked-math/guint-mul 1012s ok 3 /glib/checked-math/guint64-add 1012s ok 4 /glib/checked-math/guint64-mul 1012s ok 5 /glib/checked-math/gsize-add 1012s ok 6 /glib/checked-math/gsize-mul 1012s # End of checked-math tests 1012s # End of glib tests 1012s ok - glib/overflow.test 1012s # Running test: glib/cxx-20.test 1012s TAP version 14 1012s # random seed: R02Sf628407bc763da5c72a4c0a8625702e8 1012s 1..2 1012s # Start of gtask tests 1012s # 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. 1012s ok 1 /gtask/name 1012s # Start of name tests 1012s # 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. 1012s ok 2 /gtask/name/macro-wrapper 1012s # End of name tests 1012s # End of gtask tests 1012s ok - glib/cxx-20.test 1012s # Running test: glib/refcount.test 1012s TAP version 14 1012s # random seed: R02Scb606e69281717ecfe2836a5d3d362f0 1012s 1..4 1012s # Start of refcount tests 1012s ok 1 /refcount/grefcount 1012s ok 2 /refcount/gatomicrefcount 1012s # Start of grefcount tests 1012s ok 3 /refcount/grefcount/saturation 1012s # End of grefcount tests 1012s # Start of gatomicrefcount tests 1012s ok 4 /refcount/gatomicrefcount/saturation 1012s # End of gatomicrefcount tests 1012s # End of refcount tests 1012s ok - glib/refcount.test 1012s # Running test: glib/appmonitor.test 1012s TAP version 14 1012s # random seed: R02S75bc91542cb8c9083eb6f872db66db13 1012s 1..1 1012s # Start of monitor tests 1012s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_appmonitor_BRNF02/monitor/app/.dirs/home 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_appmonitor_BRNF02/monitor/app/.dirs/cache 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_appmonitor_BRNF02/monitor/app/.dirs/system-config1:/tmp/test_appmonitor_BRNF02/monitor/app/.dirs/system-config2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_appmonitor_BRNF02/monitor/app/.dirs/config 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_appmonitor_BRNF02/monitor/app/.dirs/system-data1:/tmp/test_appmonitor_BRNF02/monitor/app/.dirs/system-data2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_appmonitor_BRNF02/monitor/app/.dirs/data 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_appmonitor_BRNF02/monitor/app/.dirs/state 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_appmonitor_BRNF02/monitor/app/.dirs/runtime 1012s # Using data directory: /tmp/test_appmonitor_BRNF02/monitor/app/.dirs/data 1012s ok 1 /monitor/app 1012s # End of monitor tests 1012s ok - glib/appmonitor.test 1012s # Running test: glib/socket-listener.test 1012s TAP version 14 1012s # random seed: R02Sc7cc166a4c6bb9a44e8983b64d0a59ad 1012s 1..1 1012s # Start of socket-listener tests 1012s ok 1 /socket-listener/event-signal 1012s # End of socket-listener tests 1012s ok - glib/socket-listener.test 1012s # Running test: glib/io-stream.test 1012s TAP version 14 1012s # random seed: R02Sbfac554908250e82cbe8c2e1ea5cd511 1012s 1..3 1012s # Start of io-stream tests 1012s ok 1 /io-stream/copy-chunks 1012s # Start of close tests 1012s # Start of async tests 1012s ok 2 /io-stream/close/async/memory 1012s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1012s ok 3 /io-stream/close/async/file 1012s # End of async tests 1012s # End of close tests 1012s # End of io-stream tests 1012s ok - glib/io-stream.test 1012s # Running test: glib/object-info.test 1012s TAP version 14 1012s # random seed: R02Sf7b0bb578030c851a983129bedadc6ed 1012s 1..2 1012s # Start of object-info tests 1012s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_FYYF02/object-info/find-method-using-interfaces/.dirs/home 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_FYYF02/object-info/find-method-using-interfaces/.dirs/cache 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_FYYF02/object-info/find-method-using-interfaces/.dirs/system-config1:/tmp/test_object-info_FYYF02/object-info/find-method-using-interfaces/.dirs/system-config2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_FYYF02/object-info/find-method-using-interfaces/.dirs/config 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_FYYF02/object-info/find-method-using-interfaces/.dirs/system-data1:/tmp/test_object-info_FYYF02/object-info/find-method-using-interfaces/.dirs/system-data2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_FYYF02/object-info/find-method-using-interfaces/.dirs/data 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_FYYF02/object-info/find-method-using-interfaces/.dirs/state 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_FYYF02/object-info/find-method-using-interfaces/.dirs/runtime 1012s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1012s ok 1 /object-info/find-method-using-interfaces 1012s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_FYYF02/object-info/find-vfunc-using-interfaces/.dirs/home 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_FYYF02/object-info/find-vfunc-using-interfaces/.dirs/cache 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_FYYF02/object-info/find-vfunc-using-interfaces/.dirs/system-config1:/tmp/test_object-info_FYYF02/object-info/find-vfunc-using-interfaces/.dirs/system-config2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_FYYF02/object-info/find-vfunc-using-interfaces/.dirs/config 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_FYYF02/object-info/find-vfunc-using-interfaces/.dirs/system-data1:/tmp/test_object-info_FYYF02/object-info/find-vfunc-using-interfaces/.dirs/system-data2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_FYYF02/object-info/find-vfunc-using-interfaces/.dirs/data 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_FYYF02/object-info/find-vfunc-using-interfaces/.dirs/state 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_FYYF02/object-info/find-vfunc-using-interfaces/.dirs/runtime 1012s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1012s ok 2 /object-info/find-vfunc-using-interfaces 1012s # End of object-info tests 1012s ok - glib/object-info.test 1012s # Running test: glib/deprecated-properties.test 1012s TAP version 14 1012s # random seed: R02Sda1c4cb19fd5f22a5dd345a6fe73af9f 1012s 1..3 1012s # Start of deprecated-properties tests 1012s ok 1 /deprecated-properties/construct 1012s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748 1012s ok 2 /deprecated-properties/default-construct 1012s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748 1012s ok 3 /deprecated-properties/set 1012s # End of deprecated-properties tests 1012s ok - glib/deprecated-properties.test 1012s # Running test: glib/mutex.test 1012s TAP version 14 1012s # random seed: R02S93619128377c62d1d48c53921a8acb0b 1012s 1..17 1012s # Start of thread tests 1012s ok 1 /thread/mutex1 1012s ok 2 /thread/mutex2 1012s ok 3 /thread/mutex3 1012s ok 4 /thread/mutex4 1014s # Executing: glib/mutex.test 1018s ok 5 /thread/mutex5 1018s # slow test /thread/mutex5 executed in 5.97 secs 1018s # Start of mutex tests 1018s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1018s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1018s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1018s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1018s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1018s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1018s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1018s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1018s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1018s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1018s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1018s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1018s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1018s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1018s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1018s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1018s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1018s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1018s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1018s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1018s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1018s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1018s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1018s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1018s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1018s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1018s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1018s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1018s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1018s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1018s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1018s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1018s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1018s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1018s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1018s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1018s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1018s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1018s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1018s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1018s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1018s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1018s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1018s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1018s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1018s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1018s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1018s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1018s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1018s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1018s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1018s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1018s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1018s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1018s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1018s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1018s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1018s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1018s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1018s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1018s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1018s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1018s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1018s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1018s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1018s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1018s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1018s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1018s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1018s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1018s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1018s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1018s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1018s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1018s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1018s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1018s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1018s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1018s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1018s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1018s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1018s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1018s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1018s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1018s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1018s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1018s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1018s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1018s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1018s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1018s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1018s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1018s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1018s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1018s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1018s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1018s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1018s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1018s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1018s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1018s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1018s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1018s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1018s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1018s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1018s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1018s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1018s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1018s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1018s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1018s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1018s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1018s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1018s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1018s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1018s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1018s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1018s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1018s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1018s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1018s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1018s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1018s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1018s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1018s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1018s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1018s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1018s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1018s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1018s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1018s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1018s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1018s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1018s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1018s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1018s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1018s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1018s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1018s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1018s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1018s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1018s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1018s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1018s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1018s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1018s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1018s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1018s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1018s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1018s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1018s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1018s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1018s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1018s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1018s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1018s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1018s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1018s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1018s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1018s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1018s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1018s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1018s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1018s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1018s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1018s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1018s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1018s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1018s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1018s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1018s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1018s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1018s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1018s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1018s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1018s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1018s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1018s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1018s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1018s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1018s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1018s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1018s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1018s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1018s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1018s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1018s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1018s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1018s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1018s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1018s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1018s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1018s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1018s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1018s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1018s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1018s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1018s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1018s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1018s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1018s ok 6 /thread/mutex/errno 1018s # Start of perf tests 1018s # max perf: inf mips 1018s ok 7 /thread/mutex/perf/uncontended 1018s # Start of contended tests 1018s # max perf: inf mips 1018s ok 8 /thread/mutex/perf/contended/1 1018s # max perf: inf mips 1018s ok 9 /thread/mutex/perf/contended/2 1018s # max perf: 4.000000 mips 1018s ok 10 /thread/mutex/perf/contended/3 1018s # max perf: 2.500000 mips 1018s ok 11 /thread/mutex/perf/contended/4 1018s # max perf: 6.000000 mips 1018s ok 12 /thread/mutex/perf/contended/5 1018s # max perf: inf mips 1018s ok 13 /thread/mutex/perf/contended/6 1018s # max perf: 8.000000 mips 1018s ok 14 /thread/mutex/perf/contended/7 1018s # max perf: 9.000000 mips 1018s ok 15 /thread/mutex/perf/contended/8 1018s # max perf: 10.000000 mips 1018s ok 16 /thread/mutex/perf/contended/9 1018s # max perf: 11.000000 mips 1018s ok 17 /thread/mutex/perf/contended/10 1018s # End of contended tests 1018s # End of perf tests 1018s # End of mutex tests 1018s # End of thread tests 1018s ok - glib/mutex.test 1018s # Running test: glib/srvtarget.test 1018s TAP version 14 1018s # random seed: R02S7f97890c1455ebb862e35c889383596a 1018s 1..1 1018s # Start of srvtarget tests 1018s ok 1 /srvtarget/srv-target-ordering 1018s # End of srvtarget tests 1018s ok - glib/srvtarget.test 1018s # Running test: glib/objects-refcount2.test 1018s TAP version 14 1018s # random seed: R02S6aa8c5146f437fe47a7e4ddb9cfc1efb 1018s 1..1 1018s # Start of gobject tests 1018s # Start of refcount tests 1018s # init 0x5650d109d740 1018s # 1018s # . 1018s # . 1018s # . 1018s # . 1018s # . 1018s # . 1018s # . 1018s # . 1018s # . 1018s # . 1018s # . 1018s # . 1018s # . 1018s # . 1018s # . 1018s # . 1018s # . 1018s # . 1018s # . 1018s # . 1018s # . 1018s # . 1018s # . 1018s # . 1018s # . 1018s # . 1018s # . 1018s # . 1018s # . 1018s # . 1018s # . 1018s # . 1018s # . 1018s # . 1018s # . 1018s # . 1018s # . 1018s # . 1018s # . 1018s # . 1018s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # Executing: glib/objects-refcount2.test 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1019s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1020s # . 1021s # . 1021s # . 1021s # . 1021s # . 1021s # . 1021s # . 1021s # . 1021s # . 1021s # . 1021s # . 1021s # . 1021s # . 1021s # . 1021s # . 1021s # . 1021s # . 1021s # dispose 0x5650d109d740! 1021s # 1021s ok 1 /gobject/refcount/object-advanced 1021s # slow test /gobject/refcount/object-advanced executed in 2.12 secs 1021s # End of refcount tests 1021s # End of gobject tests 1021s ok - glib/objects-refcount2.test 1021s # Running test: glib/cache.test 1021s TAP version 14 1021s # random seed: R02Sb8b06eea7e5b3decbabcf17dff1ee48d 1021s 1..1 1021s # Start of cache tests 1021s ok 1 /cache/basic 1021s # End of cache tests 1021s ok - glib/cache.test 1021s # Running test: glib/node.test 1021s TAP version 14 1021s # random seed: R02Sff5d6dfb5b8014b04327e2e43920778e 1021s 1..6 1021s # Start of node tests 1021s ok 1 /node/allocation 1021s ok 2 /node/construction 1021s ok 3 /node/traversal 1021s ok 4 /node/misc 1021s ok 5 /node/unlink 1021s ok 6 /node/copy 1021s # End of node tests 1021s ok - glib/node.test 1021s # Running test: glib/utils-isolated.test 1021s TAP version 14 1021s # random seed: R02S40790b38f7e0576df28b699cc426d635 1021s 1..11 1021s # Start of utils-isolated tests 1021s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_FI7I02/utils-isolated/tmp-dir/.dirs/home 1021s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_FI7I02/utils-isolated/tmp-dir/.dirs/cache 1021s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_FI7I02/utils-isolated/tmp-dir/.dirs/system-config1:/tmp/test_utils-isolated_FI7I02/utils-isolated/tmp-dir/.dirs/system-config2 1021s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_FI7I02/utils-isolated/tmp-dir/.dirs/config 1021s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_FI7I02/utils-isolated/tmp-dir/.dirs/system-data1:/tmp/test_utils-isolated_FI7I02/utils-isolated/tmp-dir/.dirs/system-data2 1021s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_FI7I02/utils-isolated/tmp-dir/.dirs/data 1021s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_FI7I02/utils-isolated/tmp-dir/.dirs/state 1021s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_FI7I02/utils-isolated/tmp-dir/.dirs/runtime 1021s ok 1 /utils-isolated/tmp-dir 1021s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_FI7I02/utils-isolated/home-dir/.dirs/home 1021s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_FI7I02/utils-isolated/home-dir/.dirs/cache 1021s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_FI7I02/utils-isolated/home-dir/.dirs/system-config1:/tmp/test_utils-isolated_FI7I02/utils-isolated/home-dir/.dirs/system-config2 1021s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_FI7I02/utils-isolated/home-dir/.dirs/config 1021s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_FI7I02/utils-isolated/home-dir/.dirs/system-data1:/tmp/test_utils-isolated_FI7I02/utils-isolated/home-dir/.dirs/system-data2 1021s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_FI7I02/utils-isolated/home-dir/.dirs/data 1021s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_FI7I02/utils-isolated/home-dir/.dirs/state 1021s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_FI7I02/utils-isolated/home-dir/.dirs/runtime 1021s ok 2 /utils-isolated/home-dir 1021s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_FI7I02/utils-isolated/user-cache-dir/.dirs/home 1021s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_FI7I02/utils-isolated/user-cache-dir/.dirs/cache 1021s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_FI7I02/utils-isolated/user-cache-dir/.dirs/system-config1:/tmp/test_utils-isolated_FI7I02/utils-isolated/user-cache-dir/.dirs/system-config2 1021s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_FI7I02/utils-isolated/user-cache-dir/.dirs/config 1021s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_FI7I02/utils-isolated/user-cache-dir/.dirs/system-data1:/tmp/test_utils-isolated_FI7I02/utils-isolated/user-cache-dir/.dirs/system-data2 1021s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_FI7I02/utils-isolated/user-cache-dir/.dirs/data 1021s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_FI7I02/utils-isolated/user-cache-dir/.dirs/state 1021s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_FI7I02/utils-isolated/user-cache-dir/.dirs/runtime 1021s ok 3 /utils-isolated/user-cache-dir 1021s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_FI7I02/utils-isolated/system-config-dirs/.dirs/home 1021s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_FI7I02/utils-isolated/system-config-dirs/.dirs/cache 1021s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_FI7I02/utils-isolated/system-config-dirs/.dirs/system-config1:/tmp/test_utils-isolated_FI7I02/utils-isolated/system-config-dirs/.dirs/system-config2 1021s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_FI7I02/utils-isolated/system-config-dirs/.dirs/config 1021s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_FI7I02/utils-isolated/system-config-dirs/.dirs/system-data1:/tmp/test_utils-isolated_FI7I02/utils-isolated/system-config-dirs/.dirs/system-data2 1021s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_FI7I02/utils-isolated/system-config-dirs/.dirs/data 1021s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_FI7I02/utils-isolated/system-config-dirs/.dirs/state 1021s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_FI7I02/utils-isolated/system-config-dirs/.dirs/runtime 1021s ok 4 /utils-isolated/system-config-dirs 1021s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_FI7I02/utils-isolated/user-config-dir/.dirs/home 1021s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_FI7I02/utils-isolated/user-config-dir/.dirs/cache 1021s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_FI7I02/utils-isolated/user-config-dir/.dirs/system-config1:/tmp/test_utils-isolated_FI7I02/utils-isolated/user-config-dir/.dirs/system-config2 1021s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_FI7I02/utils-isolated/user-config-dir/.dirs/config 1021s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_FI7I02/utils-isolated/user-config-dir/.dirs/system-data1:/tmp/test_utils-isolated_FI7I02/utils-isolated/user-config-dir/.dirs/system-data2 1021s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_FI7I02/utils-isolated/user-config-dir/.dirs/data 1021s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_FI7I02/utils-isolated/user-config-dir/.dirs/state 1021s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_FI7I02/utils-isolated/user-config-dir/.dirs/runtime 1021s ok 5 /utils-isolated/user-config-dir 1021s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_FI7I02/utils-isolated/system-data-dirs/.dirs/home 1021s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_FI7I02/utils-isolated/system-data-dirs/.dirs/cache 1021s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_FI7I02/utils-isolated/system-data-dirs/.dirs/system-config1:/tmp/test_utils-isolated_FI7I02/utils-isolated/system-data-dirs/.dirs/system-config2 1021s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_FI7I02/utils-isolated/system-data-dirs/.dirs/config 1021s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_FI7I02/utils-isolated/system-data-dirs/.dirs/system-data1:/tmp/test_utils-isolated_FI7I02/utils-isolated/system-data-dirs/.dirs/system-data2 1021s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_FI7I02/utils-isolated/system-data-dirs/.dirs/data 1021s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_FI7I02/utils-isolated/system-data-dirs/.dirs/state 1021s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_FI7I02/utils-isolated/system-data-dirs/.dirs/runtime 1021s ok 6 /utils-isolated/system-data-dirs 1021s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_FI7I02/utils-isolated/user-data-dir/.dirs/home 1021s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_FI7I02/utils-isolated/user-data-dir/.dirs/cache 1021s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_FI7I02/utils-isolated/user-data-dir/.dirs/system-config1:/tmp/test_utils-isolated_FI7I02/utils-isolated/user-data-dir/.dirs/system-config2 1021s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_FI7I02/utils-isolated/user-data-dir/.dirs/config 1021s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_FI7I02/utils-isolated/user-data-dir/.dirs/system-data1:/tmp/test_utils-isolated_FI7I02/utils-isolated/user-data-dir/.dirs/system-data2 1021s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_FI7I02/utils-isolated/user-data-dir/.dirs/data 1021s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_FI7I02/utils-isolated/user-data-dir/.dirs/state 1021s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_FI7I02/utils-isolated/user-data-dir/.dirs/runtime 1021s ok 7 /utils-isolated/user-data-dir 1021s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_FI7I02/utils-isolated/user-state-dir/.dirs/home 1021s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_FI7I02/utils-isolated/user-state-dir/.dirs/cache 1021s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_FI7I02/utils-isolated/user-state-dir/.dirs/system-config1:/tmp/test_utils-isolated_FI7I02/utils-isolated/user-state-dir/.dirs/system-config2 1021s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_FI7I02/utils-isolated/user-state-dir/.dirs/config 1021s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_FI7I02/utils-isolated/user-state-dir/.dirs/system-data1:/tmp/test_utils-isolated_FI7I02/utils-isolated/user-state-dir/.dirs/system-data2 1021s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_FI7I02/utils-isolated/user-state-dir/.dirs/data 1021s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_FI7I02/utils-isolated/user-state-dir/.dirs/state 1021s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_FI7I02/utils-isolated/user-state-dir/.dirs/runtime 1021s ok 8 /utils-isolated/user-state-dir 1021s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_FI7I02/utils-isolated/user-runtime-dir/.dirs/home 1021s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_FI7I02/utils-isolated/user-runtime-dir/.dirs/cache 1021s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_FI7I02/utils-isolated/user-runtime-dir/.dirs/system-config1:/tmp/test_utils-isolated_FI7I02/utils-isolated/user-runtime-dir/.dirs/system-config2 1021s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_FI7I02/utils-isolated/user-runtime-dir/.dirs/config 1021s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_FI7I02/utils-isolated/user-runtime-dir/.dirs/system-data1:/tmp/test_utils-isolated_FI7I02/utils-isolated/user-runtime-dir/.dirs/system-data2 1021s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_FI7I02/utils-isolated/user-runtime-dir/.dirs/data 1021s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_FI7I02/utils-isolated/user-runtime-dir/.dirs/state 1021s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_FI7I02/utils-isolated/user-runtime-dir/.dirs/runtime 1021s ok 9 /utils-isolated/user-runtime-dir 1021s # Start of cleanup tests 1021s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_FI7I02/utils-isolated/cleanup/handles-errors/.dirs/home 1021s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_FI7I02/utils-isolated/cleanup/handles-errors/.dirs/cache 1021s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_FI7I02/utils-isolated/cleanup/handles-errors/.dirs/system-config1:/tmp/test_utils-isolated_FI7I02/utils-isolated/cleanup/handles-errors/.dirs/system-config2 1021s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_FI7I02/utils-isolated/cleanup/handles-errors/.dirs/config 1021s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_FI7I02/utils-isolated/cleanup/handles-errors/.dirs/system-data1:/tmp/test_utils-isolated_FI7I02/utils-isolated/cleanup/handles-errors/.dirs/system-data2 1021s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_FI7I02/utils-isolated/cleanup/handles-errors/.dirs/data 1021s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_FI7I02/utils-isolated/cleanup/handles-errors/.dirs/state 1021s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_FI7I02/utils-isolated/cleanup/handles-errors/.dirs/runtime 1021s Unable to clean up temporary directory /tmp/test_utils-isolated_FI7I02/utils-isolated/cleanup/handles-errors/.dirs/runtime: Directory not empty 1021s Unable to clean up temporary directory /tmp/test_utils-isolated_FI7I02/utils-isolated/cleanup/handles-errors/.dirs: Directory not empty 1021s Unable to clean up temporary directory /tmp/test_utils-isolated_FI7I02/utils-isolated/cleanup/handles-errors: Directory not empty 1021s ok 10 /utils-isolated/cleanup/handles-errors 1021s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_FI7I02/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/home 1021s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_FI7I02/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/cache 1021s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_FI7I02/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-config1:/tmp/test_utils-isolated_FI7I02/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-config2 1021s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_FI7I02/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/config 1021s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_FI7I02/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-data1:/tmp/test_utils-isolated_FI7I02/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-data2 1021s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_FI7I02/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/data 1021s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_FI7I02/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/state 1021s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_FI7I02/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/runtime 1021s Unable to clean up temporary directory /tmp/test_utils-isolated_FI7I02/utils-isolated/cleanup/doesnt-follow-symlinks: No such file or directory 1021s ok 11 /utils-isolated/cleanup/doesnt-follow-symlinks 1021s # End of cleanup tests 1021s # End of utils-isolated tests 1021s ok - glib/utils-isolated.test 1021s # Running test: glib/timeout.test 1021s TAP version 14 1021s # random seed: R02S383404f29034dfb0bdccc09b2bd5b957 1021s 1..5 1021s # Start of timeout tests 1021s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052 1023s ok 1 /timeout/seconds 1023s # slow test /timeout/seconds executed in 2.10 secs 1024s # Executing: glib/timeout.test 1025s ok 2 /timeout/seconds-once 1025s # slow test /timeout/seconds-once executed in 2.10 secs 1025s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600 1027s ok 3 /timeout/weeks-overflow 1027s # slow test /timeout/weeks-overflow executed in 2.10 secs 1027s ok 4 /timeout/far-future-ready-time 1029s # Executing: glib/timeout.test 1034s # Executing: glib/timeout.test 1037s ok 5 /timeout/rounding 1037s # slow test /timeout/rounding executed in 9.91 secs 1037s # End of timeout tests 1037s ok - glib/timeout.test 1037s # Running test: glib/cmph-bdz.test 1037s TAP version 14 1037s # random seed: R02Sa9b1dabbc101f2b7fc8e5d36d917f785 1037s 1..2 1037s # Start of cmph-bdz tests 1037s ok 1 /cmph-bdz/search 1037s ok 2 /cmph-bdz/search-packed 1037s # End of cmph-bdz tests 1037s ok - glib/cmph-bdz.test 1037s # Running test: glib/refstring.test 1037s TAP version 14 1037s # random seed: R02Sf01824b3d0b66a4745a59badecc62653 1037s 1..6 1037s # Start of refstring tests 1037s # s = 'hello, world' (0x625f96ad53b0) 1037s ok 1 /refstring/base 1037s ok 2 /refstring/length 1037s ok 3 /refstring/length-auto 1037s ok 4 /refstring/length-nuls 1037s # s = 'hello, world' (0x625f96ad5300) 1037s # p = s = 'hello, world' (0x625f96ad5300) 1037s # releasing p[0x625f96ad5300] ('hello, world') 1037s # p = 'goodbye, world' (0x625f96ad53b0) 1037s # releasing p[0x625f96ad53b0] ('goodbye, world') 1037s # releasing s[0x625f96ad5300] ('hello, world') 1037s ok 5 /refstring/intern 1037s ok 6 /refstring/intern-thread-safety 1037s # slow test /refstring/intern-thread-safety executed in 0.68 secs 1037s # End of refstring tests 1037s ok - glib/refstring.test 1037s # Running test: glib/642026.test 1037s TAP version 14 1037s # random seed: R02S8a639ffd1703f986d3c90c00df9b1c2a 1037s 1..1 1037s # Start of glib tests 1037s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026 1037s ok 1 /glib/642026 1037s # End of glib tests 1038s ok - glib/642026.test 1038s # Running test: glib/performance-threaded.test 1038s Running test "liststore-is-a" 1039s 27020 runs, min/avg/max = 0.030/0.037/0.513 ms 1039s Running test "liststore-interface-peek" 1039s # Executing: glib/performance-threaded.test 1040s 44441 runs, min/avg/max = 0.020/0.022/0.784 ms 1040s Running test "liststore-interface-peek-same" 1041s 44640 runs, min/avg/max = 0.020/0.022/0.366 ms 1041s ok - glib/performance-threaded.test 1041s # Running test: glib/thread-pool-slow.test 1041s TAP version 14 1041s # random seed: R02S172be969f5ffc2655349c0e14855e468 1041s 1..7 1041s # Start of threadpool tests 1041s ok 1 /threadpool/functions 1041s ok 2 /threadpool/stop-unused 1041s # slow test /threadpool/stop-unused executed in 0.51 secs 1041s ok 3 /threadpool/pools 1041s # [unsorted] ===> pushed new thread with id:4, number of threads:1, unprocessed:1 1041s # [unsorted] ===> pushed new thread with id:57, number of threads:2, unprocessed:2 1041s # [unsorted] ===> pushed new thread with id:8, number of threads:3, unprocessed:3 1041s # [unsorted] ===> pushed new thread with id:45, number of threads:4, unprocessed:4 1041s # [unsorted] ===> pushed new thread with id:60, number of threads:5, unprocessed:5 1041s # [unsorted] ===> pushed new thread with id:58, number of threads:6, unprocessed:6 1041s # [unsorted] ===> pushed new thread with id:32, number of threads:7, unprocessed:7 1041s # [unsorted] ===> pushed new thread with id:23, number of threads:8, unprocessed:8 1041s # [unsorted] ===> pushed new thread with id:79, number of threads:9, unprocessed:9 1041s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:10 1041s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:1 1041s # [unsorted] ===> pushed new thread with id:68, number of threads:10, unprocessed:2 1041s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:3 1041s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:4 1041s # [unsorted] ===> pushed new thread with id:73, number of threads:10, unprocessed:5 1041s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:6 1041s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:7 1041s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:8 1041s # [unsorted] ===> pushed new thread with id:45, number of threads:10, unprocessed:9 1041s # [unsorted] ===> pushed new thread with id:25, number of threads:10, unprocessed:10 1041s # [unsorted] ===> pushed new thread with id:47, number of threads:10, unprocessed:11 1041s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:12 1041s # [unsorted] ===> pushed new thread with id:2, number of threads:10, unprocessed:13 1041s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:14 1041s # [unsorted] ===> pushed new thread with id:91, number of threads:10, unprocessed:15 1041s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:16 1041s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:17 1041s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:18 1041s # [unsorted] ===> pushed new thread with id:64, number of threads:10, unprocessed:19 1041s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:20 1041s # [unsorted] ===> pushed new thread with id:87, number of threads:10, unprocessed:21 1041s # [unsorted] ===> pushed new thread with id:20, number of threads:10, unprocessed:22 1041s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:23 1041s # [unsorted] ===> pushed new thread with id:64, number of threads:10, unprocessed:24 1041s # [unsorted] ===> pushed new thread with id:84, number of threads:10, unprocessed:25 1041s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:26 1041s # [unsorted] ===> pushed new thread with id:84, number of threads:10, unprocessed:27 1041s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:28 1041s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:29 1041s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:30 1041s # [unsorted] ===> pushed new thread with id:96, number of threads:10, unprocessed:31 1041s # [unsorted] ===> pushed new thread with id:98, number of threads:10, unprocessed:32 1041s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:33 1041s # [unsorted] ===> pushed new thread with id:25, number of threads:10, unprocessed:34 1041s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:35 1041s # [unsorted] ===> pushed new thread with id:51, number of threads:10, unprocessed:36 1041s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:37 1041s # [unsorted] ===> pushed new thread with id:98, number of threads:10, unprocessed:38 1041s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:39 1041s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:40 1041s # [unsorted] ===> pushed new thread with id:23, number of threads:10, unprocessed:41 1041s # [unsorted] ===> pushed new thread with id:14, number of threads:10, unprocessed:42 1041s # [unsorted] ===> pushed new thread with id:43, number of threads:10, unprocessed:43 1041s # [unsorted] ===> pushed new thread with id:73, number of threads:10, unprocessed:44 1041s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:45 1041s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:46 1041s # [unsorted] ===> pushed new thread with id:23, number of threads:10, unprocessed:47 1041s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:48 1041s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:49 1041s # [unsorted] ===> pushed new thread with id:98, number of threads:10, unprocessed:50 1041s # [unsorted] ===> pushed new thread with id:62, number of threads:10, unprocessed:51 1041s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:52 1041s # [unsorted] ===> pushed new thread with id:75, number of threads:10, unprocessed:53 1041s # [unsorted] ===> pushed new thread with id:21, number of threads:10, unprocessed:54 1041s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:55 1041s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:56 1041s # [unsorted] ===> pushed new thread with id:88, number of threads:10, unprocessed:57 1041s # [unsorted] ===> pushed new thread with id:91, number of threads:10, unprocessed:58 1041s # [unsorted] ===> pushed new thread with id:27, number of threads:10, unprocessed:59 1041s # [unsorted] ===> pushed new thread with id:21, number of threads:10, unprocessed:60 1041s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:61 1041s # [unsorted] ===> pushed new thread with id:57, number of threads:10, unprocessed:62 1041s # [unsorted] ===> pushed new thread with id:63, number of threads:10, unprocessed:63 1041s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:64 1041s # [unsorted] ===> pushed new thread with id:25, number of threads:10, unprocessed:65 1041s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:66 1041s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:67 1041s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:68 1041s # [unsorted] ===> pushed new thread with id:31, number of threads:10, unprocessed:69 1041s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:70 1041s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:71 1041s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:72 1041s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:73 1041s # [unsorted] ===> pushed new thread with id:81, number of threads:10, unprocessed:74 1041s # [unsorted] ===> pushed new thread with id:3, number of threads:10, unprocessed:75 1041s # [unsorted] ===> pushed new thread with id:91, number of threads:10, unprocessed:76 1041s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:77 1041s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:78 1041s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:79 1041s # [unsorted] ===> pushed new thread with id:88, number of threads:10, unprocessed:80 1041s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:81 1041s # [unsorted] ===> pushed new thread with id:27, number of threads:10, unprocessed:82 1041s # [unsorted] ===> pushed new thread with id:56, number of threads:10, unprocessed:83 1041s # [unsorted] ===> pushed new thread with id:77, number of threads:10, unprocessed:84 1041s # [unsorted] ===> pushed new thread with id:58, number of threads:10, unprocessed:85 1041s # [unsorted] ===> pushed new thread with id:3, number of threads:10, unprocessed:86 1041s # [unsorted] ===> pushed new thread with id:29, number of threads:10, unprocessed:87 1041s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:88 1041s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:89 1041s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:90 1041s ok 4 /threadpool/no-sort 1041s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:1 1041s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:2 1041s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:3 1041s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:4 1041s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:5 1041s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:6 1041s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:7 1041s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:8 1041s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:9 1041s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:10 1041s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:11 1041s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:12 1041s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:13 1041s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:14 1041s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:15 1041s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:16 1041s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:17 1041s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:18 1041s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:19 1041s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:20 1041s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:21 1041s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:22 1041s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:23 1041s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:24 1041s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:25 1041s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:26 1041s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:27 1041s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:28 1041s # [ sorted] ===> pushed new thread with id:73, number of threads:0, unprocessed:29 1041s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:30 1041s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:31 1041s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:32 1041s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:33 1041s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:34 1041s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:35 1041s # [ sorted] ===> pushed new thread with id:61, number of threads:0, unprocessed:36 1041s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:37 1041s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:38 1041s # [ sorted] ===> pushed new thread with id:73, number of threads:0, unprocessed:39 1041s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:40 1041s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:41 1041s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:42 1041s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:43 1041s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:44 1041s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:45 1041s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:46 1041s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:47 1041s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:48 1041s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:49 1041s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:50 1041s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:51 1041s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:52 1041s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:53 1041s # [ sorted] ===> pushed new thread with id:42, number of threads:0, unprocessed:54 1041s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:55 1041s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:56 1041s # [ sorted] ===> pushed new thread with id:100, number of threads:0, unprocessed:57 1041s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:58 1041s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:59 1041s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:60 1041s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:61 1041s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:62 1041s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:63 1041s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:64 1041s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:65 1041s # [ sorted] ===> pushed new thread with id:41, number of threads:0, unprocessed:66 1041s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:67 1041s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:68 1041s # [ sorted] ===> pushed new thread with id:63, number of threads:0, unprocessed:69 1041s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:70 1041s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:71 1041s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:72 1041s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:73 1041s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:74 1041s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:75 1041s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:76 1041s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:77 1041s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:78 1041s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:79 1041s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:80 1041s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:81 1041s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:82 1041s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:83 1041s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:84 1041s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:85 1041s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:86 1041s # [ sorted] ===> pushed new thread with id:42, number of threads:0, unprocessed:87 1041s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:88 1041s # [ sorted] ===> pushed new thread with id:100, number of threads:0, unprocessed:89 1041s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:90 1041s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:91 1041s # [ sorted] ===> pushed new thread with id:63, number of threads:0, unprocessed:92 1041s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:93 1041s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:94 1041s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:95 1041s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:96 1041s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:97 1041s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:98 1041s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:99 1041s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:100 1041s # Starting thread pool processing 1041s ok 5 /threadpool/sort 1042s ok 6 /threadpool/stop-unused-multiple 1042s # slow test /threadpool/stop-unused-multiple executed in 0.51 secs 1042s # Pool idle thread count: 0, unprocessed jobs: 49 1042s # Pool idle thread count: 0, unprocessed jobs: 0 1042s # Pool idle thread count: 0, unprocessed jobs: 0 1043s # Pool idle thread count: 10, unprocessed jobs: 0 1043s # Pool idle thread count: 10, unprocessed jobs: 0 1043s # Pool idle thread count: 10, unprocessed jobs: 0 1043s # Pool idle thread count: 10, unprocessed jobs: 0 1044s # Executing: glib/thread-pool-slow.test 1044s # Pool idle thread count: 10, unprocessed jobs: 0 1044s # Pool idle thread count: 10, unprocessed jobs: 0 1044s # Pool idle thread count: 10, unprocessed jobs: 0 1044s # Pool idle thread count: 10, unprocessed jobs: 0 1045s # Pool idle thread count: 10, unprocessed jobs: 0 1045s # Pool idle thread count: 10, unprocessed jobs: 0 1045s # Pool idle thread count: 10, unprocessed jobs: 0 1045s # Pool idle thread count: 10, unprocessed jobs: 0 1046s # Pool idle thread count: 10, unprocessed jobs: 0 1046s # Pool idle thread count: 10, unprocessed jobs: 0 1046s # Pool idle thread count: 10, unprocessed jobs: 0 1046s # Pool idle thread count: 10, unprocessed jobs: 0 1047s # Pool idle thread count: 10, unprocessed jobs: 0 1047s # Pool idle thread count: 10, unprocessed jobs: 0 1047s # Pool idle thread count: 10, unprocessed jobs: 0 1047s # Pool idle thread count: 10, unprocessed jobs: 0 1048s # Pool idle thread count: 10, unprocessed jobs: 0 1048s # Pool idle thread count: 10, unprocessed jobs: 0 1048s # Pool idle thread count: 10, unprocessed jobs: 0 1048s # Pool idle thread count: 10, unprocessed jobs: 0 1049s # Executing: glib/thread-pool-slow.test 1049s # Pool idle thread count: 10, unprocessed jobs: 0 1049s # Pool idle thread count: 10, unprocessed jobs: 0 1049s # Pool idle thread count: 10, unprocessed jobs: 0 1049s # Pool idle thread count: 10, unprocessed jobs: 0 1050s # Pool idle thread count: 10, unprocessed jobs: 0 1050s # Pool idle thread count: 10, unprocessed jobs: 0 1050s # Pool idle thread count: 10, unprocessed jobs: 0 1050s # Pool idle thread count: 10, unprocessed jobs: 0 1051s # Pool idle thread count: 10, unprocessed jobs: 2 1051s # Pool idle thread count: 10, unprocessed jobs: 2 1051s # Pool idle thread count: 8, unprocessed jobs: 0 1051s # Pool idle thread count: 8, unprocessed jobs: 0 1051s # Pool idle thread count: 10, unprocessed jobs: 0 1051s # Pool idle thread count: 10, unprocessed jobs: 0 1052s # Pool idle thread count: 10, unprocessed jobs: 0 1052s # Pool idle thread count: 10, unprocessed jobs: 0 1052s # Pool idle thread count: 10, unprocessed jobs: 0 1052s # Pool idle thread count: 10, unprocessed jobs: 0 1053s # Pool idle thread count: 2, unprocessed jobs: 0 1053s # Pool idle thread count: 2, unprocessed jobs: 0 1053s # Pool idle thread count: 2, unprocessed jobs: 0 1053s # Pool idle thread count: 2, unprocessed jobs: 0 1054s # Executing: glib/thread-pool-slow.test 1054s # Pool idle thread count: 2, unprocessed jobs: 0 1054s # Pool idle thread count: 2, unprocessed jobs: 0 1054s # Pool idle thread count: 2, unprocessed jobs: 0 1054s # Pool idle thread count: 2, unprocessed jobs: 0 1055s # Pool idle thread count: 2, unprocessed jobs: 0 1055s # Pool idle thread count: 2, unprocessed jobs: 0 1055s # Pool idle thread count: 2, unprocessed jobs: 0 1055s # Pool idle thread count: 2, unprocessed jobs: 0 1056s # Pool idle thread count: 2, unprocessed jobs: 0 1056s # Pool idle thread count: 2, unprocessed jobs: 0 1056s # Pool idle thread count: 2, unprocessed jobs: 0 1056s # Pool idle thread count: 2, unprocessed jobs: 0 1057s # Pool idle thread count: 2, unprocessed jobs: 0 1057s # Pool idle thread count: 2, unprocessed jobs: 0 1057s # Pool idle thread count: 2, unprocessed jobs: 0 1057s # Pool idle thread count: 2, unprocessed jobs: 0 1058s # Pool idle thread count: 2, unprocessed jobs: 0 1058s # Pool idle thread count: 2, unprocessed jobs: 0 1058s # Pool idle thread count: 2, unprocessed jobs: 0 1058s # Pool idle thread count: 2, unprocessed jobs: 0 1059s # Executing: glib/thread-pool-slow.test 1059s # Pool idle thread count: 2, unprocessed jobs: 0 1059s # Pool idle thread count: 2, unprocessed jobs: 0 1059s # Pool idle thread count: 2, unprocessed jobs: 0 1059s # Pool idle thread count: 2, unprocessed jobs: 0 1060s # Pool idle thread count: 2, unprocessed jobs: 0 1060s # Pool idle thread count: 2, unprocessed jobs: 0 1060s # Pool idle thread count: 2, unprocessed jobs: 0 1060s # Pool idle thread count: 2, unprocessed jobs: 0 1061s # Pool idle thread count: 2, unprocessed jobs: 0 1061s # Pool idle thread count: 2, unprocessed jobs: 0 1061s ok 7 /threadpool/idle-time 1061s # slow test /threadpool/idle-time executed in 19.53 secs 1061s # End of threadpool tests 1061s ok - glib/thread-pool-slow.test 1062s # Running test: glib/gdbus-sasl.test 1062s TAP version 14 1062s # random seed: R02S8811dd4a32f7da98b241f818157005ec 1062s 1..1 1062s # Start of gdbus tests 1062s # Start of sasl tests 1062s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-sasl_Z1B5Z2/gdbus/sasl/server/.dirs/home 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-sasl_Z1B5Z2/gdbus/sasl/server/.dirs/cache 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-sasl_Z1B5Z2/gdbus/sasl/server/.dirs/system-config1:/tmp/test_gdbus-sasl_Z1B5Z2/gdbus/sasl/server/.dirs/system-config2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-sasl_Z1B5Z2/gdbus/sasl/server/.dirs/config 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-sasl_Z1B5Z2/gdbus/sasl/server/.dirs/system-data1:/tmp/test_gdbus-sasl_Z1B5Z2/gdbus/sasl/server/.dirs/system-data2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-sasl_Z1B5Z2/gdbus/sasl/server/.dirs/data 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-sasl_Z1B5Z2/gdbus/sasl/server/.dirs/state 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-sasl_Z1B5Z2/gdbus/sasl/server/.dirs/runtime 1062s # New handshake: EXTERNAL with incorrect initial response 1062s # C:“AUTH EXTERNAL 30†1062s # Expect: /^REJECTED.*$/ 1062s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1†1062s # New handshake: EXTERNAL without initial response, failing to authenticate 1062s # C:“AUTH EXTERNAL†1062s # Expect: /^DATA$/ 1062s # S:“DATA†1062s # C:“DATA 30†1062s # Expect: /^REJECTED.*$/ 1062s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1†1062s # New handshake: EXTERNAL with initial response 1062s # C:“AUTH EXTERNAL 31303030†1062s # Expect: /^OK [0-9a-f]+$/ 1062s # S:“OK d0107d6d5fc379096bee68aa678a9132†1062s # New handshake: EXTERNAL without initial response 1062s # C:“AUTH EXTERNAL†1062s # Expect: /^DATA$/ 1062s # S:“DATA†1062s # C:“DATA 31303030†1062s # Expect: /^OK [0-9a-f]+$/ 1062s # S:“OK d0107d6d5fc379096bee68aa678a9132†1062s # New handshake: EXTERNAL with empty authorization identity 1062s # C:“AUTH EXTERNAL†1062s # Expect: /^DATA$/ 1062s # S:“DATA†1062s # C:“DATA†1062s # Expect: /^OK [0-9a-f]+$/ 1062s # S:“OK d0107d6d5fc379096bee68aa678a9132†1062s # New handshake: EXTERNAL with empty authorization identity and whitespace 1062s # C:“AUTH EXTERNAL†1062s # Expect: /^DATA$/ 1062s # S:“DATA†1062s # C:“DATA †1062s # Expect: /^OK [0-9a-f]+$/ 1062s # S:“OK d0107d6d5fc379096bee68aa678a9132†1062s ok 1 /gdbus/sasl/server 1062s # End of sasl tests 1062s # End of gdbus tests 1062s ok - glib/gdbus-sasl.test 1062s # Running test: glib/volumemonitor.test 1062s TAP version 14 1062s # random seed: R02S070bf6daf1351f99b03ec6fecc8ba0cc 1062s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1062s 1..3 1062s # Start of volumemonitor tests 1062s ok 1 /volumemonitor/connected_drives 1062s ok 2 /volumemonitor/volumes 1062s ok 3 /volumemonitor/mounts 1062s # End of volumemonitor tests 1062s ok - glib/volumemonitor.test 1062s # Running test: glib/messages-low-memory.py.test 1062s TAP version 13 1062s ok 1 __main__.TestMessagesLowMemory.test_message_memory_allocation_failure 1062s # messages-low-memory: /usr/libexec/installed-tests/glib/messages-low-memory 1062s # Running: /usr/libexec/installed-tests/glib/messages-low-memory 1062s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1062s # Return code: -6 1062s # Output: 1062s # Error: GLib-Message: 17:19:46.728: Simulates a situation in which we were crashing because of low-memory, leading malloc to fail instead of aborting 1062s # GLib-Message: 17:19:46.728: bug: https://gitlab.gnome.org/GNOME/glib/-/issues/2753 1062s # ../../../glib/gprintf.c:350: failed to allocate memory 1062s 1..1 1062s ok - glib/messages-low-memory.py.test 1062s # Running test: glib/gdbus-subscribe.test 1062s TAP version 14 1062s # random seed: R02Sf95c496667e5b8b2da275b99c3e83cc5 1062s 1..24 1062s # Start of gdbus tests 1062s # Start of subscribe tests 1062s # Start of conn tests 1062s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/conn/simple/.dirs/home 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/conn/simple/.dirs/cache 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/conn/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/conn/simple/.dirs/system-config2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/conn/simple/.dirs/config 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/conn/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/conn/simple/.dirs/system-data2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/conn/simple/.dirs/data 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/conn/simple/.dirs/state 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/conn/simple/.dirs/runtime 1062s # subscriber is :1.0 1062s # service is :1.1 1062s # service 2 is :1.2 1062s # attacker is :1.3 1062s # Waiting for AddMatch to be processed 1062s # /gdbus/subscribe/conn/simple summary: A broadcast is only received after subscribing to it 1062s # Step 0: emitting signal 1062s # Sender: service 1062s # Destination: (broadcast) 1062s # Path: /org/gtk/GDBus/ExampleInterface 1062s # Interface: org.gtk.GDBus.ExampleInterface 1062s # Member: Foo 1062s # Argument 0: (not a string) 1062s # Waiting for signal to reach message bus 1062s # Step 1: adding subscription 1062s # Sender: (any) 1062s # Path: /org/gtk/GDBus/ExampleInterface 1062s # Interface: org.gtk.GDBus.ExampleInterface 1062s # Member: (any) 1062s # String argument 0: (any) 1062s # Flags: 0 1062s # Subscribing via connection 1062s # Waiting for AddMatch to be processed 1062s # Step 2: emitting signal 1062s # Sender: service 1062s # Destination: (broadcast) 1062s # Path: /org/gtk/GDBus/ExampleInterface 1062s # Interface: org.gtk.GDBus.ExampleInterface 1062s # Member: Foo 1062s # Argument 0: (not a string) 1062s # Waiting for signal to reach message bus 1062s # Signal received from service :1.1 1062s # Signal received from service :1.1 via connection 1062s # Path: /org/gtk/GDBus/ExampleInterface 1062s # Interface: org.gtk.GDBus.ExampleInterface 1062s # Member: Foo 1062s # Argument 0: (not a string) 1062s # Sent in step: 2 1062s # Received Finished signal from subscriber :1.0 1062s # Received Finished signal from service :1.1 1062s # Received Finished signal from service 2 :1.2 1062s # Received Finished signal from attacker :1.3 1062s # Signal from step 0 was received 0 times by GDBusConnection, expected 0 1062s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s ok 1 /gdbus/subscribe/conn/simple 1062s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/home 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/cache 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-config2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/config 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-data2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/data 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/state 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/runtime 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1062s # subscriber is :1.0 1062s # service is :1.1 1062s # service 2 is :1.2 1062s # attacker is :1.3 1062s # Waiting for AddMatch to be processed 1062s # /gdbus/subscribe/conn/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 1062s # Step 0: adding subscription 1062s # Sender: (any) 1062s # Path: /org/gtk/GDBus/ExampleInterface 1062s # Interface: org.gtk.GDBus.ExampleInterface 1062s # Member: (any) 1062s # String argument 0: (any) 1062s # Flags: 0 1062s # Subscribing via connection 1062s # Waiting for AddMatch to be processed 1062s # Step 1: emitting signal 1062s # Sender: service 1062s # Destination: (broadcast) 1062s # Path: /org/gtk/GDBus/ExampleInterface 1062s # Interface: org.gtk.GDBus.ExampleInterface 1062s # Member: Foo 1062s # Argument 0: (not a string) 1062s # Waiting for signal to reach message bus 1062s # Step 2: emitting signal 1062s # Sender: service 2 1062s # Destination: (broadcast) 1062s # Path: /org/gtk/GDBus/ExampleInterface 1062s # Interface: org.gtk.GDBus.ExampleInterface 1062s # Member: Foo 1062s # Argument 0: (not a string) 1062s # Waiting for signal to reach message bus 1062s # Step 3: emitting signal 1062s # Sender: service 1062s # Destination: subscriber :1.0 1062s # Path: /org/gtk/GDBus/ExampleInterface 1062s # Interface: org.gtk.GDBus.ExampleInterface 1062s # Member: Foo 1062s # Argument 0: (not a string) 1062s # Waiting for signal to reach message bus 1062s # Step 4: emitting signal 1062s # Sender: service 2 1062s # Destination: subscriber :1.0 1062s # Path: /org/gtk/GDBus/ExampleInterface 1062s # Interface: org.gtk.GDBus.ExampleInterface 1062s # Member: Foo 1062s # Argument 0: (not a string) 1062s # Waiting for signal to reach message bus 1062s # Signal received from service :1.1 1062s # Signal received from service :1.1 via connection 1062s # Path: /org/gtk/GDBus/ExampleInterface 1062s # Interface: org.gtk.GDBus.ExampleInterface 1062s # Member: Foo 1062s # Argument 0: (not a string) 1062s # Sent in step: 1 1062s # Signal received from service 2 :1.2 1062s # Signal received from service 2 :1.2 via connection 1062s # Path: /org/gtk/GDBus/ExampleInterface 1062s # Interface: org.gtk.GDBus.ExampleInterface 1062s # Member: Foo 1062s # Argument 0: (not a string) 1062s # Sent in step: 2 1062s # Signal received from service :1.1 1062s # Signal received from service :1.1 via connection 1062s # Path: /org/gtk/GDBus/ExampleInterface 1062s # Interface: org.gtk.GDBus.ExampleInterface 1062s # Member: Foo 1062s # Argument 0: (not a string) 1062s # Sent in step: 3 1062s # Signal received from service 2 :1.2 1062s # Signal received from service 2 :1.2 via connection 1062s # Path: /org/gtk/GDBus/ExampleInterface 1062s # Interface: org.gtk.GDBus.ExampleInterface 1062s # Member: Foo 1062s # Argument 0: (not a string) 1062s # Sent in step: 4 1062s # Received Finished signal from subscriber :1.0 1062s # Received Finished signal from service :1.1 1062s # Received Finished signal from service 2 :1.2 1062s # Received Finished signal from attacker :1.3 1062s # Signal from step 1 was received 1 times by GDBusConnection, expected 1 1062s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 1062s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 1062s # Signal from step 4 was received 1 times by GDBusConnection, expected 1 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s ok 2 /gdbus/subscribe/conn/broadcast_from_anyone 1062s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/conn/match_twice/.dirs/home 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/conn/match_twice/.dirs/cache 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/conn/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/conn/match_twice/.dirs/system-config2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/conn/match_twice/.dirs/config 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/conn/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/conn/match_twice/.dirs/system-data2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/conn/match_twice/.dirs/data 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/conn/match_twice/.dirs/state 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/conn/match_twice/.dirs/runtime 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1062s # subscriber is :1.0 1062s # service is :1.1 1062s # service 2 is :1.2 1062s # attacker is :1.3 1062s # Waiting for AddMatch to be processed 1062s # /gdbus/subscribe/conn/match_twice summary: A message matching more than one subscription is received once per subscription 1062s # Step 0: adding subscription 1062s # Sender: service :1.1 1062s # Path: /org/gtk/GDBus/ExampleInterface 1062s # Interface: org.gtk.GDBus.ExampleInterface 1062s # Member: (any) 1062s # String argument 0: (any) 1062s # Flags: 0 1062s # Subscribing via connection 1062s # Waiting for AddMatch to be processed 1062s # Step 1: adding subscription 1062s # Sender: (any) 1062s # Path: /org/gtk/GDBus/ExampleInterface 1062s # Interface: (any) 1062s # Member: (any) 1062s # String argument 0: (any) 1062s # Flags: 0 1062s # Subscribing via connection 1062s # Waiting for AddMatch to be processed 1062s # Step 2: adding subscription 1062s # Sender: (any) 1062s # Path: (any) 1062s # Interface: org.gtk.GDBus.ExampleInterface 1062s # Member: (any) 1062s # String argument 0: (any) 1062s # Flags: 0 1062s # Subscribing via connection 1062s # Waiting for AddMatch to be processed 1062s # Step 3: adding subscription 1062s # Sender: service :1.1 1062s # Path: /org/gtk/GDBus/ExampleInterface 1062s # Interface: org.gtk.GDBus.ExampleInterface 1062s # Member: (any) 1062s # String argument 0: (any) 1062s # Flags: 0 1062s # Subscribing via connection 1062s # Waiting for AddMatch to be processed 1062s # Step 4: emitting signal 1062s # Sender: service 1062s # Destination: (broadcast) 1062s # Path: /org/gtk/GDBus/ExampleInterface 1062s # Interface: org.gtk.GDBus.ExampleInterface 1062s # Member: Foo 1062s # Argument 0: (not a string) 1062s # Waiting for signal to reach message bus 1062s # Signal received from service :1.1 1062s # Signal received from service :1.1 via connection 1062s # Path: /org/gtk/GDBus/ExampleInterface 1062s # Interface: org.gtk.GDBus.ExampleInterface 1062s # Member: Foo 1062s # Argument 0: (not a string) 1062s # Sent in step: 4 1062s # Signal received from service :1.1 1062s # Signal received from service :1.1 via connection 1062s # Path: /org/gtk/GDBus/ExampleInterface 1062s # Interface: org.gtk.GDBus.ExampleInterface 1062s # Member: Foo 1062s # Argument 0: (not a string) 1062s # Sent in step: 4 1062s # Signal received from service :1.1 1062s # Signal received from service :1.1 via connection 1062s # Path: /org/gtk/GDBus/ExampleInterface 1062s # Interface: org.gtk.GDBus.ExampleInterface 1062s # Member: Foo 1062s # Argument 0: (not a string) 1062s # Sent in step: 4 1062s # Signal received from service :1.1 1062s # Signal received from service :1.1 via connection 1062s # Path: /org/gtk/GDBus/ExampleInterface 1062s # Interface: org.gtk.GDBus.ExampleInterface 1062s # Member: Foo 1062s # Argument 0: (not a string) 1062s # Sent in step: 4 1062s # Received Finished signal from subscriber :1.0 1062s # Received Finished signal from service :1.1 1062s # Received Finished signal from service 2 :1.2 1062s # Received Finished signal from attacker :1.3 1062s # Signal from step 4 was received 4 times by GDBusConnection, expected 4 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s ok 3 /gdbus/subscribe/conn/match_twice 1062s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/home 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/cache 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-config2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/config 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-data2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/data 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/state 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/runtime 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1062s # subscriber is :1.0 1062s # service is :1.1 1062s # service 2 is :1.2 1062s # attacker is :1.3 1062s # Waiting for AddMatch to be processed 1062s # /gdbus/subscribe/conn/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 1062s # Step 0: adding subscription 1062s # Sender: service :1.1 1062s # Path: /org/gtk/GDBus/ExampleInterface 1062s # Interface: org.gtk.GDBus.ExampleInterface 1062s # Member: (any) 1062s # String argument 0: (any) 1062s # Flags: 0 1062s # Subscribing via connection 1062s # Waiting for AddMatch to be processed 1062s # Step 1: emitting signal 1062s # Sender: attacker 1062s # Destination: (broadcast) 1062s # Path: /org/gtk/GDBus/ExampleInterface 1062s # Interface: org.gtk.GDBus.ExampleInterface 1062s # Member: Foo 1062s # Argument 0: (not a string) 1062s # Waiting for signal to reach message bus 1062s # Step 2: emitting signal 1062s # Sender: attacker 1062s # Destination: subscriber :1.0 1062s # Path: /org/gtk/GDBus/ExampleInterface 1062s # Interface: org.gtk.GDBus.ExampleInterface 1062s # Member: Foo 1062s # Argument 0: (not a string) 1062s # Waiting for signal to reach message bus 1062s # Step 3: emitting signal 1062s # Sender: service 1062s # Destination: (broadcast) 1062s # Path: /org/gtk/GDBus/ExampleInterface 1062s # Interface: org.gtk.GDBus.ExampleInterface 1062s # Member: Foo 1062s # Argument 0: (not a string) 1062s # Waiting for signal to reach message bus 1062s # Signal received from service :1.1 1062s # Signal received from service :1.1 via connection 1062s # Path: /org/gtk/GDBus/ExampleInterface 1062s # Interface: org.gtk.GDBus.ExampleInterface 1062s # Member: Foo 1062s # Argument 0: (not a string) 1062s # Sent in step: 3 1062s # Received Finished signal from subscriber :1.0 1062s # Received Finished signal from service :1.1 1062s # Received Finished signal from service 2 :1.2 1062s # Received Finished signal from attacker :1.3 1062s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 1062s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1062s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s ok 4 /gdbus/subscribe/conn/limit_by_unique_name 1062s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/home 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/cache 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-config2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/config 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-data2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/data 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/state 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/runtime 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1062s # subscriber is :1.0 1062s # service is :1.1 1062s # service 2 is :1.2 1062s # attacker is :1.3 1062s # Waiting for AddMatch to be processed 1062s # /gdbus/subscribe/conn/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 1062s # Step 0: adding subscription 1062s # Sender: :0.this.had.better.not.exist 1062s # Path: /org/gtk/GDBus/ExampleInterface 1062s # Interface: org.gtk.GDBus.ExampleInterface 1062s # Member: (any) 1062s # String argument 0: (any) 1062s # Flags: 0 1062s # Subscribing via connection 1062s # Waiting for AddMatch to be processed 1062s # Step 1: emitting signal 1062s # Sender: attacker 1062s # Destination: (broadcast) 1062s # Path: /org/gtk/GDBus/ExampleInterface 1062s # Interface: org.gtk.GDBus.ExampleInterface 1062s # Member: Foo 1062s # Argument 0: (not a string) 1062s # Waiting for signal to reach message bus 1062s # Step 2: emitting signal 1062s # Sender: attacker 1062s # Destination: subscriber :1.0 1062s # Path: /org/gtk/GDBus/ExampleInterface 1062s # Interface: org.gtk.GDBus.ExampleInterface 1062s # Member: Foo 1062s # Argument 0: (not a string) 1062s # Waiting for signal to reach message bus 1062s # Received Finished signal from subscriber :1.0 1062s # Received Finished signal from service :1.1 1062s # Received Finished signal from service 2 :1.2 1062s # Received Finished signal from attacker :1.3 1062s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 1062s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s ok 5 /gdbus/subscribe/conn/nonexistent_unique_name 1062s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/home 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/cache 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-config2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/config 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-data2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/data 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/state 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/runtime 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1062s # subscriber is :1.0 1062s # service is :1.1 1062s # service 2 is :1.2 1062s # attacker is :1.3 1062s # Waiting for AddMatch to be processed 1062s # /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 1062s # Step 0: claiming bus name 1062s # Name: org.gtk.Test.AlreadyOwned 1062s # Owner: service 1062s # Step 1: adding subscription 1062s # Sender: org.gtk.Test.AlreadyOwned 1062s # Path: /org/gtk/GDBus/ExampleInterface 1062s # Interface: org.gtk.GDBus.ExampleInterface 1062s # Member: (any) 1062s # String argument 0: (any) 1062s # Flags: 0 1062s # Subscribing via connection 1062s # Waiting for AddMatch to be processed 1062s # Step 2: adding subscription 1062s # Sender: org.gtk.Test.OwnedLater 1062s # Path: /org/gtk/GDBus/ExampleInterface 1062s # Interface: org.gtk.GDBus.ExampleInterface 1062s # Member: (any) 1062s # String argument 0: (any) 1062s # Flags: 0 1062s # Subscribing via connection 1062s # Waiting for AddMatch to be processed 1062s # Step 3: emitting signal 1062s # Sender: attacker 1062s # Destination: (broadcast) 1062s # Path: /org/gtk/GDBus/ExampleInterface 1062s # Interface: org.gtk.GDBus.ExampleInterface 1062s # Member: Foo 1062s # Argument 0: (not a string) 1062s # Waiting for signal to reach message bus 1062s # Step 4: emitting signal 1062s # Sender: attacker 1062s # Destination: subscriber :1.0 1062s # Path: /org/gtk/GDBus/ExampleInterface 1062s # Interface: org.gtk.GDBus.ExampleInterface 1062s # Member: Foo 1062s # Argument 0: (not a string) 1062s # Waiting for signal to reach message bus 1062s # Step 5: emitting signal 1062s # Sender: service 1062s # Destination: (broadcast) 1062s # Path: /org/gtk/GDBus/ExampleInterface 1062s # Interface: org.gtk.GDBus.ExampleInterface 1062s # Member: Foo 1062s # Argument 0: (not a string) 1062s # Waiting for signal to reach message bus 1062s # Step 6: claiming bus name 1062s # Name: org.gtk.Test.OwnedLater 1062s # Owner: service 1062s # Step 7: emitting signal 1062s # Sender: service 1062s # Destination: (broadcast) 1062s # Path: /org/gtk/GDBus/ExampleInterface 1062s # Interface: org.gtk.GDBus.ExampleInterface 1062s # Member: Foo 1062s # Argument 0: (not a string) 1062s # Waiting for signal to reach message bus 1062s # Signal received from service :1.1 1062s # Signal received from service :1.1 via connection 1062s # Path: /org/gtk/GDBus/ExampleInterface 1062s # Interface: org.gtk.GDBus.ExampleInterface 1062s # Member: Foo 1062s # Argument 0: (not a string) 1062s # Sent in step: 5 1062s # Signal received from service :1.1 1062s # Signal received from service :1.1 via connection 1062s # Path: /org/gtk/GDBus/ExampleInterface 1062s # Interface: org.gtk.GDBus.ExampleInterface 1062s # Member: Foo 1062s # Argument 0: (not a string) 1062s # Sent in step: 7 1062s # Signal received from service :1.1 1062s # Signal received from service :1.1 via connection 1062s # Path: /org/gtk/GDBus/ExampleInterface 1062s # Interface: org.gtk.GDBus.ExampleInterface 1062s # Member: Foo 1062s # Argument 0: (not a string) 1062s # Sent in step: 7 1062s # Received Finished signal from subscriber :1.0 1062s # Received Finished signal from service :1.1 1062s # Received Finished signal from service 2 :1.2 1062s # Received Finished signal from attacker :1.3 1062s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 1062s # Signal from step 3 was received 0 times by GDBusConnection, expected 0 1062s # Signal from step 4 was received 0 times by GDBusConnection, expected 0 1062s # Signal from step 5 was received 1 times by GDBusConnection, expected 1 1062s # NameOwnerChanged from step 6 was received 0 times by GDBusConnection, expected 0 1062s # Signal from step 7 was received 2 times by GDBusConnection, expected 2 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s ok 6 /gdbus/subscribe/conn/limit_by_well_known_name 1062s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/home 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/cache 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-config2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/config 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-data2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/data 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/state 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/runtime 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1062s # subscriber is :1.0 1062s # service is :1.1 1062s # service 2 is :1.2 1062s # attacker is :1.3 1062s # Waiting for AddMatch to be processed 1062s # /gdbus/subscribe/conn/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 1062s # Step 0: adding subscription 1062s # Sender: org.freedesktop.DBus 1062s # Path: /org/freedesktop/DBus 1062s # Interface: org.freedesktop.DBus 1062s # Member: (any) 1062s # String argument 0: (any) 1062s # Flags: 0 1062s # Subscribing via connection 1062s # Waiting for AddMatch to be processed 1062s # Step 1: emitting signal 1062s # Sender: attacker 1062s # Destination: (broadcast) 1062s # Path: /org/freedesktop/DBus 1062s # Interface: org.freedesktop.DBus 1062s # Member: NameOwnerChanged 1062s # String argument 0: would I lie to you? 1062s # Waiting for signal to reach message bus 1062s # Step 2: emitting signal 1062s # Sender: attacker 1062s # Destination: subscriber :1.0 1062s # Path: /org/freedesktop/DBus 1062s # Interface: org.freedesktop.DBus 1062s # Member: NameOwnerChanged 1062s # Waiting for signal to reach message bus 1062s # Step 3: claiming bus name 1062s # Name: org.gtk.Test.OwnedLater 1062s # Owner: service 1062s # Signal received from message bus org.freedesktop.DBus 1062s # Signal received from (unused) org.freedesktop.DBus via connection 1062s # Path: /org/freedesktop/DBus 1062s # Interface: org.freedesktop.DBus 1062s # Member: NameOwnerChanged 1062s # Received Finished signal from subscriber :1.0 1062s # Received Finished signal from service :1.1 1062s # Received Finished signal from service 2 :1.2 1062s # Received Finished signal from attacker :1.3 1062s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 1062s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1062s # NameOwnerChanged from step 3 was received 1 times by GDBusConnection, expected 1 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s ok 7 /gdbus/subscribe/conn/limit_to_message_bus 1062s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/home 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/cache 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-config2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/config 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-data2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/data 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/state 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/runtime 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1062s # subscriber is :1.0 1062s # service is :1.1 1062s # service 2 is :1.2 1062s # attacker is :1.3 1062s # Waiting for AddMatch to be processed 1062s # /gdbus/subscribe/conn/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 1062s # Step 0: claiming bus name 1062s # Name: org.gtk.Test.AlreadyOwned 1062s # Owner: service 1062s # Step 1: adding subscription 1062s # Sender: org.gtk.Test.AlreadyOwned 1062s # Path: /org/gtk/GDBus/ExampleInterface 1062s # Interface: org.gtk.GDBus.ExampleInterface 1062s # Member: (any) 1062s # String argument 0: (any) 1062s # Flags: 0 1062s # Subscribing via connection 1062s # Immediately unsubscribing 1062s # Waiting for AddMatch to be processed 1062s # Step 2: emitting signal 1062s # Sender: service 1062s # Destination: (broadcast) 1062s # Path: /org/gtk/GDBus/ExampleInterface 1062s # Interface: org.gtk.GDBus.ExampleInterface 1062s # Member: Foo 1062s # Argument 0: (not a string) 1062s # Waiting for signal to reach message bus 1062s # Received Finished signal from subscriber :1.0 1062s # Received Finished signal from service :1.1 1062s # Received Finished signal from service 2 :1.2 1062s # Received Finished signal from attacker :1.3 1062s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 1062s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s ok 8 /gdbus/subscribe/conn/unsubscribe_immediately 1062s # End of conn tests 1062s # Start of proxy tests 1062s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/proxy/simple/.dirs/home 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/proxy/simple/.dirs/cache 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/proxy/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/proxy/simple/.dirs/system-config2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/proxy/simple/.dirs/config 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/proxy/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/proxy/simple/.dirs/system-data2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/proxy/simple/.dirs/data 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/proxy/simple/.dirs/state 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/proxy/simple/.dirs/runtime 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1062s # subscriber is :1.0 1062s # service is :1.1 1062s # service 2 is :1.2 1062s # attacker is :1.3 1062s # Waiting for AddMatch to be processed 1062s # /gdbus/subscribe/proxy/simple summary: A broadcast is only received after subscribing to it 1062s # Step 0: emitting signal 1062s # Sender: service 1062s # Destination: (broadcast) 1062s # Path: /org/gtk/GDBus/ExampleInterface 1062s # Interface: org.gtk.GDBus.ExampleInterface 1062s # Member: Foo 1062s # Argument 0: (not a string) 1062s # Waiting for signal to reach message bus 1062s # Step 1: adding subscription 1062s # Sender: (any) 1062s # Path: /org/gtk/GDBus/ExampleInterface 1062s # Interface: org.gtk.GDBus.ExampleInterface 1062s # Member: (any) 1062s # String argument 0: (any) 1062s # Flags: 0 1062s # Cannot subscribe via proxy: no bus name 1062s # Waiting for AddMatch to be processed 1062s # Step 2: emitting signal 1062s # Sender: service 1062s # Destination: (broadcast) 1062s # Path: /org/gtk/GDBus/ExampleInterface 1062s # Interface: org.gtk.GDBus.ExampleInterface 1062s # Member: Foo 1062s # Argument 0: (not a string) 1062s # Waiting for signal to reach message bus 1062s # Received Finished signal from subscriber :1.0 1062s # Received Finished signal from service :1.1 1062s # Received Finished signal from service 2 :1.2 1062s # Received Finished signal from attacker :1.3 1062s # Signal from step 0 was received 0 times by GDBusProxy, expected 0 1062s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s ok 9 /gdbus/subscribe/proxy/simple 1062s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/home 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/cache 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-config2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/config 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-data2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/data 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/state 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/runtime 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1062s # subscriber is :1.0 1062s # service is :1.1 1062s # service 2 is :1.2 1062s # attacker is :1.3 1062s # Waiting for AddMatch to be processed 1062s # /gdbus/subscribe/proxy/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 1062s # Step 0: adding subscription 1062s # Sender: (any) 1062s # Path: /org/gtk/GDBus/ExampleInterface 1062s # Interface: org.gtk.GDBus.ExampleInterface 1062s # Member: (any) 1062s # String argument 0: (any) 1062s # Flags: 0 1062s # Cannot subscribe via proxy: no bus name 1062s # Waiting for AddMatch to be processed 1062s # Step 1: emitting signal 1062s # Sender: service 1062s # Destination: (broadcast) 1062s # Path: /org/gtk/GDBus/ExampleInterface 1062s # Interface: org.gtk.GDBus.ExampleInterface 1062s # Member: Foo 1062s # Argument 0: (not a string) 1062s # Waiting for signal to reach message bus 1062s # Step 2: emitting signal 1062s # Sender: service 2 1062s # Destination: (broadcast) 1062s # Path: /org/gtk/GDBus/ExampleInterface 1062s # Interface: org.gtk.GDBus.ExampleInterface 1062s # Member: Foo 1062s # Argument 0: (not a string) 1062s # Waiting for signal to reach message bus 1062s # Step 3: emitting signal 1062s # Sender: service 1062s # Destination: subscriber :1.0 1062s # Path: /org/gtk/GDBus/ExampleInterface 1062s # Interface: org.gtk.GDBus.ExampleInterface 1062s # Member: Foo 1062s # Argument 0: (not a string) 1062s # Waiting for signal to reach message bus 1062s # Step 4: emitting signal 1062s # Sender: service 2 1062s # Destination: subscriber :1.0 1062s # Path: /org/gtk/GDBus/ExampleInterface 1062s # Interface: org.gtk.GDBus.ExampleInterface 1062s # Member: Foo 1062s # Argument 0: (not a string) 1062s # Waiting for signal to reach message bus 1062s # Received Finished signal from subscriber :1.0 1062s # Received Finished signal from service :1.1 1062s # Received Finished signal from service 2 :1.2 1062s # Received Finished signal from attacker :1.3 1062s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1062s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1062s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 1062s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s ok 10 /gdbus/subscribe/proxy/broadcast_from_anyone 1062s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/proxy/match_twice/.dirs/home 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/proxy/match_twice/.dirs/cache 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/proxy/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/proxy/match_twice/.dirs/system-config2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/proxy/match_twice/.dirs/config 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/proxy/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/proxy/match_twice/.dirs/system-data2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/proxy/match_twice/.dirs/data 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/proxy/match_twice/.dirs/state 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/proxy/match_twice/.dirs/runtime 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1062s # subscriber is :1.0 1062s # service is :1.1 1062s # service 2 is :1.2 1062s # attacker is :1.3 1062s # Waiting for AddMatch to be processed 1062s # /gdbus/subscribe/proxy/match_twice summary: A message matching more than one subscription is received once per subscription 1062s # Step 0: adding subscription 1062s # Sender: service :1.1 1062s # Path: /org/gtk/GDBus/ExampleInterface 1062s # Interface: org.gtk.GDBus.ExampleInterface 1062s # Member: (any) 1062s # String argument 0: (any) 1062s # Flags: 0 1062s # Subscribing via proxy 1062s # Waiting for AddMatch to be processed 1062s # Step 1: adding subscription 1062s # Sender: (any) 1062s # Path: /org/gtk/GDBus/ExampleInterface 1062s # Interface: (any) 1062s # Member: (any) 1062s # String argument 0: (any) 1062s # Flags: 0 1062s # Cannot subscribe via proxy: no bus name 1062s # Waiting for AddMatch to be processed 1062s # Step 2: adding subscription 1062s # Sender: (any) 1062s # Path: (any) 1062s # Interface: org.gtk.GDBus.ExampleInterface 1062s # Member: (any) 1062s # String argument 0: (any) 1062s # Flags: 0 1062s # Cannot subscribe via proxy: no bus name 1062s # Waiting for AddMatch to be processed 1062s # Step 3: adding subscription 1062s # Sender: service :1.1 1062s # Path: /org/gtk/GDBus/ExampleInterface 1062s # Interface: org.gtk.GDBus.ExampleInterface 1062s # Member: (any) 1062s # String argument 0: (any) 1062s # Flags: 0 1062s # Subscribing via proxy 1062s # Waiting for AddMatch to be processed 1062s # Step 4: emitting signal 1062s # Sender: service 1062s # Destination: (broadcast) 1062s # Path: /org/gtk/GDBus/ExampleInterface 1062s # Interface: org.gtk.GDBus.ExampleInterface 1062s # Member: Foo 1062s # Argument 0: (not a string) 1062s # Waiting for signal to reach message bus 1062s # Signal received from service :1.1 1062s # Signal received from service :1.1 via proxy 1062s # Path: /org/gtk/GDBus/ExampleInterface 1062s # Interface: org.gtk.GDBus.ExampleInterface 1062s # Member: Foo 1062s # Argument 0: (not a string) 1062s # Sent in step: 4 1062s # Signal received from service :1.1 1062s # Signal received from service :1.1 via proxy 1062s # Path: /org/gtk/GDBus/ExampleInterface 1062s # Interface: org.gtk.GDBus.ExampleInterface 1062s # Member: Foo 1062s # Argument 0: (not a string) 1062s # Sent in step: 4 1062s # Received Finished signal from subscriber :1.0 1062s # Received Finished signal from service :1.1 1062s # Received Finished signal from service 2 :1.2 1062s # Received Finished signal from attacker :1.3 1062s # Signal from step 4 was received 2 times by GDBusProxy, expected 2 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s ok 11 /gdbus/subscribe/proxy/match_twice 1062s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/home 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/cache 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-config2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/config 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-data2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/data 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/state 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/runtime 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1062s # subscriber is :1.0 1062s # service is :1.1 1062s # service 2 is :1.2 1062s # attacker is :1.3 1062s # Waiting for AddMatch to be processed 1062s # /gdbus/subscribe/proxy/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 1062s # Step 0: adding subscription 1062s # Sender: service :1.1 1062s # Path: /org/gtk/GDBus/ExampleInterface 1062s # Interface: org.gtk.GDBus.ExampleInterface 1062s # Member: (any) 1062s # String argument 0: (any) 1062s # Flags: 0 1062s # Subscribing via proxy 1062s # Waiting for AddMatch to be processed 1062s # Step 1: emitting signal 1062s # Sender: attacker 1062s # Destination: (broadcast) 1062s # Path: /org/gtk/GDBus/ExampleInterface 1062s # Interface: org.gtk.GDBus.ExampleInterface 1062s # Member: Foo 1062s # Argument 0: (not a string) 1062s # Waiting for signal to reach message bus 1062s # Step 2: emitting signal 1062s # Sender: attacker 1062s # Destination: subscriber :1.0 1062s # Path: /org/gtk/GDBus/ExampleInterface 1062s # Interface: org.gtk.GDBus.ExampleInterface 1062s # Member: Foo 1062s # Argument 0: (not a string) 1062s # Waiting for signal to reach message bus 1062s # Step 3: emitting signal 1062s # Sender: service 1062s # Destination: (broadcast) 1062s # Path: /org/gtk/GDBus/ExampleInterface 1062s # Interface: org.gtk.GDBus.ExampleInterface 1062s # Member: Foo 1062s # Argument 0: (not a string) 1062s # Waiting for signal to reach message bus 1062s # Signal received from service :1.1 1062s # Signal received from service :1.1 via proxy 1062s # Path: /org/gtk/GDBus/ExampleInterface 1062s # Interface: org.gtk.GDBus.ExampleInterface 1062s # Member: Foo 1062s # Argument 0: (not a string) 1062s # Sent in step: 3 1062s # Received Finished signal from subscriber :1.0 1062s # Received Finished signal from service :1.1 1062s # Received Finished signal from service 2 :1.2 1062s # Received Finished signal from attacker :1.3 1062s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1062s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1062s # Signal from step 3 was received 1 times by GDBusProxy, expected 1 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s ok 12 /gdbus/subscribe/proxy/limit_by_unique_name 1062s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/home 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/cache 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-config2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/config 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-data2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/data 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/state 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/runtime 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1062s # subscriber is :1.0 1062s # service is :1.1 1062s # service 2 is :1.2 1062s # attacker is :1.3 1062s # Waiting for AddMatch to be processed 1062s # /gdbus/subscribe/proxy/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 1062s # Step 0: adding subscription 1062s # Sender: :0.this.had.better.not.exist 1062s # Path: /org/gtk/GDBus/ExampleInterface 1062s # Interface: org.gtk.GDBus.ExampleInterface 1062s # Member: (any) 1062s # String argument 0: (any) 1062s # Flags: 0 1062s # Subscribing via proxy 1062s # Waiting for AddMatch to be processed 1062s # Step 1: emitting signal 1062s # Sender: attacker 1062s # Destination: (broadcast) 1062s # Path: /org/gtk/GDBus/ExampleInterface 1062s # Interface: org.gtk.GDBus.ExampleInterface 1062s # Member: Foo 1062s # Argument 0: (not a string) 1062s # Waiting for signal to reach message bus 1062s # Step 2: emitting signal 1062s # Sender: attacker 1062s # Destination: subscriber :1.0 1062s # Path: /org/gtk/GDBus/ExampleInterface 1062s # Interface: org.gtk.GDBus.ExampleInterface 1062s # Member: Foo 1062s # Argument 0: (not a string) 1062s # Waiting for signal to reach message bus 1062s # Received Finished signal from subscriber :1.0 1062s # Received Finished signal from service :1.1 1062s # Received Finished signal from service 2 :1.2 1062s # Received Finished signal from attacker :1.3 1062s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1062s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s ok 13 /gdbus/subscribe/proxy/nonexistent_unique_name 1062s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/home 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/cache 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-config2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/config 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-data2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/data 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/state 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/runtime 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1062s # subscriber is :1.0 1062s # service is :1.1 1062s # service 2 is :1.2 1062s # attacker is :1.3 1062s # Waiting for AddMatch to be processed 1062s # /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 1062s # Step 0: claiming bus name 1062s # Name: org.gtk.Test.AlreadyOwned 1062s # Owner: service 1062s # Step 1: adding subscription 1062s # Sender: org.gtk.Test.AlreadyOwned 1062s # Path: /org/gtk/GDBus/ExampleInterface 1062s # Interface: org.gtk.GDBus.ExampleInterface 1062s # Member: (any) 1062s # String argument 0: (any) 1062s # Flags: 0 1062s # Subscribing via proxy 1062s # Waiting for AddMatch to be processed 1062s # Step 2: adding subscription 1062s # Sender: org.gtk.Test.OwnedLater 1062s # Path: /org/gtk/GDBus/ExampleInterface 1062s # Interface: org.gtk.GDBus.ExampleInterface 1062s # Member: (any) 1062s # String argument 0: (any) 1062s # Flags: 0 1062s # Subscribing via proxy 1062s # Waiting for AddMatch to be processed 1062s # Step 3: emitting signal 1062s # Sender: attacker 1062s # Destination: (broadcast) 1062s # Path: /org/gtk/GDBus/ExampleInterface 1062s # Interface: org.gtk.GDBus.ExampleInterface 1062s # Member: Foo 1062s # Argument 0: (not a string) 1062s # Waiting for signal to reach message bus 1062s # Step 4: emitting signal 1062s # Sender: attacker 1062s # Destination: subscriber :1.0 1062s # Path: /org/gtk/GDBus/ExampleInterface 1062s # Interface: org.gtk.GDBus.ExampleInterface 1062s # Member: Foo 1062s # Argument 0: (not a string) 1062s # Waiting for signal to reach message bus 1062s # Step 5: emitting signal 1062s # Sender: service 1062s # Destination: (broadcast) 1062s # Path: /org/gtk/GDBus/ExampleInterface 1062s # Interface: org.gtk.GDBus.ExampleInterface 1062s # Member: Foo 1062s # Argument 0: (not a string) 1062s # Waiting for signal to reach message bus 1062s # Step 6: claiming bus name 1062s # Name: org.gtk.Test.OwnedLater 1062s # Owner: service 1062s # Step 7: emitting signal 1062s # Sender: service 1062s # Destination: (broadcast) 1062s # Path: /org/gtk/GDBus/ExampleInterface 1062s # Interface: org.gtk.GDBus.ExampleInterface 1062s # Member: Foo 1062s # Argument 0: (not a string) 1062s # Waiting for signal to reach message bus 1062s # Signal received from service :1.1 1062s # Signal received from service :1.1 via proxy 1062s # Path: /org/gtk/GDBus/ExampleInterface 1062s # Interface: org.gtk.GDBus.ExampleInterface 1062s # Member: Foo 1062s # Argument 0: (not a string) 1062s # Sent in step: 5 1062s # Signal received from service :1.1 1062s # Signal received from service :1.1 via proxy 1062s # Path: /org/gtk/GDBus/ExampleInterface 1062s # Interface: org.gtk.GDBus.ExampleInterface 1062s # Member: Foo 1062s # Argument 0: (not a string) 1062s # Sent in step: 7 1062s # Signal received from service :1.1 1062s # Signal received from service :1.1 via proxy 1062s # Path: /org/gtk/GDBus/ExampleInterface 1062s # Interface: org.gtk.GDBus.ExampleInterface 1062s # Member: Foo 1062s # Argument 0: (not a string) 1062s # Sent in step: 7 1062s # Received Finished signal from subscriber :1.0 1062s # Received Finished signal from service :1.1 1062s # Received Finished signal from service 2 :1.2 1062s # Received Finished signal from attacker :1.3 1062s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 1062s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 1062s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 1062s # Signal from step 5 was received 1 times by GDBusProxy, expected 1 1062s # NameOwnerChanged from step 6 was received 0 times by GDBusProxy, expected 0 1062s # Signal from step 7 was received 2 times by GDBusProxy, expected 2 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s ok 14 /gdbus/subscribe/proxy/limit_by_well_known_name 1062s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/home 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/cache 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-config2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/config 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-data2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/data 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/state 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/runtime 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1062s # subscriber is :1.0 1062s # service is :1.1 1062s # service 2 is :1.2 1062s # attacker is :1.3 1062s # Waiting for AddMatch to be processed 1062s # /gdbus/subscribe/proxy/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 1062s # Step 0: adding subscription 1062s # Sender: org.freedesktop.DBus 1062s # Path: /org/freedesktop/DBus 1062s # Interface: org.freedesktop.DBus 1062s # Member: (any) 1062s # String argument 0: (any) 1062s # Flags: 0 1062s # Subscribing via proxy 1062s # Waiting for AddMatch to be processed 1062s # Step 1: emitting signal 1062s # Sender: attacker 1062s # Destination: (broadcast) 1062s # Path: /org/freedesktop/DBus 1062s # Interface: org.freedesktop.DBus 1062s # Member: NameOwnerChanged 1062s # String argument 0: would I lie to you? 1062s # Waiting for signal to reach message bus 1062s # Step 2: emitting signal 1062s # Sender: attacker 1062s # Destination: subscriber :1.0 1062s # Path: /org/freedesktop/DBus 1062s # Interface: org.freedesktop.DBus 1062s # Member: NameOwnerChanged 1062s # Waiting for signal to reach message bus 1062s # Step 3: claiming bus name 1062s # Name: org.gtk.Test.OwnedLater 1062s # Owner: service 1062s # Signal received from message bus org.freedesktop.DBus 1062s # Signal received from (unused) org.freedesktop.DBus via proxy 1062s # Path: /org/freedesktop/DBus 1062s # Interface: org.freedesktop.DBus 1062s # Member: NameOwnerChanged 1062s # Received Finished signal from subscriber :1.0 1062s # Received Finished signal from service :1.1 1062s # Received Finished signal from service 2 :1.2 1062s # Received Finished signal from attacker :1.3 1062s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1062s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1062s # NameOwnerChanged from step 3 was received 1 times by GDBusProxy, expected 1 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s ok 15 /gdbus/subscribe/proxy/limit_to_message_bus 1062s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/home 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/cache 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-config2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/config 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-data2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/data 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/state 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/runtime 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1062s # subscriber is :1.0 1062s # service is :1.1 1062s # service 2 is :1.2 1062s # attacker is :1.3 1062s # Waiting for AddMatch to be processed 1062s # /gdbus/subscribe/proxy/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 1062s # Step 0: claiming bus name 1062s # Name: org.gtk.Test.AlreadyOwned 1062s # Owner: service 1062s # Step 1: adding subscription 1062s # Sender: org.gtk.Test.AlreadyOwned 1062s # Path: /org/gtk/GDBus/ExampleInterface 1062s # Interface: org.gtk.GDBus.ExampleInterface 1062s # Member: (any) 1062s # String argument 0: (any) 1062s # Flags: 0 1062s # Subscribing via proxy 1062s # Waiting for AddMatch to be processed 1062s # Step 2: emitting signal 1062s # Sender: service 1062s # Destination: (broadcast) 1062s # Path: /org/gtk/GDBus/ExampleInterface 1062s # Interface: org.gtk.GDBus.ExampleInterface 1062s # Member: Foo 1062s # Argument 0: (not a string) 1062s # Waiting for signal to reach message bus 1062s # Signal received from service :1.1 1062s # Signal received from service :1.1 via proxy 1062s # Path: /org/gtk/GDBus/ExampleInterface 1062s # Interface: org.gtk.GDBus.ExampleInterface 1062s # Member: Foo 1062s # Argument 0: (not a string) 1062s # Sent in step: 2 1062s # Received Finished signal from subscriber :1.0 1062s # Received Finished signal from service :1.1 1062s # Received Finished signal from service 2 :1.2 1062s # Received Finished signal from attacker :1.3 1062s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 1062s # Signal from step 2 was received 1 times by GDBusProxy, expected 1 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s ok 16 /gdbus/subscribe/proxy/unsubscribe_immediately 1062s # End of proxy tests 1062s # Start of parallel tests 1062s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/parallel/simple/.dirs/home 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/parallel/simple/.dirs/cache 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/parallel/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/parallel/simple/.dirs/system-config2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/parallel/simple/.dirs/config 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/parallel/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/parallel/simple/.dirs/system-data2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/parallel/simple/.dirs/data 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/parallel/simple/.dirs/state 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/parallel/simple/.dirs/runtime 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1062s # subscriber is :1.0 1062s # service is :1.1 1062s # service 2 is :1.2 1062s # attacker is :1.3 1062s # Waiting for AddMatch to be processed 1062s # /gdbus/subscribe/parallel/simple summary: A broadcast is only received after subscribing to it 1062s # Step 0: emitting signal 1062s # Sender: service 1062s # Destination: (broadcast) 1062s # Path: /org/gtk/GDBus/ExampleInterface 1062s # Interface: org.gtk.GDBus.ExampleInterface 1062s # Member: Foo 1062s # Argument 0: (not a string) 1062s # Waiting for signal to reach message bus 1062s # Step 1: adding subscription 1062s # Sender: (any) 1062s # Path: /org/gtk/GDBus/ExampleInterface 1062s # Interface: org.gtk.GDBus.ExampleInterface 1062s # Member: (any) 1062s # String argument 0: (any) 1062s # Flags: 0 1062s # Subscribing via connection 1062s # Cannot subscribe via proxy: no bus name 1062s # Waiting for AddMatch to be processed 1062s # Step 2: emitting signal 1062s # Sender: service 1062s # Destination: (broadcast) 1062s # Path: /org/gtk/GDBus/ExampleInterface 1062s # Interface: org.gtk.GDBus.ExampleInterface 1062s # Member: Foo 1062s # Argument 0: (not a string) 1062s # Waiting for signal to reach message bus 1062s # Signal received from service :1.1 1062s # Signal received from service :1.1 via connection 1062s # Path: /org/gtk/GDBus/ExampleInterface 1062s # Interface: org.gtk.GDBus.ExampleInterface 1062s # Member: Foo 1062s # Argument 0: (not a string) 1062s # Sent in step: 2 1062s # Received Finished signal from subscriber :1.0 1062s # Received Finished signal from service :1.1 1062s # Received Finished signal from service 2 :1.2 1062s # Received Finished signal from attacker :1.3 1062s # Signal from step 0 was received 0 times by GDBusConnection, expected 0 1062s # Signal from step 0 was received 0 times by GDBusProxy, expected 0 1062s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 1062s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s ok 17 /gdbus/subscribe/parallel/simple 1062s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/home 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/cache 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-config2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/config 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-data2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/data 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/state 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/runtime 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1062s # subscriber is :1.0 1062s # service is :1.1 1062s # service 2 is :1.2 1062s # attacker is :1.3 1062s # Waiting for AddMatch to be processed 1062s # /gdbus/subscribe/parallel/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 1062s # Step 0: adding subscription 1062s # Sender: (any) 1062s # Path: /org/gtk/GDBus/ExampleInterface 1062s # Interface: org.gtk.GDBus.ExampleInterface 1062s # Member: (any) 1062s # String argument 0: (any) 1062s # Flags: 0 1062s # Subscribing via connection 1062s # Cannot subscribe via proxy: no bus name 1062s # Waiting for AddMatch to be processed 1062s # Step 1: emitting signal 1062s # Sender: service 1062s # Destination: (broadcast) 1062s # Path: /org/gtk/GDBus/ExampleInterface 1062s # Interface: org.gtk.GDBus.ExampleInterface 1062s # Member: Foo 1062s # Argument 0: (not a string) 1062s # Waiting for signal to reach message bus 1062s # Step 2: emitting signal 1062s # Sender: service 2 1062s # Destination: (broadcast) 1062s # Path: /org/gtk/GDBus/ExampleInterface 1062s # Interface: org.gtk.GDBus.ExampleInterface 1062s # Member: Foo 1062s # Argument 0: (not a string) 1062s # Waiting for signal to reach message bus 1062s # Step 3: emitting signal 1062s # Sender: service 1062s # Destination: subscriber :1.0 1062s # Path: /org/gtk/GDBus/ExampleInterface 1062s # Interface: org.gtk.GDBus.ExampleInterface 1062s # Member: Foo 1062s # Argument 0: (not a string) 1062s # Waiting for signal to reach message bus 1062s # Step 4: emitting signal 1062s # Sender: service 2 1062s # Destination: subscriber :1.0 1062s # Path: /org/gtk/GDBus/ExampleInterface 1062s # Interface: org.gtk.GDBus.ExampleInterface 1062s # Member: Foo 1062s # Argument 0: (not a string) 1062s # Waiting for signal to reach message bus 1062s # Signal received from service :1.1 1062s # Signal received from service :1.1 via connection 1062s # Path: /org/gtk/GDBus/ExampleInterface 1062s # Interface: org.gtk.GDBus.ExampleInterface 1062s # Member: Foo 1062s # Argument 0: (not a string) 1062s # Sent in step: 1 1062s # Signal received from service 2 :1.2 1062s # Signal received from service 2 :1.2 via connection 1062s # Path: /org/gtk/GDBus/ExampleInterface 1062s # Interface: org.gtk.GDBus.ExampleInterface 1062s # Member: Foo 1062s # Argument 0: (not a string) 1062s # Sent in step: 2 1062s # Signal received from service :1.1 1062s # Signal received from service :1.1 via connection 1062s # Path: /org/gtk/GDBus/ExampleInterface 1062s # Interface: org.gtk.GDBus.ExampleInterface 1062s # Member: Foo 1062s # Argument 0: (not a string) 1062s # Sent in step: 3 1062s # Signal received from service 2 :1.2 1062s # Signal received from service 2 :1.2 via connection 1062s # Path: /org/gtk/GDBus/ExampleInterface 1062s # Interface: org.gtk.GDBus.ExampleInterface 1062s # Member: Foo 1062s # Argument 0: (not a string) 1062s # Sent in step: 4 1062s # Received Finished signal from subscriber :1.0 1062s # Received Finished signal from service :1.1 1062s # Received Finished signal from service 2 :1.2 1062s # Received Finished signal from attacker :1.3 1062s # Signal from step 1 was received 1 times by GDBusConnection, expected 1 1062s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1062s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 1062s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1062s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 1062s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 1062s # Signal from step 4 was received 1 times by GDBusConnection, expected 1 1062s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s ok 18 /gdbus/subscribe/parallel/broadcast_from_anyone 1062s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/parallel/match_twice/.dirs/home 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/parallel/match_twice/.dirs/cache 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/parallel/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/parallel/match_twice/.dirs/system-config2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/parallel/match_twice/.dirs/config 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/parallel/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/parallel/match_twice/.dirs/system-data2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/parallel/match_twice/.dirs/data 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/parallel/match_twice/.dirs/state 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/parallel/match_twice/.dirs/runtime 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1062s # subscriber is :1.0 1062s # service is :1.1 1062s # service 2 is :1.2 1062s # attacker is :1.3 1062s # Waiting for AddMatch to be processed 1062s # /gdbus/subscribe/parallel/match_twice summary: A message matching more than one subscription is received once per subscription 1062s # Step 0: adding subscription 1062s # Sender: service :1.1 1062s # Path: /org/gtk/GDBus/ExampleInterface 1062s # Interface: org.gtk.GDBus.ExampleInterface 1062s # Member: (any) 1062s # String argument 0: (any) 1062s # Flags: 0 1062s # Subscribing via connection 1062s # Subscribing via proxy 1062s # Waiting for AddMatch to be processed 1062s # Step 1: adding subscription 1062s # Sender: (any) 1062s # Path: /org/gtk/GDBus/ExampleInterface 1062s # Interface: (any) 1062s # Member: (any) 1062s # String argument 0: (any) 1062s # Flags: 0 1062s # Subscribing via connection 1062s # Cannot subscribe via proxy: no bus name 1062s # Waiting for AddMatch to be processed 1062s # Step 2: adding subscription 1062s # Sender: (any) 1062s # Path: (any) 1062s # Interface: org.gtk.GDBus.ExampleInterface 1062s # Member: (any) 1062s # String argument 0: (any) 1062s # Flags: 0 1062s # Subscribing via connection 1062s # Cannot subscribe via proxy: no bus name 1062s # Waiting for AddMatch to be processed 1062s # Step 3: adding subscription 1062s # Sender: service :1.1 1062s # Path: /org/gtk/GDBus/ExampleInterface 1062s # Interface: org.gtk.GDBus.ExampleInterface 1062s # Member: (any) 1062s # String argument 0: (any) 1062s # Flags: 0 1062s # Subscribing via connection 1062s # Subscribing via proxy 1062s # Waiting for AddMatch to be processed 1062s # Step 4: emitting signal 1062s # Sender: service 1062s # Destination: (broadcast) 1062s # Path: /org/gtk/GDBus/ExampleInterface 1062s # Interface: org.gtk.GDBus.ExampleInterface 1062s # Member: Foo 1062s # Argument 0: (not a string) 1062s # Waiting for signal to reach message bus 1062s # Signal received from service :1.1 1062s # Signal received from service :1.1 via connection 1062s # Path: /org/gtk/GDBus/ExampleInterface 1062s # Interface: org.gtk.GDBus.ExampleInterface 1062s # Member: Foo 1062s # Argument 0: (not a string) 1062s # Sent in step: 4 1062s # Signal received from service :1.1 1062s # Signal received from service :1.1 via proxy 1062s # Path: /org/gtk/GDBus/ExampleInterface 1062s # Interface: org.gtk.GDBus.ExampleInterface 1062s # Member: Foo 1062s # Argument 0: (not a string) 1062s # Sent in step: 4 1062s # Signal received from service :1.1 1062s # Signal received from service :1.1 via connection 1062s # Path: /org/gtk/GDBus/ExampleInterface 1062s # Interface: org.gtk.GDBus.ExampleInterface 1062s # Member: Foo 1062s # Argument 0: (not a string) 1062s # Sent in step: 4 1062s # Signal received from service :1.1 1062s # Signal received from service :1.1 via proxy 1062s # Path: /org/gtk/GDBus/ExampleInterface 1062s # Interface: org.gtk.GDBus.ExampleInterface 1062s # Member: Foo 1062s # Argument 0: (not a string) 1062s # Sent in step: 4 1062s # Signal received from service :1.1 1062s # Signal received from service :1.1 via connection 1062s # Path: /org/gtk/GDBus/ExampleInterface 1062s # Interface: org.gtk.GDBus.ExampleInterface 1062s # Member: Foo 1062s # Argument 0: (not a string) 1062s # Sent in step: 4 1062s # Signal received from service :1.1 1062s # Signal received from service :1.1 via connection 1062s # Path: /org/gtk/GDBus/ExampleInterface 1062s # Interface: org.gtk.GDBus.ExampleInterface 1062s # Member: Foo 1062s # Argument 0: (not a string) 1062s # Sent in step: 4 1062s # Received Finished signal from subscriber :1.0 1062s # Received Finished signal from service :1.1 1062s # Received Finished signal from service 2 :1.2 1062s # Received Finished signal from attacker :1.3 1062s # Signal from step 4 was received 4 times by GDBusConnection, expected 4 1062s # Signal from step 4 was received 2 times by GDBusProxy, expected 2 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s ok 19 /gdbus/subscribe/parallel/match_twice 1062s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/home 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/cache 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-config2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/config 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-data2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/data 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/state 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/runtime 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1062s # subscriber is :1.0 1062s # service is :1.1 1062s # service 2 is :1.2 1062s # attacker is :1.3 1062s # Waiting for AddMatch to be processed 1062s # /gdbus/subscribe/parallel/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 1062s # Step 0: adding subscription 1062s # Sender: service :1.1 1062s # Path: /org/gtk/GDBus/ExampleInterface 1062s # Interface: org.gtk.GDBus.ExampleInterface 1062s # Member: (any) 1062s # String argument 0: (any) 1062s # Flags: 0 1062s # Subscribing via connection 1062s # Subscribing via proxy 1062s # Waiting for AddMatch to be processed 1062s # Step 1: emitting signal 1062s # Sender: attacker 1062s # Destination: (broadcast) 1062s # Path: /org/gtk/GDBus/ExampleInterface 1062s # Interface: org.gtk.GDBus.ExampleInterface 1062s # Member: Foo 1062s # Argument 0: (not a string) 1062s # Waiting for signal to reach message bus 1062s # Step 2: emitting signal 1062s # Sender: attacker 1062s # Destination: subscriber :1.0 1062s # Path: /org/gtk/GDBus/ExampleInterface 1062s # Interface: org.gtk.GDBus.ExampleInterface 1062s # Member: Foo 1062s # Argument 0: (not a string) 1062s # Waiting for signal to reach message bus 1062s # Step 3: emitting signal 1062s # Sender: service 1062s # Destination: (broadcast) 1062s # Path: /org/gtk/GDBus/ExampleInterface 1062s # Interface: org.gtk.GDBus.ExampleInterface 1062s # Member: Foo 1062s # Argument 0: (not a string) 1062s # Waiting for signal to reach message bus 1062s # Signal received from service :1.1 1062s # Signal received from service :1.1 via connection 1062s # Path: /org/gtk/GDBus/ExampleInterface 1062s # Interface: org.gtk.GDBus.ExampleInterface 1062s # Member: Foo 1062s # Argument 0: (not a string) 1062s # Sent in step: 3 1062s # Signal received from service :1.1 1062s # Signal received from service :1.1 via proxy 1062s # Path: /org/gtk/GDBus/ExampleInterface 1062s # Interface: org.gtk.GDBus.ExampleInterface 1062s # Member: Foo 1062s # Argument 0: (not a string) 1062s # Sent in step: 3 1062s # Received Finished signal from subscriber :1.0 1062s # Received Finished signal from service :1.1 1062s # Received Finished signal from service 2 :1.2 1062s # Received Finished signal from attacker :1.3 1062s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 1062s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1062s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1062s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1062s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 1062s # Signal from step 3 was received 1 times by GDBusProxy, expected 1 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s ok 20 /gdbus/subscribe/parallel/limit_by_unique_name 1062s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/home 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/cache 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-config2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/config 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-data2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/data 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/state 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/runtime 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1062s # subscriber is :1.0 1062s # service is :1.1 1062s # service 2 is :1.2 1062s # attacker is :1.3 1062s # Waiting for AddMatch to be processed 1062s # /gdbus/subscribe/parallel/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 1062s # Step 0: adding subscription 1062s # Sender: :0.this.had.better.not.exist 1062s # Path: /org/gtk/GDBus/ExampleInterface 1062s # Interface: org.gtk.GDBus.ExampleInterface 1062s # Member: (any) 1062s # String argument 0: (any) 1062s # Flags: 0 1062s # Subscribing via connection 1062s # Subscribing via proxy 1062s # Waiting for AddMatch to be processed 1062s # Step 1: emitting signal 1062s # Sender: attacker 1062s # Destination: (broadcast) 1062s # Path: /org/gtk/GDBus/ExampleInterface 1062s # Interface: org.gtk.GDBus.ExampleInterface 1062s # Member: Foo 1062s # Argument 0: (not a string) 1062s # Waiting for signal to reach message bus 1062s # Step 2: emitting signal 1062s # Sender: attacker 1062s # Destination: subscriber :1.0 1062s # Path: /org/gtk/GDBus/ExampleInterface 1062s # Interface: org.gtk.GDBus.ExampleInterface 1062s # Member: Foo 1062s # Argument 0: (not a string) 1062s # Waiting for signal to reach message bus 1062s # Received Finished signal from subscriber :1.0 1062s # Received Finished signal from service :1.1 1062s # Received Finished signal from service 2 :1.2 1062s # Received Finished signal from attacker :1.3 1062s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 1062s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1062s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1062s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s ok 21 /gdbus/subscribe/parallel/nonexistent_unique_name 1062s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/home 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/cache 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-config2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/config 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-data2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/data 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/state 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/runtime 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1062s # subscriber is :1.0 1062s # service is :1.1 1062s # service 2 is :1.2 1062s # attacker is :1.3 1062s # Waiting for AddMatch to be processed 1062s # /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 1062s # Step 0: claiming bus name 1062s # Name: org.gtk.Test.AlreadyOwned 1062s # Owner: service 1062s # Step 1: adding subscription 1062s # Sender: org.gtk.Test.AlreadyOwned 1062s # Path: /org/gtk/GDBus/ExampleInterface 1062s # Interface: org.gtk.GDBus.ExampleInterface 1062s # Member: (any) 1062s # String argument 0: (any) 1062s # Flags: 0 1062s # Subscribing via connection 1062s # Subscribing via proxy 1062s # Waiting for AddMatch to be processed 1062s # Step 2: adding subscription 1062s # Sender: org.gtk.Test.OwnedLater 1062s # Path: /org/gtk/GDBus/ExampleInterface 1062s # Interface: org.gtk.GDBus.ExampleInterface 1062s # Member: (any) 1062s # String argument 0: (any) 1062s # Flags: 0 1062s # Subscribing via connection 1062s # Subscribing via proxy 1062s # Waiting for AddMatch to be processed 1062s # Step 3: emitting signal 1062s # Sender: attacker 1062s # Destination: (broadcast) 1062s # Path: /org/gtk/GDBus/ExampleInterface 1062s # Interface: org.gtk.GDBus.ExampleInterface 1062s # Member: Foo 1062s # Argument 0: (not a string) 1062s # Waiting for signal to reach message bus 1062s # Step 4: emitting signal 1062s # Sender: attacker 1062s # Destination: subscriber :1.0 1062s # Path: /org/gtk/GDBus/ExampleInterface 1062s # Interface: org.gtk.GDBus.ExampleInterface 1062s # Member: Foo 1062s # Argument 0: (not a string) 1062s # Waiting for signal to reach message bus 1062s # Step 5: emitting signal 1062s # Sender: service 1062s # Destination: (broadcast) 1062s # Path: /org/gtk/GDBus/ExampleInterface 1062s # Interface: org.gtk.GDBus.ExampleInterface 1062s # Member: Foo 1062s # Argument 0: (not a string) 1062s # Waiting for signal to reach message bus 1062s # Step 6: claiming bus name 1062s # Name: org.gtk.Test.OwnedLater 1062s # Owner: service 1062s # Step 7: emitting signal 1062s # Sender: service 1062s # Destination: (broadcast) 1062s # Path: /org/gtk/GDBus/ExampleInterface 1062s # Interface: org.gtk.GDBus.ExampleInterface 1062s # Member: Foo 1062s # Argument 0: (not a string) 1062s # Waiting for signal to reach message bus 1062s # Signal received from service :1.1 1062s # Signal received from service :1.1 via connection 1062s # Path: /org/gtk/GDBus/ExampleInterface 1062s # Interface: org.gtk.GDBus.ExampleInterface 1062s # Member: Foo 1062s # Argument 0: (not a string) 1062s # Sent in step: 5 1062s # Signal received from service :1.1 1062s # Signal received from service :1.1 via proxy 1062s # Path: /org/gtk/GDBus/ExampleInterface 1062s # Interface: org.gtk.GDBus.ExampleInterface 1062s # Member: Foo 1062s # Argument 0: (not a string) 1062s # Sent in step: 5 1062s # Signal received from service :1.1 1062s # Signal received from service :1.1 via connection 1062s # Path: /org/gtk/GDBus/ExampleInterface 1062s # Interface: org.gtk.GDBus.ExampleInterface 1062s # Member: Foo 1062s # Argument 0: (not a string) 1062s # Sent in step: 7 1062s # Signal received from service :1.1 1062s # Signal received from service :1.1 via proxy 1062s # Path: /org/gtk/GDBus/ExampleInterface 1062s # Interface: org.gtk.GDBus.ExampleInterface 1062s # Member: Foo 1062s # Argument 0: (not a string) 1062s # Sent in step: 7 1062s # Signal received from service :1.1 1062s # Signal received from service :1.1 via connection 1062s # Path: /org/gtk/GDBus/ExampleInterface 1062s # Interface: org.gtk.GDBus.ExampleInterface 1062s # Member: Foo 1062s # Argument 0: (not a string) 1062s # Sent in step: 7 1062s # Signal received from service :1.1 1062s # Signal received from service :1.1 via proxy 1062s # Path: /org/gtk/GDBus/ExampleInterface 1062s # Interface: org.gtk.GDBus.ExampleInterface 1062s # Member: Foo 1062s # Argument 0: (not a string) 1062s # Sent in step: 7 1062s # Received Finished signal from subscriber :1.0 1062s # Received Finished signal from service :1.1 1062s # Received Finished signal from service 2 :1.2 1062s # Received Finished signal from attacker :1.3 1062s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 1062s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 1062s # Signal from step 3 was received 0 times by GDBusConnection, expected 0 1062s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 1062s # Signal from step 4 was received 0 times by GDBusConnection, expected 0 1062s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 1062s # Signal from step 5 was received 1 times by GDBusConnection, expected 1 1062s # Signal from step 5 was received 1 times by GDBusProxy, expected 1 1062s # NameOwnerChanged from step 6 was received 0 times by GDBusConnection, expected 0 1062s # NameOwnerChanged from step 6 was received 0 times by GDBusProxy, expected 0 1062s # Signal from step 7 was received 2 times by GDBusConnection, expected 2 1062s # Signal from step 7 was received 2 times by GDBusProxy, expected 2 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s ok 22 /gdbus/subscribe/parallel/limit_by_well_known_name 1062s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/home 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/cache 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-config2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/config 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-data2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/data 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/state 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/runtime 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1062s # subscriber is :1.0 1062s # service is :1.1 1062s # service 2 is :1.2 1062s # attacker is :1.3 1062s # Waiting for AddMatch to be processed 1062s # /gdbus/subscribe/parallel/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 1062s # Step 0: adding subscription 1062s # Sender: org.freedesktop.DBus 1062s # Path: /org/freedesktop/DBus 1062s # Interface: org.freedesktop.DBus 1062s # Member: (any) 1062s # String argument 0: (any) 1062s # Flags: 0 1062s # Subscribing via connection 1062s # Subscribing via proxy 1062s # Waiting for AddMatch to be processed 1062s # Step 1: emitting signal 1062s # Sender: attacker 1062s # Destination: (broadcast) 1062s # Path: /org/freedesktop/DBus 1062s # Interface: org.freedesktop.DBus 1062s # Member: NameOwnerChanged 1062s # String argument 0: would I lie to you? 1062s # Waiting for signal to reach message bus 1062s # Step 2: emitting signal 1062s # Sender: attacker 1062s # Destination: subscriber :1.0 1062s # Path: /org/freedesktop/DBus 1062s # Interface: org.freedesktop.DBus 1062s # Member: NameOwnerChanged 1062s # Waiting for signal to reach message bus 1062s # Step 3: claiming bus name 1062s # Name: org.gtk.Test.OwnedLater 1062s # Owner: service 1062s # Signal received from message bus org.freedesktop.DBus 1062s # Signal received from (unused) org.freedesktop.DBus via connection 1062s # Path: /org/freedesktop/DBus 1062s # Interface: org.freedesktop.DBus 1062s # Member: NameOwnerChanged 1062s # Signal received from message bus org.freedesktop.DBus 1062s # Signal received from (unused) org.freedesktop.DBus via proxy 1062s # Path: /org/freedesktop/DBus 1062s # Interface: org.freedesktop.DBus 1062s # Member: NameOwnerChanged 1062s # Received Finished signal from subscriber :1.0 1062s # Received Finished signal from service :1.1 1062s # Received Finished signal from service 2 :1.2 1062s # Received Finished signal from attacker :1.3 1062s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 1062s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1062s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1062s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1062s # NameOwnerChanged from step 3 was received 1 times by GDBusConnection, expected 1 1062s # NameOwnerChanged from step 3 was received 1 times by GDBusProxy, expected 1 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s ok 23 /gdbus/subscribe/parallel/limit_to_message_bus 1062s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/home 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/cache 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-config2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/config 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-data2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/data 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/state 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_G3T6Z2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/runtime 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1062s # subscriber is :1.0 1062s # service is :1.1 1062s # service 2 is :1.2 1062s # attacker is :1.3 1062s # Waiting for AddMatch to be processed 1062s # /gdbus/subscribe/parallel/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 1062s # Step 0: claiming bus name 1062s # Name: org.gtk.Test.AlreadyOwned 1062s # Owner: service 1062s # Step 1: adding subscription 1062s # Sender: org.gtk.Test.AlreadyOwned 1062s # Path: /org/gtk/GDBus/ExampleInterface 1062s # Interface: org.gtk.GDBus.ExampleInterface 1062s # Member: (any) 1062s # String argument 0: (any) 1062s # Flags: 0 1062s # Subscribing via connection 1062s # Immediately unsubscribing 1062s # Subscribing via proxy 1062s # Waiting for AddMatch to be processed 1062s # Step 2: emitting signal 1062s # Sender: service 1062s # Destination: (broadcast) 1062s # Path: /org/gtk/GDBus/ExampleInterface 1062s # Interface: org.gtk.GDBus.ExampleInterface 1062s # Member: Foo 1062s # Argument 0: (not a string) 1062s # Waiting for signal to reach message bus 1062s # Signal received from service :1.1 1062s # Signal received from service :1.1 via proxy 1062s # Path: /org/gtk/GDBus/ExampleInterface 1062s # Interface: org.gtk.GDBus.ExampleInterface 1062s # Member: Foo 1062s # Argument 0: (not a string) 1062s # Sent in step: 2 1062s # Received Finished signal from subscriber :1.0 1062s # Received Finished signal from service :1.1 1062s # Received Finished signal from service 2 :1.2 1062s # Received Finished signal from attacker :1.3 1062s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 1062s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 1062s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1062s # Signal from step 2 was received 1 times by GDBusProxy, expected 1 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s ok 24 /gdbus/subscribe/parallel/unsubscribe_immediately 1062s # End of parallel tests 1062s # End of subscribe tests 1062s # End of gdbus tests 1062s ok - glib/gdbus-subscribe.test 1062s # Running test: glib/module-test-plugin.test 1062s TAP version 14 1062s # random seed: R02Sb21c0c94d6e3a47c8b6a874cc8a37512 1062s 1..3 1062s # Start of module tests 1062s ok 1 /module/basics 1062s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails 1062s ok 2 /module/invalid-libtool-archive 1062s # /module/local-binding summary: Test that binding a library's symbols locally does not add them globally 1062s ok 3 /module/local-binding 1062s # End of module tests 1062s ok - glib/module-test-plugin.test 1062s # Running test: glib/gdbus-threading.test 1062s TAP version 14 1062s # random seed: R02Sd9cca5515eade441f8658196de5e5e3e 1062s # 1..0 # SKIP all gdbus-threading tests skipped because they are too unreliable (glib#1515) 1062s ok - glib/gdbus-threading.test 1062s # Running test: glib/portal-support-env-var.test 1062s TAP version 14 1062s # random seed: R02S9b728eb9f12e2c2b513b78ca16bb2aa0 1062s 1..1 1062s # Start of portal-support tests 1062s ok 1 /portal-support/env-var 1062s # End of portal-support tests 1062s ok - glib/portal-support-env-var.test 1062s # Running test: glib/gdbus-auth.test 1062s TAP version 14 1062s # random seed: R02S6c37631658620f42e00663279e5a8c10 1062s 1..5 1062s # Start of gdbus tests 1062s # Start of auth tests 1062s # Start of client tests 1062s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_SGOE02/gdbus/auth/client/EXTERNAL/.dirs/home 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_SGOE02/gdbus/auth/client/EXTERNAL/.dirs/cache 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_SGOE02/gdbus/auth/client/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_SGOE02/gdbus/auth/client/EXTERNAL/.dirs/system-config2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_SGOE02/gdbus/auth/client/EXTERNAL/.dirs/config 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_SGOE02/gdbus/auth/client/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_SGOE02/gdbus/auth/client/EXTERNAL/.dirs/system-data2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_SGOE02/gdbus/auth/client/EXTERNAL/.dirs/data 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_SGOE02/gdbus/auth/client/EXTERNAL/.dirs/state 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_SGOE02/gdbus/auth/client/EXTERNAL/.dirs/runtime 1062s ok 1 /gdbus/auth/client/EXTERNAL 1062s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_SGOE02/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/home 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_SGOE02/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/cache 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_SGOE02/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_SGOE02/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_SGOE02/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/config 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_SGOE02/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_SGOE02/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_SGOE02/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/data 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_SGOE02/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/state 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_SGOE02/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/runtime 1062s ok 2 /gdbus/auth/client/DBUS_COOKIE_SHA1 1062s # End of client tests 1062s # Start of server tests 1062s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_SGOE02/gdbus/auth/server/ANONYMOUS/.dirs/home 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_SGOE02/gdbus/auth/server/ANONYMOUS/.dirs/cache 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_SGOE02/gdbus/auth/server/ANONYMOUS/.dirs/system-config1:/tmp/test_gdbus-auth_SGOE02/gdbus/auth/server/ANONYMOUS/.dirs/system-config2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_SGOE02/gdbus/auth/server/ANONYMOUS/.dirs/config 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_SGOE02/gdbus/auth/server/ANONYMOUS/.dirs/system-data1:/tmp/test_gdbus-auth_SGOE02/gdbus/auth/server/ANONYMOUS/.dirs/system-data2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_SGOE02/gdbus/auth/server/ANONYMOUS/.dirs/data 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_SGOE02/gdbus/auth/server/ANONYMOUS/.dirs/state 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_SGOE02/gdbus/auth/server/ANONYMOUS/.dirs/runtime 1062s ok 3 /gdbus/auth/server/ANONYMOUS 1062s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_SGOE02/gdbus/auth/server/EXTERNAL/.dirs/home 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_SGOE02/gdbus/auth/server/EXTERNAL/.dirs/cache 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_SGOE02/gdbus/auth/server/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_SGOE02/gdbus/auth/server/EXTERNAL/.dirs/system-config2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_SGOE02/gdbus/auth/server/EXTERNAL/.dirs/config 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_SGOE02/gdbus/auth/server/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_SGOE02/gdbus/auth/server/EXTERNAL/.dirs/system-data2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_SGOE02/gdbus/auth/server/EXTERNAL/.dirs/data 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_SGOE02/gdbus/auth/server/EXTERNAL/.dirs/state 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_SGOE02/gdbus/auth/server/EXTERNAL/.dirs/runtime 1062s ok 4 /gdbus/auth/server/EXTERNAL 1062s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_SGOE02/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/home 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_SGOE02/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/cache 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_SGOE02/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_SGOE02/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_SGOE02/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/config 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_SGOE02/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_SGOE02/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_SGOE02/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/data 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_SGOE02/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/state 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_SGOE02/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/runtime 1062s ok 5 /gdbus/auth/server/DBUS_COOKIE_SHA1 1062s # End of server tests 1062s # End of auth tests 1062s # End of gdbus tests 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1062s ok - glib/gdbus-auth.test 1062s # Running test: glib/atomic-c-17.test 1062s TAP version 14 1062s # random seed: R02S26f959d13902d3dc7e8cc56d9d275ed4 1062s 1..2 1062s # Start of atomic tests 1062s ok 1 /atomic/types 1062s ok 2 /atomic/threaded 1062s # End of atomic tests 1062s ok - glib/atomic-c-17.test 1062s # Running test: glib/struct-info.test 1062s TAP version 14 1062s # random seed: R02Sadf3a39bf2d2984e0c8f86b658a30512 1062s 1..4 1062s # Start of struct-info tests 1062s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_YNOJ02/struct-info/field-iterators/.dirs/home 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_YNOJ02/struct-info/field-iterators/.dirs/cache 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_YNOJ02/struct-info/field-iterators/.dirs/system-config1:/tmp/test_struct-info_YNOJ02/struct-info/field-iterators/.dirs/system-config2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_YNOJ02/struct-info/field-iterators/.dirs/config 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_YNOJ02/struct-info/field-iterators/.dirs/system-data1:/tmp/test_struct-info_YNOJ02/struct-info/field-iterators/.dirs/system-data2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_YNOJ02/struct-info/field-iterators/.dirs/data 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_YNOJ02/struct-info/field-iterators/.dirs/state 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_YNOJ02/struct-info/field-iterators/.dirs/runtime 1062s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1062s # /struct-info/field-iterators summary: Test iterating through a struct's fields with gi_struct_info_get_field() 1062s ok 1 /struct-info/field-iterators 1062s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_YNOJ02/struct-info/sizeof-gvalue/.dirs/home 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_YNOJ02/struct-info/sizeof-gvalue/.dirs/cache 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_YNOJ02/struct-info/sizeof-gvalue/.dirs/system-config1:/tmp/test_struct-info_YNOJ02/struct-info/sizeof-gvalue/.dirs/system-config2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_YNOJ02/struct-info/sizeof-gvalue/.dirs/config 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_YNOJ02/struct-info/sizeof-gvalue/.dirs/system-data1:/tmp/test_struct-info_YNOJ02/struct-info/sizeof-gvalue/.dirs/system-data2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_YNOJ02/struct-info/sizeof-gvalue/.dirs/data 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_YNOJ02/struct-info/sizeof-gvalue/.dirs/state 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_YNOJ02/struct-info/sizeof-gvalue/.dirs/runtime 1062s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1062s # /struct-info/sizeof-gvalue summary: Test that gi_struct_info_get_size() reports the correct sizeof GValue 1062s ok 2 /struct-info/sizeof-gvalue 1062s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_YNOJ02/struct-info/is-pointer-for-struct-method-arg/.dirs/home 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_YNOJ02/struct-info/is-pointer-for-struct-method-arg/.dirs/cache 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_YNOJ02/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config1:/tmp/test_struct-info_YNOJ02/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_YNOJ02/struct-info/is-pointer-for-struct-method-arg/.dirs/config 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_YNOJ02/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data1:/tmp/test_struct-info_YNOJ02/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_YNOJ02/struct-info/is-pointer-for-struct-method-arg/.dirs/data 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_YNOJ02/struct-info/is-pointer-for-struct-method-arg/.dirs/state 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_YNOJ02/struct-info/is-pointer-for-struct-method-arg/.dirs/runtime 1062s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1062s # /struct-info/is-pointer-for-struct-method-arg summary: Test that a struct method reports the correct type with gi_type_info_is_pointer() 1062s ok 3 /struct-info/is-pointer-for-struct-method-arg 1062s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_YNOJ02/struct-info/boxed/.dirs/home 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_YNOJ02/struct-info/boxed/.dirs/cache 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_YNOJ02/struct-info/boxed/.dirs/system-config1:/tmp/test_struct-info_YNOJ02/struct-info/boxed/.dirs/system-config2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_YNOJ02/struct-info/boxed/.dirs/config 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_YNOJ02/struct-info/boxed/.dirs/system-data1:/tmp/test_struct-info_YNOJ02/struct-info/boxed/.dirs/system-data2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_YNOJ02/struct-info/boxed/.dirs/data 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_YNOJ02/struct-info/boxed/.dirs/state 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_YNOJ02/struct-info/boxed/.dirs/runtime 1062s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1062s # /struct-info/boxed summary: Test that a boxed struct is recognised as such 1062s ok 4 /struct-info/boxed 1062s # End of struct-info tests 1062s ok - glib/struct-info.test 1062s # Running test: glib/filter-streams.test 1062s TAP version 14 1062s # random seed: R02S97f56bd633a25157affc75a58a100925 1062s 1..4 1062s # Start of filter-stream tests 1062s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=568394 1062s ok 1 /filter-stream/input 1062s ok 2 /filter-stream/output 1062s ok 3 /filter-stream/async-input 1062s ok 4 /filter-stream/async-output 1062s # End of filter-stream tests 1062s ok - glib/filter-streams.test 1062s # Running test: glib/array-test.test 1062s TAP version 14 1062s # random seed: R02S45b20296e5da491f71d0b4516485639c 1062s 1..113 1062s # Start of array tests 1062s ok 1 /array/ref-count 1062s ok 2 /array/steal 1062s ok 3 /array/clear-func 1062s ok 4 /array/binary-search 1062s # /array/copy-sized summary: Test that copying a newly-allocated sized array works. 1062s ok 5 /array/copy-sized 1062s ok 6 /array/overflow-append-vals 1062s ok 7 /array/overflow-set-size 1062s # Start of new tests 1062s ok 8 /array/new/zero-terminated 1062s ok 9 /array/new/take 1062s ok 10 /array/new/take-zero-terminated 1062s # Start of take tests 1062s ok 11 /array/new/take/empty 1062s ok 12 /array/new/take/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 1062s # End of take tests 1062s # End of new tests 1062s # Start of set-size tests 1062s ok 13 /array/set-size/non-zero-terminated-no-clear 1062s ok 14 /array/set-size/non-zero-terminated-clear 1062s ok 15 /array/set-size/zero-terminated-no-clear 1062s ok 16 /array/set-size/zero-terminated-clear 1062s # Start of sized tests 1062s ok 17 /array/set-size/sized/non-zero-terminated-no-clear 1062s ok 18 /array/set-size/sized/non-zero-terminated-clear 1062s ok 19 /array/set-size/sized/zero-terminated-no-clear 1062s ok 20 /array/set-size/sized/zero-terminated-clear 1062s # End of sized tests 1062s # End of set-size tests 1062s # Start of append-val tests 1062s ok 21 /array/append-val/non-zero-terminated-no-clear 1062s ok 22 /array/append-val/non-zero-terminated-clear 1062s ok 23 /array/append-val/zero-terminated-no-clear 1062s ok 24 /array/append-val/zero-terminated-clear 1062s # End of append-val tests 1062s # Start of prepend-val tests 1062s ok 25 /array/prepend-val/non-zero-terminated-no-clear 1062s ok 26 /array/prepend-val/non-zero-terminated-clear 1062s ok 27 /array/prepend-val/zero-terminated-no-clear 1062s ok 28 /array/prepend-val/zero-terminated-clear 1062s # End of prepend-val tests 1062s # Start of prepend-vals tests 1062s ok 29 /array/prepend-vals/non-zero-terminated-no-clear 1062s ok 30 /array/prepend-vals/non-zero-terminated-clear 1062s ok 31 /array/prepend-vals/zero-terminated-no-clear 1062s ok 32 /array/prepend-vals/zero-terminated-clear 1062s # End of prepend-vals tests 1062s # Start of insert-vals tests 1062s ok 33 /array/insert-vals/non-zero-terminated-no-clear 1062s ok 34 /array/insert-vals/non-zero-terminated-clear 1062s ok 35 /array/insert-vals/zero-terminated-no-clear 1062s ok 36 /array/insert-vals/zero-terminated-clear 1062s # End of insert-vals tests 1062s # Start of remove-index tests 1062s ok 37 /array/remove-index/non-zero-terminated-no-clear 1062s ok 38 /array/remove-index/non-zero-terminated-clear 1062s ok 39 /array/remove-index/zero-terminated-no-clear 1062s ok 40 /array/remove-index/zero-terminated-clear 1062s # End of remove-index tests 1062s # Start of remove-index-fast tests 1062s ok 41 /array/remove-index-fast/non-zero-terminated-no-clear 1062s ok 42 /array/remove-index-fast/non-zero-terminated-clear 1062s ok 43 /array/remove-index-fast/zero-terminated-no-clear 1062s ok 44 /array/remove-index-fast/zero-terminated-clear 1062s # End of remove-index-fast tests 1062s # Start of remove-range tests 1062s ok 45 /array/remove-range/non-zero-terminated-no-clear 1062s ok 46 /array/remove-range/non-zero-terminated-clear 1062s ok 47 /array/remove-range/zero-terminated-no-clear 1062s ok 48 /array/remove-range/zero-terminated-clear 1062s # End of remove-range tests 1062s # Start of copy tests 1062s ok 49 /array/copy/non-zero-terminated-no-clear 1062s ok 50 /array/copy/non-zero-terminated-clear 1062s ok 51 /array/copy/zero-terminated-no-clear 1062s ok 52 /array/copy/zero-terminated-clear 1062s # End of copy tests 1062s # Start of sort tests 1062s ok 53 /array/sort/non-zero-terminated-no-clear 1062s ok 54 /array/sort/non-zero-terminated-clear 1062s ok 55 /array/sort/zero-terminated-no-clear 1062s ok 56 /array/sort/zero-terminated-clear 1062s # End of sort tests 1062s # Start of sort-with-data tests 1062s ok 57 /array/sort-with-data/non-zero-terminated-no-clear 1062s ok 58 /array/sort-with-data/non-zero-terminated-clear 1062s ok 59 /array/sort-with-data/zero-terminated-no-clear 1062s ok 60 /array/sort-with-data/zero-terminated-clear 1062s # End of sort-with-data tests 1062s # End of array tests 1062s # Start of pointerarray tests 1062s ok 61 /pointerarray/add 1062s ok 62 /pointerarray/insert 1062s ok 63 /pointerarray/new-take 1062s ok 64 /pointerarray/new-take-null-terminated 1062s ok 65 /pointerarray/new-from-array 1062s ok 66 /pointerarray/new-from-null-terminated-array 1062s ok 67 /pointerarray/free-func 1062s ok 68 /pointerarray/array_extend_and_steal 1062s ok 69 /pointerarray/sort 1062s ok 70 /pointerarray/sort-with-data 1062s ok 71 /pointerarray/sort-values 1062s ok 72 /pointerarray/sort-values-with-data 1062s ok 73 /pointerarray/remove-range 1062s ok 74 /pointerarray/steal 1062s # Start of free tests 1062s # /pointerarray/free/null-terminated summary: Check that g_ptr_array_free() on an empty array returns a NULL-terminated empty array 1062s ok 75 /pointerarray/free/null-terminated 1062s # End of free tests 1062s # Start of new-take tests 1062s ok 76 /pointerarray/new-take/empty 1062s ok 77 /pointerarray/new-take/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 1062s ok 78 /pointerarray/new-take/with-free-func 1062s # End of new-take tests 1062s # Start of new-take-null-terminated tests 1062s ok 79 /pointerarray/new-take-null-terminated/empty 1062s ok 80 /pointerarray/new-take-null-terminated/with-free-func 1062s ok 81 /pointerarray/new-take-null-terminated/from-gstrv 1062s # End of new-take-null-terminated tests 1062s # Start of new-from-array tests 1062s ok 82 /pointerarray/new-from-array/empty 1062s ok 83 /pointerarray/new-from-array/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 1062s ok 84 /pointerarray/new-from-array/with-copy-and-free-func 1062s # End of new-from-array tests 1062s # Start of new-from-null-terminated-array tests 1062s ok 85 /pointerarray/new-from-null-terminated-array/empty 1062s ok 86 /pointerarray/new-from-null-terminated-array/with-copy-and-free-func 1062s ok 87 /pointerarray/new-from-null-terminated-array/from-gstrv 1062s # End of new-from-null-terminated-array tests 1062s # Start of ref-count tests 1062s ok 88 /pointerarray/ref-count/not-null-terminated 1062s ok 89 /pointerarray/ref-count/null-terminated 1062s # End of ref-count tests 1062s # Start of array_copy tests 1062s # /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 1062s ok 90 /pointerarray/array_copy/not-null-terminated 1062s # /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 1062s ok 91 /pointerarray/array_copy/null-terminated 1062s # End of array_copy tests 1062s # Start of array_extend tests 1062s ok 92 /pointerarray/array_extend/not-null-terminated 1062s ok 93 /pointerarray/array_extend/null-terminated 1062s # End of array_extend tests 1062s # Start of sort tests 1062s # /pointerarray/sort/example summary: Check that the doc-comment for g_ptr_array_sort() is correct 1062s ok 94 /pointerarray/sort/example 1062s # End of sort tests 1062s # Start of sort-with-data tests 1062s # /pointerarray/sort-with-data/example summary: Check that the doc-comment for g_ptr_array_sort_with_data() is correct 1062s ok 95 /pointerarray/sort-with-data/example 1062s # End of sort-with-data tests 1062s # Start of sort-values tests 1062s ok 96 /pointerarray/sort-values/example 1062s # End of sort-values tests 1062s # Start of sort-values-with-data tests 1062s ok 97 /pointerarray/sort-values-with-data/example 1062s # End of sort-values-with-data tests 1062s # Start of find tests 1062s ok 98 /pointerarray/find/empty 1062s ok 99 /pointerarray/find/non-empty 1062s # End of find tests 1062s # Start of steal_index tests 1062s ok 100 /pointerarray/steal_index/not-null-terminated 1062s ok 101 /pointerarray/steal_index/null-terminated 1062s # End of steal_index tests 1062s # End of pointerarray tests 1062s # Start of bytearray tests 1062s ok 102 /bytearray/steal 1062s ok 103 /bytearray/append 1062s ok 104 /bytearray/prepend 1062s ok 105 /bytearray/remove 1062s ok 106 /bytearray/remove-fast 1062s ok 107 /bytearray/remove-range 1062s ok 108 /bytearray/ref-count 1062s ok 109 /bytearray/sort 1062s ok 110 /bytearray/sort-with-data 1062s ok 111 /bytearray/new-take 1062s ok 112 /bytearray/new-take-overflow # SKIP Overflow test requires G_MAXSIZE > G_MAXUINT. 1062s ok 113 /bytearray/free-to-bytes 1062s # End of bytearray tests 1062s ok - glib/array-test.test 1062s # Running test: glib/mimeapps.test 1062s TAP version 14 1062s # random seed: R02S98fcaeccd003a9482d005745a1a08926 1062s 1..7 1062s # Start of appinfo tests 1062s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_HFGK02/appinfo/all/.dirs/home 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_HFGK02/appinfo/all/.dirs/cache 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_HFGK02/appinfo/all/.dirs/system-config1:/tmp/test_mimeapps_HFGK02/appinfo/all/.dirs/system-config2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_HFGK02/appinfo/all/.dirs/config 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_HFGK02/appinfo/all/.dirs/system-data1:/tmp/test_mimeapps_HFGK02/appinfo/all/.dirs/system-data2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_HFGK02/appinfo/all/.dirs/data 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_HFGK02/appinfo/all/.dirs/state 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_HFGK02/appinfo/all/.dirs/runtime 1062s # creating '/tmp/test_mimeapps_HFGK02/appinfo/all/.dirs/system-data1/applications' 1062s # creating '/tmp/test_mimeapps_HFGK02/appinfo/all/.dirs/system-data1/applications/mimeapps.list' 1062s # creating '/tmp/test_mimeapps_HFGK02/appinfo/all/.dirs/data/applications' 1062s # creating '/tmp/test_mimeapps_HFGK02/appinfo/all/.dirs/data/applications/myapp.desktop' 1062s # creating '/tmp/test_mimeapps_HFGK02/appinfo/all/.dirs/data/applications/myapp2.desktop' 1062s # creating '/tmp/test_mimeapps_HFGK02/appinfo/all/.dirs/data/applications/myapp3.desktop' 1062s # creating '/tmp/test_mimeapps_HFGK02/appinfo/all/.dirs/data/applications/myapp4.desktop' 1062s # creating '/tmp/test_mimeapps_HFGK02/appinfo/all/.dirs/data/applications/myapp5.desktop' 1062s # creating '/tmp/test_mimeapps_HFGK02/appinfo/all/.dirs/data/applications/nosuchapp.desktop' 1062s # removing '/tmp/test_mimeapps_HFGK02/appinfo/all/.dirs/data/applications/mimeapps.list' 1062s # creating '/tmp/test_mimeapps_HFGK02/appinfo/all/.dirs/data/applications/mimeinfo.cache' 1062s ok 1 /appinfo/all 1062s # Start of mime tests 1062s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_HFGK02/appinfo/mime/api/.dirs/home 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_HFGK02/appinfo/mime/api/.dirs/cache 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_HFGK02/appinfo/mime/api/.dirs/system-config1:/tmp/test_mimeapps_HFGK02/appinfo/mime/api/.dirs/system-config2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_HFGK02/appinfo/mime/api/.dirs/config 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_HFGK02/appinfo/mime/api/.dirs/system-data1:/tmp/test_mimeapps_HFGK02/appinfo/mime/api/.dirs/system-data2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_HFGK02/appinfo/mime/api/.dirs/data 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_HFGK02/appinfo/mime/api/.dirs/state 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_HFGK02/appinfo/mime/api/.dirs/runtime 1062s # creating '/tmp/test_mimeapps_HFGK02/appinfo/mime/api/.dirs/system-data1/applications' 1062s # creating '/tmp/test_mimeapps_HFGK02/appinfo/mime/api/.dirs/system-data1/applications/mimeapps.list' 1062s # creating '/tmp/test_mimeapps_HFGK02/appinfo/mime/api/.dirs/data/applications' 1062s # creating '/tmp/test_mimeapps_HFGK02/appinfo/mime/api/.dirs/data/applications/myapp.desktop' 1062s # creating '/tmp/test_mimeapps_HFGK02/appinfo/mime/api/.dirs/data/applications/myapp2.desktop' 1062s # creating '/tmp/test_mimeapps_HFGK02/appinfo/mime/api/.dirs/data/applications/myapp3.desktop' 1062s # creating '/tmp/test_mimeapps_HFGK02/appinfo/mime/api/.dirs/data/applications/myapp4.desktop' 1062s # creating '/tmp/test_mimeapps_HFGK02/appinfo/mime/api/.dirs/data/applications/myapp5.desktop' 1062s # creating '/tmp/test_mimeapps_HFGK02/appinfo/mime/api/.dirs/data/applications/nosuchapp.desktop' 1062s # removing '/tmp/test_mimeapps_HFGK02/appinfo/mime/api/.dirs/data/applications/mimeapps.list' 1062s # creating '/tmp/test_mimeapps_HFGK02/appinfo/mime/api/.dirs/data/applications/mimeinfo.cache' 1062s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_HFGK02/appinfo/mime/api/.dirs/config 1062s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_HFGK02/appinfo/all/.dirs/config to /tmp/test_mimeapps_HFGK02/appinfo/mime/api/.dirs/config 1062s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_HFGK02/appinfo/mime/api/.dirs/config 1062s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_HFGK02/appinfo/mime/api/.dirs/config 1062s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_HFGK02/appinfo/mime/api/.dirs/config 1062s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_HFGK02/appinfo/mime/api/.dirs/config 1062s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_HFGK02/appinfo/mime/api/.dirs/config 1062s ok 2 /appinfo/mime/api 1062s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_HFGK02/appinfo/mime/default/.dirs/home 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_HFGK02/appinfo/mime/default/.dirs/cache 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_HFGK02/appinfo/mime/default/.dirs/system-config1:/tmp/test_mimeapps_HFGK02/appinfo/mime/default/.dirs/system-config2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_HFGK02/appinfo/mime/default/.dirs/config 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_HFGK02/appinfo/mime/default/.dirs/system-data1:/tmp/test_mimeapps_HFGK02/appinfo/mime/default/.dirs/system-data2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_HFGK02/appinfo/mime/default/.dirs/data 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_HFGK02/appinfo/mime/default/.dirs/state 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_HFGK02/appinfo/mime/default/.dirs/runtime 1062s # creating '/tmp/test_mimeapps_HFGK02/appinfo/mime/default/.dirs/system-data1/applications' 1062s # creating '/tmp/test_mimeapps_HFGK02/appinfo/mime/default/.dirs/system-data1/applications/mimeapps.list' 1062s # creating '/tmp/test_mimeapps_HFGK02/appinfo/mime/default/.dirs/data/applications' 1062s # creating '/tmp/test_mimeapps_HFGK02/appinfo/mime/default/.dirs/data/applications/myapp.desktop' 1062s # creating '/tmp/test_mimeapps_HFGK02/appinfo/mime/default/.dirs/data/applications/myapp2.desktop' 1062s # creating '/tmp/test_mimeapps_HFGK02/appinfo/mime/default/.dirs/data/applications/myapp3.desktop' 1062s # creating '/tmp/test_mimeapps_HFGK02/appinfo/mime/default/.dirs/data/applications/myapp4.desktop' 1062s # creating '/tmp/test_mimeapps_HFGK02/appinfo/mime/default/.dirs/data/applications/myapp5.desktop' 1062s # creating '/tmp/test_mimeapps_HFGK02/appinfo/mime/default/.dirs/data/applications/nosuchapp.desktop' 1062s # removing '/tmp/test_mimeapps_HFGK02/appinfo/mime/default/.dirs/data/applications/mimeapps.list' 1062s # creating '/tmp/test_mimeapps_HFGK02/appinfo/mime/default/.dirs/data/applications/mimeinfo.cache' 1062s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_HFGK02/appinfo/mime/default/.dirs/config 1062s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_HFGK02/appinfo/mime/api/.dirs/config to /tmp/test_mimeapps_HFGK02/appinfo/mime/default/.dirs/config 1062s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_HFGK02/appinfo/mime/default/.dirs/config 1062s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_HFGK02/appinfo/mime/default/.dirs/config 1062s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_HFGK02/appinfo/mime/default/.dirs/config 1062s ok 3 /appinfo/mime/default 1062s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_HFGK02/appinfo/mime/file/.dirs/home 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_HFGK02/appinfo/mime/file/.dirs/cache 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_HFGK02/appinfo/mime/file/.dirs/system-config1:/tmp/test_mimeapps_HFGK02/appinfo/mime/file/.dirs/system-config2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_HFGK02/appinfo/mime/file/.dirs/config 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_HFGK02/appinfo/mime/file/.dirs/system-data1:/tmp/test_mimeapps_HFGK02/appinfo/mime/file/.dirs/system-data2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_HFGK02/appinfo/mime/file/.dirs/data 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_HFGK02/appinfo/mime/file/.dirs/state 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_HFGK02/appinfo/mime/file/.dirs/runtime 1062s # creating '/tmp/test_mimeapps_HFGK02/appinfo/mime/file/.dirs/system-data1/applications' 1062s # creating '/tmp/test_mimeapps_HFGK02/appinfo/mime/file/.dirs/system-data1/applications/mimeapps.list' 1062s # creating '/tmp/test_mimeapps_HFGK02/appinfo/mime/file/.dirs/data/applications' 1062s # creating '/tmp/test_mimeapps_HFGK02/appinfo/mime/file/.dirs/data/applications/myapp.desktop' 1062s # creating '/tmp/test_mimeapps_HFGK02/appinfo/mime/file/.dirs/data/applications/myapp2.desktop' 1062s # creating '/tmp/test_mimeapps_HFGK02/appinfo/mime/file/.dirs/data/applications/myapp3.desktop' 1062s # creating '/tmp/test_mimeapps_HFGK02/appinfo/mime/file/.dirs/data/applications/myapp4.desktop' 1062s # creating '/tmp/test_mimeapps_HFGK02/appinfo/mime/file/.dirs/data/applications/myapp5.desktop' 1062s # creating '/tmp/test_mimeapps_HFGK02/appinfo/mime/file/.dirs/data/applications/nosuchapp.desktop' 1062s # removing '/tmp/test_mimeapps_HFGK02/appinfo/mime/file/.dirs/data/applications/mimeapps.list' 1062s # creating '/tmp/test_mimeapps_HFGK02/appinfo/mime/file/.dirs/data/applications/mimeinfo.cache' 1062s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_HFGK02/appinfo/mime/file/.dirs/config 1062s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_HFGK02/appinfo/mime/default/.dirs/config to /tmp/test_mimeapps_HFGK02/appinfo/mime/file/.dirs/config 1062s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_HFGK02/appinfo/mime/file/.dirs/config 1062s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_HFGK02/appinfo/mime/file/.dirs/config 1062s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_HFGK02/appinfo/mime/file/.dirs/config 1062s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_HFGK02/appinfo/mime/file/.dirs/config 1062s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_HFGK02/appinfo/mime/file/.dirs/config 1062s ok 4 /appinfo/mime/file 1062s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_HFGK02/appinfo/mime/scheme-handler/.dirs/home 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_HFGK02/appinfo/mime/scheme-handler/.dirs/cache 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_HFGK02/appinfo/mime/scheme-handler/.dirs/system-config1:/tmp/test_mimeapps_HFGK02/appinfo/mime/scheme-handler/.dirs/system-config2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_HFGK02/appinfo/mime/scheme-handler/.dirs/config 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_HFGK02/appinfo/mime/scheme-handler/.dirs/system-data1:/tmp/test_mimeapps_HFGK02/appinfo/mime/scheme-handler/.dirs/system-data2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_HFGK02/appinfo/mime/scheme-handler/.dirs/data 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_HFGK02/appinfo/mime/scheme-handler/.dirs/state 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_HFGK02/appinfo/mime/scheme-handler/.dirs/runtime 1062s # creating '/tmp/test_mimeapps_HFGK02/appinfo/mime/scheme-handler/.dirs/system-data1/applications' 1062s # creating '/tmp/test_mimeapps_HFGK02/appinfo/mime/scheme-handler/.dirs/system-data1/applications/mimeapps.list' 1062s # creating '/tmp/test_mimeapps_HFGK02/appinfo/mime/scheme-handler/.dirs/data/applications' 1062s # creating '/tmp/test_mimeapps_HFGK02/appinfo/mime/scheme-handler/.dirs/data/applications/myapp.desktop' 1062s # creating '/tmp/test_mimeapps_HFGK02/appinfo/mime/scheme-handler/.dirs/data/applications/myapp2.desktop' 1062s # creating '/tmp/test_mimeapps_HFGK02/appinfo/mime/scheme-handler/.dirs/data/applications/myapp3.desktop' 1062s # creating '/tmp/test_mimeapps_HFGK02/appinfo/mime/scheme-handler/.dirs/data/applications/myapp4.desktop' 1062s # creating '/tmp/test_mimeapps_HFGK02/appinfo/mime/scheme-handler/.dirs/data/applications/myapp5.desktop' 1062s # creating '/tmp/test_mimeapps_HFGK02/appinfo/mime/scheme-handler/.dirs/data/applications/nosuchapp.desktop' 1062s # removing '/tmp/test_mimeapps_HFGK02/appinfo/mime/scheme-handler/.dirs/data/applications/mimeapps.list' 1062s # creating '/tmp/test_mimeapps_HFGK02/appinfo/mime/scheme-handler/.dirs/data/applications/mimeinfo.cache' 1062s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_HFGK02/appinfo/mime/file/.dirs/config to /tmp/test_mimeapps_HFGK02/appinfo/mime/scheme-handler/.dirs/config 1062s ok 5 /appinfo/mime/scheme-handler 1062s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_HFGK02/appinfo/mime/default-last-used/.dirs/home 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_HFGK02/appinfo/mime/default-last-used/.dirs/cache 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_HFGK02/appinfo/mime/default-last-used/.dirs/system-config1:/tmp/test_mimeapps_HFGK02/appinfo/mime/default-last-used/.dirs/system-config2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_HFGK02/appinfo/mime/default-last-used/.dirs/config 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_HFGK02/appinfo/mime/default-last-used/.dirs/system-data1:/tmp/test_mimeapps_HFGK02/appinfo/mime/default-last-used/.dirs/system-data2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_HFGK02/appinfo/mime/default-last-used/.dirs/data 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_HFGK02/appinfo/mime/default-last-used/.dirs/state 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_HFGK02/appinfo/mime/default-last-used/.dirs/runtime 1062s # creating '/tmp/test_mimeapps_HFGK02/appinfo/mime/default-last-used/.dirs/system-data1/applications' 1062s # creating '/tmp/test_mimeapps_HFGK02/appinfo/mime/default-last-used/.dirs/system-data1/applications/mimeapps.list' 1062s # creating '/tmp/test_mimeapps_HFGK02/appinfo/mime/default-last-used/.dirs/data/applications' 1062s # creating '/tmp/test_mimeapps_HFGK02/appinfo/mime/default-last-used/.dirs/data/applications/myapp.desktop' 1062s # creating '/tmp/test_mimeapps_HFGK02/appinfo/mime/default-last-used/.dirs/data/applications/myapp2.desktop' 1062s # creating '/tmp/test_mimeapps_HFGK02/appinfo/mime/default-last-used/.dirs/data/applications/myapp3.desktop' 1062s # creating '/tmp/test_mimeapps_HFGK02/appinfo/mime/default-last-used/.dirs/data/applications/myapp4.desktop' 1062s # creating '/tmp/test_mimeapps_HFGK02/appinfo/mime/default-last-used/.dirs/data/applications/myapp5.desktop' 1062s # creating '/tmp/test_mimeapps_HFGK02/appinfo/mime/default-last-used/.dirs/data/applications/nosuchapp.desktop' 1062s # removing '/tmp/test_mimeapps_HFGK02/appinfo/mime/default-last-used/.dirs/data/applications/mimeapps.list' 1062s # creating '/tmp/test_mimeapps_HFGK02/appinfo/mime/default-last-used/.dirs/data/applications/mimeinfo.cache' 1062s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_HFGK02/appinfo/mime/default-last-used/.dirs/config 1062s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_HFGK02/appinfo/mime/scheme-handler/.dirs/config to /tmp/test_mimeapps_HFGK02/appinfo/mime/default-last-used/.dirs/config 1062s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_HFGK02/appinfo/mime/default-last-used/.dirs/config 1062s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_HFGK02/appinfo/mime/default-last-used/.dirs/config 1062s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_HFGK02/appinfo/mime/default-last-used/.dirs/config 1062s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_HFGK02/appinfo/mime/default-last-used/.dirs/config 1062s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_HFGK02/appinfo/mime/default-last-used/.dirs/config 1062s ok 6 /appinfo/mime/default-last-used 1062s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_HFGK02/appinfo/mime/ignore-nonexisting/.dirs/home 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_HFGK02/appinfo/mime/ignore-nonexisting/.dirs/cache 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_HFGK02/appinfo/mime/ignore-nonexisting/.dirs/system-config1:/tmp/test_mimeapps_HFGK02/appinfo/mime/ignore-nonexisting/.dirs/system-config2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_HFGK02/appinfo/mime/ignore-nonexisting/.dirs/config 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_HFGK02/appinfo/mime/ignore-nonexisting/.dirs/system-data1:/tmp/test_mimeapps_HFGK02/appinfo/mime/ignore-nonexisting/.dirs/system-data2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_HFGK02/appinfo/mime/ignore-nonexisting/.dirs/data 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_HFGK02/appinfo/mime/ignore-nonexisting/.dirs/state 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_HFGK02/appinfo/mime/ignore-nonexisting/.dirs/runtime 1062s # creating '/tmp/test_mimeapps_HFGK02/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications' 1062s # creating '/tmp/test_mimeapps_HFGK02/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications/mimeapps.list' 1062s # creating '/tmp/test_mimeapps_HFGK02/appinfo/mime/ignore-nonexisting/.dirs/data/applications' 1062s # creating '/tmp/test_mimeapps_HFGK02/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp.desktop' 1062s # creating '/tmp/test_mimeapps_HFGK02/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp2.desktop' 1062s # creating '/tmp/test_mimeapps_HFGK02/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp3.desktop' 1062s # creating '/tmp/test_mimeapps_HFGK02/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp4.desktop' 1062s # creating '/tmp/test_mimeapps_HFGK02/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp5.desktop' 1062s # creating '/tmp/test_mimeapps_HFGK02/appinfo/mime/ignore-nonexisting/.dirs/data/applications/nosuchapp.desktop' 1062s # removing '/tmp/test_mimeapps_HFGK02/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeapps.list' 1062s # creating '/tmp/test_mimeapps_HFGK02/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeinfo.cache' 1062s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_HFGK02/appinfo/mime/default-last-used/.dirs/config to /tmp/test_mimeapps_HFGK02/appinfo/mime/ignore-nonexisting/.dirs/config 1062s ok 7 /appinfo/mime/ignore-nonexisting 1062s # End of mime tests 1062s # End of appinfo tests 1062s ok - glib/mimeapps.test 1062s # Running test: glib/gdbus-message.test 1062s TAP version 14 1062s # random seed: R02Sd94ffaf6b881fc059c899a1ff0cc2f98 1062s 1..3 1062s # Start of gdbus tests 1062s # Start of message tests 1062s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_0H9F02/gdbus/message/lock/.dirs/home 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_0H9F02/gdbus/message/lock/.dirs/cache 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_0H9F02/gdbus/message/lock/.dirs/system-config1:/tmp/test_gdbus-message_0H9F02/gdbus/message/lock/.dirs/system-config2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_0H9F02/gdbus/message/lock/.dirs/config 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_0H9F02/gdbus/message/lock/.dirs/system-data1:/tmp/test_gdbus-message_0H9F02/gdbus/message/lock/.dirs/system-data2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_0H9F02/gdbus/message/lock/.dirs/data 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_0H9F02/gdbus/message/lock/.dirs/state 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_0H9F02/gdbus/message/lock/.dirs/runtime 1062s ok 1 /gdbus/message/lock 1062s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_0H9F02/gdbus/message/copy/.dirs/home 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_0H9F02/gdbus/message/copy/.dirs/cache 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_0H9F02/gdbus/message/copy/.dirs/system-config1:/tmp/test_gdbus-message_0H9F02/gdbus/message/copy/.dirs/system-config2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_0H9F02/gdbus/message/copy/.dirs/config 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_0H9F02/gdbus/message/copy/.dirs/system-data1:/tmp/test_gdbus-message_0H9F02/gdbus/message/copy/.dirs/system-data2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_0H9F02/gdbus/message/copy/.dirs/data 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_0H9F02/gdbus/message/copy/.dirs/state 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_0H9F02/gdbus/message/copy/.dirs/runtime 1062s ok 2 /gdbus/message/copy 1062s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_0H9F02/gdbus/message/bytes-needed/.dirs/home 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_0H9F02/gdbus/message/bytes-needed/.dirs/cache 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_0H9F02/gdbus/message/bytes-needed/.dirs/system-config1:/tmp/test_gdbus-message_0H9F02/gdbus/message/bytes-needed/.dirs/system-config2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_0H9F02/gdbus/message/bytes-needed/.dirs/config 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_0H9F02/gdbus/message/bytes-needed/.dirs/system-data1:/tmp/test_gdbus-message_0H9F02/gdbus/message/bytes-needed/.dirs/system-data2 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_0H9F02/gdbus/message/bytes-needed/.dirs/data 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_0H9F02/gdbus/message/bytes-needed/.dirs/state 1062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_0H9F02/gdbus/message/bytes-needed/.dirs/runtime 1062s # Vector: 0 1062s # Vector: 1 1062s # Vector: 2 1062s # Vector: 3 1062s # Vector: 4 1062s # Vector: 5 1062s ok 3 /gdbus/message/bytes-needed 1062s # End of message tests 1062s # End of gdbus tests 1062s ok - glib/gdbus-message.test 1062s # Running test: glib/private.test 1062s TAP version 14 1062s # random seed: R02Sa044b7d564679179943cb2a20d38bac6 1062s 1..8 1062s # Start of thread tests 1062s ok 1 /thread/private1 1063s ok 2 /thread/private2 1063s # slow test /thread/private2 executed in 1.08 secs 1063s ok 3 /thread/private3 1063s ok 4 /thread/staticprivate1 1063s ok 5 /thread/staticprivate2 1063s ok 6 /thread/staticprivate3 1064s # Executing: glib/private.test 1064s ok 7 /thread/staticprivate4 1064s # slow test /thread/staticprivate4 executed in 1.08 secs 1064s ok 8 /thread/staticprivate5 1064s # End of thread tests 1064s ok - glib/private.test 1064s # Running test: glib/utf8-validate.test 1064s TAP version 14 1064s # random seed: R02Se618d214ba525411ccaffb96142427b0 1064s 1..216 1064s # Start of utf8 tests 1064s # Vector 0 1064s # Vector 1 1064s # Vector 2 1064s # Vector 3 1064s # Vector 4 1064s # Vector 5 1064s # Vector 6 1064s # Vector 7 1064s # Vector 8 1064s # Vector 9 1064s # Vector 10 1064s # Vector 11 1064s # Vector 12 1064s # Vector 13 1064s # Vector 14 1064s # Vector 15 1064s # Vector 16 1064s # Vector 17 1064s # Vector 18 1064s # Vector 19 1064s # Vector 20 1064s # Vector 21 1064s # Vector 22 1064s # Vector 23 1064s # Vector 24 1064s # Vector 25 1064s # Vector 26 1064s # Vector 27 1064s ok 1 /utf8/get-char-validated 1064s # Start of validate tests 1064s ok 2 /utf8/validate/0 1064s ok 3 /utf8/validate/1 1064s ok 4 /utf8/validate/2 1064s ok 5 /utf8/validate/3 1064s ok 6 /utf8/validate/4 1064s ok 7 /utf8/validate/5 1064s ok 8 /utf8/validate/6 1064s ok 9 /utf8/validate/7 1064s ok 10 /utf8/validate/8 1064s ok 11 /utf8/validate/9 1064s ok 12 /utf8/validate/10 1064s ok 13 /utf8/validate/11 1064s ok 14 /utf8/validate/12 1064s ok 15 /utf8/validate/13 1064s ok 16 /utf8/validate/14 1064s ok 17 /utf8/validate/15 1064s ok 18 /utf8/validate/16 1064s ok 19 /utf8/validate/17 1064s ok 20 /utf8/validate/18 1064s ok 21 /utf8/validate/19 1064s ok 22 /utf8/validate/20 1064s ok 23 /utf8/validate/21 1064s ok 24 /utf8/validate/22 1064s ok 25 /utf8/validate/23 1064s ok 26 /utf8/validate/24 1064s ok 27 /utf8/validate/25 1064s ok 28 /utf8/validate/26 1064s ok 29 /utf8/validate/27 1064s ok 30 /utf8/validate/28 1064s ok 31 /utf8/validate/29 1064s ok 32 /utf8/validate/30 1064s ok 33 /utf8/validate/31 1064s ok 34 /utf8/validate/32 1064s ok 35 /utf8/validate/33 1064s ok 36 /utf8/validate/34 1064s ok 37 /utf8/validate/35 1064s ok 38 /utf8/validate/36 1064s ok 39 /utf8/validate/37 1064s ok 40 /utf8/validate/38 1064s ok 41 /utf8/validate/39 1064s ok 42 /utf8/validate/40 1064s ok 43 /utf8/validate/41 1064s ok 44 /utf8/validate/42 1064s ok 45 /utf8/validate/43 1064s ok 46 /utf8/validate/44 1064s ok 47 /utf8/validate/45 1064s ok 48 /utf8/validate/46 1064s ok 49 /utf8/validate/47 1064s ok 50 /utf8/validate/48 1064s ok 51 /utf8/validate/49 1064s ok 52 /utf8/validate/50 1064s ok 53 /utf8/validate/51 1064s ok 54 /utf8/validate/52 1064s ok 55 /utf8/validate/53 1064s ok 56 /utf8/validate/54 1064s ok 57 /utf8/validate/55 1064s ok 58 /utf8/validate/56 1064s ok 59 /utf8/validate/57 1064s ok 60 /utf8/validate/58 1064s ok 61 /utf8/validate/59 1064s ok 62 /utf8/validate/60 1064s ok 63 /utf8/validate/61 1064s ok 64 /utf8/validate/62 1064s ok 65 /utf8/validate/63 1064s ok 66 /utf8/validate/64 1064s ok 67 /utf8/validate/65 1064s ok 68 /utf8/validate/66 1064s ok 69 /utf8/validate/67 1064s ok 70 /utf8/validate/68 1064s ok 71 /utf8/validate/69 1064s ok 72 /utf8/validate/70 1064s ok 73 /utf8/validate/71 1064s ok 74 /utf8/validate/72 1064s ok 75 /utf8/validate/73 1064s ok 76 /utf8/validate/74 1064s ok 77 /utf8/validate/75 1064s ok 78 /utf8/validate/76 1064s ok 79 /utf8/validate/77 1064s ok 80 /utf8/validate/78 1064s ok 81 /utf8/validate/79 1064s ok 82 /utf8/validate/80 1064s ok 83 /utf8/validate/81 1064s ok 84 /utf8/validate/82 1064s ok 85 /utf8/validate/83 1064s ok 86 /utf8/validate/84 1064s ok 87 /utf8/validate/85 1064s ok 88 /utf8/validate/86 1064s ok 89 /utf8/validate/87 1064s ok 90 /utf8/validate/88 1064s ok 91 /utf8/validate/89 1064s ok 92 /utf8/validate/90 1064s ok 93 /utf8/validate/91 1064s ok 94 /utf8/validate/92 1064s ok 95 /utf8/validate/93 1064s ok 96 /utf8/validate/94 1064s ok 97 /utf8/validate/95 1064s ok 98 /utf8/validate/96 1064s ok 99 /utf8/validate/97 1064s ok 100 /utf8/validate/98 1064s ok 101 /utf8/validate/99 1064s ok 102 /utf8/validate/100 1064s ok 103 /utf8/validate/101 1064s ok 104 /utf8/validate/102 1064s ok 105 /utf8/validate/103 1064s ok 106 /utf8/validate/104 1064s ok 107 /utf8/validate/105 1064s ok 108 /utf8/validate/106 1064s ok 109 /utf8/validate/107 1064s ok 110 /utf8/validate/108 1064s ok 111 /utf8/validate/109 1064s ok 112 /utf8/validate/110 1064s ok 113 /utf8/validate/111 1064s ok 114 /utf8/validate/112 1064s ok 115 /utf8/validate/113 1064s ok 116 /utf8/validate/114 1064s ok 117 /utf8/validate/115 1064s ok 118 /utf8/validate/116 1064s ok 119 /utf8/validate/117 1064s ok 120 /utf8/validate/118 1064s ok 121 /utf8/validate/119 1064s ok 122 /utf8/validate/120 1064s ok 123 /utf8/validate/121 1064s ok 124 /utf8/validate/122 1064s ok 125 /utf8/validate/123 1064s ok 126 /utf8/validate/124 1064s ok 127 /utf8/validate/125 1064s ok 128 /utf8/validate/126 1064s ok 129 /utf8/validate/127 1064s ok 130 /utf8/validate/128 1064s ok 131 /utf8/validate/129 1064s ok 132 /utf8/validate/130 1064s ok 133 /utf8/validate/131 1064s ok 134 /utf8/validate/132 1064s ok 135 /utf8/validate/133 1064s ok 136 /utf8/validate/134 1064s ok 137 /utf8/validate/135 1064s ok 138 /utf8/validate/136 1064s ok 139 /utf8/validate/137 1064s ok 140 /utf8/validate/138 1064s ok 141 /utf8/validate/139 1064s ok 142 /utf8/validate/140 1064s ok 143 /utf8/validate/141 1064s ok 144 /utf8/validate/142 1064s ok 145 /utf8/validate/143 1064s ok 146 /utf8/validate/144 1064s ok 147 /utf8/validate/145 1064s ok 148 /utf8/validate/146 1064s ok 149 /utf8/validate/147 1064s ok 150 /utf8/validate/148 1064s ok 151 /utf8/validate/149 1064s ok 152 /utf8/validate/150 1064s ok 153 /utf8/validate/151 1064s ok 154 /utf8/validate/152 1064s ok 155 /utf8/validate/153 1064s ok 156 /utf8/validate/154 1064s ok 157 /utf8/validate/155 1064s ok 158 /utf8/validate/156 1064s ok 159 /utf8/validate/157 1064s ok 160 /utf8/validate/158 1064s ok 161 /utf8/validate/159 1064s ok 162 /utf8/validate/160 1064s ok 163 /utf8/validate/161 1064s ok 164 /utf8/validate/162 1064s ok 165 /utf8/validate/163 1064s ok 166 /utf8/validate/164 1064s ok 167 /utf8/validate/165 1064s ok 168 /utf8/validate/166 1064s ok 169 /utf8/validate/167 1064s ok 170 /utf8/validate/168 1064s ok 171 /utf8/validate/169 1064s ok 172 /utf8/validate/170 1064s ok 173 /utf8/validate/171 1064s ok 174 /utf8/validate/172 1064s ok 175 /utf8/validate/173 1064s ok 176 /utf8/validate/174 1064s ok 177 /utf8/validate/175 1064s ok 178 /utf8/validate/176 1064s ok 179 /utf8/validate/177 1064s ok 180 /utf8/validate/178 1064s ok 181 /utf8/validate/179 1064s ok 182 /utf8/validate/180 1064s ok 183 /utf8/validate/181 1064s ok 184 /utf8/validate/182 1064s ok 185 /utf8/validate/183 1064s ok 186 /utf8/validate/184 1064s ok 187 /utf8/validate/185 1064s ok 188 /utf8/validate/186 1064s ok 189 /utf8/validate/187 1064s ok 190 /utf8/validate/188 1064s ok 191 /utf8/validate/189 1064s ok 192 /utf8/validate/190 1064s ok 193 /utf8/validate/191 1064s ok 194 /utf8/validate/192 1064s ok 195 /utf8/validate/193 1064s ok 196 /utf8/validate/194 1064s ok 197 /utf8/validate/195 1064s ok 198 /utf8/validate/196 1064s ok 199 /utf8/validate/197 1064s ok 200 /utf8/validate/198 1064s ok 201 /utf8/validate/199 1064s ok 202 /utf8/validate/200 1064s ok 203 /utf8/validate/201 1064s ok 204 /utf8/validate/202 1064s ok 205 /utf8/validate/203 1064s ok 206 /utf8/validate/204 1064s ok 207 /utf8/validate/205 1064s ok 208 /utf8/validate/206 1064s ok 209 /utf8/validate/207 1064s ok 210 /utf8/validate/208 1064s ok 211 /utf8/validate/209 1064s ok 212 /utf8/validate/210 1064s ok 213 /utf8/validate/211 1064s ok 214 /utf8/validate/212 1064s ok 215 /utf8/validate/213 1064s ok 216 /utf8/validate/214 1064s # End of validate tests 1064s # End of utf8 tests 1064s ok - glib/utf8-validate.test 1064s # Running test: glib/utils-c-17.test 1064s TAP version 14 1064s # random seed: R02S567cca7ae2490a025aa7865492cded3e 1064s 1..40 1064s # Start of utils tests 1064s ok 1 /utils/language-names 1064s ok 2 /utils/locale-variants 1064s ok 3 /utils/version 1064s ok 4 /utils/appname 1064s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1064s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1064s ok 5 /utils/prgname-thread-safety 1064s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1064s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1064s ok 6 /utils/tmpdir 1064s ok 7 /utils/basic_bits 1064s ok 8 /utils/bits 1064s ok 9 /utils/swap 1064s ok 10 /utils/find-program 1064s ok 11 /utils/find-program-for-path 1064s ok 12 /utils/debug 1064s ok 13 /utils/codeset 1064s ok 14 /utils/codeset2 1064s ok 15 /utils/console-charset 1064s ok 16 /utils/gettext 1064s ok 17 /utils/username 1064s ok 18 /utils/realname 1064s ok 19 /utils/hostname 1064s ok 20 /utils/xdgdirs 1064s ok 21 /utils/specialdir 1064s # NAME: Ubuntu 1064s ok 22 /utils/os-info 1064s ok 23 /utils/clear-pointer 1064s ok 24 /utils/clear-pointer-cast 1064s ok 25 /utils/take-pointer 1064s ok 26 /utils/clear-source 1064s ok 27 /utils/misc-mem 1064s # /utils/aligned-mem summary: Aligned memory allocator 1064s # Alignment must not be zero 1064s # Alignment must be a power of two 1064s # Alignment must be a multiple of sizeof(void*) 1064s ok 28 /utils/aligned-mem 1064s # /utils/free-sized summary: Check that g_free_sized() works 1064s ok 29 /utils/free-sized 1064s ok 30 /utils/nullify 1064s ok 31 /utils/atexit 1064s ok 32 /utils/check-setuid 1064s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1064s ok 33 /utils/int-limits 1064s ok 34 /utils/clear-list 1064s ok 35 /utils/clear-slist 1064s # Start of specialdir tests 1064s ok 36 /utils/specialdir/desktop 1064s # End of specialdir tests 1064s # Start of clear-pointer tests 1064s ok 37 /utils/clear-pointer/side-effects 1064s # End of clear-pointer tests 1064s # Start of aligned-mem tests 1064s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1064s ok 38 /utils/aligned-mem/alignment 1064s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1064s ok 39 /utils/aligned-mem/zeroed 1064s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1064s ok 40 /utils/aligned-mem/free-sized 1064s # Start of subprocess tests 1064s # End of subprocess tests 1064s # End of aligned-mem tests 1064s # End of utils tests 1064s ok - glib/utils-c-17.test 1064s # Running test: glib/utf8-misc.test 1064s TAP version 14 1064s # random seed: R02S7de1e74c940af52abd9aa6a39d57ef9e 1064s 1..7 1064s # Start of utf8 tests 1064s ok 1 /utf8/strlen 1064s ok 2 /utf8/strncpy 1064s ok 3 /utf8/strrchr 1064s ok 4 /utf8/reverse 1064s ok 5 /utf8/substring 1064s ok 6 /utf8/make-valid 1064s ok 7 /utf8/truncate-middle 1064s # End of utf8 tests 1064s ok - glib/utf8-misc.test 1064s # Running test: glib/hostutils.test 1064s TAP version 14 1064s # random seed: R02Sc9445aed0c9f76a51773699b8bc83e90 1064s 1..3 1064s # Start of hostutils tests 1064s ok 1 /hostutils/to_ascii 1064s ok 2 /hostutils/to_unicode 1064s ok 3 /hostutils/is_ip_addr 1064s # End of hostutils tests 1064s ok - glib/hostutils.test 1064s # Running test: glib/gdatetime.test 1064s TAP version 14 1064s # random seed: R02S243fe2de200ceee3f7aa9abf38592481 1064s 1..68 1064s # Start of GDateTime tests 1064s # Bug Reference: http://bugzilla.gnome.org/702674 1064s ok 1 /GDateTime/invalid 1064s ok 2 /GDateTime/add_days 1064s ok 3 /GDateTime/add_full 1064s ok 4 /GDateTime/add_hours 1064s ok 5 /GDateTime/add_minutes 1064s ok 6 /GDateTime/add_months 1064s ok 7 /GDateTime/add_seconds 1064s ok 8 /GDateTime/add_weeks 1064s ok 9 /GDateTime/add_years 1064s ok 10 /GDateTime/compare 1064s ok 11 /GDateTime/diff 1064s ok 12 /GDateTime/equal 1064s ok 13 /GDateTime/get_day_of_week 1064s ok 14 /GDateTime/get_day_of_month 1064s ok 15 /GDateTime/get_day_of_year 1064s ok 16 /GDateTime/get_hour 1064s ok 17 /GDateTime/get_microsecond 1064s ok 18 /GDateTime/get_minute 1064s ok 19 /GDateTime/get_month 1064s ok 20 /GDateTime/get_second 1064s ok 21 /GDateTime/get_utc_offset 1064s ok 22 /GDateTime/get_year 1064s ok 23 /GDateTime/hash 1064s ok 24 /GDateTime/new_from_unix 1064s ok 25 /GDateTime/new_from_unix_utc 1064s ok 26 /GDateTime/new_from_timeval 1064s ok 27 /GDateTime/new_from_timeval_utc 1064s ok 28 /GDateTime/new_from_iso8601 1064s ok 29 /GDateTime/new_full 1064s ok 30 /GDateTime/now 1064s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2215 1064s ok 31 /GDateTime/test-6-days-until-end-of-the-month 1064s # %a -> expected: Sat 1064s # %a -> actual: Sat 1064s # %A -> expected: Saturday 1064s # %A -> actual: Saturday 1064s # %b -> expected: Oct 1064s # %b -> actual: Oct 1064s # %B -> expected: October 1064s # %B -> actual: October 1064s # %d -> expected: 24 1064s # %d -> actual: 24 1064s # %d -> expected: 01 1064s # %d -> actual: 01 1064s # %e -> expected: 24 1064s # %e -> actual: 24 1064s # %e -> expected:  1 1064s # %e -> actual:  1 1064s # %f -> expected: 001000 1064s # %f -> actual: 001000 1064s # %h -> expected: Oct 1064s # %h -> actual: Oct 1064s # %H -> expected: 00 1064s # %H -> actual: 00 1064s # %H -> expected: 15 1064s # %H -> actual: 15 1064s # %I -> expected: 12 1064s # %I -> actual: 12 1064s # %I -> expected: 12 1064s # %I -> actual: 12 1064s # %I -> expected: 03 1064s # %I -> actual: 03 1064s # %j -> expected: 297 1064s # %j -> actual: 297 1064s # %k -> expected:  0 1064s # %k -> actual:  0 1064s # %k -> expected: 13 1064s # %k -> actual: 13 1064s # %l -> expected: 12 1064s # %l -> actual: 12 1064s # %I -> expected: 12 1064s # %I -> actual: 12 1064s # %l -> expected:  1 1064s # %l -> actual:  1 1064s # %l -> expected: 10 1064s # %l -> actual: 10 1064s # %m -> expected: 10 1064s # %m -> actual: 10 1064s # %M -> expected: 00 1064s # %M -> actual: 00 1064s # %p -> expected: AM 1064s # %p -> actual: AM 1064s # %p -> expected: PM 1064s # %p -> actual: PM 1064s # %P -> expected: am 1064s # %P -> actual: am 1064s # %P -> expected: pm 1064s # %P -> actual: pm 1064s # %r -> expected: 12:00:00 AM 1064s # %r -> actual: 12:00:00 AM 1064s # %r -> expected: 01:13:13 PM 1064s # %r -> actual: 01:13:13 PM 1064s # %R -> expected: 00:00 1064s # %R -> actual: 00:00 1064s # %R -> expected: 13:13 1064s # %R -> actual: 13:13 1064s # %S -> expected: 00 1064s # %S -> actual: 00 1064s # %t -> expected: 1064s # %t -> actual: 1064s # %u -> expected: 6 1064s # %u -> actual: 6 1064s # %x -> expected: 10/24/09 1064s # %x -> actual: 10/24/09 1064s # %X -> expected: 00:00:00 1064s # %X -> actual: 00:00:00 1064s # %X -> expected: 13:14:15 1064s # %X -> actual: 13:14:15 1064s # %y -> expected: 09 1064s # %y -> actual: 09 1064s # %Y -> expected: 2009 1064s # %Y -> actual: 2009 1064s # %% -> expected: % 1064s # %% -> actual: % 1064s # % -> expected: 1064s # % -> actual: 1064s # %9 -> expected: (null) 1064s # %9 -> actual: (null) 1064s # %Z -> expected: UTC 1064s # %Z -> actual: UTC 1064s ok 32 /GDateTime/printf 1064s # %a -> expected: ÅÚ 1064s # %a -> actual: ÅÚ 1064s # %A -> expected: ÅÚÍËÆü 1064s # %A -> actual: ÅÚÍËÆü 1064s # %b -> expected: 10·î 1064s # %b -> actual: 10·î 1064s # %B -> expected: 10·î 1064s # %B -> actual: 10·î 1064s # %c -> expected: 2009ǯ10·î24Æü 00»þ00ʬ00Éà 1064s # %c -> actual: 2009ǯ10·î24Æü 00»þ00ʬ00Éà 1064s # %C -> expected: 20 1064s # %C -> actual: 20 1064s # %d -> expected: 24 1064s # %d -> actual: 24 1064s # %d -> expected: 01 1064s # %d -> actual: 01 1064s # %e -> expected: 24 1064s # %e -> actual: 24 1064s # %h -> expected: 10·î 1064s # %h -> actual: 10·î 1064s # %H -> expected: 00 1064s # %H -> actual: 00 1064s # %H -> expected: 15 1064s # %H -> actual: 15 1064s # %I -> expected: 12 1064s # %I -> actual: 12 1064s # %I -> expected: 12 1064s # %I -> actual: 12 1064s # %I -> expected: 03 1064s # %I -> actual: 03 1064s # %j -> expected: 297 1064s # %j -> actual: 297 1064s # %k -> expected: ?0 1064s # %k -> actual: ?0 1064s # %k -> expected: 13 1064s # %k -> actual: 13 1064s # %l -> expected: 12 1064s # %l -> actual: 12 1064s # %I -> expected: 12 1064s # %I -> actual: 12 1064s # %l -> expected: ?1 1064s # %l -> actual: ?1 1064s # %l -> expected: 10 1064s # %l -> actual: 10 1064s # %m -> expected: 10 1064s # %m -> actual: 10 1064s # %M -> expected: 00 1064s # %M -> actual: 00 1064s # %p -> expected: ¸áÁ° 1064s # %p -> actual: ¸áÁ° 1064s # %p -> expected: ¸á¸å 1064s # %p -> actual: ¸á¸å 1064s # %P -> expected: ¸áÁ° 1064s # %P -> actual: ¸áÁ° 1064s # %P -> expected: ¸á¸å 1064s # %P -> actual: ¸á¸å 1064s # %r -> expected: ¸áÁ°12»þ00ʬ00Éà 1064s # %r -> actual: ¸áÁ°12»þ00ʬ00Éà 1064s # %r -> expected: ¸á¸å01»þ13ʬ13Éà 1064s # %r -> actual: ¸á¸å01»þ13ʬ13Éà 1064s # %R -> expected: 00:00 1064s # %R -> actual: 00:00 1064s # %R -> expected: 13:13 1064s # %R -> actual: 13:13 1064s # %S -> expected: 00 1064s # %S -> actual: 00 1064s # %t -> expected: 1064s # %t -> actual: 1064s # %u -> expected: 6 1064s # %u -> actual: 6 1064s # %x -> expected: 2009ǯ10·î24Æü 1064s # %x -> actual: 2009ǯ10·î24Æü 1064s # %X -> expected: 00»þ00ʬ00Éà 1064s # %X -> actual: 00»þ00ʬ00Éà 1064s # %X -> expected: 13»þ14ʬ15Éà 1064s # %X -> actual: 13»þ14ʬ15Éà 1064s # %y -> expected: 09 1064s # %y -> actual: 09 1064s # %Y -> expected: 2009 1064s # %Y -> actual: 2009 1064s # %% -> expected: % 1064s # %% -> actual: % 1064s # % -> expected: 1064s # % -> actual: 1064s # %9 -> expected: (null) 1064s # %9 -> actual: (null) 1064s # %Ec -> expected: Ê¿À®21ǯ10·î24Æü 00»þ00ʬ00Éà 1064s # %Ec -> actual: Ê¿À®21ǯ10·î24Æü 00»þ00ʬ00Éà 1064s # %EC -> expected: Ê¿À® 1064s # %EC -> actual: Ê¿À® 1064s # %Ex -> expected: Ê¿À®21ǯ10·î24Æü 1064s # %Ex -> actual: Ê¿À®21ǯ10·î24Æü 1064s # %EX -> expected: 00»þ00ʬ00Éà 1064s # %EX -> actual: 00»þ00ʬ00Éà 1064s # %Ey -> expected: 21 1064s # %Ey -> actual: 21 1064s # %EY -> expected: Ê¿À®21ǯ 1064s # %EY -> actual: Ê¿À®21ǯ 1064s ok 33 /GDateTime/non_utf8_printf 1064s # ???? -> expected: ???? 1064s # ???? -> actual: ???? 1064s # %H?%M -> expected: 23?15 1064s # %H?%M -> actual: 23?15 1064s # %H?%M -> expected: 23?15 1064s # %H?%M -> actual: 23?15 1064s ok 34 /GDateTime/format_unrepresentable 1064s ok 35 /GDateTime/format_iso8601 1064s ok 36 /GDateTime/strftime 1064s # %d -> expected: 01 1064s # %d -> actual: 01 1064s # %_d -> expected: 1 1064s # %_d -> actual: 1 1064s # %-d -> expected: 1 1064s # %-d -> actual: 1 1064s # %0d -> expected: 01 1064s # %0d -> actual: 01 1064s # %d -> expected: 21 1064s # %d -> actual: 21 1064s # %_d -> expected: 21 1064s # %_d -> actual: 21 1064s # %-d -> expected: 21 1064s # %-d -> actual: 21 1064s # %0d -> expected: 21 1064s # %0d -> actual: 21 1064s # %e -> expected:  1 1064s # %e -> actual:  1 1064s # %_e -> expected: 1 1064s # %_e -> actual: 1 1064s # %-e -> expected: 1 1064s # %-e -> actual: 1 1064s # %0e -> expected: 01 1064s # %0e -> actual: 01 1064s # %e -> expected: 21 1064s # %e -> actual: 21 1064s # %_e -> expected: 21 1064s # %_e -> actual: 21 1064s # %-e -> expected: 21 1064s # %-e -> actual: 21 1064s # %0e -> expected: 21 1064s # %0e -> actual: 21 1064s # %a -> expected: Thu 1064s # %a -> actual: Thu 1064s # %^a -> expected: THU 1064s # %^a -> actual: THU 1064s # %#a -> expected: THU 1064s # %#a -> actual: THU 1064s # %A -> expected: Thursday 1064s # %A -> actual: Thursday 1064s # %^A -> expected: THURSDAY 1064s # %^A -> actual: THURSDAY 1064s # %#A -> expected: THURSDAY 1064s # %#A -> actual: THURSDAY 1064s # %b -> expected: Jan 1064s # %b -> actual: Jan 1064s # %^b -> expected: JAN 1064s # %^b -> actual: JAN 1064s # %#b -> expected: JAN 1064s # %#b -> actual: JAN 1064s # %B -> expected: January 1064s # %B -> actual: January 1064s # %^B -> expected: JANUARY 1064s # %^B -> actual: JANUARY 1064s # %#B -> expected: JANUARY 1064s # %#B -> actual: JANUARY 1064s # %h -> expected: Jan 1064s # %h -> actual: Jan 1064s # %^h -> expected: JAN 1064s # %^h -> actual: JAN 1064s # %#h -> expected: JAN 1064s # %#h -> actual: JAN 1064s # %Z -> expected: UTC 1064s # %Z -> actual: UTC 1064s # %^Z -> expected: UTC 1064s # %^Z -> actual: UTC 1064s # %#Z -> expected: utc 1064s # %#Z -> actual: utc 1064s # %H -> expected: 01 1064s # %H -> actual: 01 1064s # %_H -> expected: 1 1064s # %_H -> actual: 1 1064s # %-H -> expected: 1 1064s # %-H -> actual: 1 1064s # %0H -> expected: 01 1064s # %0H -> actual: 01 1064s # %H -> expected: 21 1064s # %H -> actual: 21 1064s # %_H -> expected: 21 1064s # %_H -> actual: 21 1064s # %-H -> expected: 21 1064s # %-H -> actual: 21 1064s # %0H -> expected: 21 1064s # %0H -> actual: 21 1064s # %I -> expected: 01 1064s # %I -> actual: 01 1064s # %_I -> expected: 1 1064s # %_I -> actual: 1 1064s # %-I -> expected: 1 1064s # %-I -> actual: 1 1064s # %0I -> expected: 01 1064s # %0I -> actual: 01 1064s # %I -> expected: 11 1064s # %I -> actual: 11 1064s # %_I -> expected: 11 1064s # %_I -> actual: 11 1064s # %-I -> expected: 11 1064s # %-I -> actual: 11 1064s # %0I -> expected: 11 1064s # %0I -> actual: 11 1064s # %k -> expected:  1 1064s # %k -> actual:  1 1064s # %_k -> expected: 1 1064s # %_k -> actual: 1 1064s # %-k -> expected: 1 1064s # %-k -> actual: 1 1064s # %0k -> expected: 01 1064s # %0k -> actual: 01 1064s # %l -> expected:  1 1064s # %l -> actual:  1 1064s # %_l -> expected: 1 1064s # %_l -> actual: 1 1064s # %-l -> expected: 1 1064s # %-l -> actual: 1 1064s # %0l -> expected: 01 1064s # %0l -> actual: 01 1064s # %l -> expected: 11 1064s # %l -> actual: 11 1064s # %_l -> expected: 11 1064s # %_l -> actual: 11 1064s # %-l -> expected: 11 1064s # %-l -> actual: 11 1064s # %0l -> expected: 11 1064s # %0l -> actual: 11 1064s # %p -> expected: AM 1064s # %p -> actual: AM 1064s # %^p -> expected: AM 1064s # %^p -> actual: AM 1064s # %#p -> expected: am 1064s # %#p -> actual: am 1064s # %P -> expected: am 1064s # %P -> actual: am 1064s # %^P -> expected: AM 1064s # %^P -> actual: AM 1064s # %#P -> expected: am 1064s # %#P -> actual: am 1064s # %OH -> expected: Û²Û³ 1064s # %OH -> actual: Û²Û³ 1064s # %OI -> expected: Û±Û± 1064s # %OI -> actual: Û±Û± 1064s # %OM -> expected: Û°Û° 1064s # %OM -> actual: Û°Û° 1064s # %Om -> expected: Û°Û· 1064s # %Om -> actual: Û°Û· 1064s # %0Om -> expected: Û°Û· 1064s # %0Om -> actual: Û°Û· 1064s # %-Om -> expected: Û· 1064s # %-Om -> actual: Û· 1064s # %_Om -> expected: Û· 1064s # %_Om -> actual: Û· 1064s # %c -> expected: thu 01 jan 2009 00:00:00 utc 1064s # %c -> actual: Thu 01 Jan 2009 00:00:00 UTC 1064s # %Ec -> expected: thu 01 jan 2009 00:00:00 utc 1064s # %Ec -> actual: Thu 01 Jan 2009 00:00:00 UTC 1064s # %C -> expected: 20 1064s # %C -> actual: 20 1064s # %EC -> expected: 20 1064s # %EC -> actual: 20 1064s # %x -> expected: 02/01/09 1064s # %x -> actual: 02/01/09 1064s # %Ex -> expected: 02/01/09 1064s # %Ex -> actual: 02/01/09 1064s # %X -> expected: 01:02:03 1064s # %X -> actual: 01:02:03 1064s # %EX -> expected: 01:02:03 1064s # %EX -> actual: 01:02:03 1064s # %y -> expected: 09 1064s # %y -> actual: 09 1064s # %Ey -> expected: 09 1064s # %Ey -> actual: 09 1064s # %Y -> expected: 2009 1064s # %Y -> actual: 2009 1064s # %EY -> expected: 2009 1064s # %EY -> actual: 2009 1064s ok 37 /GDateTime/modifiers # SKIP locale gu_IN not available, skipping O modifier tests 1064s # Bug Reference: http://bugzilla.gnome.org/749206 1064s # %B -> expected: January 1064s # %B -> actual: January 1064s # %OB -> expected: February 1064s # %OB -> actual: February 1064s # %b -> expected: Mar 1064s # %b -> actual: Mar 1064s # %Ob -> expected: Apr 1064s # %Ob -> actual: Apr 1064s # %h -> expected: May 1064s # %h -> actual: May 1064s # %Oh -> expected: Jun 1064s # %Oh -> actual: Jun 1064s # %B -> expected: Juli 1064s # %B -> actual: Juli 1064s # %OB -> expected: August 1064s # %OB -> actual: August 1064s # %b -> expected: Sep 1064s # %b -> actual: Sep 1064s # %Ob -> expected: Okt 1064s # %Ob -> actual: Okt 1064s # %h -> expected: Nov 1064s # %h -> actual: Nov 1064s # %Oh -> expected: Dez 1064s # %Oh -> actual: Dez 1064s # %B -> expected: enero 1064s # %B -> actual: enero 1064s # %OB -> expected: febrero 1064s # %OB -> actual: febrero 1064s # %b -> expected: mar 1064s # %b -> actual: mar 1064s # %Ob -> expected: abr 1064s # %Ob -> actual: abr 1064s # %h -> expected: may 1064s # %h -> actual: may 1064s # %Oh -> expected: jun 1064s # %Oh -> actual: jun 1064s # %B -> expected: juillet 1064s # %B -> actual: juillet 1064s # %OB -> expected: août 1064s # %OB -> actual: août 1064s # %b -> expected: sept. 1064s # %b -> actual: sept. 1064s # %Ob -> expected: oct. 1064s # %Ob -> actual: oct. 1064s # %h -> expected: nov. 1064s # %h -> actual: nov. 1064s # %Oh -> expected: déc. 1064s # %Oh -> actual: déc. 1064s # %B -> expected: ΙανουαÏίου 1064s # %B -> actual: ΙανουαÏίου 1064s # %B -> expected: ΦεβÏουαÏίου 1064s # %B -> actual: ΦεβÏουαÏίου 1064s # %B -> expected: ΜαÏτίου 1064s # %B -> actual: ΜαÏτίου 1064s # %OB -> expected: ΑπÏίλιος 1064s # %OB -> actual: ΑπÏίλιος 1064s # %OB -> expected: Μάιος 1064s # %OB -> actual: Μάιος 1064s # %OB -> expected: ΙοÏνιος 1064s # %OB -> actual: ΙοÏνιος 1064s # %b -> expected: Ιουλ 1064s # %b -> actual: Ιουλ 1064s # %Ob -> expected: ΑÏγ 1064s # %Ob -> actual: ΑÏγ 1064s # %B -> expected: svibnja 1064s # %B -> actual: svibnja 1064s # %B -> expected: lipnja 1064s # %B -> actual: lipnja 1064s # %B -> expected: srpnja 1064s # %B -> actual: srpnja 1064s # %OB -> expected: Kolovoz 1064s # %OB -> actual: kolovoz 1064s # %OB -> expected: Rujan 1064s # %OB -> actual: rujan 1064s # %OB -> expected: Listopad 1064s # %OB -> actual: listopad 1064s # %b -> expected: Stu 1064s # %b -> actual: stu 1064s # %Ob -> expected: Pro 1064s # %Ob -> actual: pro 1064s # %B -> expected: sausio 1064s # %B -> actual: sausio 1064s # %B -> expected: vasario 1064s # %B -> actual: vasario 1064s # %B -> expected: kovo 1064s # %B -> actual: kovo 1064s # %OB -> expected: balandis 1064s # %OB -> actual: balandis 1064s # %OB -> expected: gegužė 1064s # %OB -> actual: gegužė 1064s # %OB -> expected: birželis 1064s # %OB -> actual: birželis 1064s # %b -> expected: liep. 1064s # %b -> actual: liep. 1064s # %Ob -> expected: rugp. 1064s # %Ob -> actual: rugp. 1064s # %B -> expected: maja 1064s # %B -> actual: maja 1064s # %B -> expected: czerwca 1064s # %B -> actual: czerwca 1064s # %B -> expected: lipca 1064s # %B -> actual: lipca 1064s # %OB -> expected: sierpieÅ„ 1064s # %OB -> actual: sierpieÅ„ 1064s # %OB -> expected: wrzesieÅ„ 1064s # %OB -> actual: wrzesieÅ„ 1064s # %OB -> expected: październik 1064s # %OB -> actual: październik 1064s # %b -> expected: lis 1064s # %b -> actual: lis 1064s # %Ob -> expected: gru 1064s # %Ob -> actual: gru 1064s # %B -> expected: ÑÐ½Ð²Ð°Ñ€Ñ 1064s # %B -> actual: ÑÐ½Ð²Ð°Ñ€Ñ 1064s # %B -> expected: Ñ„ÐµÐ²Ñ€Ð°Ð»Ñ 1064s # %B -> actual: Ñ„ÐµÐ²Ñ€Ð°Ð»Ñ 1064s # %B -> expected: марта 1064s # %B -> actual: марта 1064s # %OB -> expected: Ðпрель 1064s # %OB -> actual: Ðпрель 1064s # %OB -> expected: Май 1064s # %OB -> actual: Май 1064s # %OB -> expected: Июнь 1064s # %OB -> actual: Июнь 1064s # %b -> expected: июл 1064s # %b -> actual: июл 1064s # %Ob -> expected: авг 1064s # %Ob -> actual: авг 1064s # %b -> expected: Ð¼Ð°Ñ 1064s # %b -> actual: Ð¼Ð°Ñ 1064s # %Ob -> expected: май 1064s # %Ob -> actual: май 1064s ok 38 /GDateTime/month_names 1064s ok 39 /GDateTime/to_local 1064s ok 40 /GDateTime/to_unix 1064s ok 41 /GDateTime/to_timeval 1064s ok 42 /GDateTime/to_utc 1064s ok 43 /GDateTime/now_utc 1064s ok 44 /GDateTime/dst 1064s # Bug Reference: http://bugzilla.gnome.org/642935 1064s ok 45 /GDateTime/test_z 1065s ok 46 /GDateTime/test-all-dates 1065s # slow test /GDateTime/test-all-dates executed in 0.64 secs 1065s ok 47 /GDateTime/unix_usec 1065s # Start of new_from_unix tests 1065s # Bug Reference: http://bugzilla.gnome.org/782089 1065s ok 48 /GDateTime/new_from_unix/overflow 1065s # End of new_from_unix tests 1065s # Start of new_from_timeval tests 1065s # Bug Reference: http://bugzilla.gnome.org/782089 1065s # Maximum supported GTimeVal.tv_sec = 253402300799 1065s ok 49 /GDateTime/new_from_timeval/overflow 1065s # End of new_from_timeval tests 1065s # Start of new_from_iso8601 tests 1065s # /GDateTime/new_from_iso8601/2 summary: Further parser tests for g_date_time_new_from_iso8601(), checking success and failure using test vectors. 1065s # Vector 0: 1990-11-01T10:21:17Z 1065s # Vector 1: 19901101T102117Z 1065s # Vector 2: 1970-01-01T00:00:17.12Z 1065s # Vector 3: 1970-01-01T00:00:17.1234Z 1065s # Vector 4: 1970-01-01T00:00:17.123456Z 1065s # Vector 5: 1980-02-22T12:36:00+02:00 1065s # Vector 6: 1990-12-31T15:59:60-08:00 1065s # Vector 7: 1065s # Vector 8: x 1065s # Vector 9: 123x 1065s # Vector 10: 2001-10+x 1065s # Vector 11: 1980-02-22T 1065s # Vector 12: 2001-10-08Tx 1065s # Vector 13: 2001-10-08T10:11x 1065s # Vector 14: Wed Dec 19 17:20:20 GMT 2007 1065s # Vector 15: 1980-02-22T10:36:00Zulu 1065s # Vector 16: 2T0+819855292164632335 1065s # Vector 17: 2018-08-03T14:08:05.446178377+01:00 1065s # Vector 18: 2147483648-08-03T14:08:05.446178377+01:00 1065s # Vector 19: 2018-13-03T14:08:05.446178377+01:00 1065s # Vector 20: 2018-00-03T14:08:05.446178377+01:00 1065s # Vector 21: 2018-08-00T14:08:05.446178377+01:00 1065s # Vector 22: 2018-08-32T14:08:05.446178377+01:00 1065s # Vector 23: 2018-08-03T24:08:05.446178377+01:00 1065s # Vector 24: 2018-08-03T14:60:05.446178377+01:00 1065s # Vector 25: 2018-08-03T14:08:63.446178377+01:00 1065s # Vector 26: 2018-08-03T14:08:05.446178377+100:00 1065s # Vector 27: 20180803T140805.446178377+0100 1065s # Vector 28: 21474836480803T140805.446178377+0100 1065s # Vector 29: 20181303T140805.446178377+0100 1065s # Vector 30: 20180003T140805.446178377+0100 1065s # Vector 31: 20180800T140805.446178377+0100 1065s # Vector 32: 20180832T140805.446178377+0100 1065s # Vector 33: 20180803T240805.446178377+0100 1065s # Vector 34: 20180803T146005.446178377+0100 1065s # Vector 35: 20180803T140863.446178377+0100 1065s # Vector 36: 20180803T140805.446178377+10000 1065s # Vector 37: -0005-01-01T00:00:00Z 1065s # Vector 38: 2018-08-06 1065s # Vector 39: 20180803T140805,446178377+0100 1065s # Vector 40: 2018-08-03T14:08:05.446178377-01:00 1065s # Vector 41: 2018-08-03T14:08:05.446178377 01:00 1065s # Vector 42: 1990-11-01T10:21:17 1065s # Vector 43: 1719W462 407777-07 1065s # Vector 44: 4011090 260528Z 1065s # Vector 45: 0000W011 228214-22 1065s ok 50 /GDateTime/new_from_iso8601/2 1065s # End of new_from_iso8601 tests 1065s # Start of format_mixed tests 1065s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1065s # %b -> expected: mar 1065s # %b -> actual: Mar 1065s # %B -> expected: march 1065s # %B -> actual: March 1065s ok 51 /GDateTime/format_mixed/utf8_time_non_utf8_messages 1065s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1065s # %b -> expected: mar 1065s # %b -> actual: Mar 1065s # %B -> expected: march 1065s # %B -> actual: March 1065s ok 52 /GDateTime/format_mixed/utf8_time_utf8_messages 1065s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1065s # %b -> expected: Mär 1065s # %b -> actual: Mär 1065s # %B -> expected: März 1065s # %B -> actual: März 1065s ok 53 /GDateTime/format_mixed/non_utf8_time_non_utf8_messages 1065s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1065s # %b -> expected: Mär 1065s # %b -> actual: Mär 1065s # %B -> expected: März 1065s # %B -> actual: März 1065s ok 54 /GDateTime/format_mixed/non_utf8_time_utf8_messages 1065s # End of format_mixed tests 1065s # Start of strftime tests 1065s # %r -> expected: (null) 1065s # %r -> actual: (null) 1065s ok 55 /GDateTime/strftime/error_handling 1065s # End of strftime tests 1065s # Start of eras tests 1065s # %Ec -> expected: 令和05å¹´06月01æ—¥ 00時00分00秒 1065s # %Ec -> actual: 令和05å¹´06月01æ—¥ 00時00分00秒 1065s # %EC -> expected: 令和 1065s # %EC -> actual: 令和 1065s # %Ex -> expected: 令和05å¹´06月01æ—¥ 1065s # %Ex -> actual: 令和05å¹´06月01æ—¥ 1065s # %EX -> expected: 00時00分00秒 1065s # %EX -> actual: 00時00分00秒 1065s # %Ey -> expected: 05 1065s # %Ey -> actual: 05 1065s # %EY -> expected: 令和05å¹´ 1065s # %EY -> actual: 令和05å¹´ 1065s # %Ec -> expected: å¹³æˆ31å¹´04月30æ—¥ 00時00分00秒 1065s # %Ec -> actual: å¹³æˆ31å¹´04月30æ—¥ 00時00分00秒 1065s # %EC -> expected: å¹³æˆ 1065s # %EC -> actual: å¹³æˆ 1065s # %Ex -> expected: å¹³æˆ31å¹´04月30æ—¥ 1065s # %Ex -> actual: å¹³æˆ31å¹´04月30æ—¥ 1065s # %EX -> expected: 00時00分00秒 1065s # %EX -> actual: 00時00分00秒 1065s # %Ey -> expected: 31 1065s # %Ey -> actual: 31 1065s # %EY -> expected: å¹³æˆ31å¹´ 1065s # %EY -> actual: å¹³æˆ31å¹´ 1065s # %Ec -> expected: 昭和元年12月25æ—¥ 00時00分00秒 1065s # %Ec -> actual: 昭和元年12月25æ—¥ 00時00分00秒 1065s # %EC -> expected: 昭和 1065s # %EC -> actual: 昭和 1065s # %Ex -> expected: 昭和元年12月25æ—¥ 1065s # %Ex -> actual: 昭和元年12月25æ—¥ 1065s # %EX -> expected: 00時00分00秒 1065s # %EX -> actual: 00時00分00秒 1065s # %Ey -> expected: 01 1065s # %Ey -> actual: 01 1065s # %EY -> expected: 昭和元年 1065s # %EY -> actual: 昭和元年 1065s ok 56 /GDateTime/eras/japan 1065s ok 57 /GDateTime/eras/thailand # SKIP locale th_TH.utf-8 not available, skipping Thai era tests 1065s # Vector 0: 1065s # Vector 1: +:1:-543/01/01:+*:พ.ศ.:%EC %Ey 1065s # 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å¹´ 1065s # Vector 3: -:2:2020/01/01:-*:令和:%EC%Eyå¹´ 1065s # Vector 4: +:2:2020/01/01:2020/01/01:令和:%EC%Eyå¹´ 1065s # Vector 5: +:2:+2020/01/01:+*:令和:%EC%Eyå¹´ 1065s # Vector 6: .:2:2020/01/01:+*:令和:%EC%Eyå¹´ 1065s # Vector 7: +.2:2020/01/01:+*:令和:%EC%Eyå¹´ 1065s # Vector 8: + 1065s # Vector 9: +: 1065s # Vector 10: +:: 1065s # Vector 11: +:200 1065s # Vector 12: +:2nonsense 1065s # Vector 13: +:2nonsense: 1065s # Vector 14: +:2: 1065s # Vector 15: +:2:: 1065s # Vector 16: +:2:2020-01/01:+*:令和:%EC%Eyå¹´ 1065s # Vector 17: +:2:2020nonsense/01/01:+*:令和:%EC%Eyå¹´ 1065s # Vector 18: +:2:2020:+*:令和:%EC%Eyå¹´ 1065s # Vector 19: +:2:18446744073709551615/01/01:+*:令和:%EC%Eyå¹´ 1065s # Vector 20: +:2:2020/01-01:+*:令和:%EC%Eyå¹´ 1065s # Vector 21: +:2:2020/01nonsense/01:+*:令和:%EC%Eyå¹´ 1065s # Vector 22: +:2:2020/01:+*:令和:%EC%Eyå¹´ 1065s # Vector 23: +:2:2020/00/01:+*:令和:%EC%Eyå¹´ 1065s # Vector 24: +:2:2020/13/01:+*:令和:%EC%Eyå¹´ 1065s # Vector 25: +:2:2020/01/00:+*:令和:%EC%Eyå¹´ 1065s # Vector 26: +:2:2020/01/32:+*:令和:%EC%Eyå¹´ 1065s # Vector 27: +:2:2020/01/01nonsense:+*:令和:%EC%Eyå¹´ 1065s # Vector 28: +:2:2020/01/01 1065s # Vector 29: +:2:2020/01/01: 1065s # Vector 30: +:2:2020/01/01:: 1065s # Vector 31: +:2:2020/01/01:2021-01-01:令和:%EC%Eyå¹´ 1065s # Vector 32: +:2:2020/01/01:+* 1065s # Vector 33: +:2:2020/01/01:+*: 1065s # Vector 34: +:2:2020/01/01:+*:: 1065s # Vector 35: +:2:2020/01/01:+*:令和 1065s # Vector 36: +:2:2020/01/01:+*:令和: 1065s # Vector 37: +:2:2020/01/01:+*:令和:; 1065s ok 58 /GDateTime/eras/parsing 1065s # End of eras tests 1065s # End of GDateTime tests 1065s # Start of GTimeZone tests 1065s ok 59 /GTimeZone/find-interval 1065s ok 60 /GTimeZone/adjust-time 1065s ok 61 /GTimeZone/no-header 1065s ok 62 /GTimeZone/no-header-identifier 1065s ok 63 /GTimeZone/posix-parse 1065s # Bug Reference: http://bugzilla.gnome.org/697715 1065s ok 64 /GTimeZone/floating-point 1065s # System time zone identifier: Etc/UTC 1065s ok 65 /GTimeZone/identifier 1065s # Vector 0: -158400 1065s # Vector 1: -10000 1065s # Vector 2: -3600 1065s # Vector 3: -61 1065s # Vector 4: -60 1065s # Vector 5: -59 1065s # Vector 6: 0 1065s # Vector 7: 59 1065s # Vector 8: 60 1065s # Vector 9: 61 1065s # Vector 10: 3600 1065s # Vector 11: 10000 1065s # Vector 12: 158400 1065s ok 66 /GTimeZone/new-offset 1065s # /GTimeZone/parse-rfc8536 summary: Test parsing time zone files in RFC 8536 version 3 format 1065s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2129 1065s ok 67 /GTimeZone/parse-rfc8536 1065s # /GTimeZone/caching summary: GTimeZone instances are cached 1065s ok 68 /GTimeZone/caching 1065s # End of GTimeZone tests 1065s ok - glib/gdatetime.test 1065s # Running test: glib/sort.test 1065s TAP version 14 1065s # random seed: R02S34e433fbbaaac2ae935e00665cfb556f 1065s 1..5 1065s # Start of sort tests 1065s ok 1 /sort/basic 1065s ok 2 /sort/zero-elements 1065s ok 3 /sort/stable 1065s ok 4 /sort/big 1065s ok 5 /sort/deprecated 1065s # End of sort tests 1065s ok - glib/sort.test 1065s # Running test: glib/portal-support-snap-classic.test 1065s TAP version 14 1065s # random seed: R02S8eb31634edd94cfd879001e599724b75 1065s 1..3 1065s # Start of portal-support tests 1065s # Start of snap-classic tests 1065s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_WTQF02/portal-support/snap-classic/no-snapctl/.dirs/home 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_WTQF02/portal-support/snap-classic/no-snapctl/.dirs/cache 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_WTQF02/portal-support/snap-classic/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap-classic_WTQF02/portal-support/snap-classic/no-snapctl/.dirs/system-config2 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_WTQF02/portal-support/snap-classic/no-snapctl/.dirs/config 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_WTQF02/portal-support/snap-classic/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap-classic_WTQF02/portal-support/snap-classic/no-snapctl/.dirs/system-data2 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_WTQF02/portal-support/snap-classic/no-snapctl/.dirs/data 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_WTQF02/portal-support/snap-classic/no-snapctl/.dirs/state 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_WTQF02/portal-support/snap-classic/no-snapctl/.dirs/runtime 1065s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_WTQF02/portal-support/snap-classic/no-snapctl: No such file or directory 1065s ok 1 /portal-support/snap-classic/no-snapctl 1065s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_WTQF02/portal-support/snap-classic/none/.dirs/home 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_WTQF02/portal-support/snap-classic/none/.dirs/cache 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_WTQF02/portal-support/snap-classic/none/.dirs/system-config1:/tmp/test_portal-support-snap-classic_WTQF02/portal-support/snap-classic/none/.dirs/system-config2 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_WTQF02/portal-support/snap-classic/none/.dirs/config 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_WTQF02/portal-support/snap-classic/none/.dirs/system-data1:/tmp/test_portal-support-snap-classic_WTQF02/portal-support/snap-classic/none/.dirs/system-data2 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_WTQF02/portal-support/snap-classic/none/.dirs/data 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_WTQF02/portal-support/snap-classic/none/.dirs/state 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_WTQF02/portal-support/snap-classic/none/.dirs/runtime 1065s # Created snap.yaml in /tmp/test_portal-support-snap-classic_WTQF02/meta/snap.yaml 1065s # Created snapctl in /tmp/test_portal-support-snap-classic_WTQF02/portal-support/snap-classic/none/.dirs/runtime/snapctl 1065s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_WTQF02/portal-support/snap-classic/none: No such file or directory 1065s ok 2 /portal-support/snap-classic/none 1065s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_WTQF02/portal-support/snap-classic/all/.dirs/home 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_WTQF02/portal-support/snap-classic/all/.dirs/cache 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_WTQF02/portal-support/snap-classic/all/.dirs/system-config1:/tmp/test_portal-support-snap-classic_WTQF02/portal-support/snap-classic/all/.dirs/system-config2 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_WTQF02/portal-support/snap-classic/all/.dirs/config 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_WTQF02/portal-support/snap-classic/all/.dirs/system-data1:/tmp/test_portal-support-snap-classic_WTQF02/portal-support/snap-classic/all/.dirs/system-data2 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_WTQF02/portal-support/snap-classic/all/.dirs/data 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_WTQF02/portal-support/snap-classic/all/.dirs/state 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_WTQF02/portal-support/snap-classic/all/.dirs/runtime 1065s # Created snap.yaml in /tmp/test_portal-support-snap-classic_WTQF02/meta/snap.yaml 1065s # Created snapctl in /tmp/test_portal-support-snap-classic_WTQF02/portal-support/snap-classic/all/.dirs/runtime/snapctl 1065s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_WTQF02/portal-support/snap-classic/all: No such file or directory 1065s ok 3 /portal-support/snap-classic/all 1065s # End of snap-classic tests 1065s # End of portal-support tests 1065s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_WTQF02: No such file or directory 1065s ok - glib/portal-support-snap-classic.test 1065s # Running test: glib/value.test 1065s TAP version 14 1065s # random seed: R02S6c96efd494a4ea8ba9054a7076742838 1065s 1..9 1065s # Start of value tests 1065s ok 1 /value/basic 1065s ok 2 /value/collection 1065s ok 3 /value/copying 1065s ok 4 /value/enum-transformation 1065s ok 5 /value/gtype 1065s # /value/string summary: Test that G_TYPE_STRING GValue copy properly 1065s ok 6 /value/string 1065s # Next: GObject object in GValue of GObject to GValue of GObject 1065s # Next: GObject object in GValue of GObject to GValue of TestInterface 1065s # Next: GObject object in GValue of GObject to GValue of TestObjectA 1065s # Next: GObject object in GValue of GObject to GValue of TestObjectB 1065s # Next: GObject object in GValue of GObject to GValue of TestObjectA1 1065s # Next: GObject object in GValue of GObject to GValue of TestObjectA2 1065s # Next: TestObjectA object in GValue of GObject to GValue of GObject 1065s # Next: TestObjectA object in GValue of GObject to GValue of TestInterface 1065s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA 1065s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectB 1065s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA1 1065s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA2 1065s # Next: TestObjectA object in GValue of TestObjectA to GValue of GObject 1065s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestInterface 1065s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA 1065s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectB 1065s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA1 1065s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA2 1065s # Next: TestObjectB object in GValue of GObject to GValue of GObject 1065s # Next: TestObjectB object in GValue of GObject to GValue of TestInterface 1065s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA 1065s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectB 1065s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA1 1065s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA2 1065s # Next: TestObjectB object in GValue of TestInterface to GValue of GObject 1065s # Next: TestObjectB object in GValue of TestInterface to GValue of TestInterface 1065s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA 1065s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectB 1065s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA1 1065s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA2 1065s # Next: TestObjectB object in GValue of TestObjectB to GValue of GObject 1065s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestInterface 1065s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA 1065s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectB 1065s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA1 1065s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA2 1065s # Next: TestObjectA1 object in GValue of GObject to GValue of GObject 1065s # Next: TestObjectA1 object in GValue of GObject to GValue of TestInterface 1065s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA 1065s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectB 1065s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA1 1065s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA2 1065s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of GObject 1065s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestInterface 1065s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA 1065s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectB 1065s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA1 1065s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA2 1065s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of GObject 1065s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestInterface 1065s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA 1065s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectB 1065s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA1 1065s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA2 1065s # Next: TestObjectA2 object in GValue of GObject to GValue of GObject 1065s # Next: TestObjectA2 object in GValue of GObject to GValue of TestInterface 1065s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA 1065s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectB 1065s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA1 1065s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA2 1065s # Next: TestObjectA2 object in GValue of TestInterface to GValue of GObject 1065s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestInterface 1065s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA 1065s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectB 1065s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA1 1065s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA2 1065s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of GObject 1065s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestInterface 1065s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA 1065s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectB 1065s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA1 1065s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA2 1065s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of GObject 1065s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestInterface 1065s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA 1065s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectB 1065s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA1 1065s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA2 1065s ok 7 /value/transform-object 1065s # Start of array tests 1065s ok 8 /value/array/basic 1065s ok 9 /value/array/sort-with-data 1065s # End of array tests 1065s # End of value tests 1065s ok - glib/value.test 1065s # Running test: glib/bindinggroup.test 1065s TAP version 14 1065s # random seed: R02S0d650ab108c9b6980dd74c05f5c40115 1065s 1..11 1065s # Start of GObject tests 1065s # Start of BindingGroup tests 1065s ok 1 /GObject/BindingGroup/invalid 1065s ok 2 /GObject/BindingGroup/default 1065s ok 3 /GObject/BindingGroup/bidirectional 1065s ok 4 /GObject/BindingGroup/transform 1065s ok 5 /GObject/BindingGroup/transform-closures 1065s ok 6 /GObject/BindingGroup/same-object 1065s ok 7 /GObject/BindingGroup/weak-ref-source 1065s ok 8 /GObject/BindingGroup/weak-ref-target 1065s ok 9 /GObject/BindingGroup/properties 1065s ok 10 /GObject/BindingGroup/weak-notify-no-bindings 1065s ok 11 /GObject/BindingGroup/empty-closures 1065s # End of BindingGroup tests 1065s # End of GObject tests 1065s ok - glib/bindinggroup.test 1065s # Running test: glib/gdbus-export.test 1065s TAP version 14 1065s # random seed: R02S72f25ebbc08ee332aa7d11c9e01b6d94 1065s 1..6 1065s # Start of gdbus tests 1065s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_K36F02/gdbus/object-registration/.dirs/home 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_K36F02/gdbus/object-registration/.dirs/cache 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_K36F02/gdbus/object-registration/.dirs/system-config1:/tmp/test_gdbus-export_K36F02/gdbus/object-registration/.dirs/system-config2 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_K36F02/gdbus/object-registration/.dirs/config 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_K36F02/gdbus/object-registration/.dirs/system-data1:/tmp/test_gdbus-export_K36F02/gdbus/object-registration/.dirs/system-data2 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_K36F02/gdbus/object-registration/.dirs/data 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_K36F02/gdbus/object-registration/.dirs/state 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_K36F02/gdbus/object-registration/.dirs/runtime 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s ok 1 /gdbus/object-registration 1065s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_K36F02/gdbus/object-registration-with-closures/.dirs/home 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_K36F02/gdbus/object-registration-with-closures/.dirs/cache 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_K36F02/gdbus/object-registration-with-closures/.dirs/system-config1:/tmp/test_gdbus-export_K36F02/gdbus/object-registration-with-closures/.dirs/system-config2 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_K36F02/gdbus/object-registration-with-closures/.dirs/config 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_K36F02/gdbus/object-registration-with-closures/.dirs/system-data1:/tmp/test_gdbus-export_K36F02/gdbus/object-registration-with-closures/.dirs/system-data2 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_K36F02/gdbus/object-registration-with-closures/.dirs/data 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_K36F02/gdbus/object-registration-with-closures/.dirs/state 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_K36F02/gdbus/object-registration-with-closures/.dirs/runtime 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s ok 2 /gdbus/object-registration-with-closures 1065s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_K36F02/gdbus/registered-interfaces/.dirs/home 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_K36F02/gdbus/registered-interfaces/.dirs/cache 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_K36F02/gdbus/registered-interfaces/.dirs/system-config1:/tmp/test_gdbus-export_K36F02/gdbus/registered-interfaces/.dirs/system-config2 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_K36F02/gdbus/registered-interfaces/.dirs/config 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_K36F02/gdbus/registered-interfaces/.dirs/system-data1:/tmp/test_gdbus-export_K36F02/gdbus/registered-interfaces/.dirs/system-data2 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_K36F02/gdbus/registered-interfaces/.dirs/data 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_K36F02/gdbus/registered-interfaces/.dirs/state 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_K36F02/gdbus/registered-interfaces/.dirs/runtime 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s ok 3 /gdbus/registered-interfaces 1065s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_K36F02/gdbus/async-properties/.dirs/home 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_K36F02/gdbus/async-properties/.dirs/cache 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_K36F02/gdbus/async-properties/.dirs/system-config1:/tmp/test_gdbus-export_K36F02/gdbus/async-properties/.dirs/system-config2 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_K36F02/gdbus/async-properties/.dirs/config 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_K36F02/gdbus/async-properties/.dirs/system-data1:/tmp/test_gdbus-export_K36F02/gdbus/async-properties/.dirs/system-data2 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_K36F02/gdbus/async-properties/.dirs/data 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_K36F02/gdbus/async-properties/.dirs/state 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_K36F02/gdbus/async-properties/.dirs/runtime 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s ok 4 /gdbus/async-properties 1065s # Start of threaded-unregistration tests 1065s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_K36F02/gdbus/threaded-unregistration/object/.dirs/home 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_K36F02/gdbus/threaded-unregistration/object/.dirs/cache 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_K36F02/gdbus/threaded-unregistration/object/.dirs/system-config1:/tmp/test_gdbus-export_K36F02/gdbus/threaded-unregistration/object/.dirs/system-config2 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_K36F02/gdbus/threaded-unregistration/object/.dirs/config 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_K36F02/gdbus/threaded-unregistration/object/.dirs/system-data1:/tmp/test_gdbus-export_K36F02/gdbus/threaded-unregistration/object/.dirs/system-data2 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_K36F02/gdbus/threaded-unregistration/object/.dirs/data 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_K36F02/gdbus/threaded-unregistration/object/.dirs/state 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_K36F02/gdbus/threaded-unregistration/object/.dirs/runtime 1065s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400 1065s # /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 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s ok 5 /gdbus/threaded-unregistration/object # SKIP Failed to reproduce race (0 iterations with unregistration first, 1000 with call first); skipping test 1066s # slow test /gdbus/threaded-unregistration/object executed in 0.99 secs 1066s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_K36F02/gdbus/threaded-unregistration/subtree/.dirs/home 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_K36F02/gdbus/threaded-unregistration/subtree/.dirs/cache 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_K36F02/gdbus/threaded-unregistration/subtree/.dirs/system-config1:/tmp/test_gdbus-export_K36F02/gdbus/threaded-unregistration/subtree/.dirs/system-config2 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_K36F02/gdbus/threaded-unregistration/subtree/.dirs/config 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_K36F02/gdbus/threaded-unregistration/subtree/.dirs/system-data1:/tmp/test_gdbus-export_K36F02/gdbus/threaded-unregistration/subtree/.dirs/system-data2 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_K36F02/gdbus/threaded-unregistration/subtree/.dirs/data 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_K36F02/gdbus/threaded-unregistration/subtree/.dirs/state 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_K36F02/gdbus/threaded-unregistration/subtree/.dirs/runtime 1066s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400 1066s # /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 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1066s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s ok 6 /gdbus/threaded-unregistration/subtree # SKIP Failed to reproduce race (0 iterations with unregistration first, 1000 with call first); skipping test 1067s # slow test /gdbus/threaded-unregistration/subtree executed in 1.00 secs 1067s # End of threaded-unregistration tests 1067s # End of gdbus tests 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s ok - glib/gdbus-export.test 1067s # Running test: glib/io-channel-basic.test 1067s TAP version 14 1067s # random seed: R02S602c8a3c70eec2f53e8259d1340175be 1067s 1..1 1067s # Start of gio tests 1067s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1067s # random seed: R02Sf5fc2d350f56fd6a66f085e211acaccf 1067s # GLib-DEBUG: io-channel-basic: child writing 8+4789 bytes to 6 1067s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1067s # GLib-DEBUG: io-channel-basic: ...from 5: 4789 bytes 1067s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1067s # GLib-DEBUG: io-channel-basic: child writing 8+1922 bytes to 6 1067s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1067s # GLib-DEBUG: io-channel-basic: ...from 5: 1922 bytes 1067s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1068s # GLib-DEBUG: io-channel-basic: child writing 8+4525 bytes to 6 1068s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1068s # GLib-DEBUG: io-channel-basic: ...from 5: 4525 bytes 1068s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1068s # GLib-DEBUG: io-channel-basic: child writing 8+4485 bytes to 6 1068s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1068s # GLib-DEBUG: io-channel-basic: ...from 5: 4485 bytes 1068s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1068s # GLib-DEBUG: io-channel-basic: child writing 8+1362 bytes to 6 1068s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1068s # GLib-DEBUG: io-channel-basic: ...from 5: 1362 bytes 1068s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1068s # GLib-DEBUG: io-channel-basic: child writing 8+1899 bytes to 6 1068s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1068s # GLib-DEBUG: io-channel-basic: ...from 5: 1899 bytes 1068s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1069s # GLib-DEBUG: io-channel-basic: child writing 8+3562 bytes to 6 1069s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1069s # GLib-DEBUG: io-channel-basic: ...from 5: 3562 bytes 1069s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1069s # Executing: glib/io-channel-basic.test 1069s # GLib-DEBUG: io-channel-basic: child writing 8+4875 bytes to 6 1069s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1069s # GLib-DEBUG: io-channel-basic: ...from 5: 4875 bytes 1069s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1069s # GLib-DEBUG: io-channel-basic: child writing 8+4827 bytes to 6 1069s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1069s # GLib-DEBUG: io-channel-basic: ...from 5: 4827 bytes 1069s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1069s # GLib-DEBUG: io-channel-basic: child writing 8+3147 bytes to 6 1069s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1069s # GLib-DEBUG: io-channel-basic: ...from 5: 3147 bytes 1069s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1070s # GLib-DEBUG: io-channel-basic: child writing 8+3233 bytes to 6 1070s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1070s # GLib-DEBUG: io-channel-basic: ...from 5: 3233 bytes 1070s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1070s # GLib-DEBUG: io-channel-basic: child writing 8+2480 bytes to 6 1070s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1070s # GLib-DEBUG: io-channel-basic: ...from 5: 2480 bytes 1070s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1070s # GLib-DEBUG: io-channel-basic: child writing 8+2360 bytes to 6 1070s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1070s # GLib-DEBUG: io-channel-basic: ...from 5: 2360 bytes 1070s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1070s # GLib-DEBUG: io-channel-basic: child writing 8+1126 bytes to 6 1070s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1070s # GLib-DEBUG: io-channel-basic: ...from 5: 1126 bytes 1070s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1071s # GLib-DEBUG: io-channel-basic: child writing 8+3428 bytes to 6 1071s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1071s # GLib-DEBUG: io-channel-basic: ...from 5: 3428 bytes 1071s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1071s # GLib-DEBUG: io-channel-basic: child writing 8+1479 bytes to 6 1071s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1071s # GLib-DEBUG: io-channel-basic: ...from 5: 1479 bytes 1071s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1071s # GLib-DEBUG: io-channel-basic: child writing 8+3476 bytes to 6 1071s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1071s # GLib-DEBUG: io-channel-basic: ...from 5: 3476 bytes 1071s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1071s # GLib-DEBUG: io-channel-basic: child writing 8+2571 bytes to 6 1071s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1071s # GLib-DEBUG: io-channel-basic: ...from 5: 2571 bytes 1071s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1072s # GLib-DEBUG: io-channel-basic: child writing 8+3794 bytes to 6 1072s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1072s # GLib-DEBUG: io-channel-basic: ...from 5: 3794 bytes 1072s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1072s # GLib-DEBUG: io-channel-basic: child writing 8+4430 bytes to 6 1072s # GLib-DEBUG: io-channel-basic: child exiting, closing 6 1072s # GLib-DEBUG: io-channel-basic: ...from 5: HUP IN 1072s # GLib-DEBUG: io-channel-basic: ...from 5: 4430 bytes 1072s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1072s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1072s # random seed: R02S8c7db909c75809a3dbaf03fa318f218f 1072s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1072s # random seed: R02S56b542d55d4019cbdd36f8dc89f76b28 1072s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1072s # random seed: R02Sd7dd4731580c24b2c745bd7cb2ad6f9b 1072s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1072s # random seed: R02Sc977197c50c322b2f98793516dc2d700 1072s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1072s # random seed: R02Sfac6d3acb0912a7cde1fa2e59340b6a1 1072s # GLib-DEBUG: io-channel-basic: child writing 8+3716 bytes to 17 1072s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1072s # GLib-DEBUG: io-channel-basic: ...from 16: 3716 bytes 1072s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1072s # GLib-DEBUG: io-channel-basic: child writing 8+1370 bytes to 11 1072s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1072s # GLib-DEBUG: io-channel-basic: ...from 10: 1370 bytes 1072s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1072s # GLib-DEBUG: io-channel-basic: child writing 8+881 bytes to 9 1072s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1072s # GLib-DEBUG: io-channel-basic: ...from 8: 881 bytes 1072s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1072s # GLib-DEBUG: io-channel-basic: child writing 8+1109 bytes to 15 1072s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1072s # GLib-DEBUG: io-channel-basic: ...from 14: 1109 bytes 1072s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1072s # GLib-DEBUG: io-channel-basic: child writing 8+1326 bytes to 13 1072s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1072s # GLib-DEBUG: io-channel-basic: ...from 12: 1326 bytes 1072s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1072s # GLib-DEBUG: io-channel-basic: child writing 8+3561 bytes to 9 1072s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1072s # GLib-DEBUG: io-channel-basic: ...from 8: 3561 bytes 1072s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1073s # GLib-DEBUG: io-channel-basic: child writing 8+4383 bytes to 11 1073s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1073s # GLib-DEBUG: io-channel-basic: ...from 10: 4383 bytes 1073s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1073s # GLib-DEBUG: io-channel-basic: child writing 8+1681 bytes to 17 1073s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1073s # GLib-DEBUG: io-channel-basic: ...from 16: 1681 bytes 1073s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1073s # GLib-DEBUG: io-channel-basic: child writing 8+529 bytes to 13 1073s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1073s # GLib-DEBUG: io-channel-basic: ...from 12: 529 bytes 1073s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1073s # GLib-DEBUG: io-channel-basic: child writing 8+4331 bytes to 15 1073s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1073s # GLib-DEBUG: io-channel-basic: ...from 14: 4331 bytes 1073s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1073s # GLib-DEBUG: io-channel-basic: child writing 8+3555 bytes to 9 1073s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1073s # GLib-DEBUG: io-channel-basic: ...from 8: 3555 bytes 1073s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1073s # GLib-DEBUG: io-channel-basic: child writing 8+4682 bytes to 11 1073s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1073s # GLib-DEBUG: io-channel-basic: ...from 10: 4682 bytes 1073s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1073s # GLib-DEBUG: io-channel-basic: child writing 8+33 bytes to 15 1073s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1073s # GLib-DEBUG: io-channel-basic: ...from 14: 33 bytes 1073s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1073s # GLib-DEBUG: io-channel-basic: child writing 8+1098 bytes to 17 1073s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1073s # GLib-DEBUG: io-channel-basic: ...from 16: 1098 bytes 1073s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1073s # GLib-DEBUG: io-channel-basic: child writing 8+4407 bytes to 13 1073s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1073s # GLib-DEBUG: io-channel-basic: ...from 12: 4407 bytes 1073s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1073s # GLib-DEBUG: io-channel-basic: child writing 8+899 bytes to 9 1073s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1073s # GLib-DEBUG: io-channel-basic: ...from 8: 899 bytes 1073s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1073s # GLib-DEBUG: io-channel-basic: child writing 8+1580 bytes to 15 1073s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1073s # GLib-DEBUG: io-channel-basic: ...from 14: 1580 bytes 1073s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1073s # GLib-DEBUG: io-channel-basic: child writing 8+851 bytes to 17 1073s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1073s # GLib-DEBUG: io-channel-basic: ...from 16: 851 bytes 1073s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1073s # GLib-DEBUG: io-channel-basic: child writing 8+1255 bytes to 11 1073s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1073s # GLib-DEBUG: io-channel-basic: ...from 10: 1255 bytes 1073s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1073s # GLib-DEBUG: io-channel-basic: child writing 8+1585 bytes to 13 1073s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1073s # GLib-DEBUG: io-channel-basic: ...from 12: 1585 bytes 1073s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1073s # GLib-DEBUG: io-channel-basic: child writing 8+3155 bytes to 9 1073s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1073s # GLib-DEBUG: io-channel-basic: ...from 8: 3155 bytes 1073s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1073s # GLib-DEBUG: io-channel-basic: child writing 8+1385 bytes to 11 1073s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1073s # GLib-DEBUG: io-channel-basic: ...from 10: 1385 bytes 1073s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1073s # GLib-DEBUG: io-channel-basic: child writing 8+4744 bytes to 15 1073s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1073s # GLib-DEBUG: io-channel-basic: ...from 14: 4744 bytes 1073s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1073s # GLib-DEBUG: io-channel-basic: child writing 8+1057 bytes to 17 1073s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1073s # GLib-DEBUG: io-channel-basic: ...from 16: 1057 bytes 1073s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1073s # GLib-DEBUG: io-channel-basic: child writing 8+1799 bytes to 13 1073s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1073s # GLib-DEBUG: io-channel-basic: ...from 12: 1799 bytes 1073s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1074s # GLib-DEBUG: io-channel-basic: child writing 8+4842 bytes to 9 1074s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1074s # GLib-DEBUG: io-channel-basic: ...from 8: 4842 bytes 1074s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1074s # GLib-DEBUG: io-channel-basic: child writing 8+32 bytes to 11 1074s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1074s # GLib-DEBUG: io-channel-basic: ...from 10: 32 bytes 1074s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1074s # GLib-DEBUG: io-channel-basic: child writing 8+1740 bytes to 15 1074s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1074s # GLib-DEBUG: io-channel-basic: ...from 14: 1740 bytes 1074s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1074s # GLib-DEBUG: io-channel-basic: child writing 8+301 bytes to 17 1074s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1074s # GLib-DEBUG: io-channel-basic: ...from 16: 301 bytes 1074s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1074s # GLib-DEBUG: io-channel-basic: child writing 8+4298 bytes to 13 1074s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1074s # GLib-DEBUG: io-channel-basic: ...from 12: 4298 bytes 1074s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1074s # Executing: glib/io-channel-basic.test 1074s # GLib-DEBUG: io-channel-basic: child writing 8+3992 bytes to 9 1074s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1074s # GLib-DEBUG: io-channel-basic: ...from 8: 3992 bytes 1074s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1074s # GLib-DEBUG: io-channel-basic: child writing 8+1601 bytes to 11 1074s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1074s # GLib-DEBUG: io-channel-basic: ...from 10: 1601 bytes 1074s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1074s # GLib-DEBUG: io-channel-basic: child writing 8+3585 bytes to 17 1074s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1074s # GLib-DEBUG: io-channel-basic: ...from 16: 3585 bytes 1074s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1074s # GLib-DEBUG: io-channel-basic: child writing 8+1150 bytes to 15 1074s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1074s # GLib-DEBUG: io-channel-basic: ...from 14: 1150 bytes 1074s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1074s # GLib-DEBUG: io-channel-basic: child writing 8+4134 bytes to 13 1074s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1074s # GLib-DEBUG: io-channel-basic: ...from 12: 4134 bytes 1074s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1074s # GLib-DEBUG: io-channel-basic: child writing 8+2434 bytes to 9 1074s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1074s # GLib-DEBUG: io-channel-basic: ...from 8: 2434 bytes 1074s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1074s # GLib-DEBUG: io-channel-basic: child writing 8+1267 bytes to 17 1074s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1074s # GLib-DEBUG: io-channel-basic: ...from 16: 1267 bytes 1074s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1074s # GLib-DEBUG: io-channel-basic: child writing 8+422 bytes to 11 1074s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1074s # GLib-DEBUG: io-channel-basic: ...from 10: 422 bytes 1074s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1074s # GLib-DEBUG: io-channel-basic: child writing 8+3610 bytes to 15 1074s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1074s # GLib-DEBUG: io-channel-basic: ...from 14: 3610 bytes 1074s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1074s # GLib-DEBUG: io-channel-basic: child writing 8+4699 bytes to 13 1074s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1074s # GLib-DEBUG: io-channel-basic: ...from 12: 4699 bytes 1074s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1074s # GLib-DEBUG: io-channel-basic: child writing 8+1779 bytes to 9 1074s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1074s # GLib-DEBUG: io-channel-basic: ...from 8: 1779 bytes 1074s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1074s # GLib-DEBUG: io-channel-basic: child writing 8+2171 bytes to 17 1074s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1074s # GLib-DEBUG: io-channel-basic: ...from 16: 2171 bytes 1074s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1074s # GLib-DEBUG: io-channel-basic: child writing 8+3394 bytes to 15 1074s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1074s # GLib-DEBUG: io-channel-basic: ...from 14: 3394 bytes 1074s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1074s # GLib-DEBUG: io-channel-basic: child writing 8+4025 bytes to 11 1074s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1074s # GLib-DEBUG: io-channel-basic: ...from 10: 4025 bytes 1074s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1074s # GLib-DEBUG: io-channel-basic: child writing 8+3331 bytes to 13 1074s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1074s # GLib-DEBUG: io-channel-basic: ...from 12: 3331 bytes 1074s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1075s # GLib-DEBUG: io-channel-basic: child writing 8+2519 bytes to 9 1075s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1075s # GLib-DEBUG: io-channel-basic: ...from 8: 2519 bytes 1075s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1075s # GLib-DEBUG: io-channel-basic: child writing 8+3617 bytes to 17 1075s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1075s # GLib-DEBUG: io-channel-basic: ...from 16: 3617 bytes 1075s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1075s # GLib-DEBUG: io-channel-basic: child writing 8+3219 bytes to 11 1075s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1075s # GLib-DEBUG: io-channel-basic: ...from 10: 3219 bytes 1075s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1075s # GLib-DEBUG: io-channel-basic: child writing 8+3561 bytes to 15 1075s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1075s # GLib-DEBUG: io-channel-basic: ...from 14: 3561 bytes 1075s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1075s # GLib-DEBUG: io-channel-basic: child writing 8+387 bytes to 13 1075s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1075s # GLib-DEBUG: io-channel-basic: ...from 12: 387 bytes 1075s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1075s # GLib-DEBUG: io-channel-basic: child writing 8+176 bytes to 9 1075s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1075s # GLib-DEBUG: io-channel-basic: ...from 8: 176 bytes 1075s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1075s # GLib-DEBUG: io-channel-basic: child writing 8+3208 bytes to 15 1075s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1075s # GLib-DEBUG: io-channel-basic: ...from 14: 3208 bytes 1075s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1075s # GLib-DEBUG: io-channel-basic: child writing 8+2730 bytes to 17 1075s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1075s # GLib-DEBUG: io-channel-basic: ...from 16: 2730 bytes 1075s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1075s # GLib-DEBUG: io-channel-basic: child writing 8+4291 bytes to 11 1075s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1075s # GLib-DEBUG: io-channel-basic: ...from 10: 4291 bytes 1075s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1075s # GLib-DEBUG: io-channel-basic: child writing 8+4844 bytes to 13 1075s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1075s # GLib-DEBUG: io-channel-basic: ...from 12: 4844 bytes 1075s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1075s # GLib-DEBUG: io-channel-basic: child writing 8+3346 bytes to 9 1075s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1075s # GLib-DEBUG: io-channel-basic: ...from 8: 3346 bytes 1075s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1075s # GLib-DEBUG: io-channel-basic: child writing 8+1476 bytes to 15 1075s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1075s # GLib-DEBUG: io-channel-basic: ...from 14: 1476 bytes 1075s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1075s # GLib-DEBUG: io-channel-basic: child writing 8+751 bytes to 17 1075s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1075s # GLib-DEBUG: io-channel-basic: ...from 16: 751 bytes 1075s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1075s # GLib-DEBUG: io-channel-basic: child writing 8+3441 bytes to 11 1075s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1075s # GLib-DEBUG: io-channel-basic: ...from 10: 3441 bytes 1075s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1075s # GLib-DEBUG: io-channel-basic: child writing 8+931 bytes to 13 1075s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1075s # GLib-DEBUG: io-channel-basic: ...from 12: 931 bytes 1075s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1075s # GLib-DEBUG: io-channel-basic: child writing 8+1805 bytes to 9 1075s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1075s # GLib-DEBUG: io-channel-basic: ...from 8: 1805 bytes 1075s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1075s # GLib-DEBUG: io-channel-basic: child writing 8+3099 bytes to 15 1075s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1075s # GLib-DEBUG: io-channel-basic: ...from 14: 3099 bytes 1075s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1075s # GLib-DEBUG: io-channel-basic: child writing 8+1876 bytes to 17 1075s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1075s # GLib-DEBUG: io-channel-basic: ...from 16: 1876 bytes 1075s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1075s # GLib-DEBUG: io-channel-basic: child writing 8+4077 bytes to 13 1075s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1075s # GLib-DEBUG: io-channel-basic: ...from 12: 4077 bytes 1075s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1075s # GLib-DEBUG: io-channel-basic: child writing 8+4245 bytes to 11 1075s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1075s # GLib-DEBUG: io-channel-basic: ...from 10: 4245 bytes 1075s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1076s # GLib-DEBUG: io-channel-basic: child writing 8+4665 bytes to 9 1076s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1076s # GLib-DEBUG: io-channel-basic: ...from 8: 4665 bytes 1076s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1076s # GLib-DEBUG: io-channel-basic: child writing 8+835 bytes to 15 1076s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1076s # GLib-DEBUG: io-channel-basic: ...from 14: 835 bytes 1076s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1076s # GLib-DEBUG: io-channel-basic: child writing 8+1692 bytes to 17 1076s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1076s # GLib-DEBUG: io-channel-basic: ...from 16: 1692 bytes 1076s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1076s # GLib-DEBUG: io-channel-basic: child writing 8+1155 bytes to 13 1076s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1076s # GLib-DEBUG: io-channel-basic: ...from 12: 1155 bytes 1076s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1076s # GLib-DEBUG: io-channel-basic: child writing 8+2857 bytes to 11 1076s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1076s # GLib-DEBUG: io-channel-basic: ...from 10: 2857 bytes 1076s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1076s # GLib-DEBUG: io-channel-basic: child writing 8+1919 bytes to 9 1076s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1076s # GLib-DEBUG: io-channel-basic: ...from 8: 1919 bytes 1076s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1076s # GLib-DEBUG: io-channel-basic: child writing 8+787 bytes to 15 1076s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1076s # GLib-DEBUG: io-channel-basic: ...from 14: 787 bytes 1076s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1076s # GLib-DEBUG: io-channel-basic: child writing 8+241 bytes to 17 1076s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1076s # GLib-DEBUG: io-channel-basic: ...from 16: 241 bytes 1076s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1076s # GLib-DEBUG: io-channel-basic: child writing 8+3585 bytes to 13 1076s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1076s # GLib-DEBUG: io-channel-basic: ...from 12: 3585 bytes 1076s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1076s # GLib-DEBUG: io-channel-basic: child writing 8+1428 bytes to 11 1076s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1076s # GLib-DEBUG: io-channel-basic: ...from 10: 1428 bytes 1076s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1076s # GLib-DEBUG: io-channel-basic: child writing 8+3513 bytes to 9 1076s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1076s # GLib-DEBUG: io-channel-basic: ...from 8: 3513 bytes 1076s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1076s # GLib-DEBUG: io-channel-basic: child writing 8+464 bytes to 15 1076s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1076s # GLib-DEBUG: io-channel-basic: ...from 14: 464 bytes 1076s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1076s # GLib-DEBUG: io-channel-basic: child writing 8+2206 bytes to 17 1076s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1076s # GLib-DEBUG: io-channel-basic: ...from 16: 2206 bytes 1076s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1076s # GLib-DEBUG: io-channel-basic: child writing 8+1159 bytes to 13 1076s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1076s # GLib-DEBUG: io-channel-basic: ...from 12: 1159 bytes 1076s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1076s # GLib-DEBUG: io-channel-basic: child writing 8+2597 bytes to 11 1076s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1076s # GLib-DEBUG: io-channel-basic: ...from 10: 2597 bytes 1076s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1076s # GLib-DEBUG: io-channel-basic: child writing 8+3453 bytes to 9 1076s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1076s # GLib-DEBUG: io-channel-basic: ...from 8: 3453 bytes 1076s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1076s # GLib-DEBUG: io-channel-basic: child writing 8+1683 bytes to 15 1076s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1076s # GLib-DEBUG: io-channel-basic: ...from 14: 1683 bytes 1076s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1076s # GLib-DEBUG: io-channel-basic: child writing 8+1670 bytes to 13 1076s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1076s # GLib-DEBUG: io-channel-basic: ...from 12: 1670 bytes 1076s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1076s # GLib-DEBUG: io-channel-basic: child writing 8+2562 bytes to 17 1076s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1076s # GLib-DEBUG: io-channel-basic: ...from 16: 2562 bytes 1076s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1076s # GLib-DEBUG: io-channel-basic: child writing 8+1921 bytes to 11 1076s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1076s # GLib-DEBUG: io-channel-basic: ...from 10: 1921 bytes 1076s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1077s # GLib-DEBUG: io-channel-basic: child writing 8+2564 bytes to 9 1077s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1077s # GLib-DEBUG: io-channel-basic: ...from 8: 2564 bytes 1077s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1077s # GLib-DEBUG: io-channel-basic: child writing 8+479 bytes to 15 1077s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1077s # GLib-DEBUG: io-channel-basic: ...from 14: 479 bytes 1077s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1077s # GLib-DEBUG: io-channel-basic: child writing 8+4206 bytes to 17 1077s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1077s # GLib-DEBUG: io-channel-basic: ...from 16: 4206 bytes 1077s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1077s # GLib-DEBUG: io-channel-basic: child writing 8+3495 bytes to 13 1077s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1077s # GLib-DEBUG: io-channel-basic: ...from 12: 3495 bytes 1077s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1077s # GLib-DEBUG: io-channel-basic: child writing 8+1353 bytes to 11 1077s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1077s # GLib-DEBUG: io-channel-basic: ...from 10: 1353 bytes 1077s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1077s # GLib-DEBUG: io-channel-basic: child writing 8+3592 bytes to 9 1077s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1077s # GLib-DEBUG: io-channel-basic: ...from 8: 3592 bytes 1077s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1077s # GLib-DEBUG: io-channel-basic: child writing 8+2403 bytes to 15 1077s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1077s # GLib-DEBUG: io-channel-basic: ...from 14: 2403 bytes 1077s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1077s # GLib-DEBUG: io-channel-basic: child writing 8+4798 bytes to 13 1077s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1077s # GLib-DEBUG: io-channel-basic: ...from 12: 4798 bytes 1077s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1077s # GLib-DEBUG: io-channel-basic: child writing 8+1634 bytes to 17 1077s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1077s # GLib-DEBUG: io-channel-basic: ...from 16: 1634 bytes 1077s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1077s # GLib-DEBUG: io-channel-basic: child writing 8+3490 bytes to 11 1077s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1077s # GLib-DEBUG: io-channel-basic: ...from 10: 3490 bytes 1077s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1077s # GLib-DEBUG: io-channel-basic: child writing 8+1884 bytes to 9 1077s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1077s # GLib-DEBUG: io-channel-basic: ...from 8: 1884 bytes 1077s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1077s # GLib-DEBUG: io-channel-basic: child writing 8+3688 bytes to 15 1077s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1077s # GLib-DEBUG: io-channel-basic: ...from 14: 3688 bytes 1077s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1077s # GLib-DEBUG: io-channel-basic: child writing 8+548 bytes to 17 1077s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1077s # GLib-DEBUG: io-channel-basic: ...from 16: 548 bytes 1077s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1077s # GLib-DEBUG: io-channel-basic: child writing 8+4099 bytes to 13 1077s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1077s # GLib-DEBUG: io-channel-basic: ...from 12: 4099 bytes 1077s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1077s # GLib-DEBUG: io-channel-basic: child writing 8+3034 bytes to 11 1077s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1077s # GLib-DEBUG: io-channel-basic: ...from 10: 3034 bytes 1077s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1077s # GLib-DEBUG: io-channel-basic: child writing 8+3245 bytes to 9 1077s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1077s # GLib-DEBUG: io-channel-basic: ...from 8: 3245 bytes 1077s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1077s # GLib-DEBUG: io-channel-basic: child writing 8+518 bytes to 15 1077s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1077s # GLib-DEBUG: io-channel-basic: child exiting, closing 15 1077s # GLib-DEBUG: io-channel-basic: ...from 14: 518 bytes 1077s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1077s # GLib-DEBUG: io-channel-basic: ...from 14: HUP 1078s # GLib-DEBUG: io-channel-basic: child writing 8+3589 bytes to 17 1078s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1078s # GLib-DEBUG: io-channel-basic: ...from 16: 3589 bytes 1078s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1078s # GLib-DEBUG: io-channel-basic: child writing 8+2368 bytes to 13 1078s # GLib-DEBUG: io-channel-basic: child exiting, closing 13 1078s # GLib-DEBUG: io-channel-basic: ...from 12: HUP IN 1078s # GLib-DEBUG: io-channel-basic: ...from 12: 2368 bytes 1078s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1078s # GLib-DEBUG: io-channel-basic: child writing 8+1223 bytes to 11 1078s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1078s # GLib-DEBUG: io-channel-basic: ...from 10: 1223 bytes 1078s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1078s # GLib-DEBUG: io-channel-basic: child writing 8+2946 bytes to 9 1078s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1078s # GLib-DEBUG: io-channel-basic: ...from 8: 2946 bytes 1078s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1078s # GLib-DEBUG: io-channel-basic: child writing 8+314 bytes to 17 1078s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1078s # GLib-DEBUG: io-channel-basic: ...from 16: 314 bytes 1078s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1078s # GLib-DEBUG: io-channel-basic: child writing 8+3582 bytes to 11 1078s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1078s # GLib-DEBUG: io-channel-basic: ...from 10: 3582 bytes 1078s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1078s # GLib-DEBUG: io-channel-basic: child writing 8+837 bytes to 9 1078s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1078s # GLib-DEBUG: io-channel-basic: ...from 8: 837 bytes 1078s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1078s # GLib-DEBUG: io-channel-basic: child writing 8+2103 bytes to 17 1078s # GLib-DEBUG: io-channel-basic: child exiting, closing 17 1078s # GLib-DEBUG: io-channel-basic: ...from 16: HUP IN 1078s # GLib-DEBUG: io-channel-basic: ...from 16: 2103 bytes 1078s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1078s # GLib-DEBUG: io-channel-basic: child writing 8+1323 bytes to 11 1078s # GLib-DEBUG: io-channel-basic: child exiting, closing 11 1078s # GLib-DEBUG: io-channel-basic: ...from 10: HUP IN 1078s # GLib-DEBUG: io-channel-basic: ...from 10: 1323 bytes 1078s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1078s # GLib-DEBUG: io-channel-basic: child writing 8+2400 bytes to 9 1078s # GLib-DEBUG: io-channel-basic: child exiting, closing 9 1078s # GLib-DEBUG: io-channel-basic: ...from 8: HUP IN 1078s # GLib-DEBUG: io-channel-basic: ...from 8: 2400 bytes 1078s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1078s ok 1 /gio/io-basics 1078s # slow test /gio/io-basics executed in 11.41 secs 1078s # End of gio tests 1078s ok - glib/io-channel-basic.test 1078s # Running test: glib/uri.test 1078s TAP version 14 1078s # random seed: R02Sa86c72723a63abc0cf5066afabd265f6 1078s 1..24 1078s # Start of uri tests 1078s ok 1 /uri/file-to-uri 1078s ok 2 /uri/file-from-uri 1078s ok 3 /uri/file-roundtrip 1078s ok 4 /uri/list 1078s # Test 0: %2Babc %4F 1078s # Test 1: %2Babc %4F 1078s # Test 2: %00abc %4F 1078s # Test 3: /cursors/none.png 1078s # Test 4: /cursors%2fbad-subdir/none.png 1078s # Test 5: %0 1078s # Test 6: %ra 1078s # Test 7: %2r 1078s # Test 8: Timm B?der 1078s # Test 9: (null) 1078s ok 5 /uri/unescape-string 1078s ok 6 /uri/unescape-segment 1078s # Test 0: abcdefgABCDEFG._~ 1078s # Test 1: :+ \\?# 1078s # Test 2: a+b:c 1078s # Test 3: a+b:c\303\234 1078s # Test 4: \374;\322 1078s # Test 5: \303\261\303( 1078s ok 7 /uri/escape-string 1078s ok 8 /uri/escape-bytes 1078s ok 9 /uri/scheme 1078s ok 10 /uri/build 1078s ok 11 /uri/split 1078s ok 12 /uri/is_valid 1078s ok 13 /uri/to-string 1078s ok 14 /uri/join 1078s # /uri/join-split-round-trip summary: Test that joining different URI components survives a round trip 1078s # Combination 0 1078s # Combination 1 1078s # Combination 2 1078s # Combination 3 1078s # Combination 4 1078s # Combination 5 1078s # Combination 6 1078s # Combination 7 1078s # Combination 8 1078s # Combination 9 1078s # Combination 10 1078s # Combination 11 1078s # Combination 12 1078s # Combination 13 1078s # Combination 14 1078s # Combination 15 1078s # Combination 16 1078s # Combination 17 1078s # Combination 18 1078s # Combination 19 1078s # Combination 20 1078s # Combination 21 1078s # Combination 22 1078s # Combination 23 1078s # Combination 24 1078s # Combination 25 1078s # Combination 26 1078s # Combination 27 1078s # Combination 28 1078s # Combination 29 1078s # Combination 30 1078s # Combination 31 1078s # Combination 32 1078s # Combination 33 1078s # Combination 34 1078s # Combination 35 1078s # Combination 36 1078s # Combination 37 1078s # Combination 38 1078s # Combination 39 1078s # Combination 40 1078s # Combination 41 1078s # Combination 42 1078s # Combination 43 1078s # Combination 44 1078s # Combination 45 1078s # Combination 46 1078s # Combination 47 1078s # Combination 48 1078s # Combination 49 1078s # Combination 50 1078s # Combination 51 1078s # Combination 52 1078s # Combination 53 1078s # Combination 54 1078s # Combination 55 1078s # Combination 56 1078s # Combination 57 1078s # Combination 58 1078s # Combination 59 1078s # Combination 60 1078s # Combination 61 1078s # Combination 62 1078s # Combination 63 1078s # Combination 64 1078s # Combination 65 1078s # Combination 66 1078s # Combination 67 1078s # Combination 68 1078s # Combination 69 1078s # Combination 70 1078s # Combination 71 1078s # Combination 72 1078s # Combination 73 1078s # Combination 74 1078s # Combination 75 1078s # Combination 76 1078s # Combination 77 1078s # Combination 78 1078s # Combination 79 1078s # Combination 80 1078s # Combination 81 1078s # Combination 82 1078s # Combination 83 1078s # Combination 84 1078s # Combination 85 1078s # Combination 86 1078s # Combination 87 1078s # Combination 88 1078s # Combination 89 1078s # Combination 90 1078s # Combination 91 1078s # Combination 92 1078s # Combination 93 1078s # Combination 94 1078s # Combination 95 1078s # Combination 96 1078s # Combination 97 1078s # Combination 98 1078s # Combination 99 1078s # Combination 100 1078s # Combination 101 1078s # Combination 102 1078s # Combination 103 1078s # Combination 104 1078s # Combination 105 1078s # Combination 106 1078s # Combination 107 1078s # Combination 108 1078s # Combination 109 1078s # Combination 110 1078s # Combination 111 1078s # Combination 112 1078s # Combination 113 1078s # Combination 114 1078s # Combination 115 1078s # Combination 116 1078s # Combination 117 1078s # Combination 118 1078s # Combination 119 1078s # Combination 120 1078s # Combination 121 1078s # Combination 122 1078s # Combination 123 1078s # Combination 124 1078s # Combination 125 1078s # Combination 126 1078s # Combination 127 1078s # Combination 128 1078s # Combination 129 1078s # Combination 130 1078s # Combination 131 1078s # Combination 132 1078s # Combination 133 1078s # Combination 134 1078s # Combination 135 1078s # Combination 136 1078s # Combination 137 1078s # Combination 138 1078s # Combination 139 1078s # Combination 140 1078s # Combination 141 1078s # Combination 142 1078s # Combination 143 1078s # Combination 144 1078s # Combination 145 1078s # Combination 146 1078s # Combination 147 1078s # Combination 148 1078s # Combination 149 1078s # Combination 150 1078s # Combination 151 1078s # Combination 152 1078s # Combination 153 1078s # Combination 154 1078s # Combination 155 1078s # Combination 156 1078s # Combination 157 1078s # Combination 158 1078s # Combination 159 1078s # Combination 160 1078s # Combination 161 1078s # Combination 162 1078s # Combination 163 1078s # Combination 164 1078s # Combination 165 1078s # Combination 166 1078s # Combination 167 1078s # Combination 168 1078s # Combination 169 1078s # Combination 170 1078s # Combination 171 1078s # Combination 172 1078s # Combination 173 1078s # Combination 174 1078s # Combination 175 1078s # Combination 176 1078s # Combination 177 1078s # Combination 178 1078s # Combination 179 1078s # Combination 180 1078s # Combination 181 1078s # Combination 182 1078s # Combination 183 1078s # Combination 184 1078s # Combination 185 1078s # Combination 186 1078s # Combination 187 1078s # Combination 188 1078s # Combination 189 1078s # Combination 190 1078s # Combination 191 1078s # Combination 192 1078s # Combination 193 1078s # Combination 194 1078s # Combination 195 1078s # Combination 196 1078s # Combination 197 1078s # Combination 198 1078s # Combination 199 1078s # Combination 200 1078s # Combination 201 1078s # Combination 202 1078s # Combination 203 1078s # Combination 204 1078s # Combination 205 1078s # Combination 206 1078s # Combination 207 1078s # Combination 208 1078s # Combination 209 1078s # Combination 210 1078s # Combination 211 1078s # Combination 212 1078s # Combination 213 1078s # Combination 214 1078s # Combination 215 1078s # Combination 216 1078s # Combination 217 1078s # Combination 218 1078s # Combination 219 1078s # Combination 220 1078s # Combination 221 1078s # Combination 222 1078s # Combination 223 1078s # Combination 224 1078s # Combination 225 1078s # Combination 226 1078s # Combination 227 1078s # Combination 228 1078s # Combination 229 1078s # Combination 230 1078s # Combination 231 1078s # Combination 232 1078s # Combination 233 1078s # Combination 234 1078s # Combination 235 1078s # Combination 236 1078s # Combination 237 1078s # Combination 238 1078s # Combination 239 1078s # Combination 240 1078s # Combination 241 1078s # Combination 242 1078s # Combination 243 1078s # Combination 244 1078s # Combination 245 1078s # Combination 246 1078s # Combination 247 1078s # Combination 248 1078s # Combination 249 1078s # Combination 250 1078s # Combination 251 1078s # Combination 252 1078s # Combination 253 1078s # Combination 254 1078s # Combination 255 1078s ok 15 /uri/join-split-round-trip 1078s ok 16 /uri/normalize 1078s # Start of unescape-bytes tests 1078s # Test 0: %00%00 1078s # Test 1: /cursors/none.png 1078s # Test 2: /cursors%2fbad-subdir/none.png 1078s # Test 3: %% 1078s # Test 4: % 1078s ok 17 /uri/unescape-bytes/nul-terminated 1078s # Test 0: %00%00 1078s # Test 1: /cursors/none.png 1078s # Test 2: /cursors%2fbad-subdir/none.png 1078s # Test 3: %% 1078s # Test 4: % 1078s ok 18 /uri/unescape-bytes/length 1078s # End of unescape-bytes tests 1078s # Start of parsing tests 1078s # Test 0: foo: 1078s # Test 1: file:/dev/null 1078s # Test 2: file:///dev/null 1078s # Test 3: ftp://user@host/path 1078s # Test 4: ftp://user@host:9999/path 1078s # Test 5: ftp://user:password@host/path 1078s # Test 6: ftp://user:password@host:9999/path 1078s # Test 7: ftp://user:password@host 1078s # Test 8: http://us%65r@host 1078s # Test 9: http://us%40r@host 1078s # Test 10: http://us%3ar@host 1078s # Test 11: http://us%2fr@host 1078s # Test 12: http://us%3fr@host 1078s # Test 13: http://host?query 1078s # Test 14: http://host/path?query=http%3A%2F%2Fhost%2Fpath%3Fchildparam%3Dchildvalue¶m=value 1078s # 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 1078s # Test 16: http://space/%20 1078s # Test 17: http://delims/%3C%3E%23%25%22 1078s # Test 18: http://unwise-chars/%7B%7D%7C%5C%5E%5B%5D%60 1078s # Test 19: http://[FEDC:BA98:7654:3210:FEDC:BA98:7654:3210]:80/index.html 1078s # Test 20: http://[1080:0:0:0:8:800:200C:417A]/index.html 1078s # Test 21: http://[3ffe:2a00:100:7031::1] 1078s # Test 22: http://[1080::8:800:200C:417A]/foo 1078s # Test 23: http://[::192.9.5.5]/ipng 1078s # Test 24: http://[::FFFF:129.144.52.38]:80/index.html 1078s # Test 25: http://[2010:836B:4179::836B:4179] 1078s # Test 26: http://host/path with spaces 1078s # Test 27: http://host/path 1078s # Test 28: http://host/path 1078s # Test 29: http://host 1078s # Test 30: http://host:999 1078s # Test 31: http://host/pa 1078s # th 1078s # Test 32: http: 1078s # //host/path 1078s # Test 33: http:// host/path 1078s # Test 34: http://host/path? 1078s # Test 35: http://host/path# 1078s # Test 36: http://host/path% 1078s # Test 37: http://h%ost/path 1078s # Test 38: http://host/path%% 1078s # Test 39: http://host/path%%% 1078s # Test 40: http://host/path%/x/ 1078s # Test 41: http://host/path%0x/ 1078s # Test 42: http://host/path%ax 1078s # Test 43: http://host/p?th/ 1078s # Test 44: HTTP://////////////// 1078s # Test 45: http://@host 1078s # Test 46: http://:@host 1078s # Test 47: scheme://foo%3Abar._webdav._tcp.local 1078s # Test 48: http://example.com/.. 1078s # Test 49: foo0://host/path 1078s # Test 50: f0.o://host/path 1078s # Test 51: http++://host/path 1078s # Test 52: http-ish://host/path 1078s # Test 53: http://[fe80::dead:beef%]/ 1078s # Test 54: http://[fe80::dead:beef%em1]/ 1078s # Test 55: http://[fe80::dead:beef%em1]/ 1078s # Test 56: http://[fe80::dead:beef%25em1]/ 1078s # Test 57: http://[fe80::dead:beef%25em1%20]/ 1078s # Test 58: http://[fe80::dead:beef%25em%31]/ 1078s # Test 59: http://[fe80::dead:beef%10]/ 1078s # Test 60: http://[fe80::dead:beef%10]/ 1078s # Test 61: http://[fe80::dead:beef%25]/ 1078s # Test 62: http://[fe80::dead:beef%25]/ 1078s # Test 63: http://[192.168.0.1%25em1]/ 1078s # Test 64: http://[fe80::dead:beef%2em1]/ 1078s # Test 65: http://[fe80::dead:beef%2em1]/ 1078s # Test 66: http://[fe80::dead:beef%25em1%00]/ 1078s # Test 67: http://[fe80::dead:beef%25em1%00]/ 1078s # Test 68: http://xn--mixed-?p/ 1078s ok 19 /uri/parsing/absolute 1078s ok 20 /uri/parsing/relative 1078s # End of parsing tests 1078s # Start of iter-params tests 1078s # URI 0: p1=foo&p2=bar;p3=baz 1078s # URI 1: p1=foo&p2=bar 1078s # URI 2: p1=foo&&P1=bar 1078s # URI 3: %00=foo 1078s # URI 4: p1=%00 1078s # URI 5: p1=foo&p1=bar 1078s # URI 6: p1=foo&P1=bar 1078s # URI 7: =% 1078s # URI 8: = 1078s # URI 9: foo 1078s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1078s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1078s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 1078s ok 21 /uri/iter-params/nul-terminated 1078s # URI 0: p1=foo&p2=bar;p3=baz 1078s # URI 1: p1=foo&p2=bar 1078s # URI 2: p1=foo&&P1=bar 1078s # URI 3: %00=foo 1078s # URI 4: p1=%00 1078s # URI 5: p1=foo&p1=bar 1078s # URI 6: p1=foo&P1=bar 1078s # URI 7: =% 1078s # URI 8: = 1078s # URI 9: foo 1078s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1078s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1078s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 1078s ok 22 /uri/iter-params/length 1078s # End of iter-params tests 1078s # Start of parse-params tests 1078s # URI 0: p1=foo&p2=bar;p3=baz 1078s # URI 1: p1=foo&p2=bar 1078s # URI 2: p1=foo&&P1=bar 1078s # URI 3: %00=foo 1078s # URI 4: p1=%00 1078s # URI 5: p1=foo&p1=bar 1078s # URI 6: p1=foo&P1=bar 1078s # URI 7: =% 1078s # URI 8: = 1078s # URI 9: foo 1078s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1078s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1078s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 1078s ok 23 /uri/parse-params/nul-terminated 1078s # URI 0: p1=foo&p2=bar;p3=baz 1078s # URI 1: p1=foo&p2=bar 1078s # URI 2: p1=foo&&P1=bar 1078s # URI 3: %00=foo 1078s # URI 4: p1=%00 1078s # URI 5: p1=foo&p1=bar 1078s # URI 6: p1=foo&P1=bar 1078s # URI 7: =% 1078s # URI 8: = 1078s # URI 9: foo 1078s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1078s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1078s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 1078s ok 24 /uri/parse-params/length 1078s # End of parse-params tests 1078s # End of uri tests 1078s ok - glib/uri.test 1078s # Running test: glib/macros-c-99.test 1078s TAP version 14 1078s # random seed: R02Sf1573516b15014a05c2009404406c2a7 1078s 1..4 1078s # Start of C tests 1078s ok 1 /C/standard-99 1078s # End of C tests 1078s # Start of alignof tests 1078s ok 2 /alignof/fallback 1078s # End of alignof tests 1078s # Start of assert tests 1078s ok 3 /assert/static 1078s # End of assert tests 1078s # Start of struct tests 1078s ok 4 /struct/sizeof_member 1078s # End of struct tests 1078s ok - glib/macros-c-99.test 1078s # Running test: glib/utils-c-11.test 1078s TAP version 14 1078s # random seed: R02S80dffd7aac59271af3e604d8dbfe9b2a 1078s 1..40 1078s # Start of utils tests 1078s ok 1 /utils/language-names 1078s ok 2 /utils/locale-variants 1078s ok 3 /utils/version 1078s ok 4 /utils/appname 1078s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1078s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1078s ok 5 /utils/prgname-thread-safety 1078s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1078s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1078s ok 6 /utils/tmpdir 1078s ok 7 /utils/basic_bits 1078s ok 8 /utils/bits 1078s ok 9 /utils/swap 1078s ok 10 /utils/find-program 1078s ok 11 /utils/find-program-for-path 1078s ok 12 /utils/debug 1078s ok 13 /utils/codeset 1078s ok 14 /utils/codeset2 1078s ok 15 /utils/console-charset 1078s ok 16 /utils/gettext 1078s ok 17 /utils/username 1078s ok 18 /utils/realname 1078s ok 19 /utils/hostname 1078s ok 20 /utils/xdgdirs 1078s ok 21 /utils/specialdir 1078s # NAME: Ubuntu 1078s ok 22 /utils/os-info 1078s ok 23 /utils/clear-pointer 1078s ok 24 /utils/clear-pointer-cast 1078s ok 25 /utils/take-pointer 1078s ok 26 /utils/clear-source 1078s ok 27 /utils/misc-mem 1078s # /utils/aligned-mem summary: Aligned memory allocator 1078s # Alignment must not be zero 1078s # Alignment must be a power of two 1078s # Alignment must be a multiple of sizeof(void*) 1078s ok 28 /utils/aligned-mem 1078s # /utils/free-sized summary: Check that g_free_sized() works 1078s ok 29 /utils/free-sized 1078s ok 30 /utils/nullify 1078s ok 31 /utils/atexit 1078s ok 32 /utils/check-setuid 1078s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1078s ok 33 /utils/int-limits 1078s ok 34 /utils/clear-list 1078s ok 35 /utils/clear-slist 1078s # Start of specialdir tests 1078s ok 36 /utils/specialdir/desktop 1078s # End of specialdir tests 1078s # Start of clear-pointer tests 1078s ok 37 /utils/clear-pointer/side-effects 1078s # End of clear-pointer tests 1078s # Start of aligned-mem tests 1078s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1078s ok 38 /utils/aligned-mem/alignment 1078s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1078s ok 39 /utils/aligned-mem/zeroed 1078s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1078s ok 40 /utils/aligned-mem/free-sized 1078s # Start of subprocess tests 1078s # End of subprocess tests 1078s # End of aligned-mem tests 1078s # End of utils tests 1078s ok - glib/utils-c-11.test 1078s # Running test: glib/defaultvalue.test 1078s TAP version 14 1078s # random seed: R02S3c70e064454e8843eac3a44836c246e6 1078s 1..84 1078s # Start of Default Values tests 1078s ok 1 /Default Values/GAppInfoMonitor # SKIP singleton 1078s ok 2 /Default Values/GAppLaunchContext 1078s ok 3 /Default Values/GApplicationCommandLine 1078s # skipping GApplication:is-remote 1078s ok 4 /Default Values/GApplication 1078s ok 5 /Default Values/GBinding # SKIP mandatory construct params 1078s ok 6 /Default Values/GBindingGroup 1078s ok 7 /Default Values/GBufferedInputStream # SKIP mandatory construct params 1078s ok 8 /Default Values/GBufferedOutputStream # SKIP mandatory construct params 1078s ok 9 /Default Values/GBytesIcon 1078s ok 10 /Default Values/GCancellable 1078s ok 11 /Default Values/GCharsetConverter # SKIP mandatory construct params 1078s ok 12 /Default Values/GConverterInputStream # SKIP mandatory construct params 1078s ok 13 /Default Values/GConverterOutputStream # SKIP mandatory construct params 1078s ok 14 /Default Values/GCredentials 1078s ok 15 /Default Values/GDataInputStream # SKIP mandatory construct params 1078s ok 16 /Default Values/GDataOutputStream # SKIP mandatory construct params 1078s ok 17 /Default Values/GDBusActionGroup # SKIP mandatory construct params 1078s ok 18 /Default Values/GDBusAuthObserver 1078s ok 19 /Default Values/GDBusConnection # SKIP mandatory construct params 1078s ok 20 /Default Values/GDBusMenuModel # SKIP crash in finalize 1078s ok 21 /Default Values/GDBusMessage 1078s ok 22 /Default Values/GDBusMethodInvocation # SKIP crash in finalize 1078s ok 23 /Default Values/GDBusObjectManagerClient # SKIP mandatory construct params 1078s ok 24 /Default Values/GDBusObjectManagerServer # SKIP mandatory construct params 1078s ok 25 /Default Values/GDBusObjectProxy 1078s ok 26 /Default Values/GDBusObjectSkeleton 1078s ok 27 /Default Values/GDBusProxy # SKIP mandatory construct params 1078s ok 28 /Default Values/GDBusServer # SKIP mandatory construct params 1078s ok 29 /Default Values/GEmblem 1078s ok 30 /Default Values/GEmblemedIcon 1078s ok 31 /Default Values/GFileEnumerator # SKIP should be abstract 1078s ok 32 /Default Values/GFileInfo 1078s ok 33 /Default Values/GFileInputStream 1078s ok 34 /Default Values/GFileIOStream # SKIP should be abstract 1078s ok 35 /Default Values/GFileOutputStream 1078s ok 36 /Default Values/GFilenameCompleter 1078s ok 37 /Default Values/GInetAddress # SKIP mandatory construct params 1078s ok 38 /Default Values/GInetAddressMask # SKIP initialization failed 1078s ok 39 /Default Values/GInetSocketAddress # SKIP mandatory construct params 1078s ok 40 /Default Values/GInitiallyUnowned 1078s ok 41 /Default Values/GIOModule 1078s ok 42 /Default Values/GListStore 1078s ok 43 /Default Values/GMemoryInputStream 1078s ok 44 /Default Values/GMemoryOutputStream 1078s ok 45 /Default Values/GMenu 1078s ok 46 /Default Values/GMenuItem 1078s ok 47 /Default Values/GMountOperation 1078s ok 48 /Default Values/GNativeSocketAddress 1078s ok 49 /Default Values/GNetworkAddress 1078s ok 50 /Default Values/GNetworkService 1078s ok 51 /Default Values/GNotification 1078s ok 52 /Default Values/GObject 1078s ok 53 /Default Values/GPropertyAction # SKIP mandatory construct params 1078s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1078s # skipping GProxyAddressEnumerator:proxy-resolver 1078s ok 54 /Default Values/GProxyAddressEnumerator 1078s ok 55 /Default Values/GProxyAddress # SKIP mandatory construct params 1078s ok 56 /Default Values/GSettings # SKIP mandatory construct params 1078s ok 57 /Default Values/GSignalGroup 1078s ok 58 /Default Values/GSimpleAction 1078s ok 59 /Default Values/GSimpleActionGroup 1078s ok 60 /Default Values/GSimpleAsyncResult 1078s ok 61 /Default Values/GSimpleIOStream # SKIP mandatory construct params 1078s ok 62 /Default Values/GSimplePermission 1078s ok 63 /Default Values/GSimpleProxyResolver 1078s # skipping GSocketClient:proxy-resolver 1078s ok 64 /Default Values/GSocketClient 1078s ok 65 /Default Values/GSocketConnection # SKIP mandatory construct params 1078s ok 66 /Default Values/GSocket # SKIP initialization failed 1078s ok 67 /Default Values/GSocketListener 1078s ok 68 /Default Values/GSocketService 1078s ok 69 /Default Values/GSubprocess # SKIP initialization failed 1078s ok 70 /Default Values/GSubprocessLauncher 1078s # GLib-GIO-DEBUG: GTask 0x558029358fb0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1078s ok 71 /Default Values/GTask 1078s ok 72 /Default Values/GTcpConnection # SKIP mandatory construct params 1078s ok 73 /Default Values/GTcpWrapperConnection # SKIP mandatory construct params 1078s ok 74 /Default Values/GTestDBus 1078s ok 75 /Default Values/GThemedIcon # SKIP mandatory construct params 1078s ok 76 /Default Values/GThreadedSocketService 1078s ok 77 /Default Values/GTlsInteraction 1078s ok 78 /Default Values/GTlsPassword 1078s ok 79 /Default Values/GUnixConnection # SKIP mandatory construct params 1078s ok 80 /Default Values/GUnixFDList 1078s ok 81 /Default Values/GVfs 1078s ok 82 /Default Values/GVolumeMonitor 1078s ok 83 /Default Values/GZlibCompressor 1078s ok 84 /Default Values/GZlibDecompressor 1078s # End of Default Values tests 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s ok - glib/defaultvalue.test 1078s # Running test: glib/markup-parse.test 1078s TAP version 14 1078s # random seed: R02S2bfecf77355d96f554962da39a094570 1078s 1..71 1078s # Start of markup tests 1078s # Start of parse tests 1078s ok 1 /markup/parse/fail-38.gmarkup 1078s ok 2 /markup/parse/valid-5.gmarkup 1078s ok 3 /markup/parse/fail-9.gmarkup 1078s ok 4 /markup/parse/fail-25.gmarkup 1078s ok 5 /markup/parse/fail-21.gmarkup 1078s ok 6 /markup/parse/valid-2.gmarkup 1078s ok 7 /markup/parse/fail-44.gmarkup 1078s ok 8 /markup/parse/valid-8.gmarkup 1078s ok 9 /markup/parse/fail-31.gmarkup 1078s ok 10 /markup/parse/fail-45.gmarkup 1078s ok 11 /markup/parse/fail-16.gmarkup 1078s ok 12 /markup/parse/fail-36.gmarkup 1078s ok 13 /markup/parse/fail-13.gmarkup 1078s ok 14 /markup/parse/valid-7.gmarkup 1078s ok 15 /markup/parse/fail-46.gmarkup 1078s ok 16 /markup/parse/fail-29.gmarkup 1078s ok 17 /markup/parse/valid-15.gmarkup 1078s ok 18 /markup/parse/fail-33.gmarkup 1078s ok 19 /markup/parse/fail-26.gmarkup 1078s ok 20 /markup/parse/fail-43.gmarkup 1078s ok 21 /markup/parse/valid-3.gmarkup 1078s ok 22 /markup/parse/fail-17.gmarkup 1078s ok 23 /markup/parse/fail-22.gmarkup 1078s ok 24 /markup/parse/fail-53.gmarkup 1078s ok 25 /markup/parse/fail-20.gmarkup 1078s ok 26 /markup/parse/fail-11.gmarkup 1078s ok 27 /markup/parse/valid-12.gmarkup 1078s ok 28 /markup/parse/valid-6.gmarkup 1078s ok 29 /markup/parse/fail-10.gmarkup 1078s ok 30 /markup/parse/fail-40.gmarkup 1078s ok 31 /markup/parse/fail-32.gmarkup 1078s ok 32 /markup/parse/fail-39.gmarkup 1078s ok 33 /markup/parse/fail-37.gmarkup 1078s ok 34 /markup/parse/fail-1.gmarkup 1078s ok 35 /markup/parse/fail-41.gmarkup 1078s ok 36 /markup/parse/valid-9.gmarkup 1078s ok 37 /markup/parse/fail-18.gmarkup 1078s ok 38 /markup/parse/fail-34.gmarkup 1078s ok 39 /markup/parse/fail-47.gmarkup 1078s ok 40 /markup/parse/fail-28.gmarkup 1078s ok 41 /markup/parse/valid-4.gmarkup 1078s ok 42 /markup/parse/valid-17.gmarkup 1078s ok 43 /markup/parse/valid-14.gmarkup 1078s ok 44 /markup/parse/valid-10.gmarkup 1078s ok 45 /markup/parse/fail-35.gmarkup 1078s ok 46 /markup/parse/fail-7.gmarkup 1078s ok 47 /markup/parse/fail-24.gmarkup 1078s ok 48 /markup/parse/fail-14.gmarkup 1078s ok 49 /markup/parse/fail-5.gmarkup 1078s ok 50 /markup/parse/valid-16.gmarkup 1078s ok 51 /markup/parse/valid-13.gmarkup 1078s ok 52 /markup/parse/fail-30.gmarkup 1078s ok 53 /markup/parse/fail-3.gmarkup 1078s ok 54 /markup/parse/fail-50.gmarkup 1078s ok 55 /markup/parse/fail-52.gmarkup 1078s ok 56 /markup/parse/fail-8.gmarkup 1078s ok 57 /markup/parse/fail-2.gmarkup 1078s ok 58 /markup/parse/valid-11.gmarkup 1078s ok 59 /markup/parse/fail-42.gmarkup 1078s ok 60 /markup/parse/fail-48.gmarkup 1078s ok 61 /markup/parse/fail-49.gmarkup 1078s ok 62 /markup/parse/fail-23.gmarkup 1078s ok 63 /markup/parse/fail-6.gmarkup 1078s ok 64 /markup/parse/valid-1.gmarkup 1078s ok 65 /markup/parse/fail-19.gmarkup 1078s ok 66 /markup/parse/fail-27.gmarkup 1078s ok 67 /markup/parse/fail-4.gmarkup 1078s ok 68 /markup/parse/fail-15.gmarkup 1078s ok 69 /markup/parse/fail-51.gmarkup 1078s ok 70 /markup/parse/fail-54.gmarkup 1078s ok 71 /markup/parse/fail-12.gmarkup 1078s # End of parse tests 1078s # End of markup tests 1078s ok - glib/markup-parse.test 1078s # Running test: glib/thread-pool.test 1078s TAP version 14 1078s # random seed: R02Sf947d50393f1ac64b8df002142b526fd 1078s 1..5 1078s # Start of thread_pool tests 1078s # /thread_pool/shared summary: Tests that a shared, non-exclusive thread pool generally works. 1078s ok 1 /thread_pool/shared 1078s # /thread_pool/exclusive summary: Tests that an exclusive thread pool generally works. 1078s ok 2 /thread_pool/exclusive 1078s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012 1078s # /thread_pool/create_shared_after_exclusive summary: Tests that creating a shared pool after an exclusive one works. 1078s ok 3 /thread_pool/create_shared_after_exclusive 1078s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/121 1078s ok 4 /thread_pool/create_full 1078s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012 1078s # /thread_pool/create_exclusive_after_shared summary: Tests that creating an exclusive pool after a shared one works. 1078s ok 5 /thread_pool/create_exclusive_after_shared 1078s # End of thread_pool tests 1078s ok - glib/thread-pool.test 1078s # Running test: glib/gdbus-connection.test 1078s TAP version 14 1078s # random seed: R02S69bc86bf4ee924b8d2698ddf9ac44fa8 1078s 1..9 1078s # Start of gdbus tests 1078s # Start of connection tests 1078s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_M6Q4Z2/gdbus/connection/bus-failure/.dirs/home 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_M6Q4Z2/gdbus/connection/bus-failure/.dirs/cache 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_M6Q4Z2/gdbus/connection/bus-failure/.dirs/system-config1:/tmp/test_gdbus-connection_M6Q4Z2/gdbus/connection/bus-failure/.dirs/system-config2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_M6Q4Z2/gdbus/connection/bus-failure/.dirs/config 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_M6Q4Z2/gdbus/connection/bus-failure/.dirs/system-data1:/tmp/test_gdbus-connection_M6Q4Z2/gdbus/connection/bus-failure/.dirs/system-data2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_M6Q4Z2/gdbus/connection/bus-failure/.dirs/data 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_M6Q4Z2/gdbus/connection/bus-failure/.dirs/state 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_M6Q4Z2/gdbus/connection/bus-failure/.dirs/runtime 1078s ok 1 /gdbus/connection/bus-failure 1078s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_M6Q4Z2/gdbus/connection/basic/.dirs/home 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_M6Q4Z2/gdbus/connection/basic/.dirs/cache 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_M6Q4Z2/gdbus/connection/basic/.dirs/system-config1:/tmp/test_gdbus-connection_M6Q4Z2/gdbus/connection/basic/.dirs/system-config2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_M6Q4Z2/gdbus/connection/basic/.dirs/config 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_M6Q4Z2/gdbus/connection/basic/.dirs/system-data1:/tmp/test_gdbus-connection_M6Q4Z2/gdbus/connection/basic/.dirs/system-data2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_M6Q4Z2/gdbus/connection/basic/.dirs/data 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_M6Q4Z2/gdbus/connection/basic/.dirs/state 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_M6Q4Z2/gdbus/connection/basic/.dirs/runtime 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1078s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s ok 2 /gdbus/connection/basic 1078s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_M6Q4Z2/gdbus/connection/life-cycle/.dirs/home 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_M6Q4Z2/gdbus/connection/life-cycle/.dirs/cache 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_M6Q4Z2/gdbus/connection/life-cycle/.dirs/system-config1:/tmp/test_gdbus-connection_M6Q4Z2/gdbus/connection/life-cycle/.dirs/system-config2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_M6Q4Z2/gdbus/connection/life-cycle/.dirs/config 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_M6Q4Z2/gdbus/connection/life-cycle/.dirs/system-data1:/tmp/test_gdbus-connection_M6Q4Z2/gdbus/connection/life-cycle/.dirs/system-data2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_M6Q4Z2/gdbus/connection/life-cycle/.dirs/data 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_M6Q4Z2/gdbus/connection/life-cycle/.dirs/state 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_M6Q4Z2/gdbus/connection/life-cycle/.dirs/runtime 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1078s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s ok 3 /gdbus/connection/life-cycle 1078s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_M6Q4Z2/gdbus/connection/send/.dirs/home 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_M6Q4Z2/gdbus/connection/send/.dirs/cache 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_M6Q4Z2/gdbus/connection/send/.dirs/system-config1:/tmp/test_gdbus-connection_M6Q4Z2/gdbus/connection/send/.dirs/system-config2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_M6Q4Z2/gdbus/connection/send/.dirs/config 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_M6Q4Z2/gdbus/connection/send/.dirs/system-data1:/tmp/test_gdbus-connection_M6Q4Z2/gdbus/connection/send/.dirs/system-data2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_M6Q4Z2/gdbus/connection/send/.dirs/data 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_M6Q4Z2/gdbus/connection/send/.dirs/state 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_M6Q4Z2/gdbus/connection/send/.dirs/runtime 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1078s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s ok 4 /gdbus/connection/send 1078s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_M6Q4Z2/gdbus/connection/signals/.dirs/home 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_M6Q4Z2/gdbus/connection/signals/.dirs/cache 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_M6Q4Z2/gdbus/connection/signals/.dirs/system-config1:/tmp/test_gdbus-connection_M6Q4Z2/gdbus/connection/signals/.dirs/system-config2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_M6Q4Z2/gdbus/connection/signals/.dirs/config 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_M6Q4Z2/gdbus/connection/signals/.dirs/system-data1:/tmp/test_gdbus-connection_M6Q4Z2/gdbus/connection/signals/.dirs/system-data2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_M6Q4Z2/gdbus/connection/signals/.dirs/data 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_M6Q4Z2/gdbus/connection/signals/.dirs/state 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_M6Q4Z2/gdbus/connection/signals/.dirs/runtime 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1078s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s ok 5 /gdbus/connection/signals 1078s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_M6Q4Z2/gdbus/connection/signal-match-rules/.dirs/home 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_M6Q4Z2/gdbus/connection/signal-match-rules/.dirs/cache 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_M6Q4Z2/gdbus/connection/signal-match-rules/.dirs/system-config1:/tmp/test_gdbus-connection_M6Q4Z2/gdbus/connection/signal-match-rules/.dirs/system-config2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_M6Q4Z2/gdbus/connection/signal-match-rules/.dirs/config 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_M6Q4Z2/gdbus/connection/signal-match-rules/.dirs/system-data1:/tmp/test_gdbus-connection_M6Q4Z2/gdbus/connection/signal-match-rules/.dirs/system-data2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_M6Q4Z2/gdbus/connection/signal-match-rules/.dirs/data 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_M6Q4Z2/gdbus/connection/signal-match-rules/.dirs/state 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_M6Q4Z2/gdbus/connection/signal-match-rules/.dirs/runtime 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1078s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s ok 6 /gdbus/connection/signal-match-rules 1078s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_M6Q4Z2/gdbus/connection/filter/.dirs/home 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_M6Q4Z2/gdbus/connection/filter/.dirs/cache 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_M6Q4Z2/gdbus/connection/filter/.dirs/system-config1:/tmp/test_gdbus-connection_M6Q4Z2/gdbus/connection/filter/.dirs/system-config2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_M6Q4Z2/gdbus/connection/filter/.dirs/config 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_M6Q4Z2/gdbus/connection/filter/.dirs/system-data1:/tmp/test_gdbus-connection_M6Q4Z2/gdbus/connection/filter/.dirs/system-data2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_M6Q4Z2/gdbus/connection/filter/.dirs/data 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_M6Q4Z2/gdbus/connection/filter/.dirs/state 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_M6Q4Z2/gdbus/connection/filter/.dirs/runtime 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1078s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s ok 7 /gdbus/connection/filter 1078s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_M6Q4Z2/gdbus/connection/serials/.dirs/home 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_M6Q4Z2/gdbus/connection/serials/.dirs/cache 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_M6Q4Z2/gdbus/connection/serials/.dirs/system-config1:/tmp/test_gdbus-connection_M6Q4Z2/gdbus/connection/serials/.dirs/system-config2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_M6Q4Z2/gdbus/connection/serials/.dirs/config 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_M6Q4Z2/gdbus/connection/serials/.dirs/system-data1:/tmp/test_gdbus-connection_M6Q4Z2/gdbus/connection/serials/.dirs/system-data2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_M6Q4Z2/gdbus/connection/serials/.dirs/data 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_M6Q4Z2/gdbus/connection/serials/.dirs/state 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_M6Q4Z2/gdbus/connection/serials/.dirs/runtime 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1078s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s ok 8 /gdbus/connection/serials 1078s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_M6Q4Z2/gdbus/connection/cancel/.dirs/home 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_M6Q4Z2/gdbus/connection/cancel/.dirs/cache 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_M6Q4Z2/gdbus/connection/cancel/.dirs/system-config1:/tmp/test_gdbus-connection_M6Q4Z2/gdbus/connection/cancel/.dirs/system-config2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_M6Q4Z2/gdbus/connection/cancel/.dirs/config 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_M6Q4Z2/gdbus/connection/cancel/.dirs/system-data1:/tmp/test_gdbus-connection_M6Q4Z2/gdbus/connection/cancel/.dirs/system-data2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_M6Q4Z2/gdbus/connection/cancel/.dirs/data 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_M6Q4Z2/gdbus/connection/cancel/.dirs/state 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_M6Q4Z2/gdbus/connection/cancel/.dirs/runtime 1078s # /gdbus/connection/cancel summary: Test that cancelling one of two racing g_bus_get() calls does not cancel the other one 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1078s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1078s ok 9 /gdbus/connection/cancel 1078s # End of connection tests 1078s # End of gdbus tests 1078s ok - glib/gdbus-connection.test 1078s # Running test: glib/fileutils.test 1078s TAP version 14 1078s # random seed: R02S90e981c82e415ae42f1236f4818015b1 1078s 1..27 1078s # Start of fileutils tests 1078s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_99Y5Z2/fileutils/paths/.dirs/home 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_99Y5Z2/fileutils/paths/.dirs/cache 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_99Y5Z2/fileutils/paths/.dirs/system-config1:/tmp/test_fileutils_99Y5Z2/fileutils/paths/.dirs/system-config2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_99Y5Z2/fileutils/paths/.dirs/config 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_99Y5Z2/fileutils/paths/.dirs/system-data1:/tmp/test_fileutils_99Y5Z2/fileutils/paths/.dirs/system-data2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_99Y5Z2/fileutils/paths/.dirs/data 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_99Y5Z2/fileutils/paths/.dirs/state 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_99Y5Z2/fileutils/paths/.dirs/runtime 1078s ok 1 /fileutils/paths 1078s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_99Y5Z2/fileutils/build-path/.dirs/home 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_99Y5Z2/fileutils/build-path/.dirs/cache 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_99Y5Z2/fileutils/build-path/.dirs/system-config1:/tmp/test_fileutils_99Y5Z2/fileutils/build-path/.dirs/system-config2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_99Y5Z2/fileutils/build-path/.dirs/config 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_99Y5Z2/fileutils/build-path/.dirs/system-data1:/tmp/test_fileutils_99Y5Z2/fileutils/build-path/.dirs/system-data2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_99Y5Z2/fileutils/build-path/.dirs/data 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_99Y5Z2/fileutils/build-path/.dirs/state 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_99Y5Z2/fileutils/build-path/.dirs/runtime 1078s ok 2 /fileutils/build-path 1078s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_99Y5Z2/fileutils/build-pathv/.dirs/home 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_99Y5Z2/fileutils/build-pathv/.dirs/cache 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_99Y5Z2/fileutils/build-pathv/.dirs/system-config1:/tmp/test_fileutils_99Y5Z2/fileutils/build-pathv/.dirs/system-config2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_99Y5Z2/fileutils/build-pathv/.dirs/config 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_99Y5Z2/fileutils/build-pathv/.dirs/system-data1:/tmp/test_fileutils_99Y5Z2/fileutils/build-pathv/.dirs/system-data2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_99Y5Z2/fileutils/build-pathv/.dirs/data 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_99Y5Z2/fileutils/build-pathv/.dirs/state 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_99Y5Z2/fileutils/build-pathv/.dirs/runtime 1078s ok 3 /fileutils/build-pathv 1078s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_99Y5Z2/fileutils/build-filename/.dirs/home 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_99Y5Z2/fileutils/build-filename/.dirs/cache 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_99Y5Z2/fileutils/build-filename/.dirs/system-config1:/tmp/test_fileutils_99Y5Z2/fileutils/build-filename/.dirs/system-config2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_99Y5Z2/fileutils/build-filename/.dirs/config 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_99Y5Z2/fileutils/build-filename/.dirs/system-data1:/tmp/test_fileutils_99Y5Z2/fileutils/build-filename/.dirs/system-data2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_99Y5Z2/fileutils/build-filename/.dirs/data 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_99Y5Z2/fileutils/build-filename/.dirs/state 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_99Y5Z2/fileutils/build-filename/.dirs/runtime 1078s ok 4 /fileutils/build-filename 1078s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_99Y5Z2/fileutils/build-filenamev/.dirs/home 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_99Y5Z2/fileutils/build-filenamev/.dirs/cache 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_99Y5Z2/fileutils/build-filenamev/.dirs/system-config1:/tmp/test_fileutils_99Y5Z2/fileutils/build-filenamev/.dirs/system-config2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_99Y5Z2/fileutils/build-filenamev/.dirs/config 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_99Y5Z2/fileutils/build-filenamev/.dirs/system-data1:/tmp/test_fileutils_99Y5Z2/fileutils/build-filenamev/.dirs/system-data2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_99Y5Z2/fileutils/build-filenamev/.dirs/data 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_99Y5Z2/fileutils/build-filenamev/.dirs/state 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_99Y5Z2/fileutils/build-filenamev/.dirs/runtime 1078s ok 5 /fileutils/build-filenamev 1078s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_99Y5Z2/fileutils/mkdir-with-parents/.dirs/home 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_99Y5Z2/fileutils/mkdir-with-parents/.dirs/cache 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_99Y5Z2/fileutils/mkdir-with-parents/.dirs/system-config1:/tmp/test_fileutils_99Y5Z2/fileutils/mkdir-with-parents/.dirs/system-config2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_99Y5Z2/fileutils/mkdir-with-parents/.dirs/config 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_99Y5Z2/fileutils/mkdir-with-parents/.dirs/system-data1:/tmp/test_fileutils_99Y5Z2/fileutils/mkdir-with-parents/.dirs/system-data2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_99Y5Z2/fileutils/mkdir-with-parents/.dirs/data 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_99Y5Z2/fileutils/mkdir-with-parents/.dirs/state 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_99Y5Z2/fileutils/mkdir-with-parents/.dirs/runtime 1078s # We do not have CAP_DAC_OVERRIDE or equivalent 1078s ok 6 /fileutils/mkdir-with-parents 1078s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_99Y5Z2/fileutils/mkdir-with-parents-permission/.dirs/home 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_99Y5Z2/fileutils/mkdir-with-parents-permission/.dirs/cache 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_99Y5Z2/fileutils/mkdir-with-parents-permission/.dirs/system-config1:/tmp/test_fileutils_99Y5Z2/fileutils/mkdir-with-parents-permission/.dirs/system-config2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_99Y5Z2/fileutils/mkdir-with-parents-permission/.dirs/config 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_99Y5Z2/fileutils/mkdir-with-parents-permission/.dirs/system-data1:/tmp/test_fileutils_99Y5Z2/fileutils/mkdir-with-parents-permission/.dirs/system-data2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_99Y5Z2/fileutils/mkdir-with-parents-permission/.dirs/data 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_99Y5Z2/fileutils/mkdir-with-parents-permission/.dirs/state 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_99Y5Z2/fileutils/mkdir-with-parents-permission/.dirs/runtime 1078s # We do not have CAP_DAC_OVERRIDE or equivalent 1078s ok 7 /fileutils/mkdir-with-parents-permission 1078s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_99Y5Z2/fileutils/format-size-for-display/.dirs/home 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_99Y5Z2/fileutils/format-size-for-display/.dirs/cache 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_99Y5Z2/fileutils/format-size-for-display/.dirs/system-config1:/tmp/test_fileutils_99Y5Z2/fileutils/format-size-for-display/.dirs/system-config2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_99Y5Z2/fileutils/format-size-for-display/.dirs/config 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_99Y5Z2/fileutils/format-size-for-display/.dirs/system-data1:/tmp/test_fileutils_99Y5Z2/fileutils/format-size-for-display/.dirs/system-data2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_99Y5Z2/fileutils/format-size-for-display/.dirs/data 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_99Y5Z2/fileutils/format-size-for-display/.dirs/state 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_99Y5Z2/fileutils/format-size-for-display/.dirs/runtime 1078s ok 8 /fileutils/format-size-for-display 1078s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_99Y5Z2/fileutils/errors/.dirs/home 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_99Y5Z2/fileutils/errors/.dirs/cache 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_99Y5Z2/fileutils/errors/.dirs/system-config1:/tmp/test_fileutils_99Y5Z2/fileutils/errors/.dirs/system-config2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_99Y5Z2/fileutils/errors/.dirs/config 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_99Y5Z2/fileutils/errors/.dirs/system-data1:/tmp/test_fileutils_99Y5Z2/fileutils/errors/.dirs/system-data2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_99Y5Z2/fileutils/errors/.dirs/data 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_99Y5Z2/fileutils/errors/.dirs/state 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_99Y5Z2/fileutils/errors/.dirs/runtime 1078s ok 9 /fileutils/errors 1078s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_99Y5Z2/fileutils/basename/.dirs/home 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_99Y5Z2/fileutils/basename/.dirs/cache 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_99Y5Z2/fileutils/basename/.dirs/system-config1:/tmp/test_fileutils_99Y5Z2/fileutils/basename/.dirs/system-config2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_99Y5Z2/fileutils/basename/.dirs/config 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_99Y5Z2/fileutils/basename/.dirs/system-data1:/tmp/test_fileutils_99Y5Z2/fileutils/basename/.dirs/system-data2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_99Y5Z2/fileutils/basename/.dirs/data 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_99Y5Z2/fileutils/basename/.dirs/state 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_99Y5Z2/fileutils/basename/.dirs/runtime 1078s ok 10 /fileutils/basename 1078s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_99Y5Z2/fileutils/get-basename/.dirs/home 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_99Y5Z2/fileutils/get-basename/.dirs/cache 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_99Y5Z2/fileutils/get-basename/.dirs/system-config1:/tmp/test_fileutils_99Y5Z2/fileutils/get-basename/.dirs/system-config2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_99Y5Z2/fileutils/get-basename/.dirs/config 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_99Y5Z2/fileutils/get-basename/.dirs/system-data1:/tmp/test_fileutils_99Y5Z2/fileutils/get-basename/.dirs/system-data2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_99Y5Z2/fileutils/get-basename/.dirs/data 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_99Y5Z2/fileutils/get-basename/.dirs/state 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_99Y5Z2/fileutils/get-basename/.dirs/runtime 1078s ok 11 /fileutils/get-basename 1078s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_99Y5Z2/fileutils/dirname/.dirs/home 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_99Y5Z2/fileutils/dirname/.dirs/cache 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_99Y5Z2/fileutils/dirname/.dirs/system-config1:/tmp/test_fileutils_99Y5Z2/fileutils/dirname/.dirs/system-config2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_99Y5Z2/fileutils/dirname/.dirs/config 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_99Y5Z2/fileutils/dirname/.dirs/system-data1:/tmp/test_fileutils_99Y5Z2/fileutils/dirname/.dirs/system-data2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_99Y5Z2/fileutils/dirname/.dirs/data 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_99Y5Z2/fileutils/dirname/.dirs/state 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_99Y5Z2/fileutils/dirname/.dirs/runtime 1078s ok 12 /fileutils/dirname 1078s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_99Y5Z2/fileutils/dir-make-tmp/.dirs/home 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_99Y5Z2/fileutils/dir-make-tmp/.dirs/cache 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_99Y5Z2/fileutils/dir-make-tmp/.dirs/system-config1:/tmp/test_fileutils_99Y5Z2/fileutils/dir-make-tmp/.dirs/system-config2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_99Y5Z2/fileutils/dir-make-tmp/.dirs/config 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_99Y5Z2/fileutils/dir-make-tmp/.dirs/system-data1:/tmp/test_fileutils_99Y5Z2/fileutils/dir-make-tmp/.dirs/system-data2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_99Y5Z2/fileutils/dir-make-tmp/.dirs/data 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_99Y5Z2/fileutils/dir-make-tmp/.dirs/state 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_99Y5Z2/fileutils/dir-make-tmp/.dirs/runtime 1078s ok 13 /fileutils/dir-make-tmp 1078s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_99Y5Z2/fileutils/file-open-tmp/.dirs/home 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_99Y5Z2/fileutils/file-open-tmp/.dirs/cache 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_99Y5Z2/fileutils/file-open-tmp/.dirs/system-config1:/tmp/test_fileutils_99Y5Z2/fileutils/file-open-tmp/.dirs/system-config2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_99Y5Z2/fileutils/file-open-tmp/.dirs/config 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_99Y5Z2/fileutils/file-open-tmp/.dirs/system-data1:/tmp/test_fileutils_99Y5Z2/fileutils/file-open-tmp/.dirs/system-data2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_99Y5Z2/fileutils/file-open-tmp/.dirs/data 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_99Y5Z2/fileutils/file-open-tmp/.dirs/state 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_99Y5Z2/fileutils/file-open-tmp/.dirs/runtime 1078s ok 14 /fileutils/file-open-tmp 1078s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_99Y5Z2/fileutils/file-test/.dirs/home 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_99Y5Z2/fileutils/file-test/.dirs/cache 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_99Y5Z2/fileutils/file-test/.dirs/system-config1:/tmp/test_fileutils_99Y5Z2/fileutils/file-test/.dirs/system-config2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_99Y5Z2/fileutils/file-test/.dirs/config 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_99Y5Z2/fileutils/file-test/.dirs/system-data1:/tmp/test_fileutils_99Y5Z2/fileutils/file-test/.dirs/system-data2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_99Y5Z2/fileutils/file-test/.dirs/data 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_99Y5Z2/fileutils/file-test/.dirs/state 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_99Y5Z2/fileutils/file-test/.dirs/runtime 1078s ok 15 /fileutils/file-test 1078s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_99Y5Z2/fileutils/mkstemp/.dirs/home 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_99Y5Z2/fileutils/mkstemp/.dirs/cache 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_99Y5Z2/fileutils/mkstemp/.dirs/system-config1:/tmp/test_fileutils_99Y5Z2/fileutils/mkstemp/.dirs/system-config2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_99Y5Z2/fileutils/mkstemp/.dirs/config 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_99Y5Z2/fileutils/mkstemp/.dirs/system-data1:/tmp/test_fileutils_99Y5Z2/fileutils/mkstemp/.dirs/system-data2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_99Y5Z2/fileutils/mkstemp/.dirs/data 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_99Y5Z2/fileutils/mkstemp/.dirs/state 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_99Y5Z2/fileutils/mkstemp/.dirs/runtime 1078s ok 16 /fileutils/mkstemp 1078s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_99Y5Z2/fileutils/mkdtemp/.dirs/home 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_99Y5Z2/fileutils/mkdtemp/.dirs/cache 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_99Y5Z2/fileutils/mkdtemp/.dirs/system-config1:/tmp/test_fileutils_99Y5Z2/fileutils/mkdtemp/.dirs/system-config2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_99Y5Z2/fileutils/mkdtemp/.dirs/config 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_99Y5Z2/fileutils/mkdtemp/.dirs/system-data1:/tmp/test_fileutils_99Y5Z2/fileutils/mkdtemp/.dirs/system-data2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_99Y5Z2/fileutils/mkdtemp/.dirs/data 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_99Y5Z2/fileutils/mkdtemp/.dirs/state 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_99Y5Z2/fileutils/mkdtemp/.dirs/runtime 1078s ok 17 /fileutils/mkdtemp 1078s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_99Y5Z2/fileutils/get-contents/.dirs/home 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_99Y5Z2/fileutils/get-contents/.dirs/cache 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_99Y5Z2/fileutils/get-contents/.dirs/system-config1:/tmp/test_fileutils_99Y5Z2/fileutils/get-contents/.dirs/system-config2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_99Y5Z2/fileutils/get-contents/.dirs/config 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_99Y5Z2/fileutils/get-contents/.dirs/system-data1:/tmp/test_fileutils_99Y5Z2/fileutils/get-contents/.dirs/system-data2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_99Y5Z2/fileutils/get-contents/.dirs/data 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_99Y5Z2/fileutils/get-contents/.dirs/state 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_99Y5Z2/fileutils/get-contents/.dirs/runtime 1078s ok 18 /fileutils/get-contents 1078s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_99Y5Z2/fileutils/get-contents-large-file/.dirs/home 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_99Y5Z2/fileutils/get-contents-large-file/.dirs/cache 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_99Y5Z2/fileutils/get-contents-large-file/.dirs/system-config1:/tmp/test_fileutils_99Y5Z2/fileutils/get-contents-large-file/.dirs/system-config2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_99Y5Z2/fileutils/get-contents-large-file/.dirs/config 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_99Y5Z2/fileutils/get-contents-large-file/.dirs/system-data1:/tmp/test_fileutils_99Y5Z2/fileutils/get-contents-large-file/.dirs/system-data2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_99Y5Z2/fileutils/get-contents-large-file/.dirs/data 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_99Y5Z2/fileutils/get-contents-large-file/.dirs/state 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_99Y5Z2/fileutils/get-contents-large-file/.dirs/runtime 1078s ok 19 /fileutils/get-contents-large-file # SKIP Skipping slow largefile test 1078s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_99Y5Z2/fileutils/set-contents/.dirs/home 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_99Y5Z2/fileutils/set-contents/.dirs/cache 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_99Y5Z2/fileutils/set-contents/.dirs/system-config1:/tmp/test_fileutils_99Y5Z2/fileutils/set-contents/.dirs/system-config2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_99Y5Z2/fileutils/set-contents/.dirs/config 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_99Y5Z2/fileutils/set-contents/.dirs/system-data1:/tmp/test_fileutils_99Y5Z2/fileutils/set-contents/.dirs/system-data2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_99Y5Z2/fileutils/set-contents/.dirs/data 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_99Y5Z2/fileutils/set-contents/.dirs/state 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_99Y5Z2/fileutils/set-contents/.dirs/runtime 1078s ok 20 /fileutils/set-contents 1078s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_99Y5Z2/fileutils/set-contents-full/.dirs/home 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_99Y5Z2/fileutils/set-contents-full/.dirs/cache 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_99Y5Z2/fileutils/set-contents-full/.dirs/system-config1:/tmp/test_fileutils_99Y5Z2/fileutils/set-contents-full/.dirs/system-config2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_99Y5Z2/fileutils/set-contents-full/.dirs/config 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_99Y5Z2/fileutils/set-contents-full/.dirs/system-data1:/tmp/test_fileutils_99Y5Z2/fileutils/set-contents-full/.dirs/system-data2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_99Y5Z2/fileutils/set-contents-full/.dirs/data 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_99Y5Z2/fileutils/set-contents-full/.dirs/state 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_99Y5Z2/fileutils/set-contents-full/.dirs/runtime 1078s # /fileutils/set-contents-full summary: Test g_file_set_contents_full() with various flags 1078s # Flags 0 and test 0 1078s # Flags 0 and test 1 1078s # Flags 0 and test 2 1078s # Flags 0 and test 3 1078s # Flags 0 and test 4 1078s # Flags 0 and test 5 1078s # Flags 1 and test 0 1078s # Flags 1 and test 1 1078s # Flags 1 and test 2 1078s # Flags 1 and test 3 1078s # Flags 1 and test 4 1078s # Flags 1 and test 5 1078s # Flags 2 and test 0 1078s # Flags 2 and test 1 1078s # Flags 2 and test 2 1078s # Flags 2 and test 3 1078s # Flags 2 and test 4 1078s # Flags 2 and test 5 1078s # Flags 3 and test 0 1078s # Flags 3 and test 1 1078s # Flags 3 and test 2 1078s # Flags 3 and test 3 1078s # Flags 3 and test 4 1078s # Flags 3 and test 5 1078s # Flags 4 and test 0 1078s # Flags 4 and test 1 1078s # Flags 4 and test 2 1078s # Flags 4 and test 3 1078s # Flags 4 and test 4 1078s # Flags 4 and test 5 1078s # Flags 5 and test 0 1078s # Flags 5 and test 1 1078s # Flags 5 and test 2 1078s # Flags 5 and test 3 1078s # Flags 5 and test 4 1078s # Flags 5 and test 5 1078s # Flags 6 and test 0 1078s # Flags 6 and test 1 1078s # Flags 6 and test 2 1078s # Flags 6 and test 3 1078s # Flags 6 and test 4 1078s # Flags 6 and test 5 1078s ok 21 /fileutils/set-contents-full 1078s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_99Y5Z2/fileutils/read-link/.dirs/home 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_99Y5Z2/fileutils/read-link/.dirs/cache 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_99Y5Z2/fileutils/read-link/.dirs/system-config1:/tmp/test_fileutils_99Y5Z2/fileutils/read-link/.dirs/system-config2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_99Y5Z2/fileutils/read-link/.dirs/config 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_99Y5Z2/fileutils/read-link/.dirs/system-data1:/tmp/test_fileutils_99Y5Z2/fileutils/read-link/.dirs/system-data2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_99Y5Z2/fileutils/read-link/.dirs/data 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_99Y5Z2/fileutils/read-link/.dirs/state 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_99Y5Z2/fileutils/read-link/.dirs/runtime 1078s ok 22 /fileutils/read-link 1078s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_99Y5Z2/fileutils/stdio-wrappers/.dirs/home 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_99Y5Z2/fileutils/stdio-wrappers/.dirs/cache 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_99Y5Z2/fileutils/stdio-wrappers/.dirs/system-config1:/tmp/test_fileutils_99Y5Z2/fileutils/stdio-wrappers/.dirs/system-config2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_99Y5Z2/fileutils/stdio-wrappers/.dirs/config 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_99Y5Z2/fileutils/stdio-wrappers/.dirs/system-data1:/tmp/test_fileutils_99Y5Z2/fileutils/stdio-wrappers/.dirs/system-data2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_99Y5Z2/fileutils/stdio-wrappers/.dirs/data 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_99Y5Z2/fileutils/stdio-wrappers/.dirs/state 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_99Y5Z2/fileutils/stdio-wrappers/.dirs/runtime 1078s # We do not have CAP_DAC_OVERRIDE or equivalent 1078s ok 23 /fileutils/stdio-wrappers 1078s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_99Y5Z2/fileutils/fopen-modes/.dirs/home 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_99Y5Z2/fileutils/fopen-modes/.dirs/cache 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_99Y5Z2/fileutils/fopen-modes/.dirs/system-config1:/tmp/test_fileutils_99Y5Z2/fileutils/fopen-modes/.dirs/system-config2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_99Y5Z2/fileutils/fopen-modes/.dirs/config 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_99Y5Z2/fileutils/fopen-modes/.dirs/system-data1:/tmp/test_fileutils_99Y5Z2/fileutils/fopen-modes/.dirs/system-data2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_99Y5Z2/fileutils/fopen-modes/.dirs/data 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_99Y5Z2/fileutils/fopen-modes/.dirs/state 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_99Y5Z2/fileutils/fopen-modes/.dirs/runtime 1078s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/119 1078s # Testing fopen() mode 'w' 1078s # Testing fopen() mode 'r' 1078s # Testing fopen() mode 'a' 1078s # Testing fopen() mode 'w+' 1078s # Testing fopen() mode 'r+' 1078s # Testing fopen() mode 'a+' 1078s # Testing fopen() mode 'wb' 1078s # Testing fopen() mode 'rb' 1078s # Testing fopen() mode 'ab' 1078s # Testing fopen() mode 'w+b' 1078s # Testing fopen() mode 'r+b' 1078s # Testing fopen() mode 'a+b' 1078s # Testing fopen() mode 'wb+' 1078s # Testing fopen() mode 'rb+' 1078s # Testing fopen() mode 'ab+' 1078s ok 24 /fileutils/fopen-modes 1078s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_99Y5Z2/fileutils/clear-fd/.dirs/home 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_99Y5Z2/fileutils/clear-fd/.dirs/cache 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_99Y5Z2/fileutils/clear-fd/.dirs/system-config1:/tmp/test_fileutils_99Y5Z2/fileutils/clear-fd/.dirs/system-config2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_99Y5Z2/fileutils/clear-fd/.dirs/config 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_99Y5Z2/fileutils/clear-fd/.dirs/system-data1:/tmp/test_fileutils_99Y5Z2/fileutils/clear-fd/.dirs/system-data2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_99Y5Z2/fileutils/clear-fd/.dirs/data 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_99Y5Z2/fileutils/clear-fd/.dirs/state 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_99Y5Z2/fileutils/clear-fd/.dirs/runtime 1078s # /fileutils/clear-fd summary: Test g_clear_fd() and g_autofd 1078s # Will be closed by autocleanup: 3, -42 1078s # Testing error handling 1078s ok 25 /fileutils/clear-fd 1078s # Start of set-contents-full tests 1078s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_99Y5Z2/fileutils/set-contents-full/read-only-file/.dirs/home 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_99Y5Z2/fileutils/set-contents-full/read-only-file/.dirs/cache 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_99Y5Z2/fileutils/set-contents-full/read-only-file/.dirs/system-config1:/tmp/test_fileutils_99Y5Z2/fileutils/set-contents-full/read-only-file/.dirs/system-config2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_99Y5Z2/fileutils/set-contents-full/read-only-file/.dirs/config 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_99Y5Z2/fileutils/set-contents-full/read-only-file/.dirs/system-data1:/tmp/test_fileutils_99Y5Z2/fileutils/set-contents-full/read-only-file/.dirs/system-data2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_99Y5Z2/fileutils/set-contents-full/read-only-file/.dirs/data 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_99Y5Z2/fileutils/set-contents-full/read-only-file/.dirs/state 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_99Y5Z2/fileutils/set-contents-full/read-only-file/.dirs/runtime 1078s # We do not have CAP_DAC_OVERRIDE or equivalent 1078s # /fileutils/set-contents-full/read-only-file summary: Test g_file_set_contents_full() on a read-only file 1078s ok 26 /fileutils/set-contents-full/read-only-file 1078s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_99Y5Z2/fileutils/set-contents-full/read-only-directory/.dirs/home 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_99Y5Z2/fileutils/set-contents-full/read-only-directory/.dirs/cache 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_99Y5Z2/fileutils/set-contents-full/read-only-directory/.dirs/system-config1:/tmp/test_fileutils_99Y5Z2/fileutils/set-contents-full/read-only-directory/.dirs/system-config2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_99Y5Z2/fileutils/set-contents-full/read-only-directory/.dirs/config 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_99Y5Z2/fileutils/set-contents-full/read-only-directory/.dirs/system-data1:/tmp/test_fileutils_99Y5Z2/fileutils/set-contents-full/read-only-directory/.dirs/system-data2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_99Y5Z2/fileutils/set-contents-full/read-only-directory/.dirs/data 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_99Y5Z2/fileutils/set-contents-full/read-only-directory/.dirs/state 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_99Y5Z2/fileutils/set-contents-full/read-only-directory/.dirs/runtime 1078s # /fileutils/set-contents-full/read-only-directory summary: Test g_file_set_contents_full() on a file in a read-only directory 1078s # Flags 0 1078s # We do not have CAP_DAC_OVERRIDE or equivalent 1078s # Flags 1 1078s # We do not have CAP_DAC_OVERRIDE or equivalent 1078s # Flags 2 1078s # We do not have CAP_DAC_OVERRIDE or equivalent 1078s # Flags 3 1078s # We do not have CAP_DAC_OVERRIDE or equivalent 1078s # Flags 4 1078s # We do not have CAP_DAC_OVERRIDE or equivalent 1078s # Flags 5 1078s # We do not have CAP_DAC_OVERRIDE or equivalent 1078s # Flags 6 1078s # We do not have CAP_DAC_OVERRIDE or equivalent 1078s ok 27 /fileutils/set-contents-full/read-only-directory 1078s # End of set-contents-full tests 1078s # Start of clear-fd tests 1078s # Start of subprocess tests 1078s # End of subprocess tests 1078s # End of clear-fd tests 1078s # End of fileutils tests 1078s Unable to clean up temporary directory /tmp/test_fileutils_99Y5Z2/glib-file-set-contents-full-rodir-667D02: Directory not empty 1078s Unable to clean up temporary directory /tmp/test_fileutils_99Y5Z2/glib-file-set-contents-full-rodir-XAHF02: Directory not empty 1078s Unable to clean up temporary directory /tmp/test_fileutils_99Y5Z2/glib-file-set-contents-full-rodir-UICF02: Directory not empty 1078s Unable to clean up temporary directory /tmp/test_fileutils_99Y5Z2/glib-file-set-contents-full-rodir-6MEF02: Directory not empty 1078s Unable to clean up temporary directory /tmp/test_fileutils_99Y5Z2/glib-file-set-contents-full-rodir-SV7E02: Directory not empty 1078s Unable to clean up temporary directory /tmp/test_fileutils_99Y5Z2/glib-file-set-contents-full-rodir-6G4D02: Directory not empty 1078s Unable to clean up temporary directory /tmp/test_fileutils_99Y5Z2/glib-file-set-contents-full-rodir-5SFF02: Directory not empty 1078s Unable to clean up temporary directory /tmp/test_fileutils_99Y5Z2: Directory not empty 1078s ok - glib/fileutils.test 1078s # Running test: glib/gdbus-addresses.test 1078s TAP version 14 1078s # random seed: R02Sf7eac8bca151a82744ad017e75bc255b 1078s 1..9 1078s # Start of gdbus tests 1078s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_GJJE02/gdbus/empty-address/.dirs/home 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_GJJE02/gdbus/empty-address/.dirs/cache 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_GJJE02/gdbus/empty-address/.dirs/system-config1:/tmp/test_gdbus-addresses_GJJE02/gdbus/empty-address/.dirs/system-config2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_GJJE02/gdbus/empty-address/.dirs/config 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_GJJE02/gdbus/empty-address/.dirs/system-data1:/tmp/test_gdbus-addresses_GJJE02/gdbus/empty-address/.dirs/system-data2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_GJJE02/gdbus/empty-address/.dirs/data 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_GJJE02/gdbus/empty-address/.dirs/state 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_GJJE02/gdbus/empty-address/.dirs/runtime 1078s ok 1 /gdbus/empty-address 1078s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_GJJE02/gdbus/unsupported-address/.dirs/home 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_GJJE02/gdbus/unsupported-address/.dirs/cache 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_GJJE02/gdbus/unsupported-address/.dirs/system-config1:/tmp/test_gdbus-addresses_GJJE02/gdbus/unsupported-address/.dirs/system-config2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_GJJE02/gdbus/unsupported-address/.dirs/config 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_GJJE02/gdbus/unsupported-address/.dirs/system-data1:/tmp/test_gdbus-addresses_GJJE02/gdbus/unsupported-address/.dirs/system-data2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_GJJE02/gdbus/unsupported-address/.dirs/data 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_GJJE02/gdbus/unsupported-address/.dirs/state 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_GJJE02/gdbus/unsupported-address/.dirs/runtime 1078s ok 2 /gdbus/unsupported-address 1078s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_GJJE02/gdbus/address-parsing/.dirs/home 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_GJJE02/gdbus/address-parsing/.dirs/cache 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_GJJE02/gdbus/address-parsing/.dirs/system-config1:/tmp/test_gdbus-addresses_GJJE02/gdbus/address-parsing/.dirs/system-config2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_GJJE02/gdbus/address-parsing/.dirs/config 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_GJJE02/gdbus/address-parsing/.dirs/system-data1:/tmp/test_gdbus-addresses_GJJE02/gdbus/address-parsing/.dirs/system-data2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_GJJE02/gdbus/address-parsing/.dirs/data 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_GJJE02/gdbus/address-parsing/.dirs/state 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_GJJE02/gdbus/address-parsing/.dirs/runtime 1078s ok 3 /gdbus/address-parsing 1078s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_GJJE02/gdbus/unix-address/.dirs/home 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_GJJE02/gdbus/unix-address/.dirs/cache 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_GJJE02/gdbus/unix-address/.dirs/system-config1:/tmp/test_gdbus-addresses_GJJE02/gdbus/unix-address/.dirs/system-config2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_GJJE02/gdbus/unix-address/.dirs/config 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_GJJE02/gdbus/unix-address/.dirs/system-data1:/tmp/test_gdbus-addresses_GJJE02/gdbus/unix-address/.dirs/system-data2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_GJJE02/gdbus/unix-address/.dirs/data 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_GJJE02/gdbus/unix-address/.dirs/state 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_GJJE02/gdbus/unix-address/.dirs/runtime 1078s ok 4 /gdbus/unix-address 1078s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_GJJE02/gdbus/nonce-tcp-address/.dirs/home 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_GJJE02/gdbus/nonce-tcp-address/.dirs/cache 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_GJJE02/gdbus/nonce-tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_GJJE02/gdbus/nonce-tcp-address/.dirs/system-config2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_GJJE02/gdbus/nonce-tcp-address/.dirs/config 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_GJJE02/gdbus/nonce-tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_GJJE02/gdbus/nonce-tcp-address/.dirs/system-data2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_GJJE02/gdbus/nonce-tcp-address/.dirs/data 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_GJJE02/gdbus/nonce-tcp-address/.dirs/state 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_GJJE02/gdbus/nonce-tcp-address/.dirs/runtime 1078s ok 5 /gdbus/nonce-tcp-address 1078s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_GJJE02/gdbus/tcp-address/.dirs/home 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_GJJE02/gdbus/tcp-address/.dirs/cache 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_GJJE02/gdbus/tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_GJJE02/gdbus/tcp-address/.dirs/system-config2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_GJJE02/gdbus/tcp-address/.dirs/config 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_GJJE02/gdbus/tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_GJJE02/gdbus/tcp-address/.dirs/system-data2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_GJJE02/gdbus/tcp-address/.dirs/data 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_GJJE02/gdbus/tcp-address/.dirs/state 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_GJJE02/gdbus/tcp-address/.dirs/runtime 1078s ok 6 /gdbus/tcp-address 1078s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_GJJE02/gdbus/autolaunch-address/.dirs/home 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_GJJE02/gdbus/autolaunch-address/.dirs/cache 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_GJJE02/gdbus/autolaunch-address/.dirs/system-config1:/tmp/test_gdbus-addresses_GJJE02/gdbus/autolaunch-address/.dirs/system-config2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_GJJE02/gdbus/autolaunch-address/.dirs/config 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_GJJE02/gdbus/autolaunch-address/.dirs/system-data1:/tmp/test_gdbus-addresses_GJJE02/gdbus/autolaunch-address/.dirs/system-data2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_GJJE02/gdbus/autolaunch-address/.dirs/data 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_GJJE02/gdbus/autolaunch-address/.dirs/state 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_GJJE02/gdbus/autolaunch-address/.dirs/runtime 1078s ok 7 /gdbus/autolaunch-address 1078s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_GJJE02/gdbus/mixed-address/.dirs/home 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_GJJE02/gdbus/mixed-address/.dirs/cache 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_GJJE02/gdbus/mixed-address/.dirs/system-config1:/tmp/test_gdbus-addresses_GJJE02/gdbus/mixed-address/.dirs/system-config2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_GJJE02/gdbus/mixed-address/.dirs/config 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_GJJE02/gdbus/mixed-address/.dirs/system-data1:/tmp/test_gdbus-addresses_GJJE02/gdbus/mixed-address/.dirs/system-data2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_GJJE02/gdbus/mixed-address/.dirs/data 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_GJJE02/gdbus/mixed-address/.dirs/state 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_GJJE02/gdbus/mixed-address/.dirs/runtime 1078s ok 8 /gdbus/mixed-address 1078s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_GJJE02/gdbus/escape-address/.dirs/home 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_GJJE02/gdbus/escape-address/.dirs/cache 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_GJJE02/gdbus/escape-address/.dirs/system-config1:/tmp/test_gdbus-addresses_GJJE02/gdbus/escape-address/.dirs/system-config2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_GJJE02/gdbus/escape-address/.dirs/config 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_GJJE02/gdbus/escape-address/.dirs/system-data1:/tmp/test_gdbus-addresses_GJJE02/gdbus/escape-address/.dirs/system-data2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_GJJE02/gdbus/escape-address/.dirs/data 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_GJJE02/gdbus/escape-address/.dirs/state 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_GJJE02/gdbus/escape-address/.dirs/runtime 1078s ok 9 /gdbus/escape-address 1078s # End of gdbus tests 1078s ok - glib/gdbus-addresses.test 1078s # Running test: glib/mappedfile.test 1078s TAP version 14 1078s # random seed: R02S71854e5016c2605ecb0855af706a4ae3 1078s 1..7 1078s # Start of mappedfile tests 1078s ok 1 /mappedfile/basic 1078s ok 2 /mappedfile/empty 1078s ok 3 /mappedfile/device 1078s ok 4 /mappedfile/nonexisting 1078s ok 5 /mappedfile/writable 1078s ok 6 /mappedfile/writable_fd 1078s ok 7 /mappedfile/gbytes 1078s # End of mappedfile tests 1078s ok - glib/mappedfile.test 1078s # Running test: glib/defaultiface.test 1078s TAP version 14 1078s # random seed: R02Sc87c034ba6db73541ec38021bc28e7aa 1078s 1..2 1078s # Start of gobject tests 1078s ok 1 /gobject/static-iface 1078s ok 2 /gobject/dynamic-iface 1078s # End of gobject tests 1078s ok - glib/defaultiface.test 1078s # Running test: glib/overflow-fallback.test 1078s TAP version 14 1078s # random seed: R02Scf95d79f9d698104e24f7ebfd24eb0c9 1078s 1..6 1078s # Start of glib tests 1078s # Start of checked-math tests 1078s ok 1 /glib/checked-math/guint-add 1078s ok 2 /glib/checked-math/guint-mul 1078s ok 3 /glib/checked-math/guint64-add 1078s ok 4 /glib/checked-math/guint64-mul 1078s ok 5 /glib/checked-math/gsize-add 1078s ok 6 /glib/checked-math/gsize-mul 1078s # End of checked-math tests 1078s # End of glib tests 1078s ok - glib/overflow-fallback.test 1078s # Running test: glib/buffered-output-stream.test 1078s TAP version 14 1078s # random seed: R02S665aae3f019416be31b40d2a34773c72 1078s 1..5 1078s # Start of buffered-output-stream tests 1078s ok 1 /buffered-output-stream/write 1078s ok 2 /buffered-output-stream/grow 1078s ok 3 /buffered-output-stream/seek 1078s ok 4 /buffered-output-stream/truncate 1078s # End of buffered-output-stream tests 1078s # Start of filter-output-stream tests 1078s ok 5 /filter-output-stream/close 1078s # End of filter-output-stream tests 1078s ok - glib/buffered-output-stream.test 1078s # Running test: glib/gdbus-connection-slow.test 1078s TAP version 14 1078s # random seed: R02S02b8f25a1cfbd5669e27ae1f944f6f23 1078s 1..2 1078s # Start of gdbus tests 1078s # Start of connection tests 1078s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_8XZA02/gdbus/connection/flush/.dirs/home 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_8XZA02/gdbus/connection/flush/.dirs/cache 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_8XZA02/gdbus/connection/flush/.dirs/system-config1:/tmp/test_gdbus-connection-slow_8XZA02/gdbus/connection/flush/.dirs/system-config2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_8XZA02/gdbus/connection/flush/.dirs/config 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_8XZA02/gdbus/connection/flush/.dirs/system-data1:/tmp/test_gdbus-connection-slow_8XZA02/gdbus/connection/flush/.dirs/system-data2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_8XZA02/gdbus/connection/flush/.dirs/data 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_8XZA02/gdbus/connection/flush/.dirs/state 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_8XZA02/gdbus/connection/flush/.dirs/runtime 1078s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1079s # Executing: glib/gdbus-connection-slow.test 1079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1079s ok 1 /gdbus/connection/flush 1079s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_8XZA02/gdbus/connection/large_message/.dirs/home 1079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_8XZA02/gdbus/connection/large_message/.dirs/cache 1079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_8XZA02/gdbus/connection/large_message/.dirs/system-config1:/tmp/test_gdbus-connection-slow_8XZA02/gdbus/connection/large_message/.dirs/system-config2 1079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_8XZA02/gdbus/connection/large_message/.dirs/config 1079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_8XZA02/gdbus/connection/large_message/.dirs/system-data1:/tmp/test_gdbus-connection-slow_8XZA02/gdbus/connection/large_message/.dirs/system-data2 1079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_8XZA02/gdbus/connection/large_message/.dirs/data 1079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_8XZA02/gdbus/connection/large_message/.dirs/state 1079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_8XZA02/gdbus/connection/large_message/.dirs/runtime 1079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1079s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1079s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1079s ok 2 /gdbus/connection/large_message 1079s # End of connection tests 1079s # End of gdbus tests 1079s ok - glib/gdbus-connection-slow.test 1079s # Running test: glib/macros-c-17.test 1079s TAP version 14 1079s # random seed: R02S073ce847fde215e3b9d5562f24204c22 1079s 1..4 1079s # Start of C tests 1079s ok 1 /C/standard-17 1079s # End of C tests 1079s # Start of alignof tests 1079s ok 2 /alignof/fallback 1079s # End of alignof tests 1079s # Start of assert tests 1079s ok 3 /assert/static 1079s # End of assert tests 1079s # Start of struct tests 1079s ok 4 /struct/sizeof_member 1079s # End of struct tests 1079s ok - glib/macros-c-17.test 1079s # Running test: glib/live-g-file.test 1079s TAP version 14 1079s # random seed: R02S04c8c3b6ee6c5a4c366a0d5b4df3a23f 1079s 1..13 1079s # Start of live-g-file tests 1079s # Cleaning target testing structure in 'testdir_live-g-file'... 1079s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1079s ok 1 /live-g-file/prep_clean_structure 1079s # 1079s # Going to create testing structure in 'testdir_live-g-file'... 1079s # Creating directory 'dir1'... 1079s # Creating directory 'dir1/subdir'... 1079s # Creating directory 'dir2'... 1079s # Creating directory 'dir-target'... 1079s # Creating directory 'dir_no-access'... 1079s # Creating directory 'dir_no-write'... 1079s # Creating file 'target-file'... 1079s # Creating file 'normal_file'... 1079s # Creating symlink 'normal_file-symlink' --> 'normal_file'... 1079s # Creating file 'executable_file'... 1079s # Creating file 'private_file'... 1079s # Creating file 'normal_file2'... 1079s # Creating file 'readonly_file'... 1079s # Creating file 'UTF_pr?i?lis? z'... 1079s # Creating directory 'dir_pr?i?lis? z'... 1079s # Creating symlink 'lost_symlink' --> 'nowhere'... 1079s # Creating directory 'dir_hidden'... 1079s # Creating file 'dir_hidden/.a-hidden-file'... 1079s # Creating file 'dir_hidden/file-in-.hidden1'... 1079s # Creating file 'dir_hidden/file-in-.hidden2'... 1079s # Creating pattern file... 1079s # done. 1079s ok 2 /live-g-file/create_structure 1079s # Testing sample structure in 'testdir_live-g-file'... 1079s # Testing file 'dir1'... 1079s # Testing file 'dir1/subdir'... 1079s # Testing file 'dir2'... 1079s # Testing file 'dir-target'... 1079s # Testing file 'dir_no-access'... 1079s # Testing file 'dir_no-write'... 1079s # Testing file 'target-file'... 1079s # Testing file 'normal_file'... 1079s # Testing file 'normal_file-symlink'... 1079s # Testing file 'executable_file'... 1079s # Testing file 'private_file'... 1079s # Testing file 'normal_file2'... 1079s # Testing file 'readonly_file'... 1079s # Testing file 'UTF_pr?i?lis? z'... 1079s # Testing file 'dir_pr?i?lis? z'... 1079s # Testing file 'lost_symlink'... 1079s # Testing file 'dir_hidden'... 1079s # Testing file 'dir_hidden/.a-hidden-file'... 1079s # Testing file 'dir_hidden/file-in-.hidden1'... 1079s # Testing file 'dir_hidden/file-in-.hidden2'... 1079s # Testing pattern file... 1079s # read 65536 bytes, total = 65536 of 65536. 1079s ok 3 /live-g-file/test_initial_structure 1079s # Traversing through the sample structure in 'testdir_live-g-file'... 1079s # Found file dir1, relative to root: dir1 1079s # Found file subdir, relative to root: dir1/subdir 1079s # Found file dir2, relative to root: dir2 1079s # Found file dir-target, relative to root: dir-target 1079s # Found file dir_no-access, relative to root: dir_no-access 1079s # Found file dir_no-write, relative to root: dir_no-write 1079s # Found file target-file, relative to root: target-file 1079s # Found file normal_file, relative to root: normal_file 1079s # Found file normal_file-symlink, relative to root: normal_file-symlink 1079s # Found file executable_file, relative to root: executable_file 1079s # Found file private_file, relative to root: private_file 1079s # Found file normal_file2, relative to root: normal_file2 1079s # Found file readonly_file, relative to root: readonly_file 1079s # Found file UTF_pr?i?lis? z, relative to root: UTF_pr?i?lis? z 1079s # Found file dir_pr?i?lis? z, relative to root: dir_pr?i?lis? z 1079s # Found file lost_symlink, relative to root: lost_symlink 1079s # Found file dir_hidden, relative to root: dir_hidden 1079s # Found file .a-hidden-file, relative to root: dir_hidden/.a-hidden-file 1079s # Found file file-in-.hidden1, relative to root: dir_hidden/file-in-.hidden1 1079s # Found file .hidden, relative to root: dir_hidden/.hidden 1079s # Found file file-in-.hidden2, relative to root: dir_hidden/file-in-.hidden2 1079s # Found file pattern_file, relative to root: pattern_file 1079s ok 4 /live-g-file/test_traverse_structure 1079s # Test enumerate 'testdir_live-g-file'... 1079s # Testing file 'dir_no-access' 1079s # Testing file 'normal_file' 1079s # Testing file 'normal_file-symlink' 1079s # Testing file 'not_exists' 1079s # Testing file 'not_exists' 1079s # Testing file 'not_exists2' 1079s # Testing file 'not_exists3' 1079s # Testing file 'not_exists4' 1079s # Testing file 'dir_no-execute/file' 1079s ok 5 /live-g-file/test_enumerate 1079s # test_open: 'dir1' 1079s # test_open: 'dir_no-access' 1079s # test_open: 'target-file' 1079s # test_open: 'normal_file-symlink' 1079s # test_open: 'executable_file' 1079s # test_open: 'private_file' 1079s # test_open: 'readonly_file' 1079s # test_open: 'UTF_pr?i?lis? z' 1079s # test_open: 'pattern_file' 1079s # test_open: 'not_exists' 1079s # test_open: 'dir_no-execute/file' 1079s # test_open: 'lost_symlink' 1079s ok 6 /live-g-file/test_open 1079s # test_create: 'dir1' 1079s # error code 3 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-N5R9Z2/testdir_live-g-file/dir1?: Is a directory 1079s # test_create: 'dir1/subdir' 1079s # error code 3 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-N5R9Z2/testdir_live-g-file/dir1/subdir?: Is a directory 1079s # test_create: 'dir2' 1079s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-N5R9Z2/testdir_live-g-file/dir2?: File exists 1079s # test_create: 'normal_file' 1079s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-N5R9Z2/testdir_live-g-file/normal_file?: File exists 1079s # test_create: 'executable_file' 1079s # test_create: 'private_file' 1079s # test_create: 'normal_file2' 1079s # test_create: 'UTF_pr?i?lis? z' 1079s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-N5R9Z2/testdir_live-g-file/UTF_pr?i?lis? z?: File exists 1079s # test_create: 'dir_pr?i?lis? z' 1079s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-N5R9Z2/testdir_live-g-file/dir_pr?i?lis? z?: File exists 1079s # test_create: 'pattern_file' 1079s # test_create: 'not_exists2' 1079s # test_create: 'not_exists3' 1079s # test_create: 'not_exists4' 1079s ok 7 /live-g-file/test_create 1079s # We do not have CAP_DAC_OVERRIDE or equivalent 1079s # do_copy_move: 'dir1/subdir' --> 'dir-target' 1079s # res = 0, error code 25 = Can?t recursively copy directory 1079s # We do not have CAP_DAC_OVERRIDE or equivalent 1079s # do_copy_move: 'dir1/subdir' --> '.' 1079s # res = 0, error code 2 = Target file exists 1079s # We do not have CAP_DAC_OVERRIDE or equivalent 1079s # do_copy_move: 'dir1/subdir' --> 'target-file' 1079s # res = 0, error code 4 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-N5R9Z2/testdir_live-g-file/target-file/dir1/subdir?: Not a directory 1079s # We do not have CAP_DAC_OVERRIDE or equivalent 1079s # do_copy_move: 'dir1/subdir' --> 'not_exists' 1079s # res = 0, error code 25 = Can?t recursively copy directory 1079s # We do not have CAP_DAC_OVERRIDE or equivalent 1079s # do_copy_move: 'dir1/subdir' --> 'dir_no-access' 1079s # res = 0, error code 25 = Can?t recursively copy directory 1079s # We do not have CAP_DAC_OVERRIDE or equivalent 1079s # do_copy_move: 'dir1/subdir' --> 'dir_no-write' 1079s # res = 0, error code 25 = Can?t recursively copy directory 1079s # We do not have CAP_DAC_OVERRIDE or equivalent 1079s # do_copy_move: 'dir2' --> 'dir-target' 1079s # We do not have CAP_DAC_OVERRIDE or equivalent 1079s # do_copy_move: 'dir-target' --> 'dir-target' 1079s # res = 0, error code 25 = Can?t recursively copy directory 1079s # We do not have CAP_DAC_OVERRIDE or equivalent 1079s # do_copy_move: 'dir-target' --> '.' 1079s # res = 0, error code 2 = Target file exists 1079s # We do not have CAP_DAC_OVERRIDE or equivalent 1079s # do_copy_move: 'dir-target' --> 'target-file' 1079s # res = 0, error code 4 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-N5R9Z2/testdir_live-g-file/target-file/dir-target?: Not a directory 1079s # We do not have CAP_DAC_OVERRIDE or equivalent 1079s # do_copy_move: 'dir-target' --> 'not_exists' 1079s # res = 0, error code 25 = Can?t recursively copy directory 1079s # We do not have CAP_DAC_OVERRIDE or equivalent 1079s # do_copy_move: 'dir-target' --> 'dir_no-access' 1079s # res = 0, error code 25 = Can?t recursively copy directory 1079s # We do not have CAP_DAC_OVERRIDE or equivalent 1079s # do_copy_move: 'dir-target' --> 'dir_no-write' 1079s # res = 0, error code 25 = Can?t recursively copy directory 1079s # We do not have CAP_DAC_OVERRIDE or equivalent 1079s # do_copy_move: 'target-file' --> 'dir-target' 1079s # We do not have CAP_DAC_OVERRIDE or equivalent 1079s # do_copy_move: 'target-file' --> '.' 1079s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-N5R9Z2/testdir_live-g-file/target-file?: File exists 1079s # We do not have CAP_DAC_OVERRIDE or equivalent 1079s # do_copy_move: 'target-file' --> 'target-file' 1079s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-N5R9Z2/testdir_live-g-file/target-file/target-file?: Not a directory 1079s # We do not have CAP_DAC_OVERRIDE or equivalent 1079s # do_copy_move: 'target-file' --> 'not_exists' 1079s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-N5R9Z2/testdir_live-g-file/not_exists/target-file?: No such file or directory 1079s # We do not have CAP_DAC_OVERRIDE or equivalent 1079s # do_copy_move: 'target-file' --> 'dir_no-access' 1079s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-N5R9Z2/testdir_live-g-file/dir_no-access/target-file?: Permission denied 1079s # We do not have CAP_DAC_OVERRIDE or equivalent 1079s # do_copy_move: 'target-file' --> 'dir_no-write' 1079s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-N5R9Z2/testdir_live-g-file/dir_no-write/target-file?: Permission denied 1079s # We do not have CAP_DAC_OVERRIDE or equivalent 1079s # do_copy_move: 'normal_file-symlink' --> 'dir-target' 1079s # We do not have CAP_DAC_OVERRIDE or equivalent 1079s # do_copy_move: 'normal_file-symlink' --> '.' 1079s # res = 0, error code 2 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-N5R9Z2/testdir_live-g-file/normal_file-symlink: File exists 1079s # We do not have CAP_DAC_OVERRIDE or equivalent 1079s # do_copy_move: 'normal_file-symlink' --> 'target-file' 1079s # res = 0, error code 4 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-N5R9Z2/testdir_live-g-file/target-file/normal_file-symlink: Not a directory 1079s # We do not have CAP_DAC_OVERRIDE or equivalent 1079s # do_copy_move: 'normal_file-symlink' --> 'not_exists' 1079s # res = 0, error code 1 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-N5R9Z2/testdir_live-g-file/not_exists/normal_file-symlink: No such file or directory 1079s # We do not have CAP_DAC_OVERRIDE or equivalent 1079s # do_copy_move: 'normal_file-symlink' --> 'dir_no-access' 1079s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-N5R9Z2/testdir_live-g-file/dir_no-access/normal_file-symlink: Permission denied 1079s # We do not have CAP_DAC_OVERRIDE or equivalent 1079s # do_copy_move: 'normal_file-symlink' --> 'dir_no-write' 1079s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-N5R9Z2/testdir_live-g-file/dir_no-write/normal_file-symlink: Permission denied 1079s # We do not have CAP_DAC_OVERRIDE or equivalent 1079s # do_copy_move: 'executable_file' --> 'dir-target' 1079s # We do not have CAP_DAC_OVERRIDE or equivalent 1079s # do_copy_move: 'executable_file' --> 'dir-target' 1079s # We do not have CAP_DAC_OVERRIDE or equivalent 1079s # do_copy_move: 'executable_file' --> '.' 1079s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-N5R9Z2/testdir_live-g-file/executable_file?: File exists 1079s # We do not have CAP_DAC_OVERRIDE or equivalent 1079s # do_copy_move: 'executable_file' --> 'target-file' 1079s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-N5R9Z2/testdir_live-g-file/target-file/executable_file?: Not a directory 1079s # We do not have CAP_DAC_OVERRIDE or equivalent 1079s # do_copy_move: 'executable_file' --> 'not_exists' 1079s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-N5R9Z2/testdir_live-g-file/not_exists/executable_file?: No such file or directory 1079s # We do not have CAP_DAC_OVERRIDE or equivalent 1079s # do_copy_move: 'executable_file' --> 'dir_no-access' 1079s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-N5R9Z2/testdir_live-g-file/dir_no-access/executable_file?: Permission denied 1079s # We do not have CAP_DAC_OVERRIDE or equivalent 1079s # do_copy_move: 'executable_file' --> 'dir_no-write' 1079s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-N5R9Z2/testdir_live-g-file/dir_no-write/executable_file?: Permission denied 1079s # We do not have CAP_DAC_OVERRIDE or equivalent 1079s # do_copy_move: 'private_file' --> 'dir-target' 1079s # We do not have CAP_DAC_OVERRIDE or equivalent 1079s # do_copy_move: 'private_file' --> 'dir-target' 1079s # We do not have CAP_DAC_OVERRIDE or equivalent 1079s # do_copy_move: 'private_file' --> '.' 1079s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-N5R9Z2/testdir_live-g-file/private_file?: File exists 1079s # We do not have CAP_DAC_OVERRIDE or equivalent 1079s # do_copy_move: 'private_file' --> 'target-file' 1079s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-N5R9Z2/testdir_live-g-file/target-file/private_file?: Not a directory 1079s # We do not have CAP_DAC_OVERRIDE or equivalent 1079s # do_copy_move: 'private_file' --> 'not_exists' 1079s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-N5R9Z2/testdir_live-g-file/not_exists/private_file?: No such file or directory 1079s # We do not have CAP_DAC_OVERRIDE or equivalent 1079s # do_copy_move: 'private_file' --> 'dir_no-access' 1079s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-N5R9Z2/testdir_live-g-file/dir_no-access/private_file?: Permission denied 1079s # We do not have CAP_DAC_OVERRIDE or equivalent 1079s # do_copy_move: 'private_file' --> 'dir_no-write' 1079s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-N5R9Z2/testdir_live-g-file/dir_no-write/private_file?: Permission denied 1079s # We do not have CAP_DAC_OVERRIDE or equivalent 1079s # do_copy_move: 'normal_file2' --> 'dir-target' 1079s # We do not have CAP_DAC_OVERRIDE or equivalent 1079s # do_copy_move: 'normal_file2' --> 'dir-target' 1079s # We do not have CAP_DAC_OVERRIDE or equivalent 1079s # do_copy_move: 'normal_file2' --> '.' 1079s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-N5R9Z2/testdir_live-g-file/normal_file2?: File exists 1079s # We do not have CAP_DAC_OVERRIDE or equivalent 1079s # do_copy_move: 'normal_file2' --> 'target-file' 1079s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-N5R9Z2/testdir_live-g-file/target-file/normal_file2?: Not a directory 1079s # We do not have CAP_DAC_OVERRIDE or equivalent 1079s # do_copy_move: 'normal_file2' --> 'not_exists' 1079s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-N5R9Z2/testdir_live-g-file/not_exists/normal_file2?: No such file or directory 1079s # We do not have CAP_DAC_OVERRIDE or equivalent 1079s # do_copy_move: 'normal_file2' --> 'dir_no-access' 1079s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-N5R9Z2/testdir_live-g-file/dir_no-access/normal_file2?: Permission denied 1079s # We do not have CAP_DAC_OVERRIDE or equivalent 1079s # do_copy_move: 'normal_file2' --> 'dir_no-write' 1079s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-N5R9Z2/testdir_live-g-file/dir_no-write/normal_file2?: Permission denied 1079s # We do not have CAP_DAC_OVERRIDE or equivalent 1079s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir-target' 1079s # We do not have CAP_DAC_OVERRIDE or equivalent 1079s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir-target' 1079s # We do not have CAP_DAC_OVERRIDE or equivalent 1079s # do_copy_move: 'UTF_pr?i?lis? z' --> '.' 1079s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-N5R9Z2/testdir_live-g-file/UTF_pr?i?lis? z?: File exists 1079s # We do not have CAP_DAC_OVERRIDE or equivalent 1079s # do_copy_move: 'UTF_pr?i?lis? z' --> 'target-file' 1079s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-N5R9Z2/testdir_live-g-file/target-file/UTF_pr?i?lis? z?: Not a directory 1079s # We do not have CAP_DAC_OVERRIDE or equivalent 1079s # do_copy_move: 'UTF_pr?i?lis? z' --> 'not_exists' 1079s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-N5R9Z2/testdir_live-g-file/not_exists/UTF_pr?i?lis? z?: No such file or directory 1079s # We do not have CAP_DAC_OVERRIDE or equivalent 1079s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir_no-access' 1079s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-N5R9Z2/testdir_live-g-file/dir_no-access/UTF_pr?i?lis? z?: Permission denied 1079s # We do not have CAP_DAC_OVERRIDE or equivalent 1079s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir_no-write' 1079s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-N5R9Z2/testdir_live-g-file/dir_no-write/UTF_pr?i?lis? z?: Permission denied 1079s # We do not have CAP_DAC_OVERRIDE or equivalent 1079s # do_copy_move: 'pattern_file' --> 'dir-target' 1079s # We do not have CAP_DAC_OVERRIDE or equivalent 1079s # do_copy_move: 'pattern_file' --> '.' 1079s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-N5R9Z2/testdir_live-g-file/pattern_file?: File exists 1079s # We do not have CAP_DAC_OVERRIDE or equivalent 1079s # do_copy_move: 'pattern_file' --> 'target-file' 1079s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-N5R9Z2/testdir_live-g-file/target-file/pattern_file?: Not a directory 1079s # We do not have CAP_DAC_OVERRIDE or equivalent 1079s # do_copy_move: 'pattern_file' --> 'not_exists' 1079s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-N5R9Z2/testdir_live-g-file/not_exists/pattern_file?: No such file or directory 1079s # We do not have CAP_DAC_OVERRIDE or equivalent 1079s # do_copy_move: 'pattern_file' --> 'dir_no-access' 1079s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-N5R9Z2/testdir_live-g-file/dir_no-access/pattern_file?: Permission denied 1079s # We do not have CAP_DAC_OVERRIDE or equivalent 1079s # do_copy_move: 'pattern_file' --> 'dir_no-write' 1079s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-N5R9Z2/testdir_live-g-file/dir_no-write/pattern_file?: Permission denied 1079s # We do not have CAP_DAC_OVERRIDE or equivalent 1079s # do_copy_move: 'not_exists' --> 'dir-target' 1079s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-N5R9Z2/testdir_live-g-file/not_exists?: No such file or directory 1079s # We do not have CAP_DAC_OVERRIDE or equivalent 1079s # do_copy_move: 'not_exists' --> '.' 1079s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-N5R9Z2/testdir_live-g-file/not_exists?: No such file or directory 1079s # We do not have CAP_DAC_OVERRIDE or equivalent 1079s # do_copy_move: 'not_exists' --> 'target-file' 1079s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-N5R9Z2/testdir_live-g-file/not_exists?: No such file or directory 1079s # We do not have CAP_DAC_OVERRIDE or equivalent 1079s # do_copy_move: 'not_exists' --> 'not_exists' 1079s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-N5R9Z2/testdir_live-g-file/not_exists?: No such file or directory 1079s # We do not have CAP_DAC_OVERRIDE or equivalent 1079s # do_copy_move: 'not_exists' --> 'dir_no-access' 1079s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-N5R9Z2/testdir_live-g-file/not_exists?: No such file or directory 1079s # We do not have CAP_DAC_OVERRIDE or equivalent 1079s # do_copy_move: 'not_exists' --> 'dir_no-write' 1079s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-N5R9Z2/testdir_live-g-file/not_exists?: No such file or directory 1079s # We do not have CAP_DAC_OVERRIDE or equivalent 1079s # do_copy_move: 'not_exists' --> 'dir-target' 1079s # res = 0, error code 1 = Error moving file /tmp/test-tmp-glib_live-g-file.test-N5R9Z2/testdir_live-g-file/not_exists: No such file or directory 1079s # We do not have CAP_DAC_OVERRIDE or equivalent 1079s # do_copy_move: 'lost_symlink' --> 'dir-target' 1079s # We do not have CAP_DAC_OVERRIDE or equivalent 1079s # do_copy_move: 'lost_symlink' --> '.' 1079s # res = 0, error code 2 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-N5R9Z2/testdir_live-g-file/lost_symlink: File exists 1079s # We do not have CAP_DAC_OVERRIDE or equivalent 1079s # do_copy_move: 'lost_symlink' --> 'target-file' 1079s # res = 0, error code 4 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-N5R9Z2/testdir_live-g-file/target-file/lost_symlink: Not a directory 1079s # We do not have CAP_DAC_OVERRIDE or equivalent 1079s # do_copy_move: 'lost_symlink' --> 'not_exists' 1079s # res = 0, error code 1 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-N5R9Z2/testdir_live-g-file/not_exists/lost_symlink: No such file or directory 1079s # We do not have CAP_DAC_OVERRIDE or equivalent 1079s # do_copy_move: 'lost_symlink' --> 'dir_no-access' 1079s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-N5R9Z2/testdir_live-g-file/dir_no-access/lost_symlink: Permission denied 1079s # We do not have CAP_DAC_OVERRIDE or equivalent 1079s # do_copy_move: 'lost_symlink' --> 'dir_no-write' 1079s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-N5R9Z2/testdir_live-g-file/dir_no-write/lost_symlink: Permission denied 1079s ok 8 /live-g-file/test_copy_move 1079s # Deleting dir1, path = /tmp/test-tmp-glib_live-g-file.test-N5R9Z2/testdir_live-g-file/dir1 1079s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-N5R9Z2/testdir_live-g-file/dir1: Directory not empty 1079s # Deleting dir2, path = /tmp/test-tmp-glib_live-g-file.test-N5R9Z2/testdir_live-g-file/dir2 1079s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-N5R9Z2/testdir_live-g-file/dir2: No such file or directory 1079s # Deleting executable_file, path = /tmp/test-tmp-glib_live-g-file.test-N5R9Z2/testdir_live-g-file/executable_file 1079s # Deleting readonly_file, path = /tmp/test-tmp-glib_live-g-file.test-N5R9Z2/testdir_live-g-file/readonly_file 1079s # Deleting dir_pr?i?lis? z, path = /tmp/test-tmp-glib_live-g-file.test-N5R9Z2/testdir_live-g-file/dir_pr?i?lis? z 1079s # Deleting not_exists, path = /tmp/test-tmp-glib_live-g-file.test-N5R9Z2/testdir_live-g-file/not_exists 1079s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-N5R9Z2/testdir_live-g-file/not_exists: No such file or directory 1079s # Deleting not_exists, path = /tmp/test-tmp-glib_live-g-file.test-N5R9Z2/testdir_live-g-file/not_exists 1079s # result = 0, error = Error trashing file /tmp/test-tmp-glib_live-g-file.test-N5R9Z2/testdir_live-g-file/not_exists: No such file or directory 1079s # Deleting dir_no-execute/file, path = /tmp/test-tmp-glib_live-g-file.test-N5R9Z2/testdir_live-g-file/dir_no-execute/file 1079s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-N5R9Z2/testdir_live-g-file/dir_no-execute/file: No such file or directory 1079s # Deleting lost_symlink, path = /tmp/test-tmp-glib_live-g-file.test-N5R9Z2/testdir_live-g-file/lost_symlink 1079s ok 9 /live-g-file/test_delete 1079s # We do not have CAP_DAC_OVERRIDE or equivalent 1079s ok 10 /live-g-file/test_make_directory_with_parents 1079s # Cleaning target testing structure in 'testdir_live-g-file'... 1079s # deleting 'dir1' 1079s # deleting 'subdir' 1079s # deleting 'dir-target' 1079s # deleting 'dir2' 1079s # deleting 'target-file' 1079s # deleting 'normal_file-symlink' 1079s # deleting 'pattern_file' 1079s # deleting 'executable_file' 1079s # deleting 'private_file' 1079s # deleting 'normal_file2' 1079s # deleting 'UTF_pr?i?lis? z' 1079s # deleting 'lost_symlink' 1079s # deleting 'dir_no-access' 1079s # deleting 'dir_no-write' 1079s # deleting 'target-file' 1079s # deleting 'normal_file' 1079s # deleting 'normal_file-symlink' 1079s # deleting 'executable_file~' 1079s # deleting 'private_file' 1079s # deleting 'normal_file2~' 1079s # deleting 'a' 1079s # deleting 'UTF_pr?i?lis? z' 1079s # deleting 'dir_hidden' 1079s # deleting '.a-hidden-file' 1079s # deleting 'file-in-.hidden1' 1079s # deleting '.hidden' 1079s # deleting 'file-in-.hidden2' 1079s # deleting 'pattern_file' 1079s # deleting 'normal_file2' 1079s # deleting 'not_exists2' 1079s # deleting 'not_exists3' 1079s # deleting 'not_exists4' 1079s ok 11 /live-g-file/final_clean 1079s # Start of test_unix_is_mountpoint tests 1079s ok 12 /live-g-file/test_unix_is_mountpoint/sysroot 1079s ok 13 /live-g-file/test_unix_is_mountpoint/proc 1079s # End of test_unix_is_mountpoint tests 1079s # End of live-g-file tests 1079s ok - glib/live-g-file.test 1079s # Running test: glib/trash.test 1079s TAP version 14 1079s # random seed: R02S95d6b6aa1a7c18cd6415258b34b71d99 1079s 1..3 1079s # Start of trash tests 1079s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/251 1079s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1079s # File: /tmp/test-trashDVF6Z2 (parent st_dev: 64769) 1079s # Home: /home/ubuntu (st_dev: 64769) 1079s ok 1 /trash/not-supported # SKIP The file has to be on another filesystem than the home trash to run this test 1079s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1522 1079s # Target: /home/ubuntu/.local (mount: /) 1079s # Tmp: /tmp/test-trashE1F6Z2 (mount: /) 1079s ok 2 /trash/symlinks # SKIP The tmp has to be on another mount than the home to run this test 1079s ok 3 /trash/long-filename 1079s # End of trash tests 1079s ok - glib/trash.test 1079s # Running test: glib/sequence.test 1079s TAP version 14 1079s # random seed: R02S24fecc21889dff24ed617a4fb0ef3289 1079s 1..16 1079s # Start of sequence tests 1079s ok 1 /sequence/out-of-range-jump 1079s ok 2 /sequence/iter-move 1079s ok 3 /sequence/insert-sorted-non-pointer 1079s ok 4 /sequence/stable-sort 1079s ok 5 /sequence/is_empty 1079s # Start of random tests 1080s ok 6 /sequence/random/seed:825541564 1080s ok 7 /sequence/random/seed:801678400 1081s ok 8 /sequence/random/seed:1477639090 1081s ok 9 /sequence/random/seed:3369132895 1082s ok 10 /sequence/random/seed:1192944867 1082s ok 11 /sequence/random/seed:770458294 1082s ok 12 /sequence/random/seed:1099575817 1083s ok 13 /sequence/random/seed:590523467 1083s ok 14 /sequence/random/seed:3583571454 1084s # Executing: glib/sequence.test 1084s ok 15 /sequence/random/seed:579241222 1084s ok 16 /sequence/random/seed:18997241 1084s # End of random tests 1084s # End of sequence tests 1084s ok - glib/sequence.test 1084s # Running test: glib/data-input-stream.test 1084s TAP version 14 1084s # random seed: R02Sfa961bbef669b21b29cc493de3daf348 1084s 1..10 1084s # Start of data-input-stream tests 1084s ok 1 /data-input-stream/basic 1084s ok 2 /data-input-stream/read-lines-LF 1084s ok 3 /data-input-stream/read-lines-LF-valid-utf8 1084s ok 4 /data-input-stream/read-lines-LF-invalid-utf8 1084s ok 5 /data-input-stream/read-lines-CR 1084s ok 6 /data-input-stream/read-lines-CR-LF 1084s ok 7 /data-input-stream/read-lines-any 1084s ok 8 /data-input-stream/read-until 1084s ok 9 /data-input-stream/read-upto 1084s ok 10 /data-input-stream/read-int 1084s # End of data-input-stream tests 1084s ok - glib/data-input-stream.test 1084s # Running test: glib/signals-refcount1.test 1084s TAP version 14 1084s # random seed: R02Sec826d43c0dedf912e6d7ef18e1c4827 1084s 1..1 1084s # Start of gobject tests 1084s # Start of refcount tests 1084s # init 0x63efcc37c420 1084s # 1084s # init 0x63efcc37c5c0 1084s # 1089s # Executing: glib/signals-refcount1.test 1089s # dispose 0x63efcc37c420! 1089s # 1089s # dispose 0x63efcc37c5c0! 1089s # 1089s ok 1 /gobject/refcount/signals 1089s # slow test /gobject/refcount/signals executed in 5.00 secs 1089s # End of refcount tests 1089s # End of gobject tests 1089s ok - glib/signals-refcount1.test 1089s # Running test: glib/fdo-notification-backend.test 1089s TAP version 14 1089s # random seed: R02Scae8fcb4581ec84326a2e7157bf32b9a 1089s 1..2 1089s # Start of fdo-notification-backend tests 1089s # Test constructing a GFdoNotificationBackend 1089s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1089s ok 1 /fdo-notification-backend/construction 1089s # Start of dbus tests 1089s # /fdo-notification-backend/dbus/activate-action summary: Test how the backend handles valid and invalid ActionInvoked signals from the daemon 1089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1089s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1089s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1089s ok 2 /fdo-notification-backend/dbus/activate-action 1089s # End of dbus tests 1089s # End of fdo-notification-backend tests 1089s ok - glib/fdo-notification-backend.test 1090s # Running test: glib/memory-output-stream.test 1090s TAP version 14 1090s # random seed: R02S0c9acd88691bb2a1c8f54a2862ee313a 1090s 1..10 1090s # Start of memory-output-stream tests 1090s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540423 1090s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=720080 1090s ok 1 /memory-output-stream/truncate 1090s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540459 1090s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540461 1090s ok 2 /memory-output-stream/get-data-size 1090s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=605733 1090s ok 3 /memory-output-stream/properties 1090s ok 4 /memory-output-stream/write-bytes 1090s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2471 1090s ok 5 /memory-output-stream/write-null 1090s ok 6 /memory-output-stream/writev 1090s ok 7 /memory-output-stream/writev_nonblocking 1090s ok 8 /memory-output-stream/steal_as_bytes 1090s # Start of seek tests 1090s ok 9 /memory-output-stream/seek/fixed 1090s ok 10 /memory-output-stream/seek/resizable 1090s # End of seek tests 1090s # End of memory-output-stream tests 1090s ok - glib/memory-output-stream.test 1090s # Running test: glib/fileattributematcher.test 1090s TAP version 14 1090s # random seed: R02S94337b1cb01d9a7e2e3cb7c50d266622 1090s 1..3 1090s # Start of fileattributematcher tests 1090s ok 1 /fileattributematcher/exact 1090s ok 2 /fileattributematcher/equality 1090s ok 3 /fileattributematcher/subtract 1090s # End of fileattributematcher tests 1090s ok - glib/fileattributematcher.test 1090s # Running test: glib/dynamictests.test 1090s TAP version 14 1090s # random seed: R02S4ceb8bdb23f2e635b13e33d8c0d45986 1090s 1..2 1090s # Start of GObject tests 1090s ok 1 /GObject/threaded-dynamic-ref-unref-init 1090s ok 2 /GObject/dynamic-interface-properties 1090s # End of GObject tests 1090s ok - glib/dynamictests.test 1090s # Running test: glib/testfilemonitor.test 1090s TAP version 14 1090s # random seed: R02S67c5a4f89aebb2b5d303bc611f334a1c 1090s 1..8 1090s # Start of monitor tests 1090s ok 1 /monitor/atomic-replace # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1090s ok 2 /monitor/file-changes # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1090s ok 3 /monitor/dir-monitor # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1090s ok 4 /monitor/dir-not-existent # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1090s ok 5 /monitor/cross-dir-moves # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1090s ok 6 /monitor/finalize-in-callback # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1090s # /monitor/root summary: Test that GFileMonitor can monitor the root directory. 1090s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241 1090s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1090s ok 7 /monitor/root # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1090s # Start of file tests 1090s ok 8 /monitor/file/hard-links # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1090s # End of file tests 1090s # End of monitor tests 1090s ok - glib/testfilemonitor.test 1090s # Running test: glib/enums.test 1090s TAP version 14 1090s # random seed: R02Se8995109f7b4af7347a1d633a89eb33f 1090s 1..4 1090s # Start of enum tests 1090s ok 1 /enum/basic 1090s ok 2 /enum/define-type 1090s # End of enum tests 1090s # Start of flags tests 1090s ok 3 /flags/basic 1090s ok 4 /flags/define-type 1090s # End of flags tests 1090s ok - glib/enums.test 1090s # Running test: glib/environment.test 1090s TAP version 14 1090s # random seed: R02Sa9fe55ff6e718b33ce3b38a994cd5c10 1090s 1..6 1090s # Start of environ tests 1090s # /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. 1090s ok 1 /environ/listenv 1090s # /environ/getenv summary: Test setting an environment variable using g_setenv(), and that the updated value is queryable using g_getenv(). 1090s ok 2 /environ/getenv 1090s ok 3 /environ/setenv 1090s # /environ/array summary: Test getting and setting variables on a local envp array (rather than the global envp). 1090s ok 4 /environ/array 1090s # /environ/null summary: Test getting and setting variables on a NULL envp array. 1090s ok 5 /environ/null 1090s # /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. 1090s ok 6 /environ/case 1090s # End of environ tests 1090s ok - glib/environment.test 1090s # Running test: glib/dynamictype.test 1090s TAP version 14 1090s # random seed: R02S5ca5ad2e0f25d8f791b5f43a23e9409a 1090s 1..2 1090s # Start of gobject tests 1090s ok 1 /gobject/dynamic-type 1090s # Start of dynamic-type tests 1090s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/623 1090s ok 2 /gobject/dynamic-type/query 1090s # End of dynamic-type tests 1090s # End of gobject tests 1090s ok - glib/dynamictype.test 1090s # Running test: glib/spawn-path-search.test 1090s TAP version 14 1090s # random seed: R02S26d398bf7d330bfd120c3152d10e221d 1090s 1..7 1090s # Start of spawn tests 1090s # /spawn/do-not-search summary: Without G_SPAWN_SEARCH_PATH, spawn-test-helper means ./spawn-test-helper. 1090s # 1090s # this is spawn-test-helper from glib/tests 1090s # 1090s ok 1 /spawn/do-not-search 1090s # /spawn/search-path summary: With G_SPAWN_SEARCH_PATH, spawn-test-helper means $PATH/spawn-test-helper. 1090s # 1090s # this is spawn-test-helper from path-test-subdir 1090s # 1090s ok 2 /spawn/search-path 1090s # /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. 1090s # 1090s # this is spawn-test-helper from path-test-subdir 1090s # 1090s ok 3 /spawn/search-path-from-envp 1090s # /spawn/search-path-ambiguous summary: With G_SPAWN_SEARCH_PATH and G_SPAWN_SEARCH_PATH_FROM_ENVP, the latter wins. 1090s # 1090s # this is spawn-test-helper from path-test-subdir 1090s # 1090s ok 4 /spawn/search-path-ambiguous 1090s # 1090s # this is spawn-test-helper from path-test-subdir 1090s # 1090s ok 5 /spawn/search-path-heap-allocation 1090s # /spawn/search-path-fallback-in-environ summary: With G_SPAWN_SEARCH_PATH but no PATH, a fallback is used. 1090s # 1090s # this is spawn-test-helper from glib/tests 1090s # 1090s ok 6 /spawn/search-path-fallback-in-environ 1090s # /spawn/search-path-fallback-in-envp summary: With G_SPAWN_SEARCH_PATH_FROM_ENVP but no PATH, a fallback is used. 1090s # 1090s # this is spawn-test-helper from glib/tests 1090s # 1090s ok 7 /spawn/search-path-fallback-in-envp 1090s # End of spawn tests 1090s ok - glib/spawn-path-search.test 1090s # Running test: glib/gdbus-bz627724.test 1090s TAP version 14 1090s # random seed: R02Sb885c83610a82c71069b2cc81692c839 1090s 1..1 1090s # Start of gdbus tests 1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-bz627724_MIFJ02/gdbus/bz627724/.dirs/home 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-bz627724_MIFJ02/gdbus/bz627724/.dirs/cache 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-bz627724_MIFJ02/gdbus/bz627724/.dirs/system-config1:/tmp/test_gdbus-bz627724_MIFJ02/gdbus/bz627724/.dirs/system-config2 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-bz627724_MIFJ02/gdbus/bz627724/.dirs/config 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-bz627724_MIFJ02/gdbus/bz627724/.dirs/system-data1:/tmp/test_gdbus-bz627724_MIFJ02/gdbus/bz627724/.dirs/system-data2 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-bz627724_MIFJ02/gdbus/bz627724/.dirs/data 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-bz627724_MIFJ02/gdbus/bz627724/.dirs/state 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-bz627724_MIFJ02/gdbus/bz627724/.dirs/runtime 1090s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1090s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1090s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1090s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1090s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1090s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1090s ok 1 /gdbus/bz627724 1090s # End of gdbus tests 1090s ok - glib/gdbus-bz627724.test 1090s # Running test: glib/assert-msg-test.py.test 1090s TAP version 13 1090s ok 1 __main__.TestAssertMessage.test_gassert 1090s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test 1090s # Running: ['/usr/libexec/installed-tests/glib/assert-msg-test'] 1090s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8'} 1090s # Output: Bail out! GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0) 1090s # Error: ** 1090s # GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0) 1090s ok 2 __main__.TestAssertMessage.test_gdb_gassert # SKIP GDB is not installed, skipping this test! 1090s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test 1090s 1..2 1090s ok - glib/assert-msg-test.py.test 1090s # Running test: glib/resolver-parsing.test 1090s TAP version 14 1090s # random seed: R02Sc68c7041eda6f6c6c4b0b77df24dfac1 1090s 1..21 1090s # Start of gresolver tests 1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_C6UK02/gresolver/invalid-header/.dirs/home 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_C6UK02/gresolver/invalid-header/.dirs/cache 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_C6UK02/gresolver/invalid-header/.dirs/system-config1:/tmp/test_resolver-parsing_C6UK02/gresolver/invalid-header/.dirs/system-config2 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_C6UK02/gresolver/invalid-header/.dirs/config 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_C6UK02/gresolver/invalid-header/.dirs/system-data1:/tmp/test_resolver-parsing_C6UK02/gresolver/invalid-header/.dirs/system-data2 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_C6UK02/gresolver/invalid-header/.dirs/data 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_C6UK02/gresolver/invalid-header/.dirs/state 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_C6UK02/gresolver/invalid-header/.dirs/runtime 1090s ok 1 /gresolver/invalid-header 1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_C6UK02/gresolver/record-ownership/.dirs/home 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_C6UK02/gresolver/record-ownership/.dirs/cache 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_C6UK02/gresolver/record-ownership/.dirs/system-config1:/tmp/test_resolver-parsing_C6UK02/gresolver/record-ownership/.dirs/system-config2 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_C6UK02/gresolver/record-ownership/.dirs/config 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_C6UK02/gresolver/record-ownership/.dirs/system-data1:/tmp/test_resolver-parsing_C6UK02/gresolver/record-ownership/.dirs/system-data2 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_C6UK02/gresolver/record-ownership/.dirs/data 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_C6UK02/gresolver/record-ownership/.dirs/state 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_C6UK02/gresolver/record-ownership/.dirs/runtime 1090s ok 2 /gresolver/record-ownership 1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_C6UK02/gresolver/unknown-record-type/.dirs/home 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_C6UK02/gresolver/unknown-record-type/.dirs/cache 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_C6UK02/gresolver/unknown-record-type/.dirs/system-config1:/tmp/test_resolver-parsing_C6UK02/gresolver/unknown-record-type/.dirs/system-config2 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_C6UK02/gresolver/unknown-record-type/.dirs/config 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_C6UK02/gresolver/unknown-record-type/.dirs/system-data1:/tmp/test_resolver-parsing_C6UK02/gresolver/unknown-record-type/.dirs/system-data2 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_C6UK02/gresolver/unknown-record-type/.dirs/data 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_C6UK02/gresolver/unknown-record-type/.dirs/state 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_C6UK02/gresolver/unknown-record-type/.dirs/runtime 1090s # GLib-GIO-DEBUG: Unrecognized DNS record type 20 1090s ok 3 /gresolver/unknown-record-type 1090s # Start of mx tests 1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_C6UK02/gresolver/mx/valid/.dirs/home 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_C6UK02/gresolver/mx/valid/.dirs/cache 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_C6UK02/gresolver/mx/valid/.dirs/system-config1:/tmp/test_resolver-parsing_C6UK02/gresolver/mx/valid/.dirs/system-config2 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_C6UK02/gresolver/mx/valid/.dirs/config 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_C6UK02/gresolver/mx/valid/.dirs/system-data1:/tmp/test_resolver-parsing_C6UK02/gresolver/mx/valid/.dirs/system-data2 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_C6UK02/gresolver/mx/valid/.dirs/data 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_C6UK02/gresolver/mx/valid/.dirs/state 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_C6UK02/gresolver/mx/valid/.dirs/runtime 1090s ok 4 /gresolver/mx/valid 1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_C6UK02/gresolver/mx/invalid/.dirs/home 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_C6UK02/gresolver/mx/invalid/.dirs/cache 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_C6UK02/gresolver/mx/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_C6UK02/gresolver/mx/invalid/.dirs/system-config2 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_C6UK02/gresolver/mx/invalid/.dirs/config 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_C6UK02/gresolver/mx/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_C6UK02/gresolver/mx/invalid/.dirs/system-data2 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_C6UK02/gresolver/mx/invalid/.dirs/data 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_C6UK02/gresolver/mx/invalid/.dirs/state 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_C6UK02/gresolver/mx/invalid/.dirs/runtime 1090s ok 5 /gresolver/mx/invalid 1090s # Start of invalid tests 1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_C6UK02/gresolver/mx/invalid/too-short/.dirs/home 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_C6UK02/gresolver/mx/invalid/too-short/.dirs/cache 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_C6UK02/gresolver/mx/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_C6UK02/gresolver/mx/invalid/too-short/.dirs/system-config2 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_C6UK02/gresolver/mx/invalid/too-short/.dirs/config 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_C6UK02/gresolver/mx/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_C6UK02/gresolver/mx/invalid/too-short/.dirs/system-data2 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_C6UK02/gresolver/mx/invalid/too-short/.dirs/data 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_C6UK02/gresolver/mx/invalid/too-short/.dirs/state 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_C6UK02/gresolver/mx/invalid/too-short/.dirs/runtime 1090s ok 6 /gresolver/mx/invalid/too-short 1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_C6UK02/gresolver/mx/invalid/too-short2/.dirs/home 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_C6UK02/gresolver/mx/invalid/too-short2/.dirs/cache 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_C6UK02/gresolver/mx/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_C6UK02/gresolver/mx/invalid/too-short2/.dirs/system-config2 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_C6UK02/gresolver/mx/invalid/too-short2/.dirs/config 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_C6UK02/gresolver/mx/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_C6UK02/gresolver/mx/invalid/too-short2/.dirs/system-data2 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_C6UK02/gresolver/mx/invalid/too-short2/.dirs/data 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_C6UK02/gresolver/mx/invalid/too-short2/.dirs/state 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_C6UK02/gresolver/mx/invalid/too-short2/.dirs/runtime 1090s ok 7 /gresolver/mx/invalid/too-short2 1090s # End of invalid tests 1090s # End of mx tests 1090s # Start of ns tests 1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_C6UK02/gresolver/ns/valid/.dirs/home 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_C6UK02/gresolver/ns/valid/.dirs/cache 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_C6UK02/gresolver/ns/valid/.dirs/system-config1:/tmp/test_resolver-parsing_C6UK02/gresolver/ns/valid/.dirs/system-config2 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_C6UK02/gresolver/ns/valid/.dirs/config 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_C6UK02/gresolver/ns/valid/.dirs/system-data1:/tmp/test_resolver-parsing_C6UK02/gresolver/ns/valid/.dirs/system-data2 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_C6UK02/gresolver/ns/valid/.dirs/data 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_C6UK02/gresolver/ns/valid/.dirs/state 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_C6UK02/gresolver/ns/valid/.dirs/runtime 1090s ok 8 /gresolver/ns/valid 1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_C6UK02/gresolver/ns/invalid/.dirs/home 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_C6UK02/gresolver/ns/invalid/.dirs/cache 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_C6UK02/gresolver/ns/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_C6UK02/gresolver/ns/invalid/.dirs/system-config2 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_C6UK02/gresolver/ns/invalid/.dirs/config 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_C6UK02/gresolver/ns/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_C6UK02/gresolver/ns/invalid/.dirs/system-data2 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_C6UK02/gresolver/ns/invalid/.dirs/data 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_C6UK02/gresolver/ns/invalid/.dirs/state 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_C6UK02/gresolver/ns/invalid/.dirs/runtime 1090s ok 9 /gresolver/ns/invalid 1090s # End of ns tests 1090s # Start of soa tests 1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_C6UK02/gresolver/soa/valid/.dirs/home 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_C6UK02/gresolver/soa/valid/.dirs/cache 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_C6UK02/gresolver/soa/valid/.dirs/system-config1:/tmp/test_resolver-parsing_C6UK02/gresolver/soa/valid/.dirs/system-config2 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_C6UK02/gresolver/soa/valid/.dirs/config 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_C6UK02/gresolver/soa/valid/.dirs/system-data1:/tmp/test_resolver-parsing_C6UK02/gresolver/soa/valid/.dirs/system-data2 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_C6UK02/gresolver/soa/valid/.dirs/data 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_C6UK02/gresolver/soa/valid/.dirs/state 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_C6UK02/gresolver/soa/valid/.dirs/runtime 1090s ok 10 /gresolver/soa/valid 1090s # Start of invalid tests 1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_C6UK02/gresolver/soa/invalid/mname/.dirs/home 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_C6UK02/gresolver/soa/invalid/mname/.dirs/cache 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_C6UK02/gresolver/soa/invalid/mname/.dirs/system-config1:/tmp/test_resolver-parsing_C6UK02/gresolver/soa/invalid/mname/.dirs/system-config2 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_C6UK02/gresolver/soa/invalid/mname/.dirs/config 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_C6UK02/gresolver/soa/invalid/mname/.dirs/system-data1:/tmp/test_resolver-parsing_C6UK02/gresolver/soa/invalid/mname/.dirs/system-data2 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_C6UK02/gresolver/soa/invalid/mname/.dirs/data 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_C6UK02/gresolver/soa/invalid/mname/.dirs/state 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_C6UK02/gresolver/soa/invalid/mname/.dirs/runtime 1090s ok 11 /gresolver/soa/invalid/mname 1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_C6UK02/gresolver/soa/invalid/rname/.dirs/home 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_C6UK02/gresolver/soa/invalid/rname/.dirs/cache 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_C6UK02/gresolver/soa/invalid/rname/.dirs/system-config1:/tmp/test_resolver-parsing_C6UK02/gresolver/soa/invalid/rname/.dirs/system-config2 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_C6UK02/gresolver/soa/invalid/rname/.dirs/config 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_C6UK02/gresolver/soa/invalid/rname/.dirs/system-data1:/tmp/test_resolver-parsing_C6UK02/gresolver/soa/invalid/rname/.dirs/system-data2 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_C6UK02/gresolver/soa/invalid/rname/.dirs/data 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_C6UK02/gresolver/soa/invalid/rname/.dirs/state 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_C6UK02/gresolver/soa/invalid/rname/.dirs/runtime 1090s ok 12 /gresolver/soa/invalid/rname 1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_C6UK02/gresolver/soa/invalid/too-short/.dirs/home 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_C6UK02/gresolver/soa/invalid/too-short/.dirs/cache 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_C6UK02/gresolver/soa/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_C6UK02/gresolver/soa/invalid/too-short/.dirs/system-config2 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_C6UK02/gresolver/soa/invalid/too-short/.dirs/config 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_C6UK02/gresolver/soa/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_C6UK02/gresolver/soa/invalid/too-short/.dirs/system-data2 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_C6UK02/gresolver/soa/invalid/too-short/.dirs/data 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_C6UK02/gresolver/soa/invalid/too-short/.dirs/state 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_C6UK02/gresolver/soa/invalid/too-short/.dirs/runtime 1090s ok 13 /gresolver/soa/invalid/too-short 1090s # End of invalid tests 1090s # End of soa tests 1090s # Start of srv tests 1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_C6UK02/gresolver/srv/valid/.dirs/home 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_C6UK02/gresolver/srv/valid/.dirs/cache 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_C6UK02/gresolver/srv/valid/.dirs/system-config1:/tmp/test_resolver-parsing_C6UK02/gresolver/srv/valid/.dirs/system-config2 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_C6UK02/gresolver/srv/valid/.dirs/config 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_C6UK02/gresolver/srv/valid/.dirs/system-data1:/tmp/test_resolver-parsing_C6UK02/gresolver/srv/valid/.dirs/system-data2 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_C6UK02/gresolver/srv/valid/.dirs/data 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_C6UK02/gresolver/srv/valid/.dirs/state 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_C6UK02/gresolver/srv/valid/.dirs/runtime 1090s ok 14 /gresolver/srv/valid 1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_C6UK02/gresolver/srv/invalid/.dirs/home 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_C6UK02/gresolver/srv/invalid/.dirs/cache 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_C6UK02/gresolver/srv/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_C6UK02/gresolver/srv/invalid/.dirs/system-config2 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_C6UK02/gresolver/srv/invalid/.dirs/config 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_C6UK02/gresolver/srv/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_C6UK02/gresolver/srv/invalid/.dirs/system-data2 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_C6UK02/gresolver/srv/invalid/.dirs/data 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_C6UK02/gresolver/srv/invalid/.dirs/state 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_C6UK02/gresolver/srv/invalid/.dirs/runtime 1090s ok 15 /gresolver/srv/invalid 1090s # Start of invalid tests 1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_C6UK02/gresolver/srv/invalid/too-short/.dirs/home 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_C6UK02/gresolver/srv/invalid/too-short/.dirs/cache 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_C6UK02/gresolver/srv/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_C6UK02/gresolver/srv/invalid/too-short/.dirs/system-config2 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_C6UK02/gresolver/srv/invalid/too-short/.dirs/config 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_C6UK02/gresolver/srv/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_C6UK02/gresolver/srv/invalid/too-short/.dirs/system-data2 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_C6UK02/gresolver/srv/invalid/too-short/.dirs/data 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_C6UK02/gresolver/srv/invalid/too-short/.dirs/state 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_C6UK02/gresolver/srv/invalid/too-short/.dirs/runtime 1090s ok 16 /gresolver/srv/invalid/too-short 1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_C6UK02/gresolver/srv/invalid/too-short2/.dirs/home 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_C6UK02/gresolver/srv/invalid/too-short2/.dirs/cache 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_C6UK02/gresolver/srv/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_C6UK02/gresolver/srv/invalid/too-short2/.dirs/system-config2 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_C6UK02/gresolver/srv/invalid/too-short2/.dirs/config 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_C6UK02/gresolver/srv/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_C6UK02/gresolver/srv/invalid/too-short2/.dirs/system-data2 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_C6UK02/gresolver/srv/invalid/too-short2/.dirs/data 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_C6UK02/gresolver/srv/invalid/too-short2/.dirs/state 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_C6UK02/gresolver/srv/invalid/too-short2/.dirs/runtime 1090s ok 17 /gresolver/srv/invalid/too-short2 1090s # End of invalid tests 1090s # End of srv tests 1090s # Start of txt tests 1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_C6UK02/gresolver/txt/valid/.dirs/home 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_C6UK02/gresolver/txt/valid/.dirs/cache 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_C6UK02/gresolver/txt/valid/.dirs/system-config1:/tmp/test_resolver-parsing_C6UK02/gresolver/txt/valid/.dirs/system-config2 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_C6UK02/gresolver/txt/valid/.dirs/config 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_C6UK02/gresolver/txt/valid/.dirs/system-data1:/tmp/test_resolver-parsing_C6UK02/gresolver/txt/valid/.dirs/system-data2 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_C6UK02/gresolver/txt/valid/.dirs/data 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_C6UK02/gresolver/txt/valid/.dirs/state 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_C6UK02/gresolver/txt/valid/.dirs/runtime 1090s ok 18 /gresolver/txt/valid 1090s # Start of valid tests 1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_C6UK02/gresolver/txt/valid/multiple-strings/.dirs/home 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_C6UK02/gresolver/txt/valid/multiple-strings/.dirs/cache 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_C6UK02/gresolver/txt/valid/multiple-strings/.dirs/system-config1:/tmp/test_resolver-parsing_C6UK02/gresolver/txt/valid/multiple-strings/.dirs/system-config2 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_C6UK02/gresolver/txt/valid/multiple-strings/.dirs/config 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_C6UK02/gresolver/txt/valid/multiple-strings/.dirs/system-data1:/tmp/test_resolver-parsing_C6UK02/gresolver/txt/valid/multiple-strings/.dirs/system-data2 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_C6UK02/gresolver/txt/valid/multiple-strings/.dirs/data 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_C6UK02/gresolver/txt/valid/multiple-strings/.dirs/state 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_C6UK02/gresolver/txt/valid/multiple-strings/.dirs/runtime 1090s ok 19 /gresolver/txt/valid/multiple-strings 1090s # End of valid tests 1090s # Start of invalid tests 1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_C6UK02/gresolver/txt/invalid/empty/.dirs/home 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_C6UK02/gresolver/txt/invalid/empty/.dirs/cache 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_C6UK02/gresolver/txt/invalid/empty/.dirs/system-config1:/tmp/test_resolver-parsing_C6UK02/gresolver/txt/invalid/empty/.dirs/system-config2 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_C6UK02/gresolver/txt/invalid/empty/.dirs/config 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_C6UK02/gresolver/txt/invalid/empty/.dirs/system-data1:/tmp/test_resolver-parsing_C6UK02/gresolver/txt/invalid/empty/.dirs/system-data2 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_C6UK02/gresolver/txt/invalid/empty/.dirs/data 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_C6UK02/gresolver/txt/invalid/empty/.dirs/state 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_C6UK02/gresolver/txt/invalid/empty/.dirs/runtime 1090s ok 20 /gresolver/txt/invalid/empty 1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_C6UK02/gresolver/txt/invalid/overflow/.dirs/home 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_C6UK02/gresolver/txt/invalid/overflow/.dirs/cache 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_C6UK02/gresolver/txt/invalid/overflow/.dirs/system-config1:/tmp/test_resolver-parsing_C6UK02/gresolver/txt/invalid/overflow/.dirs/system-config2 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_C6UK02/gresolver/txt/invalid/overflow/.dirs/config 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_C6UK02/gresolver/txt/invalid/overflow/.dirs/system-data1:/tmp/test_resolver-parsing_C6UK02/gresolver/txt/invalid/overflow/.dirs/system-data2 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_C6UK02/gresolver/txt/invalid/overflow/.dirs/data 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_C6UK02/gresolver/txt/invalid/overflow/.dirs/state 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_C6UK02/gresolver/txt/invalid/overflow/.dirs/runtime 1090s ok 21 /gresolver/txt/invalid/overflow 1090s # End of invalid tests 1090s # End of txt tests 1090s # End of gresolver tests 1090s ok - glib/resolver-parsing.test 1090s # Running test: glib/guuid.test 1090s TAP version 14 1090s # random seed: R02S58f693cadd95076b1661b3c9aa62c660 1090s 1..2 1090s # Start of uuid tests 1090s ok 1 /uuid/string 1090s ok 2 /uuid/random 1090s # End of uuid tests 1090s ok - glib/guuid.test 1090s # Running test: glib/unicode.test 1090s TAP version 14 1090s # random seed: R02S88705b5705750a632f333592740bc825 1090s 1..39 1090s # Start of unicode tests 1090s ok 1 /unicode/alnum 1090s ok 2 /unicode/alpha 1090s ok 3 /unicode/break-type 1090s ok 4 /unicode/canonical-decomposition 1090s ok 5 /unicode/casefold 1090s # Cannot set locale to lt_LT, skipping 1090s # Cannot set locale to lt_LT, skipping 1090s # Cannot set locale to lt_LT, skipping 1090s # Cannot set locale to lt_LT, skipping 1090s # Cannot set locale to lt_LT, skipping 1090s # Cannot set locale to lt_LT, skipping 1090s # Cannot set locale to lt_LT, skipping 1090s # Cannot set locale to lt_LT, skipping 1090s # Cannot set locale to lt_LT, skipping 1090s # Cannot set locale to lt_LT, skipping 1090s # Cannot set locale to lt_LT, skipping 1090s ok 6 /unicode/casemap_and_casefold 1090s ok 7 /unicode/cases 1090s ok 8 /unicode/character-type 1090s ok 9 /unicode/cntrl 1090s ok 10 /unicode/combining-class 1090s ok 11 /unicode/compose 1090s ok 12 /unicode/decompose 1090s ok 13 /unicode/decompose-tail 1090s ok 14 /unicode/defined 1090s ok 15 /unicode/digit 1090s ok 16 /unicode/digit-value 1090s ok 17 /unicode/fully-decompose-canonical 1090s ok 18 /unicode/fully-decompose-len 1090s ok 19 /unicode/normalization 1090s ok 20 /unicode/graph 1090s # Testing script Zyyy (code 1517910393) 1090s # Testing script Zinh (code 1516858984) 1090s # Testing script Zmth (code 1517122664) 1090s # Testing script Arab (code 1098015074) 1090s # Testing script Armn (code 1098018158) 1090s # Testing script Beng (code 1113943655) 1090s # Testing script Bopo (code 1114599535) 1090s # Testing script Cher (code 1130915186) 1090s # Testing script Copt (code 1131376756) 1090s # Testing script Cyrl (code 1132032620) 1090s # Testing script Dsrt (code 1148416628) 1090s # Testing script Deva (code 1147500129) 1090s # Testing script Ethi (code 1165256809) 1090s # Testing script Geor (code 1197830002) 1090s # Testing script Goth (code 1198486632) 1090s # Testing script Grek (code 1198679403) 1090s # Testing script Gujr (code 1198877298) 1090s # Testing script Guru (code 1198879349) 1090s # Testing script Hani (code 1214344809) 1090s # Testing script Hang (code 1214344807) 1090s # Testing script Hebr (code 1214603890) 1090s # Testing script Hira (code 1214870113) 1090s # Testing script Knda (code 1265525857) 1090s # Testing script Kana (code 1264676449) 1090s # Testing script Khmr (code 1265134962) 1090s # Testing script Laoo (code 1281453935) 1090s # Testing script Latn (code 1281455214) 1090s # Testing script Mlym (code 1298954605) 1090s # Testing script Mong (code 1299148391) 1090s # Testing script Mymr (code 1299803506) 1090s # Testing script Ogam (code 1332175213) 1090s # Testing script Ital (code 1232363884) 1090s # Testing script Orya (code 1332902241) 1090s # Testing script Runr (code 1383427698) 1090s # Testing script Sinh (code 1399418472) 1090s # Testing script Syrc (code 1400468067) 1090s # Testing script Taml (code 1415671148) 1090s # Testing script Telu (code 1415933045) 1090s # Testing script Thaa (code 1416126817) 1090s # Testing script Thai (code 1416126825) 1090s # Testing script Tibt (code 1416192628) 1090s # Testing script Cans (code 1130458739) 1090s # Testing script Yiii (code 1500080489) 1090s # Testing script Tglg (code 1416064103) 1090s # Testing script Hano (code 1214344815) 1090s # Testing script Buhd (code 1114990692) 1090s # Testing script Tagb (code 1415669602) 1090s # Testing script Brai (code 1114792297) 1090s # Testing script Cprt (code 1131442804) 1090s # Testing script Limb (code 1281977698) 1090s # Testing script Osma (code 1332964705) 1090s # Testing script Shaw (code 1399349623) 1090s # Testing script Linb (code 1281977954) 1090s # Testing script Tale (code 1415670885) 1090s # Testing script Ugar (code 1432838514) 1090s # Testing script Talu (code 1415670901) 1090s # Testing script Bugi (code 1114990441) 1090s # Testing script Glag (code 1198285159) 1090s # Testing script Tfng (code 1415999079) 1090s # Testing script Sylo (code 1400466543) 1090s # Testing script Xpeo (code 1483761007) 1090s # Testing script Khar (code 1265131890) 1090s # Testing script Zzzz (code 1517976186) 1090s # Testing script Bali (code 1113681001) 1090s # Testing script Xsux (code 1483961720) 1090s # Testing script Phnx (code 1349021304) 1090s # Testing script Phag (code 1349017959) 1090s # Testing script Nkoo (code 1315663727) 1090s # Testing script Kali (code 1264675945) 1090s # Testing script Lepc (code 1281716323) 1090s # Testing script Rjng (code 1382706791) 1090s # Testing script Sund (code 1400204900) 1090s # Testing script Saur (code 1398895986) 1090s # Testing script Cham (code 1130914157) 1090s # Testing script Olck (code 1332503403) 1090s # Testing script Vaii (code 1449224553) 1090s # Testing script Cari (code 1130459753) 1090s # Testing script Lyci (code 1283023721) 1090s # Testing script Lydi (code 1283023977) 1090s # Testing script Avst (code 1098281844) 1090s # Testing script Bamu (code 1113681269) 1090s # Testing script Egyp (code 1164409200) 1090s # Testing script Armi (code 1098018153) 1090s # Testing script Phli (code 1349020777) 1090s # Testing script Prti (code 1349678185) 1090s # Testing script Java (code 1247901281) 1090s # Testing script Kthi (code 1265920105) 1090s # Testing script Lisu (code 1281979253) 1090s # Testing script Mtei (code 1299473769) 1090s # Testing script Sarb (code 1398895202) 1090s # Testing script Orkh (code 1332898664) 1090s # Testing script Samr (code 1398893938) 1090s # Testing script Lana (code 1281453665) 1090s # Testing script Tavt (code 1415673460) 1090s # Testing script Batk (code 1113683051) 1090s # Testing script Brah (code 1114792296) 1090s # Testing script Mand (code 1298230884) 1090s # Testing script Cakm (code 1130457965) 1090s # Testing script Merc (code 1298494051) 1090s # Testing script Mero (code 1298494063) 1090s # Testing script Plrd (code 1349284452) 1090s # Testing script Shrd (code 1399353956) 1090s # Testing script Sora (code 1399812705) 1090s # Testing script Takr (code 1415670642) 1090s # Testing script Bass (code 1113682803) 1090s # Testing script Aghb (code 1097295970) 1090s # Testing script Dupl (code 1148547180) 1090s # Testing script Elba (code 1164730977) 1090s # Testing script Gran (code 1198678382) 1090s # Testing script Khoj (code 1265135466) 1090s # Testing script Sind (code 1399418468) 1090s # Testing script Lina (code 1281977953) 1090s # Testing script Mahj (code 1298229354) 1090s # Testing script Mani (code 1298230889) 1090s # Testing script Mend (code 1298493028) 1090s # Testing script Modi (code 1299145833) 1090s # Testing script Mroo (code 1299345263) 1090s # Testing script Nbat (code 1315070324) 1090s # Testing script Narb (code 1315009122) 1090s # Testing script Perm (code 1348825709) 1090s # Testing script Hmng (code 1215131239) 1090s # Testing script Palm (code 1348562029) 1090s # Testing script Pauc (code 1348564323) 1090s # Testing script Phlp (code 1349020784) 1090s # Testing script Sidd (code 1399415908) 1090s # Testing script Tirh (code 1416196712) 1090s # Testing script Wara (code 1466004065) 1090s # Testing script Ahom (code 1097363309) 1090s # Testing script Hluw (code 1215067511) 1090s # Testing script Hatr (code 1214346354) 1090s # Testing script Mult (code 1299541108) 1090s # Testing script Hung (code 1215655527) 1090s # Testing script Sgnw (code 1399287415) 1090s # Testing script Adlm (code 1097100397) 1090s # Testing script Bhks (code 1114139507) 1090s # Testing script Marc (code 1298231907) 1090s # Testing script Newa (code 1315272545) 1090s # Testing script Osge (code 1332963173) 1090s # Testing script Tang (code 1415671399) 1090s # Testing script Gonm (code 1198485101) 1090s # Testing script Nshu (code 1316186229) 1090s # Testing script Soyo (code 1399814511) 1090s # Testing script Zanb (code 1516334690) 1090s # Testing script Dogr (code 1148151666) 1090s # Testing script Gong (code 1198485095) 1090s # Testing script Rohg (code 1383032935) 1090s # Testing script Maka (code 1298230113) 1090s # Testing script Medf (code 1298490470) 1090s # Testing script Sogo (code 1399809903) 1090s # Testing script Sogd (code 1399809892) 1090s # Testing script Elym (code 1164736877) 1090s # Testing script Nand (code 1315008100) 1090s # Testing script Hmnp (code 1215131248) 1090s # Testing script Wcho (code 1466132591) 1090s # Testing script Chrs (code 1130918515) 1090s # Testing script Diak (code 1147756907) 1090s # Testing script Kits (code 1265202291) 1090s # Testing script Yezi (code 1499822697) 1090s # Testing script Cpmn (code 1131441518) 1090s # Testing script Ougr (code 1333094258) 1090s # Testing script Tnsa (code 1416524641) 1090s # Testing script Toto (code 1416590447) 1090s # Testing script Vith (code 1449751656) 1090s # Testing script Kawi (code 1264678761) 1090s # Testing script Nagm (code 1315006317) 1090s ok 21 /unicode/iso15924 1090s ok 22 /unicode/lower 1090s ok 23 /unicode/mark 1090s ok 24 /unicode/mirror 1090s ok 25 /unicode/print 1090s ok 26 /unicode/punctuation 1090s ok 27 /unicode/script 1090s ok 28 /unicode/space 1090s ok 29 /unicode/strdown 1090s ok 30 /unicode/strup 1090s ok 31 /unicode/turkish-strupdown 1090s ok 32 /unicode/title 1090s ok 33 /unicode/upper 1090s ok 34 /unicode/validate 1090s ok 35 /unicode/wide 1090s ok 36 /unicode/xdigit 1090s ok 37 /unicode/xdigit-value 1090s ok 38 /unicode/zero-width 1090s ok 39 /unicode/normalize 1090s # End of unicode tests 1090s ok - glib/unicode.test 1090s # Running test: glib/g-file-info-filesystem-readonly.test 1090s TAP version 14 1090s # random seed: R02S47b6d6dcb988651e46b5bf709c189696 1090s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=787731 1090s 1..2 1090s # Start of g-file-info-filesystem-readonly tests 1090s ok 1 /g-file-info-filesystem-readonly/test-fs-ro # SKIP 'bindfs' and 'fusermount' commands are needed to run this test 1090s ok 2 /g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor # SKIP 'bindfs' and 'fusermount' commands are needed to run this test 1090s # End of g-file-info-filesystem-readonly tests 1090s ok - glib/g-file-info-filesystem-readonly.test 1090s # Running test: glib/atomic-c-89.test 1090s TAP version 14 1090s # random seed: R02S36d41646c27dfd6e706efb00379c8868 1090s 1..2 1090s # Start of atomic tests 1090s ok 1 /atomic/types 1090s ok 2 /atomic/threaded 1090s # End of atomic tests 1090s ok - glib/atomic-c-89.test 1090s # Running test: glib/stream-rw_all.test 1090s TAP version 14 1090s # random seed: R02S66dbb5cf65eb65943351f0a321d828e6 1090s 1..3 1090s # Start of stream tests 1090s # Start of read_all_async tests 1090s ok 1 /stream/read_all_async/memory 1090s # End of read_all_async tests 1090s # Start of write_all_async tests 1090s ok 2 /stream/write_all_async/memory 1090s # End of write_all_async tests 1090s # Start of read_write_all_async tests 1090s ok 3 /stream/read_write_all_async/pipe 1090s # End of read_write_all_async tests 1090s # End of stream tests 1090s ok - glib/stream-rw_all.test 1090s # Running test: glib/signals-refcount3.test 1090s TAP version 14 1090s # random seed: R02S8cc8f894fbccfb55bf2348a2a9e95774 1090s 1..1 1090s # Start of gobject tests 1090s # Start of refcount tests 1090s # init 0x5629e15b2420 1090s # 1090s # init 0x5629e15b25c0 1090s # 1094s # Executing: glib/signals-refcount3.test 1095s # dispose 0x5629e15b2420! 1095s # 1095s # dispose 0x5629e15b25c0! 1095s # 1095s ok 1 /gobject/refcount/signals 1095s # slow test /gobject/refcount/signals executed in 5.00 secs 1095s # End of refcount tests 1095s # End of gobject tests 1095s ok - glib/signals-refcount3.test 1095s # Running test: glib/objects-refcount1.test 1095s TAP version 14 1095s # random seed: R02S6f105958cd6faec173aa9d6d5722ca90 1095s 1..1 1095s # Start of gobject tests 1095s # Start of refcount tests 1095s # init 0x598c07d57740 1095s # 1095s # init 0x598c07d578d0 1095s # 1099s # Executing: glib/objects-refcount1.test 1100s # dispose 0x598c07d57740! 1100s # 1100s # dispose 0x598c07d578d0! 1100s # 1100s ok 1 /gobject/refcount/object-basics 1100s # slow test /gobject/refcount/object-basics executed in 5.00 secs 1100s # End of refcount tests 1100s # End of gobject tests 1100s ok - glib/objects-refcount1.test 1100s # Running test: glib/autoptr.test 1100s TAP version 14 1100s # random seed: R02Sbbadb7277d36595bf73c2e24796e9cc4 1100s 1..6 1100s # Start of autoptr tests 1100s ok 1 /autoptr/autoptr 1100s ok 2 /autoptr/autoptr_steal 1100s ok 3 /autoptr/autolist 1100s ok 4 /autoptr/autoslist 1100s ok 5 /autoptr/autoqueue 1100s ok 6 /autoptr/autoclass 1100s # End of autoptr tests 1100s ok - glib/autoptr.test 1100s # Running test: glib/hmac.test 1100s TAP version 14 1100s # random seed: R02S4195a367dee08b3080c0bc94a2f2ce56 1100s 1..37 1100s # Start of hmac tests 1100s ok 1 /hmac/sha1-1 1100s ok 2 /hmac/sha1-2 1100s ok 3 /hmac/sha1-3 1100s ok 4 /hmac/sha1-4 1100s ok 5 /hmac/sha1-5 1100s ok 6 /hmac/sha1-6 1100s ok 7 /hmac/sha1-7 1100s ok 8 /hmac/sha256-1 1100s ok 9 /hmac/sha256-2 1100s ok 10 /hmac/sha256-3 1100s ok 11 /hmac/sha256-4 1100s ok 12 /hmac/sha256-5 1100s ok 13 /hmac/sha256-6 1100s ok 14 /hmac/sha384-1 1100s ok 15 /hmac/sha384-2 1100s ok 16 /hmac/sha384-3 1100s ok 17 /hmac/sha384-4 1100s ok 18 /hmac/sha384-5 1100s ok 19 /hmac/sha384-6 1100s ok 20 /hmac/sha512-1 1100s ok 21 /hmac/sha512-2 1100s ok 22 /hmac/sha512-3 1100s ok 23 /hmac/sha512-4 1100s ok 24 /hmac/sha512-5 1100s ok 25 /hmac/sha512-6 1100s ok 26 /hmac/md5-1 1100s ok 27 /hmac/md5-2 1100s ok 28 /hmac/md5-3 1100s ok 29 /hmac/md5-4 1100s ok 30 /hmac/md5-5 1100s ok 31 /hmac/md5-6 1100s ok 32 /hmac/md5-7 1100s ok 33 /hmac/ref-unref 1100s ok 34 /hmac/copy 1100s ok 35 /hmac/for-data 1100s ok 36 /hmac/for-string 1100s ok 37 /hmac/for-bytes 1100s # End of hmac tests 1100s ok - glib/hmac.test 1100s # Running test: glib/gdbus-test-codegen.test 1100s TAP version 14 1100s # random seed: R02S74c2a07e953bdb76cde27c39c06cc917 1100s 1..8 1100s # Start of gdbus tests 1100s # Start of codegen tests 1100s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_UW2G02/gdbus/codegen/annotations/.dirs/home 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_UW2G02/gdbus/codegen/annotations/.dirs/cache 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_UW2G02/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_UW2G02/gdbus/codegen/annotations/.dirs/system-config2 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_UW2G02/gdbus/codegen/annotations/.dirs/config 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_UW2G02/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_UW2G02/gdbus/codegen/annotations/.dirs/system-data2 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_UW2G02/gdbus/codegen/annotations/.dirs/data 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_UW2G02/gdbus/codegen/annotations/.dirs/state 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_UW2G02/gdbus/codegen/annotations/.dirs/runtime 1100s ok 1 /gdbus/codegen/annotations 1100s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_UW2G02/gdbus/codegen/interface_stability/.dirs/home 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_UW2G02/gdbus/codegen/interface_stability/.dirs/cache 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_UW2G02/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen_UW2G02/gdbus/codegen/interface_stability/.dirs/system-config2 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_UW2G02/gdbus/codegen/interface_stability/.dirs/config 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_UW2G02/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen_UW2G02/gdbus/codegen/interface_stability/.dirs/system-data2 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_UW2G02/gdbus/codegen/interface_stability/.dirs/data 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_UW2G02/gdbus/codegen/interface_stability/.dirs/state 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_UW2G02/gdbus/codegen/interface_stability/.dirs/runtime 1100s ok 2 /gdbus/codegen/interface_stability 1100s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_UW2G02/gdbus/codegen/object-manager/.dirs/home 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_UW2G02/gdbus/codegen/object-manager/.dirs/cache 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_UW2G02/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen_UW2G02/gdbus/codegen/object-manager/.dirs/system-config2 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_UW2G02/gdbus/codegen/object-manager/.dirs/config 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_UW2G02/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen_UW2G02/gdbus/codegen/object-manager/.dirs/system-data2 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_UW2G02/gdbus/codegen/object-manager/.dirs/data 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_UW2G02/gdbus/codegen/object-manager/.dirs/state 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_UW2G02/gdbus/codegen/object-manager/.dirs/runtime 1100s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1100s ok 3 /gdbus/codegen/object-manager 1100s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_UW2G02/gdbus/codegen/property-naming/.dirs/home 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_UW2G02/gdbus/codegen/property-naming/.dirs/cache 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_UW2G02/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen_UW2G02/gdbus/codegen/property-naming/.dirs/system-config2 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_UW2G02/gdbus/codegen/property-naming/.dirs/config 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_UW2G02/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen_UW2G02/gdbus/codegen/property-naming/.dirs/system-data2 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_UW2G02/gdbus/codegen/property-naming/.dirs/data 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_UW2G02/gdbus/codegen/property-naming/.dirs/state 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_UW2G02/gdbus/codegen/property-naming/.dirs/runtime 1100s ok 4 /gdbus/codegen/property-naming 1100s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_UW2G02/gdbus/codegen/autocleanups/.dirs/home 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_UW2G02/gdbus/codegen/autocleanups/.dirs/cache 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_UW2G02/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen_UW2G02/gdbus/codegen/autocleanups/.dirs/system-config2 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_UW2G02/gdbus/codegen/autocleanups/.dirs/config 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_UW2G02/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen_UW2G02/gdbus/codegen/autocleanups/.dirs/system-data2 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_UW2G02/gdbus/codegen/autocleanups/.dirs/data 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_UW2G02/gdbus/codegen/autocleanups/.dirs/state 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_UW2G02/gdbus/codegen/autocleanups/.dirs/runtime 1100s ok 5 /gdbus/codegen/autocleanups 1100s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_UW2G02/gdbus/codegen/deprecations/.dirs/home 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_UW2G02/gdbus/codegen/deprecations/.dirs/cache 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_UW2G02/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_UW2G02/gdbus/codegen/deprecations/.dirs/system-config2 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_UW2G02/gdbus/codegen/deprecations/.dirs/config 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_UW2G02/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_UW2G02/gdbus/codegen/deprecations/.dirs/system-data2 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_UW2G02/gdbus/codegen/deprecations/.dirs/data 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_UW2G02/gdbus/codegen/deprecations/.dirs/state 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_UW2G02/gdbus/codegen/deprecations/.dirs/runtime 1100s ok 6 /gdbus/codegen/deprecations 1100s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_UW2G02/gdbus/codegen/standalone-interface-info/.dirs/home 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_UW2G02/gdbus/codegen/standalone-interface-info/.dirs/cache 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_UW2G02/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen_UW2G02/gdbus/codegen/standalone-interface-info/.dirs/system-config2 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_UW2G02/gdbus/codegen/standalone-interface-info/.dirs/config 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_UW2G02/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen_UW2G02/gdbus/codegen/standalone-interface-info/.dirs/system-data2 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_UW2G02/gdbus/codegen/standalone-interface-info/.dirs/data 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_UW2G02/gdbus/codegen/standalone-interface-info/.dirs/state 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_UW2G02/gdbus/codegen/standalone-interface-info/.dirs/runtime 1100s ok 7 /gdbus/codegen/standalone-interface-info 1100s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_UW2G02/gdbus/codegen/unix-fd-list/.dirs/home 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_UW2G02/gdbus/codegen/unix-fd-list/.dirs/cache 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_UW2G02/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen_UW2G02/gdbus/codegen/unix-fd-list/.dirs/system-config2 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_UW2G02/gdbus/codegen/unix-fd-list/.dirs/config 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_UW2G02/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen_UW2G02/gdbus/codegen/unix-fd-list/.dirs/system-data2 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_UW2G02/gdbus/codegen/unix-fd-list/.dirs/data 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_UW2G02/gdbus/codegen/unix-fd-list/.dirs/state 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_UW2G02/gdbus/codegen/unix-fd-list/.dirs/runtime 1100s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 1100s ok 8 /gdbus/codegen/unix-fd-list 1100s # End of codegen tests 1100s # End of gdbus tests 1100s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1100s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1100s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1100s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1100s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1100s ok - glib/gdbus-test-codegen.test 1100s # Running test: glib/gdbus-error.test 1100s TAP version 14 1100s # random seed: R02S0b73eca45a597e518bf943b21a8fba21 1100s 1..4 1100s # Start of gdbus tests 1100s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_U7TO02/gdbus/registered-errors/.dirs/home 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_U7TO02/gdbus/registered-errors/.dirs/cache 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_U7TO02/gdbus/registered-errors/.dirs/system-config1:/tmp/test_gdbus-error_U7TO02/gdbus/registered-errors/.dirs/system-config2 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_U7TO02/gdbus/registered-errors/.dirs/config 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_U7TO02/gdbus/registered-errors/.dirs/system-data1:/tmp/test_gdbus-error_U7TO02/gdbus/registered-errors/.dirs/system-data2 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_U7TO02/gdbus/registered-errors/.dirs/data 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_U7TO02/gdbus/registered-errors/.dirs/state 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_U7TO02/gdbus/registered-errors/.dirs/runtime 1100s ok 1 /gdbus/registered-errors 1100s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_U7TO02/gdbus/unregistered-errors/.dirs/home 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_U7TO02/gdbus/unregistered-errors/.dirs/cache 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_U7TO02/gdbus/unregistered-errors/.dirs/system-config1:/tmp/test_gdbus-error_U7TO02/gdbus/unregistered-errors/.dirs/system-config2 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_U7TO02/gdbus/unregistered-errors/.dirs/config 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_U7TO02/gdbus/unregistered-errors/.dirs/system-data1:/tmp/test_gdbus-error_U7TO02/gdbus/unregistered-errors/.dirs/system-data2 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_U7TO02/gdbus/unregistered-errors/.dirs/data 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_U7TO02/gdbus/unregistered-errors/.dirs/state 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_U7TO02/gdbus/unregistered-errors/.dirs/runtime 1100s ok 2 /gdbus/unregistered-errors 1100s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_U7TO02/gdbus/transparent-gerror/.dirs/home 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_U7TO02/gdbus/transparent-gerror/.dirs/cache 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_U7TO02/gdbus/transparent-gerror/.dirs/system-config1:/tmp/test_gdbus-error_U7TO02/gdbus/transparent-gerror/.dirs/system-config2 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_U7TO02/gdbus/transparent-gerror/.dirs/config 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_U7TO02/gdbus/transparent-gerror/.dirs/system-data1:/tmp/test_gdbus-error_U7TO02/gdbus/transparent-gerror/.dirs/system-data2 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_U7TO02/gdbus/transparent-gerror/.dirs/data 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_U7TO02/gdbus/transparent-gerror/.dirs/state 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_U7TO02/gdbus/transparent-gerror/.dirs/runtime 1100s ok 3 /gdbus/transparent-gerror 1100s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_U7TO02/gdbus/register-error/.dirs/home 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_U7TO02/gdbus/register-error/.dirs/cache 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_U7TO02/gdbus/register-error/.dirs/system-config1:/tmp/test_gdbus-error_U7TO02/gdbus/register-error/.dirs/system-config2 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_U7TO02/gdbus/register-error/.dirs/config 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_U7TO02/gdbus/register-error/.dirs/system-data1:/tmp/test_gdbus-error_U7TO02/gdbus/register-error/.dirs/system-data2 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_U7TO02/gdbus/register-error/.dirs/data 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_U7TO02/gdbus/register-error/.dirs/state 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_U7TO02/gdbus/register-error/.dirs/runtime 1100s ok 4 /gdbus/register-error 1100s # End of gdbus tests 1100s ok - glib/gdbus-error.test 1100s # Running test: glib/strvbuilder.test 1100s TAP version 14 1100s # random seed: R02Sc8788082bbc952062efa15547c2c0ab3 1100s 1..7 1100s # Start of strvbuilder tests 1100s ok 1 /strvbuilder/empty 1100s ok 2 /strvbuilder/add 1100s ok 3 /strvbuilder/addv 1100s ok 4 /strvbuilder/add_many 1100s ok 5 /strvbuilder/take 1100s ok 6 /strvbuilder/ref 1100s ok 7 /strvbuilder/unref_to_strv 1100s # End of strvbuilder tests 1100s ok - glib/strvbuilder.test 1100s # Running test: glib/gdbus-names.test 1100s TAP version 14 1100s # random seed: R02Sc432e10ee8af6b1232381e55819bb043 1100s 1..10 1100s # Start of gdbus tests 1100s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_QW0O02/gdbus/validate-names/.dirs/home 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_QW0O02/gdbus/validate-names/.dirs/cache 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_QW0O02/gdbus/validate-names/.dirs/system-config1:/tmp/test_gdbus-names_QW0O02/gdbus/validate-names/.dirs/system-config2 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_QW0O02/gdbus/validate-names/.dirs/config 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_QW0O02/gdbus/validate-names/.dirs/system-data1:/tmp/test_gdbus-names_QW0O02/gdbus/validate-names/.dirs/system-data2 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_QW0O02/gdbus/validate-names/.dirs/data 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_QW0O02/gdbus/validate-names/.dirs/state 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_QW0O02/gdbus/validate-names/.dirs/runtime 1100s ok 1 /gdbus/validate-names 1100s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_QW0O02/gdbus/bus-own-name/.dirs/home 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_QW0O02/gdbus/bus-own-name/.dirs/cache 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_QW0O02/gdbus/bus-own-name/.dirs/system-config1:/tmp/test_gdbus-names_QW0O02/gdbus/bus-own-name/.dirs/system-config2 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_QW0O02/gdbus/bus-own-name/.dirs/config 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_QW0O02/gdbus/bus-own-name/.dirs/system-data1:/tmp/test_gdbus-names_QW0O02/gdbus/bus-own-name/.dirs/system-data2 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_QW0O02/gdbus/bus-own-name/.dirs/data 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_QW0O02/gdbus/bus-own-name/.dirs/state 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_QW0O02/gdbus/bus-own-name/.dirs/runtime 1100s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1100s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1100s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1100s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1100s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1100s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1100s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1100s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1100s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1100s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1100s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1100s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1100s ok 2 /gdbus/bus-own-name 1100s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_QW0O02/gdbus/bus-watch-name/.dirs/home 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_QW0O02/gdbus/bus-watch-name/.dirs/cache 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_QW0O02/gdbus/bus-watch-name/.dirs/system-config1:/tmp/test_gdbus-names_QW0O02/gdbus/bus-watch-name/.dirs/system-config2 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_QW0O02/gdbus/bus-watch-name/.dirs/config 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_QW0O02/gdbus/bus-watch-name/.dirs/system-data1:/tmp/test_gdbus-names_QW0O02/gdbus/bus-watch-name/.dirs/system-data2 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_QW0O02/gdbus/bus-watch-name/.dirs/data 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_QW0O02/gdbus/bus-watch-name/.dirs/state 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_QW0O02/gdbus/bus-watch-name/.dirs/runtime 1100s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1100s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1100s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1100s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1100s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1100s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1100s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1100s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1100s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1100s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1100s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1100s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1100s ok 3 /gdbus/bus-watch-name 1100s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_QW0O02/gdbus/bus-watch-name-auto-start/.dirs/home 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_QW0O02/gdbus/bus-watch-name-auto-start/.dirs/cache 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_QW0O02/gdbus/bus-watch-name-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_QW0O02/gdbus/bus-watch-name-auto-start/.dirs/system-config2 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_QW0O02/gdbus/bus-watch-name-auto-start/.dirs/config 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_QW0O02/gdbus/bus-watch-name-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_QW0O02/gdbus/bus-watch-name-auto-start/.dirs/system-data2 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_QW0O02/gdbus/bus-watch-name-auto-start/.dirs/data 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_QW0O02/gdbus/bus-watch-name-auto-start/.dirs/state 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_QW0O02/gdbus/bus-watch-name-auto-start/.dirs/runtime 1100s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1100s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1100s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1100s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1100s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1100s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1100s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1100s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1100s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1100s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1100s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1100s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1100s ok 4 /gdbus/bus-watch-name-auto-start 1100s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_QW0O02/gdbus/bus-watch-name-auto-start-service-exist/.dirs/home 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_QW0O02/gdbus/bus-watch-name-auto-start-service-exist/.dirs/cache 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_QW0O02/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config1:/tmp/test_gdbus-names_QW0O02/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config2 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_QW0O02/gdbus/bus-watch-name-auto-start-service-exist/.dirs/config 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_QW0O02/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data1:/tmp/test_gdbus-names_QW0O02/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data2 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_QW0O02/gdbus/bus-watch-name-auto-start-service-exist/.dirs/data 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_QW0O02/gdbus/bus-watch-name-auto-start-service-exist/.dirs/state 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_QW0O02/gdbus/bus-watch-name-auto-start-service-exist/.dirs/runtime 1100s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1100s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1100s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1100s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1100s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1100s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1100s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1100s dbus-daemon[14186]: [session uid=1000 pid=14186] Activating service name='org.gtk.GDBus.FakeService' requested by ':1.0' (uid=1000 pid=14177 comm="/usr/libexec/installed-tests/glib/gdbus-names" label="unconfined") 1100s # Acquired a message bus connection 1100s dbus-daemon[14186]: [session uid=1000 pid=14186] Successfully activated service 'org.gtk.GDBus.FakeService' 1100s # Acquired the name org.gtk.GDBus.FakeService 1100s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1100s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1100s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1100s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1100s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1100s ok 5 /gdbus/bus-watch-name-auto-start-service-exist 1100s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_QW0O02/gdbus/bus-watch-name-closures/.dirs/home 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_QW0O02/gdbus/bus-watch-name-closures/.dirs/cache 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_QW0O02/gdbus/bus-watch-name-closures/.dirs/system-config1:/tmp/test_gdbus-names_QW0O02/gdbus/bus-watch-name-closures/.dirs/system-config2 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_QW0O02/gdbus/bus-watch-name-closures/.dirs/config 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_QW0O02/gdbus/bus-watch-name-closures/.dirs/system-data1:/tmp/test_gdbus-names_QW0O02/gdbus/bus-watch-name-closures/.dirs/system-data2 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_QW0O02/gdbus/bus-watch-name-closures/.dirs/data 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_QW0O02/gdbus/bus-watch-name-closures/.dirs/state 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_QW0O02/gdbus/bus-watch-name-closures/.dirs/runtime 1100s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1100s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1100s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1100s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1100s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1100s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1100s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1100s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1100s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1100s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1100s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1100s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1100s ok 6 /gdbus/bus-watch-name-closures 1100s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_QW0O02/gdbus/bus-watch-name-closures-auto-start/.dirs/home 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_QW0O02/gdbus/bus-watch-name-closures-auto-start/.dirs/cache 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_QW0O02/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_QW0O02/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config2 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_QW0O02/gdbus/bus-watch-name-closures-auto-start/.dirs/config 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_QW0O02/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_QW0O02/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data2 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_QW0O02/gdbus/bus-watch-name-closures-auto-start/.dirs/data 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_QW0O02/gdbus/bus-watch-name-closures-auto-start/.dirs/state 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_QW0O02/gdbus/bus-watch-name-closures-auto-start/.dirs/runtime 1100s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1100s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1100s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1100s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1100s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1100s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1100s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1100s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1100s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1100s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1100s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1100s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1100s ok 7 /gdbus/bus-watch-name-closures-auto-start 1100s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_QW0O02/gdbus/bus-watch-different-context/.dirs/home 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_QW0O02/gdbus/bus-watch-different-context/.dirs/cache 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_QW0O02/gdbus/bus-watch-different-context/.dirs/system-config1:/tmp/test_gdbus-names_QW0O02/gdbus/bus-watch-different-context/.dirs/system-config2 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_QW0O02/gdbus/bus-watch-different-context/.dirs/config 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_QW0O02/gdbus/bus-watch-different-context/.dirs/system-data1:/tmp/test_gdbus-names_QW0O02/gdbus/bus-watch-different-context/.dirs/system-data2 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_QW0O02/gdbus/bus-watch-different-context/.dirs/data 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_QW0O02/gdbus/bus-watch-different-context/.dirs/state 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_QW0O02/gdbus/bus-watch-different-context/.dirs/runtime 1100s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1100s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1100s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1100s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1100s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1100s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1100s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1100s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1100s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1100s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1100s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1100s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1100s ok 8 /gdbus/bus-watch-different-context 1100s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_QW0O02/gdbus/bus-unwatch-early/.dirs/home 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_QW0O02/gdbus/bus-unwatch-early/.dirs/cache 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_QW0O02/gdbus/bus-unwatch-early/.dirs/system-config1:/tmp/test_gdbus-names_QW0O02/gdbus/bus-unwatch-early/.dirs/system-config2 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_QW0O02/gdbus/bus-unwatch-early/.dirs/config 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_QW0O02/gdbus/bus-unwatch-early/.dirs/system-data1:/tmp/test_gdbus-names_QW0O02/gdbus/bus-unwatch-early/.dirs/system-data2 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_QW0O02/gdbus/bus-unwatch-early/.dirs/data 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_QW0O02/gdbus/bus-unwatch-early/.dirs/state 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_QW0O02/gdbus/bus-unwatch-early/.dirs/runtime 1100s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/604 1100s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1100s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1100s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1100s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1100s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1100s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1100s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1100s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1100s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1100s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1100s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1100s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1100s ok 9 /gdbus/bus-unwatch-early 1100s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_QW0O02/gdbus/escape-object-path/.dirs/home 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_QW0O02/gdbus/escape-object-path/.dirs/cache 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_QW0O02/gdbus/escape-object-path/.dirs/system-config1:/tmp/test_gdbus-names_QW0O02/gdbus/escape-object-path/.dirs/system-config2 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_QW0O02/gdbus/escape-object-path/.dirs/config 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_QW0O02/gdbus/escape-object-path/.dirs/system-data1:/tmp/test_gdbus-names_QW0O02/gdbus/escape-object-path/.dirs/system-data2 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_QW0O02/gdbus/escape-object-path/.dirs/data 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_QW0O02/gdbus/escape-object-path/.dirs/state 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_QW0O02/gdbus/escape-object-path/.dirs/runtime 1100s ok 10 /gdbus/escape-object-path 1100s # End of gdbus tests 1100s ok - glib/gdbus-names.test 1100s # Running test: glib/g-icon.test 1100s TAP version 14 1100s # random seed: R02S384b8bc7afce7efb1697851e981c7a10 1100s 1..6 1100s # Start of icons tests 1100s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1100s ok 1 /icons/to-string 1100s ok 2 /icons/serialize 1100s ok 3 /icons/themed 1100s ok 4 /icons/emblemed 1100s ok 5 /icons/file 1100s ok 6 /icons/bytes 1100s # End of icons tests 1100s ok - glib/g-icon.test 1100s # Running test: glib/memchunk.test 1100s TAP version 14 1100s # random seed: R02S8e7b613acd66d551e2d548b0ed48cc5a 1100s 1..1 1100s # Start of memchunk tests 1100s ok 1 /memchunk/basic 1100s # End of memchunk tests 1100s ok - glib/memchunk.test 1100s # Running test: glib/option-context.test 1100s TAP version 14 1100s # random seed: R02S59e820b8492a3c470b8ea394260c5191 1100s 1..57 1100s # Start of option tests 1100s ok 1 /option/basic 1100s ok 2 /option/translate 1100s ok 3 /option/strict-posix 1100s # Start of help tests 1100s ok 4 /option/help/options 1100s ok 5 /option/help/no-options 1100s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=697652 1100s ok 6 /option/help/no-help-options 1100s # End of help tests 1100s # Start of group tests 1100s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=504142 1100s ok 7 /option/group/captions 1100s ok 8 /option/group/main 1100s ok 9 /option/group/error-hook 1100s ok 10 /option/group/parse 1100s # Start of captions tests 1100s # Start of subprocess tests 1100s # End of subprocess tests 1100s # End of captions tests 1100s # End of group tests 1100s # Start of restoration tests 1100s ok 11 /option/restoration/int 1100s ok 12 /option/restoration/string 1100s ok 13 /option/restoration/boolean 1100s # End of restoration tests 1100s # Start of arg tests 1100s ok 14 /option/arg/reverse-string 1100s ok 15 /option/arg/optional-int 1100s # Start of repetition tests 1100s ok 16 /option/arg/repetition/int 1100s ok 17 /option/arg/repetition/string 1100s ok 18 /option/arg/repetition/filename 1100s ok 19 /option/arg/repetition/double 1100s ok 20 /option/arg/repetition/locale 1100s ok 21 /option/arg/repetition/int64 1100s # End of repetition tests 1100s # Start of array tests 1100s ok 22 /option/arg/array/string 1100s # End of array tests 1100s # Start of callback tests 1100s ok 23 /option/arg/callback/string 1100s ok 24 /option/arg/callback/count 1100s ok 25 /option/arg/callback/optional1 1100s ok 26 /option/arg/callback/optional2 1100s ok 27 /option/arg/callback/optional3 1100s ok 28 /option/arg/callback/optional4 1100s ok 29 /option/arg/callback/optional5 1100s ok 30 /option/arg/callback/optional6 1100s ok 31 /option/arg/callback/optional7 1100s ok 32 /option/arg/callback/optional8 1100s # End of callback tests 1100s # Start of remaining tests 1100s ok 33 /option/arg/remaining/callback 1100s ok 34 /option/arg/remaining/callback-false 1100s ok 35 /option/arg/remaining/non-option 1100s ok 36 /option/arg/remaining/separator 1100s ok 37 /option/arg/remaining/array 1100s # End of remaining tests 1100s # Start of ignore tests 1100s ok 38 /option/arg/ignore/long 1100s ok 39 /option/arg/ignore/short 1100s ok 40 /option/arg/ignore/arg 1100s # End of ignore tests 1100s # Start of rest tests 1100s ok 41 /option/arg/rest/non-option 1100s ok 42 /option/arg/rest/separator1 1100s ok 43 /option/arg/rest/separator2 1100s ok 44 /option/arg/rest/separator3 1100s ok 45 /option/arg/rest/separator4 1100s ok 46 /option/arg/rest/separator5 1100s # End of rest tests 1100s # End of arg tests 1100s # Start of context tests 1100s ok 47 /option/context/add 1100s ok 48 /option/context/empty2 1100s ok 49 /option/context/empty3 1100s # End of context tests 1100s # Start of bug tests 1100s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=166609 1100s ok 50 /option/bug/unknown-short 1100s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=168008 1100s ok 51 /option/bug/lonely-dash 1100s ok 52 /option/bug/triple-dash 1100s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=305576 1100s ok 53 /option/bug/missing-arg 1100s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=577638 1100s ok 54 /option/bug/dash-arg 1100s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=729563 1100s ok 55 /option/bug/short-remaining 1100s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=646926 1100s ok 56 /option/bug/double-free 1100s ok 57 /option/bug/double-zero 1100s # End of bug tests 1100s # End of option tests 1100s ok - glib/option-context.test 1100s # Running test: glib/mkenums.py.test 1100s TAP version 13 1100s ok 1 __main__.TestMkenums.test_available_in 1100s # tmpdir: /tmp/tmpxshn9dr5 1100s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1100s # /tmp/tmpxshn9dr5/tmpo57ko5u0.h: 1100s # typedef enum { 1100s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2) 1100s # } GDBusServerFlags; 1100s # 1100s # /tmp/tmpxshn9dr5/tmpohfzljwd.template: 1100s # /*** BEGIN file-header ***/ 1100s # file-header 1100s # /*** END file-header ***/ 1100s # 1100s # /*** BEGIN file-production ***/ 1100s # file-production 1100s # filename: @filename@ 1100s # basename: @basename@ 1100s # /*** END file-production ***/ 1100s # 1100s # /*** BEGIN enumeration-production ***/ 1100s # enumeration-production 1100s # EnumName: @EnumName@ 1100s # enum_name: @enum_name@ 1100s # ENUMNAME: @ENUMNAME@ 1100s # ENUMSHORT: @ENUMSHORT@ 1100s # ENUMPREFIX: @ENUMPREFIX@ 1100s # enumsince: @enumsince@ 1100s # type: @type@ 1100s # Type: @Type@ 1100s # TYPE: @TYPE@ 1100s # /*** END enumeration-production ***/ 1100s # 1100s # /*** BEGIN value-header ***/ 1100s # value-header 1100s # EnumName: @EnumName@ 1100s # enum_name: @enum_name@ 1100s # ENUMNAME: @ENUMNAME@ 1100s # ENUMSHORT: @ENUMSHORT@ 1100s # ENUMPREFIX: @ENUMPREFIX@ 1100s # enumsince: @enumsince@ 1100s # type: @type@ 1100s # Type: @Type@ 1100s # TYPE: @TYPE@ 1100s # /*** END value-header ***/ 1100s # 1100s # /*** BEGIN value-production ***/ 1100s # value-production 1100s # VALUENAME: @VALUENAME@ 1100s # valuenick: @valuenick@ 1100s # valuenum: @valuenum@ 1100s # type: @type@ 1100s # Type: @Type@ 1100s # TYPE: @TYPE@ 1100s # /*** END value-production ***/ 1100s # 1100s # /*** BEGIN value-tail ***/ 1100s # value-tail 1100s # EnumName: @EnumName@ 1100s # enum_name: @enum_name@ 1100s # ENUMNAME: @ENUMNAME@ 1100s # ENUMSHORT: @ENUMSHORT@ 1100s # ENUMPREFIX: @ENUMPREFIX@ 1100s # enumsince: @enumsince@ 1100s # type: @type@ 1100s # Type: @Type@ 1100s # TYPE: @TYPE@ 1100s # /*** END value-tail ***/ 1100s # 1100s # /*** BEGIN comment ***/ 1100s # comment 1100s # comment: @comment@ 1100s # /*** END comment ***/ 1100s # 1100s # /*** BEGIN file-tail ***/ 1100s # file-tail 1100s # /*** END file-tail ***/ 1100s # 1100s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpxshn9dr5/tmpohfzljwd.template', '/tmp/tmpxshn9dr5/tmpo57ko5u0.h'] 1100s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1100s # Output: comment 1100s # 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. 1100s # 1100s # 1100s # file-header 1100s # file-production 1100s # filename: /tmp/tmpxshn9dr5/tmpo57ko5u0.h 1100s # basename: tmpo57ko5u0.h 1100s # enumeration-production 1100s # EnumName: GDBusServerFlags 1100s # enum_name: g_dbus_server_flags 1100s # ENUMNAME: G_DBUS_SERVER_FLAGS 1100s # ENUMSHORT: DBUS_SERVER_FLAGS 1100s # ENUMPREFIX: G 1100s # enumsince: 1100s # type: flags 1100s # Type: Flags 1100s # TYPE: FLAGS 1100s # value-header 1100s # EnumName: GDBusServerFlags 1100s # enum_name: g_dbus_server_flags 1100s # ENUMNAME: G_DBUS_SERVER_FLAGS 1100s # ENUMSHORT: DBUS_SERVER_FLAGS 1100s # ENUMPREFIX: G 1100s # enumsince: 1100s # type: flags 1100s # Type: Flags 1100s # TYPE: FLAGS 1100s # value-production 1100s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1100s # valuenick: user 1100s # valuenum: 4 1100s # type: flags 1100s # Type: Flags 1100s # TYPE: FLAGS 1100s # value-tail 1100s # EnumName: GDBusServerFlags 1100s # enum_name: g_dbus_server_flags 1100s # ENUMNAME: G_DBUS_SERVER_FLAGS 1100s # ENUMSHORT: DBUS_SERVER_FLAGS 1100s # ENUMPREFIX: G 1100s # enumsince: 1100s # type: flags 1100s # Type: Flags 1100s # TYPE: FLAGS 1100s # file-tail 1100s # 1100s # comment 1100s # comment: Generated data ends here 1100s ok 2 __main__.TestMkenums.test_comma_in_enum_value 1100s # tmpdir: /tmp/tmpst39qlbg 1100s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1100s # /tmp/tmpst39qlbg/tmp8pek4f6t.h: 1100s # typedef enum { 1100s # ENUM_VALUE_WITH_COMMA = ',', 1100s # } TestCommaEnum; 1100s # 1100s # /tmp/tmpst39qlbg/tmpu_dhsg19.template: 1100s # /*** BEGIN file-header ***/ 1100s # file-header 1100s # /*** END file-header ***/ 1100s # 1100s # /*** BEGIN file-production ***/ 1100s # file-production 1100s # filename: @filename@ 1100s # basename: @basename@ 1100s # /*** END file-production ***/ 1100s # 1100s # /*** BEGIN enumeration-production ***/ 1100s # enumeration-production 1100s # EnumName: @EnumName@ 1100s # enum_name: @enum_name@ 1100s # ENUMNAME: @ENUMNAME@ 1100s # ENUMSHORT: @ENUMSHORT@ 1100s # ENUMPREFIX: @ENUMPREFIX@ 1100s # enumsince: @enumsince@ 1100s # type: @type@ 1100s # Type: @Type@ 1100s # TYPE: @TYPE@ 1100s # /*** END enumeration-production ***/ 1100s # 1100s # /*** BEGIN value-header ***/ 1100s # value-header 1100s # EnumName: @EnumName@ 1100s # enum_name: @enum_name@ 1100s # ENUMNAME: @ENUMNAME@ 1100s # ENUMSHORT: @ENUMSHORT@ 1100s # ENUMPREFIX: @ENUMPREFIX@ 1100s # enumsince: @enumsince@ 1100s # type: @type@ 1100s # Type: @Type@ 1100s # TYPE: @TYPE@ 1100s # /*** END value-header ***/ 1100s # 1100s # /*** BEGIN value-production ***/ 1100s # value-production 1100s # VALUENAME: @VALUENAME@ 1100s # valuenick: @valuenick@ 1100s # valuenum: @valuenum@ 1100s # type: @type@ 1100s # Type: @Type@ 1100s # TYPE: @TYPE@ 1100s # /*** END value-production ***/ 1100s # 1100s # /*** BEGIN value-tail ***/ 1100s # value-tail 1100s # EnumName: @EnumName@ 1100s # enum_name: @enum_name@ 1100s # ENUMNAME: @ENUMNAME@ 1100s # ENUMSHORT: @ENUMSHORT@ 1100s # ENUMPREFIX: @ENUMPREFIX@ 1100s # enumsince: @enumsince@ 1100s # type: @type@ 1100s # Type: @Type@ 1100s # TYPE: @TYPE@ 1100s # /*** END value-tail ***/ 1100s # 1100s # /*** BEGIN comment ***/ 1100s # comment 1100s # comment: @comment@ 1100s # /*** END comment ***/ 1100s # 1100s # /*** BEGIN file-tail ***/ 1100s # file-tail 1100s # /*** END file-tail ***/ 1100s # 1100s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpst39qlbg/tmpu_dhsg19.template', '/tmp/tmpst39qlbg/tmp8pek4f6t.h'] 1100s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1100s # Output: comment 1100s # 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. 1100s # 1100s # 1100s # file-header 1100s # file-production 1100s # filename: /tmp/tmpst39qlbg/tmp8pek4f6t.h 1100s # basename: tmp8pek4f6t.h 1100s # enumeration-production 1100s # EnumName: TestCommaEnum 1100s # enum_name: test_comma_enum 1100s # ENUMNAME: TEST_COMMA_ENUM 1100s # ENUMSHORT: COMMA_ENUM 1100s # ENUMPREFIX: TEST 1100s # enumsince: 1100s # type: enum 1100s # Type: Enum 1100s # TYPE: ENUM 1100s # value-header 1100s # EnumName: TestCommaEnum 1100s # enum_name: test_comma_enum 1100s # ENUMNAME: TEST_COMMA_ENUM 1100s # ENUMSHORT: COMMA_ENUM 1100s # ENUMPREFIX: TEST 1100s # enumsince: 1100s # type: enum 1100s # Type: Enum 1100s # TYPE: ENUM 1100s # value-production 1100s # VALUENAME: ENUM_VALUE_WITH_COMMA 1100s # valuenick: comma 1100s # valuenum: 44 1100s # type: enum 1100s # Type: Enum 1100s # TYPE: ENUM 1100s # value-tail 1100s # EnumName: TestCommaEnum 1100s # enum_name: test_comma_enum 1100s # ENUMNAME: TEST_COMMA_ENUM 1100s # ENUMSHORT: COMMA_ENUM 1100s # ENUMPREFIX: TEST 1100s # enumsince: 1100s # type: enum 1100s # Type: Enum 1100s # TYPE: ENUM 1100s # file-tail 1100s # 1100s # comment 1100s # comment: Generated data ends here 1100s ok 3 __main__.TestMkenums.test_deprecated_in 1100s # tmpdir: /tmp/tmp8g2mhd9o 1100s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1100s # /tmp/tmp8g2mhd9o/tmpx0jz1_dw.h: 1100s # typedef enum { 1100s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2) 1100s # } GDBusServerFlags; 1100s # 1100s # /tmp/tmp8g2mhd9o/tmprbs0f7bs.template: 1100s # /*** BEGIN file-header ***/ 1100s # file-header 1100s # /*** END file-header ***/ 1100s # 1100s # /*** BEGIN file-production ***/ 1100s # file-production 1100s # filename: @filename@ 1100s # basename: @basename@ 1100s # /*** END file-production ***/ 1100s # 1100s # /*** BEGIN enumeration-production ***/ 1100s # enumeration-production 1100s # EnumName: @EnumName@ 1100s # enum_name: @enum_name@ 1100s # ENUMNAME: @ENUMNAME@ 1100s # ENUMSHORT: @ENUMSHORT@ 1100s # ENUMPREFIX: @ENUMPREFIX@ 1100s # enumsince: @enumsince@ 1100s # type: @type@ 1100s # Type: @Type@ 1100s # TYPE: @TYPE@ 1100s # /*** END enumeration-production ***/ 1100s # 1100s # /*** BEGIN value-header ***/ 1100s # value-header 1100s # EnumName: @EnumName@ 1100s # enum_name: @enum_name@ 1100s # ENUMNAME: @ENUMNAME@ 1100s # ENUMSHORT: @ENUMSHORT@ 1100s # ENUMPREFIX: @ENUMPREFIX@ 1100s # enumsince: @enumsince@ 1100s # type: @type@ 1100s # Type: @Type@ 1100s # TYPE: @TYPE@ 1100s # /*** END value-header ***/ 1100s # 1100s # /*** BEGIN value-production ***/ 1100s # value-production 1100s # VALUENAME: @VALUENAME@ 1100s # valuenick: @valuenick@ 1100s # valuenum: @valuenum@ 1100s # type: @type@ 1100s # Type: @Type@ 1100s # TYPE: @TYPE@ 1100s # /*** END value-production ***/ 1100s # 1100s # /*** BEGIN value-tail ***/ 1100s # value-tail 1100s # EnumName: @EnumName@ 1100s # enum_name: @enum_name@ 1100s # ENUMNAME: @ENUMNAME@ 1100s # ENUMSHORT: @ENUMSHORT@ 1100s # ENUMPREFIX: @ENUMPREFIX@ 1100s # enumsince: @enumsince@ 1100s # type: @type@ 1100s # Type: @Type@ 1100s # TYPE: @TYPE@ 1100s # /*** END value-tail ***/ 1100s # 1100s # /*** BEGIN comment ***/ 1100s # comment 1100s # comment: @comment@ 1100s # /*** END comment ***/ 1100s # 1100s # /*** BEGIN file-tail ***/ 1100s # file-tail 1100s # /*** END file-tail ***/ 1100s # 1100s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp8g2mhd9o/tmprbs0f7bs.template', '/tmp/tmp8g2mhd9o/tmpx0jz1_dw.h'] 1100s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1100s # Output: comment 1100s # 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. 1100s # 1100s # 1100s # file-header 1100s # file-production 1100s # filename: /tmp/tmp8g2mhd9o/tmpx0jz1_dw.h 1100s # basename: tmpx0jz1_dw.h 1100s # enumeration-production 1100s # EnumName: GDBusServerFlags 1100s # enum_name: g_dbus_server_flags 1100s # ENUMNAME: G_DBUS_SERVER_FLAGS 1100s # ENUMSHORT: DBUS_SERVER_FLAGS 1100s # ENUMPREFIX: G 1100s # enumsince: 1100s # type: flags 1100s # Type: Flags 1100s # TYPE: FLAGS 1100s # value-header 1100s # EnumName: GDBusServerFlags 1100s # enum_name: g_dbus_server_flags 1100s # ENUMNAME: G_DBUS_SERVER_FLAGS 1100s # ENUMSHORT: DBUS_SERVER_FLAGS 1100s # ENUMPREFIX: G 1100s # enumsince: 1100s # type: flags 1100s # Type: Flags 1100s # TYPE: FLAGS 1100s # value-production 1100s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1100s # valuenick: user 1100s # valuenum: 4 1100s # type: flags 1100s # Type: Flags 1100s # TYPE: FLAGS 1100s # value-tail 1100s # EnumName: GDBusServerFlags 1100s # enum_name: g_dbus_server_flags 1100s # ENUMNAME: G_DBUS_SERVER_FLAGS 1100s # ENUMSHORT: DBUS_SERVER_FLAGS 1100s # ENUMPREFIX: G 1100s # enumsince: 1100s # type: flags 1100s # Type: Flags 1100s # TYPE: FLAGS 1100s # file-tail 1100s # 1100s # comment 1100s # comment: Generated data ends here 1100s ok 4 __main__.TestMkenums.test_deprecated_in_for 1100s # tmpdir: /tmp/tmpxh_diiv0 1100s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1100s # /tmp/tmpxh_diiv0/tmp_9og30rv.h: 1100s # typedef enum { 1100s # 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) 1100s # } GDBusServerFlags; 1100s # 1100s # /tmp/tmpxh_diiv0/tmp_k3f5twy.template: 1100s # /*** BEGIN file-header ***/ 1100s # file-header 1100s # /*** END file-header ***/ 1100s # 1100s # /*** BEGIN file-production ***/ 1100s # file-production 1100s # filename: @filename@ 1100s # basename: @basename@ 1100s # /*** END file-production ***/ 1100s # 1100s # /*** BEGIN enumeration-production ***/ 1100s # enumeration-production 1100s # EnumName: @EnumName@ 1100s # enum_name: @enum_name@ 1100s # ENUMNAME: @ENUMNAME@ 1100s # ENUMSHORT: @ENUMSHORT@ 1100s # ENUMPREFIX: @ENUMPREFIX@ 1100s # enumsince: @enumsince@ 1100s # type: @type@ 1100s # Type: @Type@ 1100s # TYPE: @TYPE@ 1100s # /*** END enumeration-production ***/ 1100s # 1100s # /*** BEGIN value-header ***/ 1100s # value-header 1100s # EnumName: @EnumName@ 1100s # enum_name: @enum_name@ 1100s # ENUMNAME: @ENUMNAME@ 1100s # ENUMSHORT: @ENUMSHORT@ 1100s # ENUMPREFIX: @ENUMPREFIX@ 1100s # enumsince: @enumsince@ 1100s # type: @type@ 1100s # Type: @Type@ 1100s # TYPE: @TYPE@ 1100s # /*** END value-header ***/ 1100s # 1100s # /*** BEGIN value-production ***/ 1100s # value-production 1100s # VALUENAME: @VALUENAME@ 1100s # valuenick: @valuenick@ 1100s # valuenum: @valuenum@ 1100s # type: @type@ 1100s # Type: @Type@ 1100s # TYPE: @TYPE@ 1100s # /*** END value-production ***/ 1100s # 1100s # /*** BEGIN value-tail ***/ 1100s # value-tail 1100s # EnumName: @EnumName@ 1100s # enum_name: @enum_name@ 1100s # ENUMNAME: @ENUMNAME@ 1100s # ENUMSHORT: @ENUMSHORT@ 1100s # ENUMPREFIX: @ENUMPREFIX@ 1100s # enumsince: @enumsince@ 1100s # type: @type@ 1100s # Type: @Type@ 1100s # TYPE: @TYPE@ 1100s # /*** END value-tail ***/ 1100s # 1100s # /*** BEGIN comment ***/ 1100s # comment 1100s # comment: @comment@ 1100s # /*** END comment ***/ 1100s # 1100s # /*** BEGIN file-tail ***/ 1100s # file-tail 1100s # /*** END file-tail ***/ 1100s # 1100s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpxh_diiv0/tmp_k3f5twy.template', '/tmp/tmpxh_diiv0/tmp_9og30rv.h'] 1100s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1100s # Output: comment 1100s # 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. 1100s # 1100s # 1100s # file-header 1100s # file-production 1100s # filename: /tmp/tmpxh_diiv0/tmp_9og30rv.h 1100s # basename: tmp_9og30rv.h 1100s # enumeration-production 1100s # EnumName: GDBusServerFlags 1100s # enum_name: g_dbus_server_flags 1100s # ENUMNAME: G_DBUS_SERVER_FLAGS 1100s # ENUMSHORT: DBUS_SERVER_FLAGS 1100s # ENUMPREFIX: G 1100s # enumsince: 1100s # type: flags 1100s # Type: Flags 1100s # TYPE: FLAGS 1100s # value-header 1100s # EnumName: GDBusServerFlags 1100s # enum_name: g_dbus_server_flags 1100s # ENUMNAME: G_DBUS_SERVER_FLAGS 1100s # ENUMSHORT: DBUS_SERVER_FLAGS 1100s # ENUMPREFIX: G 1100s # enumsince: 1100s # type: flags 1100s # Type: Flags 1100s # TYPE: FLAGS 1100s # value-production 1100s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1100s # valuenick: user 1100s # valuenum: 4 1100s # type: flags 1100s # Type: Flags 1100s # TYPE: FLAGS 1100s # value-tail 1100s # EnumName: GDBusServerFlags 1100s # enum_name: g_dbus_server_flags 1100s # ENUMNAME: G_DBUS_SERVER_FLAGS 1100s # ENUMSHORT: DBUS_SERVER_FLAGS 1100s # ENUMPREFIX: G 1100s # enumsince: 1100s # type: flags 1100s # Type: Flags 1100s # TYPE: FLAGS 1100s # file-tail 1100s # 1100s # comment 1100s # comment: Generated data ends here 1100s ok 5 __main__.TestMkenums.test_empty_header 1100s # tmpdir: /tmp/tmpcoh62myd 1100s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1100s # /tmp/tmpcoh62myd/tmppvbq3r_6.h: 1100s # /tmp/tmpcoh62myd/tmp086zpzbl.template: 1100s # /*** BEGIN file-header ***/ 1100s # file-header 1100s # /*** END file-header ***/ 1100s # 1100s # /*** BEGIN file-production ***/ 1100s # file-production 1100s # filename: @filename@ 1100s # basename: @basename@ 1100s # /*** END file-production ***/ 1100s # 1100s # /*** BEGIN enumeration-production ***/ 1100s # enumeration-production 1100s # EnumName: @EnumName@ 1100s # enum_name: @enum_name@ 1100s # ENUMNAME: @ENUMNAME@ 1100s # ENUMSHORT: @ENUMSHORT@ 1100s # ENUMPREFIX: @ENUMPREFIX@ 1100s # enumsince: @enumsince@ 1100s # type: @type@ 1100s # Type: @Type@ 1100s # TYPE: @TYPE@ 1100s # /*** END enumeration-production ***/ 1100s # 1100s # /*** BEGIN value-header ***/ 1100s # value-header 1100s # EnumName: @EnumName@ 1100s # enum_name: @enum_name@ 1100s # ENUMNAME: @ENUMNAME@ 1100s # ENUMSHORT: @ENUMSHORT@ 1100s # ENUMPREFIX: @ENUMPREFIX@ 1100s # enumsince: @enumsince@ 1100s # type: @type@ 1100s # Type: @Type@ 1100s # TYPE: @TYPE@ 1100s # /*** END value-header ***/ 1100s # 1100s # /*** BEGIN value-production ***/ 1100s # value-production 1100s # VALUENAME: @VALUENAME@ 1100s # valuenick: @valuenick@ 1100s # valuenum: @valuenum@ 1100s # type: @type@ 1100s # Type: @Type@ 1100s # TYPE: @TYPE@ 1100s # /*** END value-production ***/ 1100s # 1100s # /*** BEGIN value-tail ***/ 1100s # value-tail 1100s # EnumName: @EnumName@ 1100s # enum_name: @enum_name@ 1100s # ENUMNAME: @ENUMNAME@ 1100s # ENUMSHORT: @ENUMSHORT@ 1100s # ENUMPREFIX: @ENUMPREFIX@ 1100s # enumsince: @enumsince@ 1100s # type: @type@ 1100s # Type: @Type@ 1100s # TYPE: @TYPE@ 1100s # /*** END value-tail ***/ 1100s # 1100s # /*** BEGIN comment ***/ 1100s # comment 1100s # comment: @comment@ 1100s # /*** END comment ***/ 1100s # 1100s # /*** BEGIN file-tail ***/ 1100s # file-tail 1100s # /*** END file-tail ***/ 1100s # 1100s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpcoh62myd/tmp086zpzbl.template', '/tmp/tmpcoh62myd/tmppvbq3r_6.h'] 1100s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1100s # Output: comment 1100s # 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. 1100s # 1100s # 1100s # file-header 1100s # file-tail 1100s # 1100s # comment 1100s # comment: Generated data ends here 1100s ok 6 __main__.TestMkenums.test_empty_template 1100s # tmpdir: /tmp/tmpo5y6ohbg 1100s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1100s # /tmp/tmpo5y6ohbg/tmp_4aledbb.template: 1100s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpo5y6ohbg/tmp_4aledbb.template'] 1100s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1100s # 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. */ 1100s # 1100s # 1100s # /* Generated data ends here */ 1100s ok 7 __main__.TestMkenums.test_enum_name 1100s # tmpdir: /tmp/tmp6pg0xspc 1100s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1100s # /tmp/tmp6pg0xspc/tmpmo0xbkwj.h: 1100s # typedef enum _SomeEnumIdentifier { 1100s # ENUM_VALUE 1100s # } SomeEnumIdentifier; 1100s # 1100s # /tmp/tmp6pg0xspc/tmppzn9our4.template: 1100s # /*** BEGIN file-header ***/ 1100s # file-header 1100s # /*** END file-header ***/ 1100s # 1100s # /*** BEGIN file-production ***/ 1100s # file-production 1100s # filename: @filename@ 1100s # basename: @basename@ 1100s # /*** END file-production ***/ 1100s # 1100s # /*** BEGIN enumeration-production ***/ 1100s # enumeration-production 1100s # EnumName: @EnumName@ 1100s # enum_name: @enum_name@ 1100s # ENUMNAME: @ENUMNAME@ 1100s # ENUMSHORT: @ENUMSHORT@ 1100s # ENUMPREFIX: @ENUMPREFIX@ 1100s # enumsince: @enumsince@ 1100s # type: @type@ 1100s # Type: @Type@ 1100s # TYPE: @TYPE@ 1100s # /*** END enumeration-production ***/ 1100s # 1100s # /*** BEGIN value-header ***/ 1100s # value-header 1100s # EnumName: @EnumName@ 1100s # enum_name: @enum_name@ 1100s # ENUMNAME: @ENUMNAME@ 1100s # ENUMSHORT: @ENUMSHORT@ 1100s # ENUMPREFIX: @ENUMPREFIX@ 1100s # enumsince: @enumsince@ 1100s # type: @type@ 1100s # Type: @Type@ 1100s # TYPE: @TYPE@ 1100s # /*** END value-header ***/ 1100s # 1100s # /*** BEGIN value-production ***/ 1100s # value-production 1100s # VALUENAME: @VALUENAME@ 1100s # valuenick: @valuenick@ 1100s # valuenum: @valuenum@ 1100s # type: @type@ 1100s # Type: @Type@ 1100s # TYPE: @TYPE@ 1100s # /*** END value-production ***/ 1100s # 1100s # /*** BEGIN value-tail ***/ 1100s # value-tail 1100s # EnumName: @EnumName@ 1100s # enum_name: @enum_name@ 1100s # ENUMNAME: @ENUMNAME@ 1100s # ENUMSHORT: @ENUMSHORT@ 1100s # ENUMPREFIX: @ENUMPREFIX@ 1100s # enumsince: @enumsince@ 1100s # type: @type@ 1100s # Type: @Type@ 1100s # TYPE: @TYPE@ 1100s # /*** END value-tail ***/ 1100s # 1100s # /*** BEGIN comment ***/ 1100s # comment 1100s # comment: @comment@ 1100s # /*** END comment ***/ 1100s # 1100s # /*** BEGIN file-tail ***/ 1100s # file-tail 1100s # /*** END file-tail ***/ 1100s # 1100s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp6pg0xspc/tmppzn9our4.template', '/tmp/tmp6pg0xspc/tmpmo0xbkwj.h'] 1100s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1100s # Output: comment 1100s # 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. 1100s # 1100s # 1100s # file-header 1100s # file-production 1100s # filename: /tmp/tmp6pg0xspc/tmpmo0xbkwj.h 1100s # basename: tmpmo0xbkwj.h 1100s # enumeration-production 1100s # EnumName: SomeEnumIdentifier 1100s # enum_name: some_enum_identifier 1100s # ENUMNAME: SOME_ENUM_IDENTIFIER 1100s # ENUMSHORT: ENUM_IDENTIFIER 1100s # ENUMPREFIX: SOME 1100s # enumsince: 1100s # type: enum 1100s # Type: Enum 1100s # TYPE: ENUM 1100s # value-header 1100s # EnumName: SomeEnumIdentifier 1100s # enum_name: some_enum_identifier 1100s # ENUMNAME: SOME_ENUM_IDENTIFIER 1100s # ENUMSHORT: ENUM_IDENTIFIER 1100s # ENUMPREFIX: SOME 1100s # enumsince: 1100s # type: enum 1100s # Type: Enum 1100s # TYPE: ENUM 1100s # value-production 1100s # VALUENAME: ENUM_VALUE 1100s # valuenick: value 1100s # valuenum: 0 1100s # type: enum 1100s # Type: Enum 1100s # TYPE: ENUM 1100s # value-tail 1100s # EnumName: SomeEnumIdentifier 1100s # enum_name: some_enum_identifier 1100s # ENUMNAME: SOME_ENUM_IDENTIFIER 1100s # ENUMSHORT: ENUM_IDENTIFIER 1100s # ENUMPREFIX: SOME 1100s # enumsince: 1100s # type: enum 1100s # Type: Enum 1100s # TYPE: ENUM 1100s # file-tail 1100s # 1100s # comment 1100s # comment: Generated data ends here 1100s ok 8 __main__.TestMkenums.test_enum_private_public 1100s # tmpdir: /tmp/tmpbxf3tzd6 1100s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1100s # /tmp/tmpbxf3tzd6/tmpqey756ea.h: 1100s # typedef enum { 1100s # ENUM_VALUE_PUBLIC1, 1100s # /*< private >*/ 1100s # ENUM_VALUE_PRIVATE, 1100s # } SomeEnumA 1100s # 1100s # /tmp/tmpbxf3tzd6/tmpxu77rib8.template: 1100s # /*** BEGIN file-header ***/ 1100s # file-header 1100s # /*** END file-header ***/ 1100s # 1100s # /*** BEGIN file-production ***/ 1100s # file-production 1100s # filename: @filename@ 1100s # basename: @basename@ 1100s # /*** END file-production ***/ 1100s # 1100s # /*** BEGIN enumeration-production ***/ 1100s # enumeration-production 1100s # EnumName: @EnumName@ 1100s # enum_name: @enum_name@ 1100s # ENUMNAME: @ENUMNAME@ 1100s # ENUMSHORT: @ENUMSHORT@ 1100s # ENUMPREFIX: @ENUMPREFIX@ 1100s # enumsince: @enumsince@ 1100s # type: @type@ 1100s # Type: @Type@ 1100s # TYPE: @TYPE@ 1100s # /*** END enumeration-production ***/ 1100s # 1100s # /*** BEGIN value-header ***/ 1100s # value-header 1100s # EnumName: @EnumName@ 1100s # enum_name: @enum_name@ 1100s # ENUMNAME: @ENUMNAME@ 1100s # ENUMSHORT: @ENUMSHORT@ 1100s # ENUMPREFIX: @ENUMPREFIX@ 1100s # enumsince: @enumsince@ 1100s # type: @type@ 1100s # Type: @Type@ 1100s # TYPE: @TYPE@ 1100s # /*** END value-header ***/ 1100s # 1100s # /*** BEGIN value-production ***/ 1100s # value-production 1100s # VALUENAME: @VALUENAME@ 1100s # valuenick: @valuenick@ 1100s # valuenum: @valuenum@ 1100s # type: @type@ 1100s # Type: @Type@ 1100s # TYPE: @TYPE@ 1100s # /*** END value-production ***/ 1100s # 1100s # /*** BEGIN value-tail ***/ 1100s # value-tail 1100s # EnumName: @EnumName@ 1100s # enum_name: @enum_name@ 1100s # ENUMNAME: @ENUMNAME@ 1100s # ENUMSHORT: @ENUMSHORT@ 1100s # ENUMPREFIX: @ENUMPREFIX@ 1100s # enumsince: @enumsince@ 1100s # type: @type@ 1100s # Type: @Type@ 1100s # TYPE: @TYPE@ 1100s # /*** END value-tail ***/ 1100s # 1100s # /*** BEGIN comment ***/ 1100s # comment 1100s # comment: @comment@ 1100s # /*** END comment ***/ 1100s # 1100s # /*** BEGIN file-tail ***/ 1100s # file-tail 1100s # /*** END file-tail ***/ 1100s # 1100s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpbxf3tzd6/tmpxu77rib8.template', '/tmp/tmpbxf3tzd6/tmpqey756ea.h'] 1100s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1100s # Output: comment 1100s # 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. 1100s # 1100s # 1100s # file-header 1100s # file-production 1100s # filename: /tmp/tmpbxf3tzd6/tmpqey756ea.h 1100s # basename: tmpqey756ea.h 1100s # enumeration-production 1100s # EnumName: SomeEnumA 1100s # enum_name: some_enum_a 1100s # ENUMNAME: SOME_ENUM_A 1100s # ENUMSHORT: ENUM_A 1100s # ENUMPREFIX: SOME 1100s # enumsince: 1100s # type: enum 1100s # Type: Enum 1100s # TYPE: ENUM 1100s # value-header 1100s # EnumName: SomeEnumA 1100s # enum_name: some_enum_a 1100s # ENUMNAME: SOME_ENUM_A 1100s # ENUMSHORT: ENUM_A 1100s # ENUMPREFIX: SOME 1100s # enumsince: 1100s # type: enum 1100s # Type: Enum 1100s # TYPE: ENUM 1100s # value-production 1100s # VALUENAME: ENUM_VALUE_PUBLIC1 1100s # valuenick: public1 1100s # valuenum: 0 1100s # type: enum 1100s # Type: Enum 1100s # TYPE: ENUM 1100s # value-tail 1100s # EnumName: SomeEnumA 1100s # enum_name: some_enum_a 1100s # ENUMNAME: SOME_ENUM_A 1100s # ENUMSHORT: ENUM_A 1100s # ENUMPREFIX: SOME 1100s # enumsince: 1100s # type: enum 1100s # Type: Enum 1100s # TYPE: ENUM 1100s # file-tail 1100s # 1100s # comment 1100s # comment: Generated data ends here 1100s # /tmp/tmpbxf3tzd6/tmpai5k38xg.h: 1100s # typedef enum { 1100s # /*< private >*/ 1100s # ENUM_VALUE_PRIVATE, 1100s # /*< public >*/ 1100s # ENUM_VALUE_PUBLIC2, 1100s # } SomeEnumB; 1100s # 1100s # /tmp/tmpbxf3tzd6/tmpba_xok6y.template: 1100s # /*** BEGIN file-header ***/ 1100s # file-header 1100s # /*** END file-header ***/ 1100s # 1100s # /*** BEGIN file-production ***/ 1100s # file-production 1100s # filename: @filename@ 1100s # basename: @basename@ 1100s # /*** END file-production ***/ 1100s # 1100s # /*** BEGIN enumeration-production ***/ 1100s # enumeration-production 1100s # EnumName: @EnumName@ 1100s # enum_name: @enum_name@ 1100s # ENUMNAME: @ENUMNAME@ 1100s # ENUMSHORT: @ENUMSHORT@ 1100s # ENUMPREFIX: @ENUMPREFIX@ 1100s # enumsince: @enumsince@ 1100s # type: @type@ 1100s # Type: @Type@ 1100s # TYPE: @TYPE@ 1100s # /*** END enumeration-production ***/ 1100s # 1100s # /*** BEGIN value-header ***/ 1100s # value-header 1100s # EnumName: @EnumName@ 1100s # enum_name: @enum_name@ 1100s # ENUMNAME: @ENUMNAME@ 1100s # ENUMSHORT: @ENUMSHORT@ 1100s # ENUMPREFIX: @ENUMPREFIX@ 1100s # enumsince: @enumsince@ 1100s # type: @type@ 1100s # Type: @Type@ 1100s # TYPE: @TYPE@ 1100s # /*** END value-header ***/ 1100s # 1100s # /*** BEGIN value-production ***/ 1100s # value-production 1100s # VALUENAME: @VALUENAME@ 1100s # valuenick: @valuenick@ 1100s # valuenum: @valuenum@ 1100s # type: @type@ 1100s # Type: @Type@ 1100s # TYPE: @TYPE@ 1100s # /*** END value-production ***/ 1100s # 1100s # /*** BEGIN value-tail ***/ 1100s # value-tail 1100s # EnumName: @EnumName@ 1100s # enum_name: @enum_name@ 1100s # ENUMNAME: @ENUMNAME@ 1100s # ENUMSHORT: @ENUMSHORT@ 1100s # ENUMPREFIX: @ENUMPREFIX@ 1100s # enumsince: @enumsince@ 1100s # type: @type@ 1100s # Type: @Type@ 1100s # TYPE: @TYPE@ 1100s # /*** END value-tail ***/ 1100s # 1100s # /*** BEGIN comment ***/ 1100s # comment 1100s # comment: @comment@ 1100s # /*** END comment ***/ 1100s # 1100s # /*** BEGIN file-tail ***/ 1100s # file-tail 1100s # /*** END file-tail ***/ 1100s # 1100s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpbxf3tzd6/tmpba_xok6y.template', '/tmp/tmpbxf3tzd6/tmpai5k38xg.h'] 1100s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1100s # Output: comment 1100s # 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. 1100s # 1100s # 1100s # file-header 1100s # file-production 1100s # filename: /tmp/tmpbxf3tzd6/tmpai5k38xg.h 1100s # basename: tmpai5k38xg.h 1100s # enumeration-production 1100s # EnumName: SomeEnumB 1100s # enum_name: some_enum_b 1100s # ENUMNAME: SOME_ENUM_B 1100s # ENUMSHORT: ENUM_B 1100s # ENUMPREFIX: SOME 1100s # enumsince: 1100s # type: enum 1100s # Type: Enum 1100s # TYPE: ENUM 1100s # value-header 1100s # EnumName: SomeEnumB 1100s # enum_name: some_enum_b 1100s # ENUMNAME: SOME_ENUM_B 1100s # ENUMSHORT: ENUM_B 1100s # ENUMPREFIX: SOME 1100s # enumsince: 1100s # type: enum 1100s # Type: Enum 1100s # TYPE: ENUM 1100s # value-production 1100s # VALUENAME: ENUM_VALUE_PUBLIC2 1100s # valuenick: public2 1100s # valuenum: 1 1100s # type: enum 1100s # Type: Enum 1100s # TYPE: ENUM 1100s # value-tail 1100s # EnumName: SomeEnumB 1100s # enum_name: some_enum_b 1100s # ENUMNAME: SOME_ENUM_B 1100s # ENUMSHORT: ENUM_B 1100s # ENUMPREFIX: SOME 1100s # enumsince: 1100s # type: enum 1100s # Type: Enum 1100s # TYPE: ENUM 1100s # file-tail 1100s # 1100s # comment 1100s # comment: Generated data ends here 1100s ok 9 __main__.TestMkenums.test_enum_symbolic_expression 1100s # tmpdir: /tmp/tmpksuuxzn6 1100s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1100s # /tmp/tmpksuuxzn6/tmplthwzm4u.h: 1100s # typedef enum { 1100s # /*< private >*/ 1100s # ENUM_VALUE_PRIVATE = 5, 1100s # /*< public >*/ 1100s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2, 1100s # } TestSymbolicEnum; 1100s # 1100s # /tmp/tmpksuuxzn6/tmpcwojoqgy.template: 1100s # /*** BEGIN file-header ***/ 1100s # file-header 1100s # /*** END file-header ***/ 1100s # 1100s # /*** BEGIN file-production ***/ 1100s # file-production 1100s # filename: @filename@ 1100s # basename: @basename@ 1100s # /*** END file-production ***/ 1100s # 1100s # /*** BEGIN enumeration-production ***/ 1100s # enumeration-production 1100s # EnumName: @EnumName@ 1100s # enum_name: @enum_name@ 1100s # ENUMNAME: @ENUMNAME@ 1100s # ENUMSHORT: @ENUMSHORT@ 1100s # ENUMPREFIX: @ENUMPREFIX@ 1100s # enumsince: @enumsince@ 1100s # type: @type@ 1100s # Type: @Type@ 1100s # TYPE: @TYPE@ 1100s # /*** END enumeration-production ***/ 1100s # 1100s # /*** BEGIN value-header ***/ 1100s # value-header 1100s # EnumName: @EnumName@ 1100s # enum_name: @enum_name@ 1100s # ENUMNAME: @ENUMNAME@ 1100s # ENUMSHORT: @ENUMSHORT@ 1100s # ENUMPREFIX: @ENUMPREFIX@ 1100s # enumsince: @enumsince@ 1100s # type: @type@ 1100s # Type: @Type@ 1100s # TYPE: @TYPE@ 1100s # /*** END value-header ***/ 1100s # 1100s # /*** BEGIN value-production ***/ 1100s # value-production 1100s # VALUENAME: @VALUENAME@ 1100s # valuenick: @valuenick@ 1100s # valuenum: @valuenum@ 1100s # type: @type@ 1100s # Type: @Type@ 1100s # TYPE: @TYPE@ 1100s # /*** END value-production ***/ 1100s # 1100s # /*** BEGIN value-tail ***/ 1100s # value-tail 1100s # EnumName: @EnumName@ 1100s # enum_name: @enum_name@ 1100s # ENUMNAME: @ENUMNAME@ 1100s # ENUMSHORT: @ENUMSHORT@ 1100s # ENUMPREFIX: @ENUMPREFIX@ 1100s # enumsince: @enumsince@ 1100s # type: @type@ 1100s # Type: @Type@ 1100s # TYPE: @TYPE@ 1100s # /*** END value-tail ***/ 1100s # 1100s # /*** BEGIN comment ***/ 1100s # comment 1100s # comment: @comment@ 1100s # /*** END comment ***/ 1100s # 1100s # /*** BEGIN file-tail ***/ 1100s # file-tail 1100s # /*** END file-tail ***/ 1100s # 1100s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpksuuxzn6/tmpcwojoqgy.template', '/tmp/tmpksuuxzn6/tmplthwzm4u.h'] 1100s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1100s # Output: comment 1100s # 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. 1100s # 1100s # 1100s # file-header 1100s # file-production 1100s # filename: /tmp/tmpksuuxzn6/tmplthwzm4u.h 1100s # basename: tmplthwzm4u.h 1100s # enumeration-production 1100s # EnumName: TestSymbolicEnum 1100s # enum_name: test_symbolic_enum 1100s # ENUMNAME: TEST_SYMBOLIC_ENUM 1100s # ENUMSHORT: SYMBOLIC_ENUM 1100s # ENUMPREFIX: TEST 1100s # enumsince: 1100s # type: enum 1100s # Type: Enum 1100s # TYPE: ENUM 1100s # value-header 1100s # EnumName: TestSymbolicEnum 1100s # enum_name: test_symbolic_enum 1100s # ENUMNAME: TEST_SYMBOLIC_ENUM 1100s # ENUMSHORT: SYMBOLIC_ENUM 1100s # ENUMPREFIX: TEST 1100s # enumsince: 1100s # type: enum 1100s # Type: Enum 1100s # TYPE: ENUM 1100s # value-production 1100s # VALUENAME: ENUM_VALUE_PUBLIC 1100s # valuenick: public 1100s # valuenum: 7 1100s # type: enum 1100s # Type: Enum 1100s # TYPE: ENUM 1100s # value-tail 1100s # EnumName: TestSymbolicEnum 1100s # enum_name: test_symbolic_enum 1100s # ENUMNAME: TEST_SYMBOLIC_ENUM 1100s # ENUMSHORT: SYMBOLIC_ENUM 1100s # ENUMPREFIX: TEST 1100s # enumsince: 1100s # type: enum 1100s # Type: Enum 1100s # TYPE: ENUM 1100s # file-tail 1100s # 1100s # comment 1100s # comment: Generated data ends here 1100s ok 10 __main__.TestMkenums.test_filename_basename_in_fhead_ftail 1100s # tmpdir: /tmp/tmpdmctlp8e 1100s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1100s # /tmp/tmpdmctlp8e/tmp6oiadiar.template: 1100s # /*** BEGIN file-header ***/ 1100s # file-header 1100s # filename: @filename@ 1100s # basename: @basename@ 1100s # /*** END file-header ***/ 1100s # 1100s # /*** BEGIN comment ***/ 1100s # comment 1100s # comment: @comment@ 1100s # /*** END comment ***/ 1100s # 1100s # /*** BEGIN file-tail ***/ 1100s # file-tail 1100s # filename: @filename@ 1100s # basename: @basename@ 1100s # /*** END file-tail ***/ 1100s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpdmctlp8e/tmp6oiadiar.template'] 1100s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1100s # Output: comment 1100s # 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. 1100s # 1100s # 1100s # file-header 1100s # filename: @filename@ 1100s # basename: @basename@ 1100s # file-tail 1100s # filename: @filename@ 1100s # basename: @basename@ 1100s # 1100s # comment 1100s # comment: Generated data ends here 1100s ok 11 __main__.TestMkenums.test_help 1100s # tmpdir: /tmp/tmp4p9018rr 1100s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1100s # Running: ['/usr/bin/glib-mkenums', '--help'] 1100s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1100s # Output: usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX] 1100s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD] 1100s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD] 1100s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL] 1100s # [--comments COMMENT_TMPL] [--template TEMPLATE] 1100s # [--output OUTPUT] [--version] 1100s # [args ...] 1100s # 1100s # positional arguments: 1100s # args One or more input files, or a single argument 1100s # @rspfile_path pointing to a file that contains the 1100s # actual arguments 1100s # 1100s # options: 1100s # -h, --help show this help message and exit 1100s # --identifier-prefix IDPREFIX 1100s # Identifier prefix 1100s # --symbol-prefix SYMPREFIX 1100s # Symbol prefix 1100s # --fhead FHEAD Output file header 1100s # --ftail FTAIL Output file footer 1100s # --fprod FPROD Put out TEXT every time a new input file is being 1100s # processed. 1100s # --eprod EPROD Per enum text, produced prior to value iterations 1100s # --vhead VHEAD Value header, produced before iterating over enum 1100s # values 1100s # --vprod VPROD Value text, produced for each enum value. 1100s # --vtail VTAIL Value tail, produced after iterating over enum values 1100s # --comments COMMENT_TMPL 1100s # Comment structure 1100s # --template TEMPLATE Template file 1100s # --output OUTPUT 1100s # --version, -v Print version information 1100s # 1100s # Production text substitutions: 1100s # @EnumName@ PrefixTheXEnum 1100s # @enum_name@ prefix_the_xenum 1100s # @ENUMNAME@ PREFIX_THE_XENUM 1100s # @ENUMSHORT@ THE_XENUM 1100s # @ENUMPREFIX@ PREFIX 1100s # @enumsince@ the user-provided since value given 1100s # @VALUENAME@ PREFIX_THE_XVALUE 1100s # @valuenick@ the-xvalue 1100s # @valuenum@ the integer value (limited support, Since: 2.26) 1100s # @type@ either enum or flags 1100s # @Type@ either Enum or Flags 1100s # @TYPE@ either ENUM or FLAGS 1100s # @filename@ name of current input file 1100s # @basename@ base name of the current input file (Since: 2.22) 1100s ok 12 __main__.TestMkenums.test_no_args 1100s # tmpdir: /tmp/tmpkb0q2w53 1100s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1100s # Running: ['/usr/bin/glib-mkenums'] 1100s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1100s # 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. */ 1100s # 1100s # 1100s # /* Generated data ends here */ 1100s ok 13 __main__.TestMkenums.test_no_headers 1100s # tmpdir: /tmp/tmpcni85v0k 1100s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1100s # /tmp/tmpcni85v0k/tmpmz_p88_a.template: 1100s # /*** BEGIN file-header ***/ 1100s # file-header 1100s # /*** END file-header ***/ 1100s # 1100s # /*** BEGIN file-production ***/ 1100s # file-production 1100s # filename: @filename@ 1100s # basename: @basename@ 1100s # /*** END file-production ***/ 1100s # 1100s # /*** BEGIN enumeration-production ***/ 1100s # enumeration-production 1100s # EnumName: @EnumName@ 1100s # enum_name: @enum_name@ 1100s # ENUMNAME: @ENUMNAME@ 1100s # ENUMSHORT: @ENUMSHORT@ 1100s # ENUMPREFIX: @ENUMPREFIX@ 1100s # enumsince: @enumsince@ 1100s # type: @type@ 1100s # Type: @Type@ 1100s # TYPE: @TYPE@ 1100s # /*** END enumeration-production ***/ 1100s # 1100s # /*** BEGIN value-header ***/ 1100s # value-header 1100s # EnumName: @EnumName@ 1100s # enum_name: @enum_name@ 1100s # ENUMNAME: @ENUMNAME@ 1100s # ENUMSHORT: @ENUMSHORT@ 1100s # ENUMPREFIX: @ENUMPREFIX@ 1100s # enumsince: @enumsince@ 1100s # type: @type@ 1100s # Type: @Type@ 1100s # TYPE: @TYPE@ 1100s # /*** END value-header ***/ 1100s # 1100s # /*** BEGIN value-production ***/ 1100s # value-production 1100s # VALUENAME: @VALUENAME@ 1100s # valuenick: @valuenick@ 1100s # valuenum: @valuenum@ 1100s # type: @type@ 1100s # Type: @Type@ 1100s # TYPE: @TYPE@ 1100s # /*** END value-production ***/ 1100s # 1100s # /*** BEGIN value-tail ***/ 1100s # value-tail 1100s # EnumName: @EnumName@ 1100s # enum_name: @enum_name@ 1100s # ENUMNAME: @ENUMNAME@ 1100s # ENUMSHORT: @ENUMSHORT@ 1100s # ENUMPREFIX: @ENUMPREFIX@ 1100s # enumsince: @enumsince@ 1100s # type: @type@ 1100s # Type: @Type@ 1100s # TYPE: @TYPE@ 1100s # /*** END value-tail ***/ 1100s # 1100s # /*** BEGIN comment ***/ 1100s # comment 1100s # comment: @comment@ 1100s # /*** END comment ***/ 1100s # 1100s # /*** BEGIN file-tail ***/ 1100s # file-tail 1100s # /*** END file-tail ***/ 1100s # 1100s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpcni85v0k/tmpmz_p88_a.template'] 1100s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1100s # Output: comment 1100s # 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. 1100s # 1100s # 1100s # file-header 1100s # file-tail 1100s # 1100s # comment 1100s # comment: Generated data ends here 1100s ok 14 __main__.TestMkenums.test_no_nick 1100s # tmpdir: /tmp/tmp495wnydj 1100s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1100s # /tmp/tmp495wnydj/tmp03z6n6zl.h: 1100s # typedef enum { 1100s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/ 1100s # } GeglSamplerType; 1100s # 1100s # /tmp/tmp495wnydj/tmpw3wp8n69.template: 1100s # /*** BEGIN file-header ***/ 1100s # file-header 1100s # /*** END file-header ***/ 1100s # 1100s # /*** BEGIN file-production ***/ 1100s # file-production 1100s # filename: @filename@ 1100s # basename: @basename@ 1100s # /*** END file-production ***/ 1100s # 1100s # /*** BEGIN enumeration-production ***/ 1100s # enumeration-production 1100s # EnumName: @EnumName@ 1100s # enum_name: @enum_name@ 1100s # ENUMNAME: @ENUMNAME@ 1100s # ENUMSHORT: @ENUMSHORT@ 1100s # ENUMPREFIX: @ENUMPREFIX@ 1100s # enumsince: @enumsince@ 1100s # type: @type@ 1100s # Type: @Type@ 1100s # TYPE: @TYPE@ 1100s # /*** END enumeration-production ***/ 1100s # 1100s # /*** BEGIN value-header ***/ 1100s # value-header 1100s # EnumName: @EnumName@ 1100s # enum_name: @enum_name@ 1100s # ENUMNAME: @ENUMNAME@ 1100s # ENUMSHORT: @ENUMSHORT@ 1100s # ENUMPREFIX: @ENUMPREFIX@ 1100s # enumsince: @enumsince@ 1100s # type: @type@ 1100s # Type: @Type@ 1100s # TYPE: @TYPE@ 1100s # /*** END value-header ***/ 1100s # 1100s # /*** BEGIN value-production ***/ 1100s # value-production 1100s # VALUENAME: @VALUENAME@ 1100s # valuenick: @valuenick@ 1100s # valuenum: @valuenum@ 1100s # type: @type@ 1100s # Type: @Type@ 1100s # TYPE: @TYPE@ 1100s # /*** END value-production ***/ 1100s # 1100s # /*** BEGIN value-tail ***/ 1100s # value-tail 1100s # EnumName: @EnumName@ 1100s # enum_name: @enum_name@ 1100s # ENUMNAME: @ENUMNAME@ 1100s # ENUMSHORT: @ENUMSHORT@ 1100s # ENUMPREFIX: @ENUMPREFIX@ 1100s # enumsince: @enumsince@ 1100s # type: @type@ 1100s # Type: @Type@ 1100s # TYPE: @TYPE@ 1100s # /*** END value-tail ***/ 1100s # 1100s # /*** BEGIN comment ***/ 1100s # comment 1100s # comment: @comment@ 1100s # /*** END comment ***/ 1100s # 1100s # /*** BEGIN file-tail ***/ 1100s # file-tail 1100s # /*** END file-tail ***/ 1100s # 1100s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp495wnydj/tmpw3wp8n69.template', '/tmp/tmp495wnydj/tmp03z6n6zl.h'] 1100s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1100s # Output: comment 1100s # 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. 1100s # 1100s # 1100s # file-header 1100s # file-production 1100s # filename: /tmp/tmp495wnydj/tmp03z6n6zl.h 1100s # basename: tmp03z6n6zl.h 1100s # enumeration-production 1100s # EnumName: GeglSamplerType 1100s # enum_name: gegl_sampler_type 1100s # ENUMNAME: GEGL_SAMPLER_TYPE 1100s # ENUMSHORT: SAMPLER_TYPE 1100s # ENUMPREFIX: GEGL 1100s # enumsince: 1100s # type: enum 1100s # Type: Enum 1100s # TYPE: ENUM 1100s # value-header 1100s # EnumName: GeglSamplerType 1100s # enum_name: gegl_sampler_type 1100s # ENUMNAME: GEGL_SAMPLER_TYPE 1100s # ENUMSHORT: SAMPLER_TYPE 1100s # ENUMPREFIX: GEGL 1100s # enumsince: 1100s # type: enum 1100s # Type: Enum 1100s # TYPE: ENUM 1100s # value-production 1100s # VALUENAME: GEGL_SAMPLER_NEAREST 1100s # valuenick: nearest 1100s # valuenum: 0 1100s # type: enum 1100s # Type: Enum 1100s # TYPE: ENUM 1100s # value-tail 1100s # EnumName: GeglSamplerType 1100s # enum_name: gegl_sampler_type 1100s # ENUMNAME: GEGL_SAMPLER_TYPE 1100s # ENUMSHORT: SAMPLER_TYPE 1100s # ENUMPREFIX: GEGL 1100s # enumsince: 1100s # type: enum 1100s # Type: Enum 1100s # TYPE: ENUM 1100s # file-tail 1100s # 1100s # comment 1100s # comment: Generated data ends here 1100s ok 15 __main__.TestMkenums.test_non_utf8_encoding 1100s # tmpdir: /tmp/tmpqqobbahe 1100s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1100s # /tmp/tmpqqobbahe/tmprgehyxd6.h: 1100s # /* Copyright © La Peña */ 1100s # typedef enum { 1100s # ENUM_VALUE 1100s # } SomeEnumIdentifier; 1100s # 1100s # /tmp/tmpqqobbahe/tmp6gaifttd.template: 1100s # /*** BEGIN file-header ***/ 1100s # file-header 1100s # /*** END file-header ***/ 1100s # 1100s # /*** BEGIN file-production ***/ 1100s # file-production 1100s # filename: @filename@ 1100s # basename: @basename@ 1100s # /*** END file-production ***/ 1100s # 1100s # /*** BEGIN enumeration-production ***/ 1100s # enumeration-production 1100s # EnumName: @EnumName@ 1100s # enum_name: @enum_name@ 1100s # ENUMNAME: @ENUMNAME@ 1100s # ENUMSHORT: @ENUMSHORT@ 1100s # ENUMPREFIX: @ENUMPREFIX@ 1100s # enumsince: @enumsince@ 1100s # type: @type@ 1100s # Type: @Type@ 1100s # TYPE: @TYPE@ 1100s # /*** END enumeration-production ***/ 1100s # 1100s # /*** BEGIN value-header ***/ 1100s # value-header 1100s # EnumName: @EnumName@ 1100s # enum_name: @enum_name@ 1100s # ENUMNAME: @ENUMNAME@ 1100s # ENUMSHORT: @ENUMSHORT@ 1100s # ENUMPREFIX: @ENUMPREFIX@ 1100s # enumsince: @enumsince@ 1100s # type: @type@ 1100s # Type: @Type@ 1100s # TYPE: @TYPE@ 1100s # /*** END value-header ***/ 1100s # 1100s # /*** BEGIN value-production ***/ 1100s # value-production 1100s # VALUENAME: @VALUENAME@ 1100s # valuenick: @valuenick@ 1100s # valuenum: @valuenum@ 1100s # type: @type@ 1100s # Type: @Type@ 1100s # TYPE: @TYPE@ 1100s # /*** END value-production ***/ 1100s # 1100s # /*** BEGIN value-tail ***/ 1100s # value-tail 1100s # EnumName: @EnumName@ 1100s # enum_name: @enum_name@ 1100s # ENUMNAME: @ENUMNAME@ 1100s # ENUMSHORT: @ENUMSHORT@ 1100s # ENUMPREFIX: @ENUMPREFIX@ 1100s # enumsince: @enumsince@ 1100s # type: @type@ 1100s # Type: @Type@ 1100s # TYPE: @TYPE@ 1100s # /*** END value-tail ***/ 1100s # 1100s # /*** BEGIN comment ***/ 1100s # comment 1100s # comment: @comment@ 1100s # /*** END comment ***/ 1100s # 1100s # /*** BEGIN file-tail ***/ 1100s # file-tail 1100s # /*** END file-tail ***/ 1100s # 1100s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpqqobbahe/tmp6gaifttd.template', '/tmp/tmpqqobbahe/tmprgehyxd6.h'] 1100s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1100s # Output: comment 1100s # 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. 1100s # 1100s # 1100s # file-header 1100s # file-production 1100s # filename: /tmp/tmpqqobbahe/tmprgehyxd6.h 1100s # basename: tmprgehyxd6.h 1100s # enumeration-production 1100s # EnumName: SomeEnumIdentifier 1100s # enum_name: some_enum_identifier 1100s # ENUMNAME: SOME_ENUM_IDENTIFIER 1100s # ENUMSHORT: ENUM_IDENTIFIER 1100s # ENUMPREFIX: SOME 1100s # enumsince: 1100s # type: enum 1100s # Type: Enum 1100s # TYPE: ENUM 1100s # value-header 1100s # EnumName: SomeEnumIdentifier 1100s # enum_name: some_enum_identifier 1100s # ENUMNAME: SOME_ENUM_IDENTIFIER 1100s # ENUMSHORT: ENUM_IDENTIFIER 1100s # ENUMPREFIX: SOME 1100s # enumsince: 1100s # type: enum 1100s # Type: Enum 1100s # TYPE: ENUM 1100s # value-production 1100s # VALUENAME: ENUM_VALUE 1100s # valuenick: value 1100s # valuenum: 0 1100s # type: enum 1100s # Type: Enum 1100s # TYPE: ENUM 1100s # value-tail 1100s # EnumName: SomeEnumIdentifier 1100s # enum_name: some_enum_identifier 1100s # ENUMNAME: SOME_ENUM_IDENTIFIER 1100s # ENUMSHORT: ENUM_IDENTIFIER 1100s # ENUMPREFIX: SOME 1100s # enumsince: 1100s # type: enum 1100s # Type: Enum 1100s # TYPE: ENUM 1100s # file-tail 1100s # 1100s # comment 1100s # comment: Generated data ends here 1101s ok 16 __main__.TestMkenums.test_reproducible 1101s # tmpdir: /tmp/tmphg_bd0hx 1101s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1101s # /tmp/tmphg_bd0hx/tmpsmjla9yx.template: template 1101s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmphg_bd0hx/tmpsmjla9yx.template', '/tmp/tmphg_bd0hx/tmpenk569j_1.h', '/tmp/tmphg_bd0hx/tmpn8o60s3l2.h'] 1101s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1101s # 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. */ 1101s # 1101s # 1101s # /* Generated data ends here */ 1101s # /tmp/tmphg_bd0hx/tmpsm7_x_7v.template: template 1101s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmphg_bd0hx/tmpsm7_x_7v.template', '/tmp/tmphg_bd0hx/tmpn8o60s3l2.h', '/tmp/tmphg_bd0hx/tmpenk569j_1.h'] 1101s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1101s # 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. */ 1101s # 1101s # 1101s # /* Generated data ends here */ 1101s ok 17 __main__.TestMkenums.test_since 1101s # tmpdir: /tmp/tmp956tqehr 1101s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1101s # /tmp/tmp956tqehr/tmpmxk5bcdb.h: 1101s # typedef enum { /*< since=1.0 >*/ 1101s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0, 1101s # } QmiWmsMessageProtocol; 1101s # 1101s # /tmp/tmp956tqehr/tmpjq_hn4zb.template: 1101s # /*** BEGIN file-header ***/ 1101s # file-header 1101s # /*** END file-header ***/ 1101s # 1101s # /*** BEGIN file-production ***/ 1101s # file-production 1101s # filename: @filename@ 1101s # basename: @basename@ 1101s # /*** END file-production ***/ 1101s # 1101s # /*** BEGIN enumeration-production ***/ 1101s # enumeration-production 1101s # EnumName: @EnumName@ 1101s # enum_name: @enum_name@ 1101s # ENUMNAME: @ENUMNAME@ 1101s # ENUMSHORT: @ENUMSHORT@ 1101s # ENUMPREFIX: @ENUMPREFIX@ 1101s # enumsince: @enumsince@ 1101s # type: @type@ 1101s # Type: @Type@ 1101s # TYPE: @TYPE@ 1101s # /*** END enumeration-production ***/ 1101s # 1101s # /*** BEGIN value-header ***/ 1101s # value-header 1101s # EnumName: @EnumName@ 1101s # enum_name: @enum_name@ 1101s # ENUMNAME: @ENUMNAME@ 1101s # ENUMSHORT: @ENUMSHORT@ 1101s # ENUMPREFIX: @ENUMPREFIX@ 1101s # enumsince: @enumsince@ 1101s # type: @type@ 1101s # Type: @Type@ 1101s # TYPE: @TYPE@ 1101s # /*** END value-header ***/ 1101s # 1101s # /*** BEGIN value-production ***/ 1101s # value-production 1101s # VALUENAME: @VALUENAME@ 1101s # valuenick: @valuenick@ 1101s # valuenum: @valuenum@ 1101s # type: @type@ 1101s # Type: @Type@ 1101s # TYPE: @TYPE@ 1101s # /*** END value-production ***/ 1101s # 1101s # /*** BEGIN value-tail ***/ 1101s # value-tail 1101s # EnumName: @EnumName@ 1101s # enum_name: @enum_name@ 1101s # ENUMNAME: @ENUMNAME@ 1101s # ENUMSHORT: @ENUMSHORT@ 1101s # ENUMPREFIX: @ENUMPREFIX@ 1101s # enumsince: @enumsince@ 1101s # type: @type@ 1101s # Type: @Type@ 1101s # TYPE: @TYPE@ 1101s # /*** END value-tail ***/ 1101s # 1101s # /*** BEGIN comment ***/ 1101s # comment 1101s # comment: @comment@ 1101s # /*** END comment ***/ 1101s # 1101s # /*** BEGIN file-tail ***/ 1101s # file-tail 1101s # /*** END file-tail ***/ 1101s # 1101s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp956tqehr/tmpjq_hn4zb.template', '/tmp/tmp956tqehr/tmpmxk5bcdb.h'] 1101s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1101s # Output: comment 1101s # 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. 1101s # 1101s # 1101s # file-header 1101s # file-production 1101s # filename: /tmp/tmp956tqehr/tmpmxk5bcdb.h 1101s # basename: tmpmxk5bcdb.h 1101s # enumeration-production 1101s # EnumName: QmiWmsMessageProtocol 1101s # enum_name: qmi_wms_message_protocol 1101s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1101s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1101s # ENUMPREFIX: QMI 1101s # enumsince: 1.0 1101s # type: enum 1101s # Type: Enum 1101s # TYPE: ENUM 1101s # value-header 1101s # EnumName: QmiWmsMessageProtocol 1101s # enum_name: qmi_wms_message_protocol 1101s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1101s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1101s # ENUMPREFIX: QMI 1101s # enumsince: 1.0 1101s # type: enum 1101s # Type: Enum 1101s # TYPE: ENUM 1101s # value-production 1101s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA 1101s # valuenick: cdma 1101s # valuenum: 0 1101s # type: enum 1101s # Type: Enum 1101s # TYPE: ENUM 1101s # value-tail 1101s # EnumName: QmiWmsMessageProtocol 1101s # enum_name: qmi_wms_message_protocol 1101s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1101s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1101s # ENUMPREFIX: QMI 1101s # enumsince: 1.0 1101s # type: enum 1101s # Type: Enum 1101s # TYPE: ENUM 1101s # file-tail 1101s # 1101s # comment 1101s # comment: Generated data ends here 1101s ok 18 __main__.TestMkenums.test_with_double_quotes 1101s # tmpdir: /tmp/tmpukzb14jz 1101s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1101s # /tmp/tmpukzb14jz/tmp0hs_xrfs.h: 1101s # typedef enum { 1101s # FOO_VALUE /*< nick="eek, a comma" >*/ 1101s # } Foo; 1101s # 1101s # /tmp/tmpukzb14jz/tmpz2fdg6gi.template: 1101s # /*** BEGIN file-header ***/ 1101s # file-header 1101s # /*** END file-header ***/ 1101s # 1101s # /*** BEGIN file-production ***/ 1101s # file-production 1101s # filename: @filename@ 1101s # basename: @basename@ 1101s # /*** END file-production ***/ 1101s # 1101s # /*** BEGIN enumeration-production ***/ 1101s # enumeration-production 1101s # EnumName: @EnumName@ 1101s # enum_name: @enum_name@ 1101s # ENUMNAME: @ENUMNAME@ 1101s # ENUMSHORT: @ENUMSHORT@ 1101s # ENUMPREFIX: @ENUMPREFIX@ 1101s # enumsince: @enumsince@ 1101s # type: @type@ 1101s # Type: @Type@ 1101s # TYPE: @TYPE@ 1101s # /*** END enumeration-production ***/ 1101s # 1101s # /*** BEGIN value-header ***/ 1101s # value-header 1101s # EnumName: @EnumName@ 1101s # enum_name: @enum_name@ 1101s # ENUMNAME: @ENUMNAME@ 1101s # ENUMSHORT: @ENUMSHORT@ 1101s # ENUMPREFIX: @ENUMPREFIX@ 1101s # enumsince: @enumsince@ 1101s # type: @type@ 1101s # Type: @Type@ 1101s # TYPE: @TYPE@ 1101s # /*** END value-header ***/ 1101s # 1101s # /*** BEGIN value-production ***/ 1101s # value-production 1101s # VALUENAME: @VALUENAME@ 1101s # valuenick: @valuenick@ 1101s # valuenum: @valuenum@ 1101s # type: @type@ 1101s # Type: @Type@ 1101s # TYPE: @TYPE@ 1101s # /*** END value-production ***/ 1101s # 1101s # /*** BEGIN value-tail ***/ 1101s # value-tail 1101s # EnumName: @EnumName@ 1101s # enum_name: @enum_name@ 1101s # ENUMNAME: @ENUMNAME@ 1101s # ENUMSHORT: @ENUMSHORT@ 1101s # ENUMPREFIX: @ENUMPREFIX@ 1101s # enumsince: @enumsince@ 1101s # type: @type@ 1101s # Type: @Type@ 1101s # TYPE: @TYPE@ 1101s # /*** END value-tail ***/ 1101s # 1101s # /*** BEGIN comment ***/ 1101s # comment 1101s # comment: @comment@ 1101s # /*** END comment ***/ 1101s # 1101s # /*** BEGIN file-tail ***/ 1101s # file-tail 1101s # /*** END file-tail ***/ 1101s # 1101s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpukzb14jz/tmpz2fdg6gi.template', '/tmp/tmpukzb14jz/tmp0hs_xrfs.h'] 1101s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1101s # Output: comment 1101s # 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. 1101s # 1101s # 1101s # file-header 1101s # file-production 1101s # filename: /tmp/tmpukzb14jz/tmp0hs_xrfs.h 1101s # basename: tmp0hs_xrfs.h 1101s # enumeration-production 1101s # EnumName: Foo 1101s # enum_name: foo_ 1101s # ENUMNAME: FOO_ 1101s # ENUMSHORT: 1101s # ENUMPREFIX: FOO 1101s # enumsince: 1101s # type: enum 1101s # Type: Enum 1101s # TYPE: ENUM 1101s # value-header 1101s # EnumName: Foo 1101s # enum_name: foo_ 1101s # ENUMNAME: FOO_ 1101s # ENUMSHORT: 1101s # ENUMPREFIX: FOO 1101s # enumsince: 1101s # type: enum 1101s # Type: Enum 1101s # TYPE: ENUM 1101s # value-production 1101s # VALUENAME: FOO_VALUE 1101s # valuenick: eek, a comma 1101s # valuenum: 0 1101s # type: enum 1101s # Type: Enum 1101s # TYPE: ENUM 1101s # value-tail 1101s # EnumName: Foo 1101s # enum_name: foo_ 1101s # ENUMNAME: FOO_ 1101s # ENUMSHORT: 1101s # ENUMPREFIX: FOO 1101s # enumsince: 1101s # type: enum 1101s # Type: Enum 1101s # TYPE: ENUM 1101s # file-tail 1101s # 1101s # comment 1101s # comment: Generated data ends here 1101s ok 19 __main__.TestRspMkenums.test_available_in 1101s # tmpdir: /tmp/tmp3n2or51a 1101s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1101s # /tmp/tmp3n2or51a/tmpud1g8was.h: 1101s # typedef enum { 1101s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2) 1101s # } GDBusServerFlags; 1101s # 1101s # /tmp/tmp3n2or51a/tmp4dfldt1g.template: 1101s # /*** BEGIN file-header ***/ 1101s # file-header 1101s # /*** END file-header ***/ 1101s # 1101s # /*** BEGIN file-production ***/ 1101s # file-production 1101s # filename: @filename@ 1101s # basename: @basename@ 1101s # /*** END file-production ***/ 1101s # 1101s # /*** BEGIN enumeration-production ***/ 1101s # enumeration-production 1101s # EnumName: @EnumName@ 1101s # enum_name: @enum_name@ 1101s # ENUMNAME: @ENUMNAME@ 1101s # ENUMSHORT: @ENUMSHORT@ 1101s # ENUMPREFIX: @ENUMPREFIX@ 1101s # enumsince: @enumsince@ 1101s # type: @type@ 1101s # Type: @Type@ 1101s # TYPE: @TYPE@ 1101s # /*** END enumeration-production ***/ 1101s # 1101s # /*** BEGIN value-header ***/ 1101s # value-header 1101s # EnumName: @EnumName@ 1101s # enum_name: @enum_name@ 1101s # ENUMNAME: @ENUMNAME@ 1101s # ENUMSHORT: @ENUMSHORT@ 1101s # ENUMPREFIX: @ENUMPREFIX@ 1101s # enumsince: @enumsince@ 1101s # type: @type@ 1101s # Type: @Type@ 1101s # TYPE: @TYPE@ 1101s # /*** END value-header ***/ 1101s # 1101s # /*** BEGIN value-production ***/ 1101s # value-production 1101s # VALUENAME: @VALUENAME@ 1101s # valuenick: @valuenick@ 1101s # valuenum: @valuenum@ 1101s # type: @type@ 1101s # Type: @Type@ 1101s # TYPE: @TYPE@ 1101s # /*** END value-production ***/ 1101s # 1101s # /*** BEGIN value-tail ***/ 1101s # value-tail 1101s # EnumName: @EnumName@ 1101s # enum_name: @enum_name@ 1101s # ENUMNAME: @ENUMNAME@ 1101s # ENUMSHORT: @ENUMSHORT@ 1101s # ENUMPREFIX: @ENUMPREFIX@ 1101s # enumsince: @enumsince@ 1101s # type: @type@ 1101s # Type: @Type@ 1101s # TYPE: @TYPE@ 1101s # /*** END value-tail ***/ 1101s # 1101s # /*** BEGIN comment ***/ 1101s # comment 1101s # comment: @comment@ 1101s # /*** END comment ***/ 1101s # 1101s # /*** BEGIN file-tail ***/ 1101s # file-tail 1101s # /*** END file-tail ***/ 1101s # 1101s # Response file contains: --template /tmp/tmp3n2or51a/tmp4dfldt1g.template /tmp/tmp3n2or51a/tmpud1g8was.h 1101s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp3n2or51a/tmpc8fdsevs'] 1101s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1101s # Output: comment 1101s # 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. 1101s # 1101s # 1101s # file-header 1101s # file-production 1101s # filename: /tmp/tmp3n2or51a/tmpud1g8was.h 1101s # basename: tmpud1g8was.h 1101s # enumeration-production 1101s # EnumName: GDBusServerFlags 1101s # enum_name: g_dbus_server_flags 1101s # ENUMNAME: G_DBUS_SERVER_FLAGS 1101s # ENUMSHORT: DBUS_SERVER_FLAGS 1101s # ENUMPREFIX: G 1101s # enumsince: 1101s # type: flags 1101s # Type: Flags 1101s # TYPE: FLAGS 1101s # value-header 1101s # EnumName: GDBusServerFlags 1101s # enum_name: g_dbus_server_flags 1101s # ENUMNAME: G_DBUS_SERVER_FLAGS 1101s # ENUMSHORT: DBUS_SERVER_FLAGS 1101s # ENUMPREFIX: G 1101s # enumsince: 1101s # type: flags 1101s # Type: Flags 1101s # TYPE: FLAGS 1101s # value-production 1101s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1101s # valuenick: user 1101s # valuenum: 4 1101s # type: flags 1101s # Type: Flags 1101s # TYPE: FLAGS 1101s # value-tail 1101s # EnumName: GDBusServerFlags 1101s # enum_name: g_dbus_server_flags 1101s # ENUMNAME: G_DBUS_SERVER_FLAGS 1101s # ENUMSHORT: DBUS_SERVER_FLAGS 1101s # ENUMPREFIX: G 1101s # enumsince: 1101s # type: flags 1101s # Type: Flags 1101s # TYPE: FLAGS 1101s # file-tail 1101s # 1101s # comment 1101s # comment: Generated data ends here 1101s ok 20 __main__.TestRspMkenums.test_comma_in_enum_value 1101s # tmpdir: /tmp/tmp090o2qyn 1101s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1101s # /tmp/tmp090o2qyn/tmpmlozn695.h: 1101s # typedef enum { 1101s # ENUM_VALUE_WITH_COMMA = ',', 1101s # } TestCommaEnum; 1101s # 1101s # /tmp/tmp090o2qyn/tmp3zqdpj4o.template: 1101s # /*** BEGIN file-header ***/ 1101s # file-header 1101s # /*** END file-header ***/ 1101s # 1101s # /*** BEGIN file-production ***/ 1101s # file-production 1101s # filename: @filename@ 1101s # basename: @basename@ 1101s # /*** END file-production ***/ 1101s # 1101s # /*** BEGIN enumeration-production ***/ 1101s # enumeration-production 1101s # EnumName: @EnumName@ 1101s # enum_name: @enum_name@ 1101s # ENUMNAME: @ENUMNAME@ 1101s # ENUMSHORT: @ENUMSHORT@ 1101s # ENUMPREFIX: @ENUMPREFIX@ 1101s # enumsince: @enumsince@ 1101s # type: @type@ 1101s # Type: @Type@ 1101s # TYPE: @TYPE@ 1101s # /*** END enumeration-production ***/ 1101s # 1101s # /*** BEGIN value-header ***/ 1101s # value-header 1101s # EnumName: @EnumName@ 1101s # enum_name: @enum_name@ 1101s # ENUMNAME: @ENUMNAME@ 1101s # ENUMSHORT: @ENUMSHORT@ 1101s # ENUMPREFIX: @ENUMPREFIX@ 1101s # enumsince: @enumsince@ 1101s # type: @type@ 1101s # Type: @Type@ 1101s # TYPE: @TYPE@ 1101s # /*** END value-header ***/ 1101s # 1101s # /*** BEGIN value-production ***/ 1101s # value-production 1101s # VALUENAME: @VALUENAME@ 1101s # valuenick: @valuenick@ 1101s # valuenum: @valuenum@ 1101s # type: @type@ 1101s # Type: @Type@ 1101s # TYPE: @TYPE@ 1101s # /*** END value-production ***/ 1101s # 1101s # /*** BEGIN value-tail ***/ 1101s # value-tail 1101s # EnumName: @EnumName@ 1101s # enum_name: @enum_name@ 1101s # ENUMNAME: @ENUMNAME@ 1101s # ENUMSHORT: @ENUMSHORT@ 1101s # ENUMPREFIX: @ENUMPREFIX@ 1101s # enumsince: @enumsince@ 1101s # type: @type@ 1101s # Type: @Type@ 1101s # TYPE: @TYPE@ 1101s # /*** END value-tail ***/ 1101s # 1101s # /*** BEGIN comment ***/ 1101s # comment 1101s # comment: @comment@ 1101s # /*** END comment ***/ 1101s # 1101s # /*** BEGIN file-tail ***/ 1101s # file-tail 1101s # /*** END file-tail ***/ 1101s # 1101s # Response file contains: --template /tmp/tmp090o2qyn/tmp3zqdpj4o.template /tmp/tmp090o2qyn/tmpmlozn695.h 1101s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp090o2qyn/tmplnjpy3mz'] 1101s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1101s # Output: comment 1101s # 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. 1101s # 1101s # 1101s # file-header 1101s # file-production 1101s # filename: /tmp/tmp090o2qyn/tmpmlozn695.h 1101s # basename: tmpmlozn695.h 1101s # enumeration-production 1101s # EnumName: TestCommaEnum 1101s # enum_name: test_comma_enum 1101s # ENUMNAME: TEST_COMMA_ENUM 1101s # ENUMSHORT: COMMA_ENUM 1101s # ENUMPREFIX: TEST 1101s # enumsince: 1101s # type: enum 1101s # Type: Enum 1101s # TYPE: ENUM 1101s # value-header 1101s # EnumName: TestCommaEnum 1101s # enum_name: test_comma_enum 1101s # ENUMNAME: TEST_COMMA_ENUM 1101s # ENUMSHORT: COMMA_ENUM 1101s # ENUMPREFIX: TEST 1101s # enumsince: 1101s # type: enum 1101s # Type: Enum 1101s # TYPE: ENUM 1101s # value-production 1101s # VALUENAME: ENUM_VALUE_WITH_COMMA 1101s # valuenick: comma 1101s # valuenum: 44 1101s # type: enum 1101s # Type: Enum 1101s # TYPE: ENUM 1101s # value-tail 1101s # EnumName: TestCommaEnum 1101s # enum_name: test_comma_enum 1101s # ENUMNAME: TEST_COMMA_ENUM 1101s # ENUMSHORT: COMMA_ENUM 1101s # ENUMPREFIX: TEST 1101s # enumsince: 1101s # type: enum 1101s # Type: Enum 1101s # TYPE: ENUM 1101s # file-tail 1101s # 1101s # comment 1101s # comment: Generated data ends here 1101s ok 21 __main__.TestRspMkenums.test_deprecated_in 1101s # tmpdir: /tmp/tmpkcpnil25 1101s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1101s # /tmp/tmpkcpnil25/tmptwo2pahb.h: 1101s # typedef enum { 1101s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2) 1101s # } GDBusServerFlags; 1101s # 1101s # /tmp/tmpkcpnil25/tmp1mvxrz9t.template: 1101s # /*** BEGIN file-header ***/ 1101s # file-header 1101s # /*** END file-header ***/ 1101s # 1101s # /*** BEGIN file-production ***/ 1101s # file-production 1101s # filename: @filename@ 1101s # basename: @basename@ 1101s # /*** END file-production ***/ 1101s # 1101s # /*** BEGIN enumeration-production ***/ 1101s # enumeration-production 1101s # EnumName: @EnumName@ 1101s # enum_name: @enum_name@ 1101s # ENUMNAME: @ENUMNAME@ 1101s # ENUMSHORT: @ENUMSHORT@ 1101s # ENUMPREFIX: @ENUMPREFIX@ 1101s # enumsince: @enumsince@ 1101s # type: @type@ 1101s # Type: @Type@ 1101s # TYPE: @TYPE@ 1101s # /*** END enumeration-production ***/ 1101s # 1101s # /*** BEGIN value-header ***/ 1101s # value-header 1101s # EnumName: @EnumName@ 1101s # enum_name: @enum_name@ 1101s # ENUMNAME: @ENUMNAME@ 1101s # ENUMSHORT: @ENUMSHORT@ 1101s # ENUMPREFIX: @ENUMPREFIX@ 1101s # enumsince: @enumsince@ 1101s # type: @type@ 1101s # Type: @Type@ 1101s # TYPE: @TYPE@ 1101s # /*** END value-header ***/ 1101s # 1101s # /*** BEGIN value-production ***/ 1101s # value-production 1101s # VALUENAME: @VALUENAME@ 1101s # valuenick: @valuenick@ 1101s # valuenum: @valuenum@ 1101s # type: @type@ 1101s # Type: @Type@ 1101s # TYPE: @TYPE@ 1101s # /*** END value-production ***/ 1101s # 1101s # /*** BEGIN value-tail ***/ 1101s # value-tail 1101s # EnumName: @EnumName@ 1101s # enum_name: @enum_name@ 1101s # ENUMNAME: @ENUMNAME@ 1101s # ENUMSHORT: @ENUMSHORT@ 1101s # ENUMPREFIX: @ENUMPREFIX@ 1101s # enumsince: @enumsince@ 1101s # type: @type@ 1101s # Type: @Type@ 1101s # TYPE: @TYPE@ 1101s # /*** END value-tail ***/ 1101s # 1101s # /*** BEGIN comment ***/ 1101s # comment 1101s # comment: @comment@ 1101s # /*** END comment ***/ 1101s # 1101s # /*** BEGIN file-tail ***/ 1101s # file-tail 1101s # /*** END file-tail ***/ 1101s # 1101s # Response file contains: --template /tmp/tmpkcpnil25/tmp1mvxrz9t.template /tmp/tmpkcpnil25/tmptwo2pahb.h 1101s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpkcpnil25/tmp9dy86frl'] 1101s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1101s # Output: comment 1101s # 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. 1101s # 1101s # 1101s # file-header 1101s # file-production 1101s # filename: /tmp/tmpkcpnil25/tmptwo2pahb.h 1101s # basename: tmptwo2pahb.h 1101s # enumeration-production 1101s # EnumName: GDBusServerFlags 1101s # enum_name: g_dbus_server_flags 1101s # ENUMNAME: G_DBUS_SERVER_FLAGS 1101s # ENUMSHORT: DBUS_SERVER_FLAGS 1101s # ENUMPREFIX: G 1101s # enumsince: 1101s # type: flags 1101s # Type: Flags 1101s # TYPE: FLAGS 1101s # value-header 1101s # EnumName: GDBusServerFlags 1101s # enum_name: g_dbus_server_flags 1101s # ENUMNAME: G_DBUS_SERVER_FLAGS 1101s # ENUMSHORT: DBUS_SERVER_FLAGS 1101s # ENUMPREFIX: G 1101s # enumsince: 1101s # type: flags 1101s # Type: Flags 1101s # TYPE: FLAGS 1101s # value-production 1101s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1101s # valuenick: user 1101s # valuenum: 4 1101s # type: flags 1101s # Type: Flags 1101s # TYPE: FLAGS 1101s # value-tail 1101s # EnumName: GDBusServerFlags 1101s # enum_name: g_dbus_server_flags 1101s # ENUMNAME: G_DBUS_SERVER_FLAGS 1101s # ENUMSHORT: DBUS_SERVER_FLAGS 1101s # ENUMPREFIX: G 1101s # enumsince: 1101s # type: flags 1101s # Type: Flags 1101s # TYPE: FLAGS 1101s # file-tail 1101s # 1101s # comment 1101s # comment: Generated data ends here 1101s ok 22 __main__.TestRspMkenums.test_deprecated_in_for 1101s # tmpdir: /tmp/tmpkcx6hdj0 1101s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1101s # /tmp/tmpkcx6hdj0/tmpvt_9cenp.h: 1101s # typedef enum { 1101s # 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) 1101s # } GDBusServerFlags; 1101s # 1101s # /tmp/tmpkcx6hdj0/tmpqn54_2qj.template: 1101s # /*** BEGIN file-header ***/ 1101s # file-header 1101s # /*** END file-header ***/ 1101s # 1101s # /*** BEGIN file-production ***/ 1101s # file-production 1101s # filename: @filename@ 1101s # basename: @basename@ 1101s # /*** END file-production ***/ 1101s # 1101s # /*** BEGIN enumeration-production ***/ 1101s # enumeration-production 1101s # EnumName: @EnumName@ 1101s # enum_name: @enum_name@ 1101s # ENUMNAME: @ENUMNAME@ 1101s # ENUMSHORT: @ENUMSHORT@ 1101s # ENUMPREFIX: @ENUMPREFIX@ 1101s # enumsince: @enumsince@ 1101s # type: @type@ 1101s # Type: @Type@ 1101s # TYPE: @TYPE@ 1101s # /*** END enumeration-production ***/ 1101s # 1101s # /*** BEGIN value-header ***/ 1101s # value-header 1101s # EnumName: @EnumName@ 1101s # enum_name: @enum_name@ 1101s # ENUMNAME: @ENUMNAME@ 1101s # ENUMSHORT: @ENUMSHORT@ 1101s # ENUMPREFIX: @ENUMPREFIX@ 1101s # enumsince: @enumsince@ 1101s # type: @type@ 1101s # Type: @Type@ 1101s # TYPE: @TYPE@ 1101s # /*** END value-header ***/ 1101s # 1101s # /*** BEGIN value-production ***/ 1101s # value-production 1101s # VALUENAME: @VALUENAME@ 1101s # valuenick: @valuenick@ 1101s # valuenum: @valuenum@ 1101s # type: @type@ 1101s # Type: @Type@ 1101s # TYPE: @TYPE@ 1101s # /*** END value-production ***/ 1101s # 1101s # /*** BEGIN value-tail ***/ 1101s # value-tail 1101s # EnumName: @EnumName@ 1101s # enum_name: @enum_name@ 1101s # ENUMNAME: @ENUMNAME@ 1101s # ENUMSHORT: @ENUMSHORT@ 1101s # ENUMPREFIX: @ENUMPREFIX@ 1101s # enumsince: @enumsince@ 1101s # type: @type@ 1101s # Type: @Type@ 1101s # TYPE: @TYPE@ 1101s # /*** END value-tail ***/ 1101s # 1101s # /*** BEGIN comment ***/ 1101s # comment 1101s # comment: @comment@ 1101s # /*** END comment ***/ 1101s # 1101s # /*** BEGIN file-tail ***/ 1101s # file-tail 1101s # /*** END file-tail ***/ 1101s # 1101s # Response file contains: --template /tmp/tmpkcx6hdj0/tmpqn54_2qj.template /tmp/tmpkcx6hdj0/tmpvt_9cenp.h 1101s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpkcx6hdj0/tmpxlzqq7d1'] 1101s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1101s # Output: comment 1101s # 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. 1101s # 1101s # 1101s # file-header 1101s # file-production 1101s # filename: /tmp/tmpkcx6hdj0/tmpvt_9cenp.h 1101s # basename: tmpvt_9cenp.h 1101s # enumeration-production 1101s # EnumName: GDBusServerFlags 1101s # enum_name: g_dbus_server_flags 1101s # ENUMNAME: G_DBUS_SERVER_FLAGS 1101s # ENUMSHORT: DBUS_SERVER_FLAGS 1101s # ENUMPREFIX: G 1101s # enumsince: 1101s # type: flags 1101s # Type: Flags 1101s # TYPE: FLAGS 1101s # value-header 1101s # EnumName: GDBusServerFlags 1101s # enum_name: g_dbus_server_flags 1101s # ENUMNAME: G_DBUS_SERVER_FLAGS 1101s # ENUMSHORT: DBUS_SERVER_FLAGS 1101s # ENUMPREFIX: G 1101s # enumsince: 1101s # type: flags 1101s # Type: Flags 1101s # TYPE: FLAGS 1101s # value-production 1101s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1101s # valuenick: user 1101s # valuenum: 4 1101s # type: flags 1101s # Type: Flags 1101s # TYPE: FLAGS 1101s # value-tail 1101s # EnumName: GDBusServerFlags 1101s # enum_name: g_dbus_server_flags 1101s # ENUMNAME: G_DBUS_SERVER_FLAGS 1101s # ENUMSHORT: DBUS_SERVER_FLAGS 1101s # ENUMPREFIX: G 1101s # enumsince: 1101s # type: flags 1101s # Type: Flags 1101s # TYPE: FLAGS 1101s # file-tail 1101s # 1101s # comment 1101s # comment: Generated data ends here 1101s ok 23 __main__.TestRspMkenums.test_empty_header 1101s # tmpdir: /tmp/tmprhxpn8up 1101s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1101s # /tmp/tmprhxpn8up/tmp9t1ttvjt.h: 1101s # /tmp/tmprhxpn8up/tmpljggluvr.template: 1101s # /*** BEGIN file-header ***/ 1101s # file-header 1101s # /*** END file-header ***/ 1101s # 1101s # /*** BEGIN file-production ***/ 1101s # file-production 1101s # filename: @filename@ 1101s # basename: @basename@ 1101s # /*** END file-production ***/ 1101s # 1101s # /*** BEGIN enumeration-production ***/ 1101s # enumeration-production 1101s # EnumName: @EnumName@ 1101s # enum_name: @enum_name@ 1101s # ENUMNAME: @ENUMNAME@ 1101s # ENUMSHORT: @ENUMSHORT@ 1101s # ENUMPREFIX: @ENUMPREFIX@ 1101s # enumsince: @enumsince@ 1101s # type: @type@ 1101s # Type: @Type@ 1101s # TYPE: @TYPE@ 1101s # /*** END enumeration-production ***/ 1101s # 1101s # /*** BEGIN value-header ***/ 1101s # value-header 1101s # EnumName: @EnumName@ 1101s # enum_name: @enum_name@ 1101s # ENUMNAME: @ENUMNAME@ 1101s # ENUMSHORT: @ENUMSHORT@ 1101s # ENUMPREFIX: @ENUMPREFIX@ 1101s # enumsince: @enumsince@ 1101s # type: @type@ 1101s # Type: @Type@ 1101s # TYPE: @TYPE@ 1101s # /*** END value-header ***/ 1101s # 1101s # /*** BEGIN value-production ***/ 1101s # value-production 1101s # VALUENAME: @VALUENAME@ 1101s # valuenick: @valuenick@ 1101s # valuenum: @valuenum@ 1101s # type: @type@ 1101s # Type: @Type@ 1101s # TYPE: @TYPE@ 1101s # /*** END value-production ***/ 1101s # 1101s # /*** BEGIN value-tail ***/ 1101s # value-tail 1101s # EnumName: @EnumName@ 1101s # enum_name: @enum_name@ 1101s # ENUMNAME: @ENUMNAME@ 1101s # ENUMSHORT: @ENUMSHORT@ 1101s # ENUMPREFIX: @ENUMPREFIX@ 1101s # enumsince: @enumsince@ 1101s # type: @type@ 1101s # Type: @Type@ 1101s # TYPE: @TYPE@ 1101s # /*** END value-tail ***/ 1101s # 1101s # /*** BEGIN comment ***/ 1101s # comment 1101s # comment: @comment@ 1101s # /*** END comment ***/ 1101s # 1101s # /*** BEGIN file-tail ***/ 1101s # file-tail 1101s # /*** END file-tail ***/ 1101s # 1101s # Response file contains: --template /tmp/tmprhxpn8up/tmpljggluvr.template /tmp/tmprhxpn8up/tmp9t1ttvjt.h 1101s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmprhxpn8up/tmpb5z4pkcl'] 1101s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1101s # Output: comment 1101s # 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. 1101s # 1101s # 1101s # file-header 1101s # file-tail 1101s # 1101s # comment 1101s # comment: Generated data ends here 1101s ok 24 __main__.TestRspMkenums.test_empty_template 1101s # tmpdir: /tmp/tmpbhu2bpk9 1101s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1101s # /tmp/tmpbhu2bpk9/tmpzxdhdb98.template: 1101s # Response file contains: --template /tmp/tmpbhu2bpk9/tmpzxdhdb98.template 1101s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpbhu2bpk9/tmpk9ym5483'] 1101s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1101s # 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. */ 1101s # 1101s # 1101s # /* Generated data ends here */ 1101s ok 25 __main__.TestRspMkenums.test_enum_name 1101s # tmpdir: /tmp/tmpqafy8hsy 1101s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1101s # /tmp/tmpqafy8hsy/tmpbb7cb0ip.h: 1101s # typedef enum _SomeEnumIdentifier { 1101s # ENUM_VALUE 1101s # } SomeEnumIdentifier; 1101s # 1101s # /tmp/tmpqafy8hsy/tmpehrzr9yc.template: 1101s # /*** BEGIN file-header ***/ 1101s # file-header 1101s # /*** END file-header ***/ 1101s # 1101s # /*** BEGIN file-production ***/ 1101s # file-production 1101s # filename: @filename@ 1101s # basename: @basename@ 1101s # /*** END file-production ***/ 1101s # 1101s # /*** BEGIN enumeration-production ***/ 1101s # enumeration-production 1101s # EnumName: @EnumName@ 1101s # enum_name: @enum_name@ 1101s # ENUMNAME: @ENUMNAME@ 1101s # ENUMSHORT: @ENUMSHORT@ 1101s # ENUMPREFIX: @ENUMPREFIX@ 1101s # enumsince: @enumsince@ 1101s # type: @type@ 1101s # Type: @Type@ 1101s # TYPE: @TYPE@ 1101s # /*** END enumeration-production ***/ 1101s # 1101s # /*** BEGIN value-header ***/ 1101s # value-header 1101s # EnumName: @EnumName@ 1101s # enum_name: @enum_name@ 1101s # ENUMNAME: @ENUMNAME@ 1101s # ENUMSHORT: @ENUMSHORT@ 1101s # ENUMPREFIX: @ENUMPREFIX@ 1101s # enumsince: @enumsince@ 1101s # type: @type@ 1101s # Type: @Type@ 1101s # TYPE: @TYPE@ 1101s # /*** END value-header ***/ 1101s # 1101s # /*** BEGIN value-production ***/ 1101s # value-production 1101s # VALUENAME: @VALUENAME@ 1101s # valuenick: @valuenick@ 1101s # valuenum: @valuenum@ 1101s # type: @type@ 1101s # Type: @Type@ 1101s # TYPE: @TYPE@ 1101s # /*** END value-production ***/ 1101s # 1101s # /*** BEGIN value-tail ***/ 1101s # value-tail 1101s # EnumName: @EnumName@ 1101s # enum_name: @enum_name@ 1101s # ENUMNAME: @ENUMNAME@ 1101s # ENUMSHORT: @ENUMSHORT@ 1101s # ENUMPREFIX: @ENUMPREFIX@ 1101s # enumsince: @enumsince@ 1101s # type: @type@ 1101s # Type: @Type@ 1101s # TYPE: @TYPE@ 1101s # /*** END value-tail ***/ 1101s # 1101s # /*** BEGIN comment ***/ 1101s # comment 1101s # comment: @comment@ 1101s # /*** END comment ***/ 1101s # 1101s # /*** BEGIN file-tail ***/ 1101s # file-tail 1101s # /*** END file-tail ***/ 1101s # 1101s # Response file contains: --template /tmp/tmpqafy8hsy/tmpehrzr9yc.template /tmp/tmpqafy8hsy/tmpbb7cb0ip.h 1101s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpqafy8hsy/tmpa72fn7gb'] 1101s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1101s # Output: comment 1101s # 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. 1101s # 1101s # 1101s # file-header 1101s # file-production 1101s # filename: /tmp/tmpqafy8hsy/tmpbb7cb0ip.h 1101s # basename: tmpbb7cb0ip.h 1101s # enumeration-production 1101s # EnumName: SomeEnumIdentifier 1101s # enum_name: some_enum_identifier 1101s # ENUMNAME: SOME_ENUM_IDENTIFIER 1101s # ENUMSHORT: ENUM_IDENTIFIER 1101s # ENUMPREFIX: SOME 1101s # enumsince: 1101s # type: enum 1101s # Type: Enum 1101s # TYPE: ENUM 1101s # value-header 1101s # EnumName: SomeEnumIdentifier 1101s # enum_name: some_enum_identifier 1101s # ENUMNAME: SOME_ENUM_IDENTIFIER 1101s # ENUMSHORT: ENUM_IDENTIFIER 1101s # ENUMPREFIX: SOME 1101s # enumsince: 1101s # type: enum 1101s # Type: Enum 1101s # TYPE: ENUM 1101s # value-production 1101s # VALUENAME: ENUM_VALUE 1101s # valuenick: value 1101s # valuenum: 0 1101s # type: enum 1101s # Type: Enum 1101s # TYPE: ENUM 1101s # value-tail 1101s # EnumName: SomeEnumIdentifier 1101s # enum_name: some_enum_identifier 1101s # ENUMNAME: SOME_ENUM_IDENTIFIER 1101s # ENUMSHORT: ENUM_IDENTIFIER 1101s # ENUMPREFIX: SOME 1101s # enumsince: 1101s # type: enum 1101s # Type: Enum 1101s # TYPE: ENUM 1101s # file-tail 1101s # 1101s # comment 1101s # comment: Generated data ends here 1101s ok 26 __main__.TestRspMkenums.test_enum_private_public 1101s # tmpdir: /tmp/tmpj5zrjsxu 1101s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1101s # /tmp/tmpj5zrjsxu/tmpka8p2cch.h: 1101s # typedef enum { 1101s # ENUM_VALUE_PUBLIC1, 1101s # /*< private >*/ 1101s # ENUM_VALUE_PRIVATE, 1101s # } SomeEnumA 1101s # 1101s # /tmp/tmpj5zrjsxu/tmp65ify2oe.template: 1101s # /*** BEGIN file-header ***/ 1101s # file-header 1101s # /*** END file-header ***/ 1101s # 1101s # /*** BEGIN file-production ***/ 1101s # file-production 1101s # filename: @filename@ 1101s # basename: @basename@ 1101s # /*** END file-production ***/ 1101s # 1101s # /*** BEGIN enumeration-production ***/ 1101s # enumeration-production 1101s # EnumName: @EnumName@ 1101s # enum_name: @enum_name@ 1101s # ENUMNAME: @ENUMNAME@ 1101s # ENUMSHORT: @ENUMSHORT@ 1101s # ENUMPREFIX: @ENUMPREFIX@ 1101s # enumsince: @enumsince@ 1101s # type: @type@ 1101s # Type: @Type@ 1101s # TYPE: @TYPE@ 1101s # /*** END enumeration-production ***/ 1101s # 1101s # /*** BEGIN value-header ***/ 1101s # value-header 1101s # EnumName: @EnumName@ 1101s # enum_name: @enum_name@ 1101s # ENUMNAME: @ENUMNAME@ 1101s # ENUMSHORT: @ENUMSHORT@ 1101s # ENUMPREFIX: @ENUMPREFIX@ 1101s # enumsince: @enumsince@ 1101s # type: @type@ 1101s # Type: @Type@ 1101s # TYPE: @TYPE@ 1101s # /*** END value-header ***/ 1101s # 1101s # /*** BEGIN value-production ***/ 1101s # value-production 1101s # VALUENAME: @VALUENAME@ 1101s # valuenick: @valuenick@ 1101s # valuenum: @valuenum@ 1101s # type: @type@ 1101s # Type: @Type@ 1101s # TYPE: @TYPE@ 1101s # /*** END value-production ***/ 1101s # 1101s # /*** BEGIN value-tail ***/ 1101s # value-tail 1101s # EnumName: @EnumName@ 1101s # enum_name: @enum_name@ 1101s # ENUMNAME: @ENUMNAME@ 1101s # ENUMSHORT: @ENUMSHORT@ 1101s # ENUMPREFIX: @ENUMPREFIX@ 1101s # enumsince: @enumsince@ 1101s # type: @type@ 1101s # Type: @Type@ 1101s # TYPE: @TYPE@ 1101s # /*** END value-tail ***/ 1101s # 1101s # /*** BEGIN comment ***/ 1101s # comment 1101s # comment: @comment@ 1101s # /*** END comment ***/ 1101s # 1101s # /*** BEGIN file-tail ***/ 1101s # file-tail 1101s # /*** END file-tail ***/ 1101s # 1101s # Response file contains: --template /tmp/tmpj5zrjsxu/tmp65ify2oe.template /tmp/tmpj5zrjsxu/tmpka8p2cch.h 1101s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpj5zrjsxu/tmpbj66kivx'] 1101s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1101s # Output: comment 1101s # 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. 1101s # 1101s # 1101s # file-header 1101s # file-production 1101s # filename: /tmp/tmpj5zrjsxu/tmpka8p2cch.h 1101s # basename: tmpka8p2cch.h 1101s # enumeration-production 1101s # EnumName: SomeEnumA 1101s # enum_name: some_enum_a 1101s # ENUMNAME: SOME_ENUM_A 1101s # ENUMSHORT: ENUM_A 1101s # ENUMPREFIX: SOME 1101s # enumsince: 1101s # type: enum 1101s # Type: Enum 1101s # TYPE: ENUM 1101s # value-header 1101s # EnumName: SomeEnumA 1101s # enum_name: some_enum_a 1101s # ENUMNAME: SOME_ENUM_A 1101s # ENUMSHORT: ENUM_A 1101s # ENUMPREFIX: SOME 1101s # enumsince: 1101s # type: enum 1101s # Type: Enum 1101s # TYPE: ENUM 1101s # value-production 1101s # VALUENAME: ENUM_VALUE_PUBLIC1 1101s # valuenick: public1 1101s # valuenum: 0 1101s # type: enum 1101s # Type: Enum 1101s # TYPE: ENUM 1101s # value-tail 1101s # EnumName: SomeEnumA 1101s # enum_name: some_enum_a 1101s # ENUMNAME: SOME_ENUM_A 1101s # ENUMSHORT: ENUM_A 1101s # ENUMPREFIX: SOME 1101s # enumsince: 1101s # type: enum 1101s # Type: Enum 1101s # TYPE: ENUM 1101s # file-tail 1101s # 1101s # comment 1101s # comment: Generated data ends here 1101s # /tmp/tmpj5zrjsxu/tmpkcjfpcw_.h: 1101s # typedef enum { 1101s # /*< private >*/ 1101s # ENUM_VALUE_PRIVATE, 1101s # /*< public >*/ 1101s # ENUM_VALUE_PUBLIC2, 1101s # } SomeEnumB; 1101s # 1101s # /tmp/tmpj5zrjsxu/tmp6koeplba.template: 1101s # /*** BEGIN file-header ***/ 1101s # file-header 1101s # /*** END file-header ***/ 1101s # 1101s # /*** BEGIN file-production ***/ 1101s # file-production 1101s # filename: @filename@ 1101s # basename: @basename@ 1101s # /*** END file-production ***/ 1101s # 1101s # /*** BEGIN enumeration-production ***/ 1101s # enumeration-production 1101s # EnumName: @EnumName@ 1101s # enum_name: @enum_name@ 1101s # ENUMNAME: @ENUMNAME@ 1101s # ENUMSHORT: @ENUMSHORT@ 1101s # ENUMPREFIX: @ENUMPREFIX@ 1101s # enumsince: @enumsince@ 1101s # type: @type@ 1101s # Type: @Type@ 1101s # TYPE: @TYPE@ 1101s # /*** END enumeration-production ***/ 1101s # 1101s # /*** BEGIN value-header ***/ 1101s # value-header 1101s # EnumName: @EnumName@ 1101s # enum_name: @enum_name@ 1101s # ENUMNAME: @ENUMNAME@ 1101s # ENUMSHORT: @ENUMSHORT@ 1101s # ENUMPREFIX: @ENUMPREFIX@ 1101s # enumsince: @enumsince@ 1101s # type: @type@ 1101s # Type: @Type@ 1101s # TYPE: @TYPE@ 1101s # /*** END value-header ***/ 1101s # 1101s # /*** BEGIN value-production ***/ 1101s # value-production 1101s # VALUENAME: @VALUENAME@ 1101s # valuenick: @valuenick@ 1101s # valuenum: @valuenum@ 1101s # type: @type@ 1101s # Type: @Type@ 1101s # TYPE: @TYPE@ 1101s # /*** END value-production ***/ 1101s # 1101s # /*** BEGIN value-tail ***/ 1101s # value-tail 1101s # EnumName: @EnumName@ 1101s # enum_name: @enum_name@ 1101s # ENUMNAME: @ENUMNAME@ 1101s # ENUMSHORT: @ENUMSHORT@ 1101s # ENUMPREFIX: @ENUMPREFIX@ 1101s # enumsince: @enumsince@ 1101s # type: @type@ 1101s # Type: @Type@ 1101s # TYPE: @TYPE@ 1101s # /*** END value-tail ***/ 1101s # 1101s # /*** BEGIN comment ***/ 1101s # comment 1101s # comment: @comment@ 1101s # /*** END comment ***/ 1101s # 1101s # /*** BEGIN file-tail ***/ 1101s # file-tail 1101s # /*** END file-tail ***/ 1101s # 1101s # Response file contains: --template /tmp/tmpj5zrjsxu/tmp6koeplba.template /tmp/tmpj5zrjsxu/tmpkcjfpcw_.h 1101s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpj5zrjsxu/tmpcypc9ydo'] 1101s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1101s # Output: comment 1101s # 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. 1101s # 1101s # 1101s # file-header 1101s # file-production 1101s # filename: /tmp/tmpj5zrjsxu/tmpkcjfpcw_.h 1101s # basename: tmpkcjfpcw_.h 1101s # enumeration-production 1101s # EnumName: SomeEnumB 1101s # enum_name: some_enum_b 1101s # ENUMNAME: SOME_ENUM_B 1101s # ENUMSHORT: ENUM_B 1101s # ENUMPREFIX: SOME 1101s # enumsince: 1101s # type: enum 1101s # Type: Enum 1101s # TYPE: ENUM 1101s # value-header 1101s # EnumName: SomeEnumB 1101s # enum_name: some_enum_b 1101s # ENUMNAME: SOME_ENUM_B 1101s # ENUMSHORT: ENUM_B 1101s # ENUMPREFIX: SOME 1101s # enumsince: 1101s # type: enum 1101s # Type: Enum 1101s # TYPE: ENUM 1101s # value-production 1101s # VALUENAME: ENUM_VALUE_PUBLIC2 1101s # valuenick: public2 1101s # valuenum: 1 1101s # type: enum 1101s # Type: Enum 1101s # TYPE: ENUM 1101s # value-tail 1101s # EnumName: SomeEnumB 1101s # enum_name: some_enum_b 1101s # ENUMNAME: SOME_ENUM_B 1101s # ENUMSHORT: ENUM_B 1101s # ENUMPREFIX: SOME 1101s # enumsince: 1101s # type: enum 1101s # Type: Enum 1101s # TYPE: ENUM 1101s # file-tail 1101s # 1101s # comment 1101s # comment: Generated data ends here 1101s ok 27 __main__.TestRspMkenums.test_enum_symbolic_expression 1101s # tmpdir: /tmp/tmprsla_mhh 1101s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1101s # /tmp/tmprsla_mhh/tmpl9aev0ex.h: 1101s # typedef enum { 1101s # /*< private >*/ 1101s # ENUM_VALUE_PRIVATE = 5, 1101s # /*< public >*/ 1101s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2, 1101s # } TestSymbolicEnum; 1101s # 1101s # /tmp/tmprsla_mhh/tmpmjhsdk9u.template: 1101s # /*** BEGIN file-header ***/ 1101s # file-header 1101s # /*** END file-header ***/ 1101s # 1101s # /*** BEGIN file-production ***/ 1101s # file-production 1101s # filename: @filename@ 1101s # basename: @basename@ 1101s # /*** END file-production ***/ 1101s # 1101s # /*** BEGIN enumeration-production ***/ 1101s # enumeration-production 1101s # EnumName: @EnumName@ 1101s # enum_name: @enum_name@ 1101s # ENUMNAME: @ENUMNAME@ 1101s # ENUMSHORT: @ENUMSHORT@ 1101s # ENUMPREFIX: @ENUMPREFIX@ 1101s # enumsince: @enumsince@ 1101s # type: @type@ 1101s # Type: @Type@ 1101s # TYPE: @TYPE@ 1101s # /*** END enumeration-production ***/ 1101s # 1101s # /*** BEGIN value-header ***/ 1101s # value-header 1101s # EnumName: @EnumName@ 1101s # enum_name: @enum_name@ 1101s # ENUMNAME: @ENUMNAME@ 1101s # ENUMSHORT: @ENUMSHORT@ 1101s # ENUMPREFIX: @ENUMPREFIX@ 1101s # enumsince: @enumsince@ 1101s # type: @type@ 1101s # Type: @Type@ 1101s # TYPE: @TYPE@ 1101s # /*** END value-header ***/ 1101s # 1101s # /*** BEGIN value-production ***/ 1101s # value-production 1101s # VALUENAME: @VALUENAME@ 1101s # valuenick: @valuenick@ 1101s # valuenum: @valuenum@ 1101s # type: @type@ 1101s # Type: @Type@ 1101s # TYPE: @TYPE@ 1101s # /*** END value-production ***/ 1101s # 1101s # /*** BEGIN value-tail ***/ 1101s # value-tail 1101s # EnumName: @EnumName@ 1101s # enum_name: @enum_name@ 1101s # ENUMNAME: @ENUMNAME@ 1101s # ENUMSHORT: @ENUMSHORT@ 1101s # ENUMPREFIX: @ENUMPREFIX@ 1101s # enumsince: @enumsince@ 1101s # type: @type@ 1101s # Type: @Type@ 1101s # TYPE: @TYPE@ 1101s # /*** END value-tail ***/ 1101s # 1101s # /*** BEGIN comment ***/ 1101s # comment 1101s # comment: @comment@ 1101s # /*** END comment ***/ 1101s # 1101s # /*** BEGIN file-tail ***/ 1101s # file-tail 1101s # /*** END file-tail ***/ 1101s # 1101s # Response file contains: --template /tmp/tmprsla_mhh/tmpmjhsdk9u.template /tmp/tmprsla_mhh/tmpl9aev0ex.h 1101s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmprsla_mhh/tmpn7ix7jpj'] 1101s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1101s # Output: comment 1101s # 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. 1101s # 1101s # 1101s # file-header 1101s # file-production 1101s # filename: /tmp/tmprsla_mhh/tmpl9aev0ex.h 1101s # basename: tmpl9aev0ex.h 1101s # enumeration-production 1101s # EnumName: TestSymbolicEnum 1101s # enum_name: test_symbolic_enum 1101s # ENUMNAME: TEST_SYMBOLIC_ENUM 1101s # ENUMSHORT: SYMBOLIC_ENUM 1101s # ENUMPREFIX: TEST 1101s # enumsince: 1101s # type: enum 1101s # Type: Enum 1101s # TYPE: ENUM 1101s # value-header 1101s # EnumName: TestSymbolicEnum 1101s # enum_name: test_symbolic_enum 1101s # ENUMNAME: TEST_SYMBOLIC_ENUM 1101s # ENUMSHORT: SYMBOLIC_ENUM 1101s # ENUMPREFIX: TEST 1101s # enumsince: 1101s # type: enum 1101s # Type: Enum 1101s # TYPE: ENUM 1101s # value-production 1101s # VALUENAME: ENUM_VALUE_PUBLIC 1101s # valuenick: public 1101s # valuenum: 7 1101s # type: enum 1101s # Type: Enum 1101s # TYPE: ENUM 1101s # value-tail 1101s # EnumName: TestSymbolicEnum 1101s # enum_name: test_symbolic_enum 1101s # ENUMNAME: TEST_SYMBOLIC_ENUM 1101s # ENUMSHORT: SYMBOLIC_ENUM 1101s # ENUMPREFIX: TEST 1101s # enumsince: 1101s # type: enum 1101s # Type: Enum 1101s # TYPE: ENUM 1101s # file-tail 1101s # 1101s # comment 1101s # comment: Generated data ends here 1101s ok 28 __main__.TestRspMkenums.test_filename_basename_in_fhead_ftail 1101s # tmpdir: /tmp/tmpj5w_2vwo 1101s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1101s # /tmp/tmpj5w_2vwo/tmpmfkyde2u.template: 1101s # /*** BEGIN file-header ***/ 1101s # file-header 1101s # filename: @filename@ 1101s # basename: @basename@ 1101s # /*** END file-header ***/ 1101s # 1101s # /*** BEGIN comment ***/ 1101s # comment 1101s # comment: @comment@ 1101s # /*** END comment ***/ 1101s # 1101s # /*** BEGIN file-tail ***/ 1101s # file-tail 1101s # filename: @filename@ 1101s # basename: @basename@ 1101s # /*** END file-tail ***/ 1101s # Response file contains: --template /tmp/tmpj5w_2vwo/tmpmfkyde2u.template 1101s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpj5w_2vwo/tmpyh7m9__0'] 1101s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1101s # Output: comment 1101s # 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. 1101s # 1101s # 1101s # file-header 1101s # filename: @filename@ 1101s # basename: @basename@ 1101s # file-tail 1101s # filename: @filename@ 1101s # basename: @basename@ 1101s # 1101s # comment 1101s # comment: Generated data ends here 1101s ok 29 __main__.TestRspMkenums.test_help 1101s # tmpdir: /tmp/tmpm5bzfwrp 1101s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1101s # Response file contains: --help 1101s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpm5bzfwrp/tmp1jyr94n1'] 1101s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1101s # Output: usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX] 1101s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD] 1101s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD] 1101s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL] 1101s # [--comments COMMENT_TMPL] [--template TEMPLATE] 1101s # [--output OUTPUT] [--version] 1101s # [args ...] 1101s # 1101s # positional arguments: 1101s # args One or more input files, or a single argument 1101s # @rspfile_path pointing to a file that contains the 1101s # actual arguments 1101s # 1101s # options: 1101s # -h, --help show this help message and exit 1101s # --identifier-prefix IDPREFIX 1101s # Identifier prefix 1101s # --symbol-prefix SYMPREFIX 1101s # Symbol prefix 1101s # --fhead FHEAD Output file header 1101s # --ftail FTAIL Output file footer 1101s # --fprod FPROD Put out TEXT every time a new input file is being 1101s # processed. 1101s # --eprod EPROD Per enum text, produced prior to value iterations 1101s # --vhead VHEAD Value header, produced before iterating over enum 1101s # values 1101s # --vprod VPROD Value text, produced for each enum value. 1101s # --vtail VTAIL Value tail, produced after iterating over enum values 1101s # --comments COMMENT_TMPL 1101s # Comment structure 1101s # --template TEMPLATE Template file 1101s # --output OUTPUT 1101s # --version, -v Print version information 1101s # 1101s # Production text substitutions: 1101s # @EnumName@ PrefixTheXEnum 1101s # @enum_name@ prefix_the_xenum 1101s # @ENUMNAME@ PREFIX_THE_XENUM 1101s # @ENUMSHORT@ THE_XENUM 1101s # @ENUMPREFIX@ PREFIX 1101s # @enumsince@ the user-provided since value given 1101s # @VALUENAME@ PREFIX_THE_XVALUE 1101s # @valuenick@ the-xvalue 1101s # @valuenum@ the integer value (limited support, Since: 2.26) 1101s # @type@ either enum or flags 1101s # @Type@ either Enum or Flags 1101s # @TYPE@ either ENUM or FLAGS 1101s # @filename@ name of current input file 1101s # @basename@ base name of the current input file (Since: 2.22) 1101s ok 30 __main__.TestRspMkenums.test_no_args 1101s # tmpdir: /tmp/tmpmnuz7u8a 1101s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1101s # Response file contains: 1101s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpmnuz7u8a/tmp7d8qy_st'] 1101s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1101s # 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. */ 1101s # 1101s # 1101s # /* Generated data ends here */ 1101s ok 31 __main__.TestRspMkenums.test_no_headers 1101s # tmpdir: /tmp/tmpx1pokkjj 1101s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1101s # /tmp/tmpx1pokkjj/tmplxn07xt2.template: 1101s # /*** BEGIN file-header ***/ 1101s # file-header 1101s # /*** END file-header ***/ 1101s # 1101s # /*** BEGIN file-production ***/ 1101s # file-production 1101s # filename: @filename@ 1101s # basename: @basename@ 1101s # /*** END file-production ***/ 1101s # 1101s # /*** BEGIN enumeration-production ***/ 1101s # enumeration-production 1101s # EnumName: @EnumName@ 1101s # enum_name: @enum_name@ 1101s # ENUMNAME: @ENUMNAME@ 1101s # ENUMSHORT: @ENUMSHORT@ 1101s # ENUMPREFIX: @ENUMPREFIX@ 1101s # enumsince: @enumsince@ 1101s # type: @type@ 1101s # Type: @Type@ 1101s # TYPE: @TYPE@ 1101s # /*** END enumeration-production ***/ 1101s # 1101s # /*** BEGIN value-header ***/ 1101s # value-header 1101s # EnumName: @EnumName@ 1101s # enum_name: @enum_name@ 1101s # ENUMNAME: @ENUMNAME@ 1101s # ENUMSHORT: @ENUMSHORT@ 1101s # ENUMPREFIX: @ENUMPREFIX@ 1101s # enumsince: @enumsince@ 1101s # type: @type@ 1101s # Type: @Type@ 1101s # TYPE: @TYPE@ 1101s # /*** END value-header ***/ 1101s # 1101s # /*** BEGIN value-production ***/ 1101s # value-production 1101s # VALUENAME: @VALUENAME@ 1101s # valuenick: @valuenick@ 1101s # valuenum: @valuenum@ 1101s # type: @type@ 1101s # Type: @Type@ 1101s # TYPE: @TYPE@ 1101s # /*** END value-production ***/ 1101s # 1101s # /*** BEGIN value-tail ***/ 1101s # value-tail 1101s # EnumName: @EnumName@ 1101s # enum_name: @enum_name@ 1101s # ENUMNAME: @ENUMNAME@ 1101s # ENUMSHORT: @ENUMSHORT@ 1101s # ENUMPREFIX: @ENUMPREFIX@ 1101s # enumsince: @enumsince@ 1101s # type: @type@ 1101s # Type: @Type@ 1101s # TYPE: @TYPE@ 1101s # /*** END value-tail ***/ 1101s # 1101s # /*** BEGIN comment ***/ 1101s # comment 1101s # comment: @comment@ 1101s # /*** END comment ***/ 1101s # 1101s # /*** BEGIN file-tail ***/ 1101s # file-tail 1101s # /*** END file-tail ***/ 1101s # 1101s # Response file contains: --template /tmp/tmpx1pokkjj/tmplxn07xt2.template 1101s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpx1pokkjj/tmp1c093l4f'] 1101s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1101s # Output: comment 1101s # 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. 1101s # 1101s # 1101s # file-header 1101s # file-tail 1101s # 1101s # comment 1101s # comment: Generated data ends here 1101s ok 32 __main__.TestRspMkenums.test_no_nick 1101s # tmpdir: /tmp/tmp_ij15vsm 1101s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1101s # /tmp/tmp_ij15vsm/tmpy9zk67pa.h: 1101s # typedef enum { 1101s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/ 1101s # } GeglSamplerType; 1101s # 1101s # /tmp/tmp_ij15vsm/tmp99ns290x.template: 1101s # /*** BEGIN file-header ***/ 1101s # file-header 1101s # /*** END file-header ***/ 1101s # 1101s # /*** BEGIN file-production ***/ 1101s # file-production 1101s # filename: @filename@ 1101s # basename: @basename@ 1101s # /*** END file-production ***/ 1101s # 1101s # /*** BEGIN enumeration-production ***/ 1101s # enumeration-production 1101s # EnumName: @EnumName@ 1101s # enum_name: @enum_name@ 1101s # ENUMNAME: @ENUMNAME@ 1101s # ENUMSHORT: @ENUMSHORT@ 1101s # ENUMPREFIX: @ENUMPREFIX@ 1101s # enumsince: @enumsince@ 1101s # type: @type@ 1101s # Type: @Type@ 1101s # TYPE: @TYPE@ 1101s # /*** END enumeration-production ***/ 1101s # 1101s # /*** BEGIN value-header ***/ 1101s # value-header 1101s # EnumName: @EnumName@ 1101s # enum_name: @enum_name@ 1101s # ENUMNAME: @ENUMNAME@ 1101s # ENUMSHORT: @ENUMSHORT@ 1101s # ENUMPREFIX: @ENUMPREFIX@ 1101s # enumsince: @enumsince@ 1101s # type: @type@ 1101s # Type: @Type@ 1101s # TYPE: @TYPE@ 1101s # /*** END value-header ***/ 1101s # 1101s # /*** BEGIN value-production ***/ 1101s # value-production 1101s # VALUENAME: @VALUENAME@ 1101s # valuenick: @valuenick@ 1101s # valuenum: @valuenum@ 1101s # type: @type@ 1101s # Type: @Type@ 1101s # TYPE: @TYPE@ 1101s # /*** END value-production ***/ 1101s # 1101s # /*** BEGIN value-tail ***/ 1101s # value-tail 1101s # EnumName: @EnumName@ 1101s # enum_name: @enum_name@ 1101s # ENUMNAME: @ENUMNAME@ 1101s # ENUMSHORT: @ENUMSHORT@ 1101s # ENUMPREFIX: @ENUMPREFIX@ 1101s # enumsince: @enumsince@ 1101s # type: @type@ 1101s # Type: @Type@ 1101s # TYPE: @TYPE@ 1101s # /*** END value-tail ***/ 1101s # 1101s # /*** BEGIN comment ***/ 1101s # comment 1101s # comment: @comment@ 1101s # /*** END comment ***/ 1101s # 1101s # /*** BEGIN file-tail ***/ 1101s # file-tail 1101s # /*** END file-tail ***/ 1101s # 1101s # Response file contains: --template /tmp/tmp_ij15vsm/tmp99ns290x.template /tmp/tmp_ij15vsm/tmpy9zk67pa.h 1101s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp_ij15vsm/tmp7_itudeq'] 1101s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1101s # Output: comment 1101s # 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. 1101s # 1101s # 1101s # file-header 1101s # file-production 1101s # filename: /tmp/tmp_ij15vsm/tmpy9zk67pa.h 1101s # basename: tmpy9zk67pa.h 1101s # enumeration-production 1101s # EnumName: GeglSamplerType 1101s # enum_name: gegl_sampler_type 1101s # ENUMNAME: GEGL_SAMPLER_TYPE 1101s # ENUMSHORT: SAMPLER_TYPE 1101s # ENUMPREFIX: GEGL 1101s # enumsince: 1101s # type: enum 1101s # Type: Enum 1101s # TYPE: ENUM 1101s # value-header 1101s # EnumName: GeglSamplerType 1101s # enum_name: gegl_sampler_type 1101s # ENUMNAME: GEGL_SAMPLER_TYPE 1101s # ENUMSHORT: SAMPLER_TYPE 1101s # ENUMPREFIX: GEGL 1101s # enumsince: 1101s # type: enum 1101s # Type: Enum 1101s # TYPE: ENUM 1101s # value-production 1101s # VALUENAME: GEGL_SAMPLER_NEAREST 1101s # valuenick: nearest 1101s # valuenum: 0 1101s # type: enum 1101s # Type: Enum 1101s # TYPE: ENUM 1101s # value-tail 1101s # EnumName: GeglSamplerType 1101s # enum_name: gegl_sampler_type 1101s # ENUMNAME: GEGL_SAMPLER_TYPE 1101s # ENUMSHORT: SAMPLER_TYPE 1101s # ENUMPREFIX: GEGL 1101s # enumsince: 1101s # type: enum 1101s # Type: Enum 1101s # TYPE: ENUM 1101s # file-tail 1101s # 1101s # comment 1101s # comment: Generated data ends here 1101s ok 33 __main__.TestRspMkenums.test_non_utf8_encoding 1101s # tmpdir: /tmp/tmp0648571d 1101s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1101s # /tmp/tmp0648571d/tmpx5z8onho.h: 1101s # /* Copyright © La Peña */ 1101s # typedef enum { 1101s # ENUM_VALUE 1101s # } SomeEnumIdentifier; 1101s # 1101s # /tmp/tmp0648571d/tmplbq842mu.template: 1101s # /*** BEGIN file-header ***/ 1101s # file-header 1101s # /*** END file-header ***/ 1101s # 1101s # /*** BEGIN file-production ***/ 1101s # file-production 1101s # filename: @filename@ 1101s # basename: @basename@ 1101s # /*** END file-production ***/ 1101s # 1101s # /*** BEGIN enumeration-production ***/ 1101s # enumeration-production 1101s # EnumName: @EnumName@ 1101s # enum_name: @enum_name@ 1101s # ENUMNAME: @ENUMNAME@ 1101s # ENUMSHORT: @ENUMSHORT@ 1101s # ENUMPREFIX: @ENUMPREFIX@ 1101s # enumsince: @enumsince@ 1101s # type: @type@ 1101s # Type: @Type@ 1101s # TYPE: @TYPE@ 1101s # /*** END enumeration-production ***/ 1101s # 1101s # /*** BEGIN value-header ***/ 1101s # value-header 1101s # EnumName: @EnumName@ 1101s # enum_name: @enum_name@ 1101s # ENUMNAME: @ENUMNAME@ 1101s # ENUMSHORT: @ENUMSHORT@ 1101s # ENUMPREFIX: @ENUMPREFIX@ 1101s # enumsince: @enumsince@ 1101s # type: @type@ 1101s # Type: @Type@ 1101s # TYPE: @TYPE@ 1101s # /*** END value-header ***/ 1101s # 1101s # /*** BEGIN value-production ***/ 1101s # value-production 1101s # VALUENAME: @VALUENAME@ 1101s # valuenick: @valuenick@ 1101s # valuenum: @valuenum@ 1101s # type: @type@ 1101s # Type: @Type@ 1101s # TYPE: @TYPE@ 1101s # /*** END value-production ***/ 1101s # 1101s # /*** BEGIN value-tail ***/ 1101s # value-tail 1101s # EnumName: @EnumName@ 1101s # enum_name: @enum_name@ 1101s # ENUMNAME: @ENUMNAME@ 1101s # ENUMSHORT: @ENUMSHORT@ 1101s # ENUMPREFIX: @ENUMPREFIX@ 1101s # enumsince: @enumsince@ 1101s # type: @type@ 1101s # Type: @Type@ 1101s # TYPE: @TYPE@ 1101s # /*** END value-tail ***/ 1101s # 1101s # /*** BEGIN comment ***/ 1101s # comment 1101s # comment: @comment@ 1101s # /*** END comment ***/ 1101s # 1101s # /*** BEGIN file-tail ***/ 1101s # file-tail 1101s # /*** END file-tail ***/ 1101s # 1101s # Response file contains: --template /tmp/tmp0648571d/tmplbq842mu.template /tmp/tmp0648571d/tmpx5z8onho.h 1101s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp0648571d/tmpcw8tp_tb'] 1101s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1101s # Output: comment 1101s # 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. 1101s # 1101s # 1101s # file-header 1101s # file-production 1101s # filename: /tmp/tmp0648571d/tmpx5z8onho.h 1101s # basename: tmpx5z8onho.h 1101s # enumeration-production 1101s # EnumName: SomeEnumIdentifier 1101s # enum_name: some_enum_identifier 1101s # ENUMNAME: SOME_ENUM_IDENTIFIER 1101s # ENUMSHORT: ENUM_IDENTIFIER 1101s # ENUMPREFIX: SOME 1101s # enumsince: 1101s # type: enum 1101s # Type: Enum 1101s # TYPE: ENUM 1101s # value-header 1101s # EnumName: SomeEnumIdentifier 1101s # enum_name: some_enum_identifier 1101s # ENUMNAME: SOME_ENUM_IDENTIFIER 1101s # ENUMSHORT: ENUM_IDENTIFIER 1101s # ENUMPREFIX: SOME 1101s # enumsince: 1101s # type: enum 1101s # Type: Enum 1101s # TYPE: ENUM 1101s # value-production 1101s # VALUENAME: ENUM_VALUE 1101s # valuenick: value 1101s # valuenum: 0 1101s # type: enum 1101s # Type: Enum 1101s # TYPE: ENUM 1101s # value-tail 1101s # EnumName: SomeEnumIdentifier 1101s # enum_name: some_enum_identifier 1101s # ENUMNAME: SOME_ENUM_IDENTIFIER 1101s # ENUMSHORT: ENUM_IDENTIFIER 1101s # ENUMPREFIX: SOME 1101s # enumsince: 1101s # type: enum 1101s # Type: Enum 1101s # TYPE: ENUM 1101s # file-tail 1101s # 1101s # comment 1101s # comment: Generated data ends here 1101s ok 34 __main__.TestRspMkenums.test_reproducible 1101s # tmpdir: /tmp/tmp6f4h0aod 1101s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1101s # /tmp/tmp6f4h0aod/tmpfgunm2ro.template: template 1101s # Response file contains: --template /tmp/tmp6f4h0aod/tmpfgunm2ro.template /tmp/tmp6f4h0aod/tmpm9hcgdvz1.h /tmp/tmp6f4h0aod/tmpmxunzqp92.h 1101s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp6f4h0aod/tmpi4cun5es'] 1101s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1101s # 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. */ 1101s # 1101s # 1101s # /* Generated data ends here */ 1101s # /tmp/tmp6f4h0aod/tmp3w8w_lb_.template: template 1101s # Response file contains: --template /tmp/tmp6f4h0aod/tmp3w8w_lb_.template /tmp/tmp6f4h0aod/tmpmxunzqp92.h /tmp/tmp6f4h0aod/tmpm9hcgdvz1.h 1101s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp6f4h0aod/tmpq29sj03c'] 1101s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1101s # 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. */ 1101s # 1101s # 1101s # /* Generated data ends here */ 1101s ok 35 __main__.TestRspMkenums.test_since 1101s # tmpdir: /tmp/tmprhikmx1u 1101s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1101s # /tmp/tmprhikmx1u/tmpusq48b2t.h: 1101s # typedef enum { /*< since=1.0 >*/ 1101s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0, 1101s # } QmiWmsMessageProtocol; 1101s # 1101s # /tmp/tmprhikmx1u/tmpegn40zqa.template: 1101s # /*** BEGIN file-header ***/ 1101s # file-header 1101s # /*** END file-header ***/ 1101s # 1101s # /*** BEGIN file-production ***/ 1101s # file-production 1101s # filename: @filename@ 1101s # basename: @basename@ 1101s # /*** END file-production ***/ 1101s # 1101s # /*** BEGIN enumeration-production ***/ 1101s # enumeration-production 1101s # EnumName: @EnumName@ 1101s # enum_name: @enum_name@ 1101s # ENUMNAME: @ENUMNAME@ 1101s # ENUMSHORT: @ENUMSHORT@ 1101s # ENUMPREFIX: @ENUMPREFIX@ 1101s # enumsince: @enumsince@ 1101s # type: @type@ 1101s # Type: @Type@ 1101s # TYPE: @TYPE@ 1101s # /*** END enumeration-production ***/ 1101s # 1101s # /*** BEGIN value-header ***/ 1101s # value-header 1101s # EnumName: @EnumName@ 1101s # enum_name: @enum_name@ 1101s # ENUMNAME: @ENUMNAME@ 1101s # ENUMSHORT: @ENUMSHORT@ 1101s # ENUMPREFIX: @ENUMPREFIX@ 1101s # enumsince: @enumsince@ 1101s # type: @type@ 1101s # Type: @Type@ 1101s # TYPE: @TYPE@ 1101s # /*** END value-header ***/ 1101s # 1101s # /*** BEGIN value-production ***/ 1101s # value-production 1101s # VALUENAME: @VALUENAME@ 1101s # valuenick: @valuenick@ 1101s # valuenum: @valuenum@ 1101s # type: @type@ 1101s # Type: @Type@ 1101s # TYPE: @TYPE@ 1101s # /*** END value-production ***/ 1101s # 1101s # /*** BEGIN value-tail ***/ 1101s # value-tail 1101s # EnumName: @EnumName@ 1101s # enum_name: @enum_name@ 1101s # ENUMNAME: @ENUMNAME@ 1101s # ENUMSHORT: @ENUMSHORT@ 1101s # ENUMPREFIX: @ENUMPREFIX@ 1101s # enumsince: @enumsince@ 1101s # type: @type@ 1101s # Type: @Type@ 1101s # TYPE: @TYPE@ 1101s # /*** END value-tail ***/ 1101s # 1101s # /*** BEGIN comment ***/ 1101s # comment 1101s # comment: @comment@ 1101s # /*** END comment ***/ 1101s # 1101s # /*** BEGIN file-tail ***/ 1101s # file-tail 1101s # /*** END file-tail ***/ 1101s # 1101s # Response file contains: --template /tmp/tmprhikmx1u/tmpegn40zqa.template /tmp/tmprhikmx1u/tmpusq48b2t.h 1101s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmprhikmx1u/tmphxq928je'] 1101s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1101s # Output: comment 1101s # 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. 1101s # 1101s # 1101s # file-header 1101s # file-production 1101s # filename: /tmp/tmprhikmx1u/tmpusq48b2t.h 1101s # basename: tmpusq48b2t.h 1101s # enumeration-production 1101s # EnumName: QmiWmsMessageProtocol 1101s # enum_name: qmi_wms_message_protocol 1101s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1101s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1101s # ENUMPREFIX: QMI 1101s # enumsince: 1.0 1101s # type: enum 1101s # Type: Enum 1101s # TYPE: ENUM 1101s # value-header 1101s # EnumName: QmiWmsMessageProtocol 1101s # enum_name: qmi_wms_message_protocol 1101s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1101s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1101s # ENUMPREFIX: QMI 1101s # enumsince: 1.0 1101s # type: enum 1101s # Type: Enum 1101s # TYPE: ENUM 1101s # value-production 1101s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA 1101s # valuenick: cdma 1101s # valuenum: 0 1101s # type: enum 1101s # Type: Enum 1101s # TYPE: ENUM 1101s # value-tail 1101s # EnumName: QmiWmsMessageProtocol 1101s # enum_name: qmi_wms_message_protocol 1101s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1101s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1101s # ENUMPREFIX: QMI 1101s # enumsince: 1.0 1101s # type: enum 1101s # Type: Enum 1101s # TYPE: ENUM 1101s # file-tail 1101s # 1101s # comment 1101s # comment: Generated data ends here 1101s ok 36 __main__.TestRspMkenums.test_with_double_quotes 1101s # tmpdir: /tmp/tmpt5g7d3kb 1101s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1101s # /tmp/tmpt5g7d3kb/tmpz0kxd_1l.h: 1101s # typedef enum { 1101s # FOO_VALUE /*< nick="eek, a comma" >*/ 1101s # } Foo; 1101s # 1101s # /tmp/tmpt5g7d3kb/tmpy8kbl2xm.template: 1101s # /*** BEGIN file-header ***/ 1101s # file-header 1101s # /*** END file-header ***/ 1101s # 1101s # /*** BEGIN file-production ***/ 1101s # file-production 1101s # filename: @filename@ 1101s # basename: @basename@ 1101s # /*** END file-production ***/ 1101s # 1101s # /*** BEGIN enumeration-production ***/ 1101s # enumeration-production 1101s # EnumName: @EnumName@ 1101s # enum_name: @enum_name@ 1101s # ENUMNAME: @ENUMNAME@ 1101s # ENUMSHORT: @ENUMSHORT@ 1101s # ENUMPREFIX: @ENUMPREFIX@ 1101s # enumsince: @enumsince@ 1101s # type: @type@ 1101s # Type: @Type@ 1101s # TYPE: @TYPE@ 1101s # /*** END enumeration-production ***/ 1101s # 1101s # /*** BEGIN value-header ***/ 1101s # value-header 1101s # EnumName: @EnumName@ 1101s # enum_name: @enum_name@ 1101s # ENUMNAME: @ENUMNAME@ 1101s # ENUMSHORT: @ENUMSHORT@ 1101s # ENUMPREFIX: @ENUMPREFIX@ 1101s # enumsince: @enumsince@ 1101s # type: @type@ 1101s # Type: @Type@ 1101s # TYPE: @TYPE@ 1101s # /*** END value-header ***/ 1101s # 1101s # /*** BEGIN value-production ***/ 1101s # value-production 1101s # VALUENAME: @VALUENAME@ 1101s # valuenick: @valuenick@ 1101s # valuenum: @valuenum@ 1101s # type: @type@ 1101s # Type: @Type@ 1101s # TYPE: @TYPE@ 1101s # /*** END value-production ***/ 1101s # 1101s # /*** BEGIN value-tail ***/ 1101s # value-tail 1101s # EnumName: @EnumName@ 1101s # enum_name: @enum_name@ 1101s # ENUMNAME: @ENUMNAME@ 1101s # ENUMSHORT: @ENUMSHORT@ 1101s # ENUMPREFIX: @ENUMPREFIX@ 1101s # enumsince: @enumsince@ 1101s # type: @type@ 1101s # Type: @Type@ 1101s # TYPE: @TYPE@ 1101s # /*** END value-tail ***/ 1101s # 1101s # /*** BEGIN comment ***/ 1101s # comment 1101s # comment: @comment@ 1101s # /*** END comment ***/ 1101s # 1101s # /*** BEGIN file-tail ***/ 1101s # file-tail 1101s # /*** END file-tail ***/ 1101s # 1101s # Response file contains: --template /tmp/tmpt5g7d3kb/tmpy8kbl2xm.template /tmp/tmpt5g7d3kb/tmpz0kxd_1l.h 1101s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpt5g7d3kb/tmp9qnx6pf6'] 1101s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1101s # Output: comment 1101s # 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. 1101s # 1101s # 1101s # file-header 1101s # file-production 1101s # filename: /tmp/tmpt5g7d3kb/tmpz0kxd_1l.h 1101s # basename: tmpz0kxd_1l.h 1101s # enumeration-production 1101s # EnumName: Foo 1101s # enum_name: foo_ 1101s # ENUMNAME: FOO_ 1101s # ENUMSHORT: 1101s # ENUMPREFIX: FOO 1101s # enumsince: 1101s # type: enum 1101s # Type: Enum 1101s # TYPE: ENUM 1101s # value-header 1101s # EnumName: Foo 1101s # enum_name: foo_ 1101s # ENUMNAME: FOO_ 1101s # ENUMSHORT: 1101s # ENUMPREFIX: FOO 1101s # enumsince: 1101s # type: enum 1101s # Type: Enum 1101s # TYPE: ENUM 1101s # value-production 1101s # VALUENAME: FOO_VALUE 1101s # valuenick: eek, a comma 1101s # valuenum: 0 1101s # type: enum 1101s # Type: Enum 1101s # TYPE: ENUM 1101s # value-tail 1101s # EnumName: Foo 1101s # enum_name: foo_ 1101s # ENUMNAME: FOO_ 1101s # ENUMSHORT: 1101s # ENUMPREFIX: FOO 1101s # enumsince: 1101s # type: enum 1101s # Type: Enum 1101s # TYPE: ENUM 1101s # file-tail 1101s # 1101s # comment 1101s # comment: Generated data ends here 1101s 1..36 1101s ok - glib/mkenums.py.test 1101s # Running test: glib/search-utils.test 1101s TAP version 14 1101s # random seed: R02S3caaa2d4e7c4c8059763e3ab39410fbc 1101s # GLib-DEBUG: Current user locale: C.UTF-8 1101s 1..6 1101s # Start of search tests 1101s # GLib-DEBUG: Started 1101s # GLib-DEBUG: 'he' - 'Hello World' should match: OK 1101s # GLib-DEBUG: 'wo' - 'Hello World' should match: OK 1101s # GLib-DEBUG: 'lo' - 'Hello World' should NOT match: OK 1101s # GLib-DEBUG: 'ld' - 'Hello World' should NOT match: OK 1101s # GLib-DEBUG: 'wo' - 'Hello-World' should match: OK 1101s # GLib-DEBUG: 'wo' - 'HelloWorld' should NOT match: OK 1101s ok 1 /search/basic 1101s # GLib-DEBUG: Started 1101s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 1101s # GLib-DEBUG: 'gaetan' - 'Gaëtan' should match: OK 1101s # GLib-DEBUG: 'ele' - 'élève' should match: OK 1101s # GLib-DEBUG: 'AzaÃs' - 'Azais' should NOT match: OK 1101s # GLib-DEBUG: 'Azais' - 'AzaÃs' should match: OK 1101s ok 2 /search/composed 1101s # GLib-DEBUG: Started 1101s # GLib-DEBUG: 'Jör' - 'Jorgen' should NOT match: OK 1101s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 1101s ok 3 /search/decomposed 1101s # GLib-DEBUG: Started 1101s # GLib-DEBUG: 'ist' - 'Ä°stanbul' should match: OK 1101s # GLib-DEBUG: 'diyarbakir' - 'Diyarbakır' should match: OK 1101s ok 4 /search/turkish 1101s # GLib-DEBUG: Started 1101s # GLib-DEBUG: 'jor' - 'J?rgen' should match: OK 1101s # GLib-DEBUG: 'Jo?r' - 'Jorgen' should NOT match: OK 1101s # GLib-DEBUG: 'jor' - 'Jo?rgen' should match: OK 1101s ok 5 /search/c_locale_unicode 1101s # GLib-DEBUG: Started 1101s # GLib-DEBUG: 'Xav Cla' - 'Xavier Claessens' should match: OK 1101s # GLib-DEBUG: 'Cla Xav' - 'Xavier Claessens' should match: OK 1101s # GLib-DEBUG: ' b ' - 'Foo Bar Baz' should match: OK 1101s # GLib-DEBUG: 'bar bazz' - 'Foo Bar Baz' should NOT match: OK 1101s ok 6 /search/multi_words 1101s # End of search tests 1101s ok - glib/search-utils.test 1101s # Running test: glib/permission.test 1101s TAP version 14 1101s # random seed: R02S11a8106c8998d5bcd31d112fda33d5dc 1101s 1..1 1101s # Start of permission tests 1101s ok 1 /permission/simple 1101s # End of permission tests 1101s ok - glib/permission.test 1101s # Running test: glib/memory-monitor-dbus.test 1102s TAP version 13 1102s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal # SKIP https://bugs.debian.org/995178 1102s 1..1 1102s ok - glib/memory-monitor-dbus.test 1102s # Running test: glib/queue.test 1102s TAP version 14 1102s # random seed: R02Sc46808da47214605a2f04a680c6fc6d8 1102s 1..12 1102s # Start of queue tests 1102s ok 1 /queue/basic 1102s ok 2 /queue/copy 1102s ok 3 /queue/off-by-one 1102s ok 4 /queue/find-custom 1102s ok 5 /queue/static 1102s ok 6 /queue/clear 1102s ok 7 /queue/free-full 1102s ok 8 /queue/clear-full 1102s ok 9 /queue/insert-sibling-link 1102s ok 10 /queue/push-nth-link 1102s # Start of clear-full tests 1102s ok 11 /queue/clear-full/noop 1102s # End of clear-full tests 1102s # Start of random tests 1102s ok 12 /queue/random/seed:1670062411 1102s # End of random tests 1102s # End of queue tests 1102s ok - glib/queue.test 1102s # Running test: glib/gutils-user-database.test 1102s TAP version 14 1102s # random seed: R02Sc73a382efff89736a35e79bc925d36cb 1102s 1..1 1102s # Start of gutils tests 1102s ok 1 /gutils/get_user_database_entry 1102s # End of gutils tests 1102s ok - glib/gutils-user-database.test 1102s # Running test: glib/completion.test 1102s TAP version 14 1102s # random seed: R02Sd6a2acfee6d5534125d1ecef131453c3 1102s 1..1 1102s # Start of completion tests 1102s ok 1 /completion/test-completion 1102s # End of completion tests 1102s ok - glib/completion.test 1102s # Running test: glib/gdbus-server-auth.test 1102s TAP version 14 1102s # random seed: R02Sb228340a1d3bb8957fe633ca4bb899f0 1102s 1..9 1102s # Start of gdbus tests 1102s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_4VLG02/gdbus/server-auth/.dirs/home 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_4VLG02/gdbus/server-auth/.dirs/cache 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_4VLG02/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_4VLG02/gdbus/server-auth/.dirs/system-config2 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_4VLG02/gdbus/server-auth/.dirs/config 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_4VLG02/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_4VLG02/gdbus/server-auth/.dirs/system-data2 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_4VLG02/gdbus/server-auth/.dirs/data 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_4VLG02/gdbus/server-auth/.dirs/state 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_4VLG02/gdbus/server-auth/.dirs/runtime 1102s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_4VLG02/gdbus-server-auth-VFMG02 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false 1102s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_4VLG02/gdbus-server-auth-VFMG02/dbus-WQBSjP6m 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 14278 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 14278 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 14278 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 14278 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 14278 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 14278 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 14278 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 14278 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 14278 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 14278 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 14278 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 14278 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 14278 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 14278 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 14278 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 14278 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 14278 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 14278 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 14278 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 14278 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 14278 1102s ok 1 /gdbus/server-auth 1102s # Start of server-auth tests 1102s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_4VLG02/gdbus/server-auth/abstract/.dirs/home 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_4VLG02/gdbus/server-auth/abstract/.dirs/cache 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_4VLG02/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_4VLG02/gdbus/server-auth/abstract/.dirs/system-config2 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_4VLG02/gdbus/server-auth/abstract/.dirs/config 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_4VLG02/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_4VLG02/gdbus/server-auth/abstract/.dirs/system-data2 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_4VLG02/gdbus/server-auth/abstract/.dirs/data 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_4VLG02/gdbus/server-auth/abstract/.dirs/state 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_4VLG02/gdbus/server-auth/abstract/.dirs/runtime 1102s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_4VLG02/gdbus-server-auth-77HF02 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false 1102s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_4VLG02/gdbus-server-auth-77HF02/dbus-xvgNaHu4 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 14278 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 14278 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 14278 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 14278 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 14278 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 14278 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 14278 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 14278 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 14278 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 14278 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 14278 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 14278 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 14278 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 14278 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 14278 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 14278 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 14278 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 14278 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 14278 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 14278 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 14278 1102s ok 2 /gdbus/server-auth/abstract 1102s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_4VLG02/gdbus/server-auth/tcp/.dirs/home 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_4VLG02/gdbus/server-auth/tcp/.dirs/cache 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_4VLG02/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_4VLG02/gdbus/server-auth/tcp/.dirs/system-config2 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_4VLG02/gdbus/server-auth/tcp/.dirs/config 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_4VLG02/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_4VLG02/gdbus/server-auth/tcp/.dirs/system-data2 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_4VLG02/gdbus/server-auth/tcp/.dirs/data 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_4VLG02/gdbus/server-auth/tcp/.dirs/state 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_4VLG02/gdbus/server-auth/tcp/.dirs/runtime 1102s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true 1102s ok 3 /gdbus/server-auth/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 1102s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_4VLG02/gdbus/server-auth/anonymous/.dirs/home 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_4VLG02/gdbus/server-auth/anonymous/.dirs/cache 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_4VLG02/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_4VLG02/gdbus/server-auth/anonymous/.dirs/system-config2 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_4VLG02/gdbus/server-auth/anonymous/.dirs/config 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_4VLG02/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_4VLG02/gdbus/server-auth/anonymous/.dirs/system-data2 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_4VLG02/gdbus/server-auth/anonymous/.dirs/data 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_4VLG02/gdbus/server-auth/anonymous/.dirs/state 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_4VLG02/gdbus/server-auth/anonymous/.dirs/runtime 1102s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_4VLG02/gdbus-server-auth-GSOF02 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false 1102s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_4VLG02/gdbus-server-auth-GSOF02/dbus-y57Is4p9 1102s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1102s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1102s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 14278 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1102s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1102s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 14278 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1102s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1102s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 14278 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1102s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1102s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 14278 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1102s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1102s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 14278 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1102s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1102s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 14278 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1102s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1102s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 14278 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1102s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1102s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 14278 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1102s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1102s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 14278 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1102s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1102s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 14278 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1102s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1102s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 14278 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1102s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1102s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 14278 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1102s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1102s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 14278 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1102s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1102s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 14278 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1102s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1102s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 14278 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1102s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1102s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 14278 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1102s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1102s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 14278 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1102s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1102s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 14278 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1102s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1102s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 14278 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1102s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1102s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 14278 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1102s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1102s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 14278 1102s ok 4 /gdbus/server-auth/anonymous 1102s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_4VLG02/gdbus/server-auth/external/.dirs/home 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_4VLG02/gdbus/server-auth/external/.dirs/cache 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_4VLG02/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_4VLG02/gdbus/server-auth/external/.dirs/system-config2 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_4VLG02/gdbus/server-auth/external/.dirs/config 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_4VLG02/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_4VLG02/gdbus/server-auth/external/.dirs/system-data2 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_4VLG02/gdbus/server-auth/external/.dirs/data 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_4VLG02/gdbus/server-auth/external/.dirs/state 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_4VLG02/gdbus/server-auth/external/.dirs/runtime 1102s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_4VLG02/gdbus-server-auth-01VH02 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1102s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_4VLG02/gdbus-server-auth-01VH02/dbus-7BKSEI2f 1102s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1102s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1102s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 14278 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1102s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1102s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 14278 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1102s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1102s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 14278 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1102s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1102s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 14278 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1102s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1102s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 14278 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1102s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1102s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 14278 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1102s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1102s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 14278 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1102s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1102s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 14278 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1102s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1102s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 14278 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1102s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1102s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 14278 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1102s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1102s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 14278 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1102s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1102s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 14278 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1102s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1102s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 14278 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1102s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1102s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 14278 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1102s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1102s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 14278 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1102s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1102s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 14278 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1102s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1102s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 14278 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1102s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1102s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 14278 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1102s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1102s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 14278 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1102s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1102s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 14278 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1102s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1102s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 14278 1102s ok 5 /gdbus/server-auth/external 1102s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_4VLG02/gdbus/server-auth/sha1/.dirs/home 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_4VLG02/gdbus/server-auth/sha1/.dirs/cache 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_4VLG02/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_4VLG02/gdbus/server-auth/sha1/.dirs/system-config2 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_4VLG02/gdbus/server-auth/sha1/.dirs/config 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_4VLG02/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_4VLG02/gdbus/server-auth/sha1/.dirs/system-data2 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_4VLG02/gdbus/server-auth/sha1/.dirs/data 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_4VLG02/gdbus/server-auth/sha1/.dirs/state 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_4VLG02/gdbus/server-auth/sha1/.dirs/runtime 1102s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_4VLG02/gdbus-server-auth-V72H02 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false 1102s ok 6 /gdbus/server-auth/sha1 # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 1102s # Start of anonymous tests 1102s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_4VLG02/gdbus/server-auth/anonymous/tcp/.dirs/home 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_4VLG02/gdbus/server-auth/anonymous/tcp/.dirs/cache 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_4VLG02/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_4VLG02/gdbus/server-auth/anonymous/tcp/.dirs/system-config2 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_4VLG02/gdbus/server-auth/anonymous/tcp/.dirs/config 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_4VLG02/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_4VLG02/gdbus/server-auth/anonymous/tcp/.dirs/system-data2 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_4VLG02/gdbus/server-auth/anonymous/tcp/.dirs/data 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_4VLG02/gdbus/server-auth/anonymous/tcp/.dirs/state 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_4VLG02/gdbus/server-auth/anonymous/tcp/.dirs/runtime 1102s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true 1102s ok 7 /gdbus/server-auth/anonymous/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 1102s # End of anonymous tests 1102s # Start of external tests 1102s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_4VLG02/gdbus/server-auth/external/require-same-user/.dirs/home 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_4VLG02/gdbus/server-auth/external/require-same-user/.dirs/cache 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_4VLG02/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_4VLG02/gdbus/server-auth/external/require-same-user/.dirs/system-config2 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_4VLG02/gdbus/server-auth/external/require-same-user/.dirs/config 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_4VLG02/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_4VLG02/gdbus/server-auth/external/require-same-user/.dirs/system-data2 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_4VLG02/gdbus/server-auth/external/require-same-user/.dirs/data 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_4VLG02/gdbus/server-auth/external/require-same-user/.dirs/state 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_4VLG02/gdbus/server-auth/external/require-same-user/.dirs/runtime 1102s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_4VLG02/gdbus-server-auth-NP3H02 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1102s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_4VLG02/gdbus-server-auth-NP3H02/dbus-y7enrCyy 1102s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1102s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1102s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 14278 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1102s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1102s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 14278 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1102s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1102s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 14278 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1102s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1102s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 14278 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1102s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1102s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 14278 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1102s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1102s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 14278 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1102s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1102s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 14278 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1102s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1102s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 14278 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1102s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1102s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 14278 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1102s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1102s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 14278 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1102s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1102s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 14278 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1102s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1102s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 14278 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1102s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1102s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 14278 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1102s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1102s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 14278 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1102s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1102s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 14278 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1102s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1102s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 14278 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1102s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1102s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 14278 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1102s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1102s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 14278 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1102s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1102s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 14278 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1102s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1102s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 14278 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1102s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1102s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14278,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 14278 1102s ok 8 /gdbus/server-auth/external/require-same-user 1102s # End of external tests 1102s # Start of sha1 tests 1102s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_4VLG02/gdbus/server-auth/sha1/tcp/.dirs/home 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_4VLG02/gdbus/server-auth/sha1/tcp/.dirs/cache 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_4VLG02/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_4VLG02/gdbus/server-auth/sha1/tcp/.dirs/system-config2 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_4VLG02/gdbus/server-auth/sha1/tcp/.dirs/config 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_4VLG02/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_4VLG02/gdbus/server-auth/sha1/tcp/.dirs/system-data2 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_4VLG02/gdbus/server-auth/sha1/tcp/.dirs/data 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_4VLG02/gdbus/server-auth/sha1/tcp/.dirs/state 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_4VLG02/gdbus/server-auth/sha1/tcp/.dirs/runtime 1102s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true 1102s ok 9 /gdbus/server-auth/sha1/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 1102s # End of sha1 tests 1102s # End of server-auth tests 1102s # End of gdbus tests 1102s ok - glib/gdbus-server-auth.test 1102s # Running test: glib/protocol.test 1102s TAP version 14 1102s # random seed: R02S0fe91b5c8f418f5e3eb00f68dd194c53 1102s 1..9 1102s # Start of glib tests 1102s # Start of testing tests 1102s # Start of protocol tests 1102s ok 1 /glib/testing/protocol/debug 1102s ok 2 /glib/testing/protocol/info 1102s ok 3 /glib/testing/protocol/message 1102s ok 4 /glib/testing/protocol/warning 1102s ok 5 /glib/testing/protocol/critical 1102s ok 6 /glib/testing/protocol/error 1102s ok 7 /glib/testing/protocol/gtest-message 1102s ok 8 /glib/testing/protocol/test-message 1102s ok 9 /glib/testing/protocol/test-error 1102s # End of protocol tests 1102s # End of testing tests 1102s # End of glib tests 1102s ok - glib/protocol.test 1102s # Running test: glib/simple-async-result.test 1102s TAP version 14 1102s # random seed: R02S04f5f9eedf0554a4e9cfb402201c92a9 1102s 1..2 1102s # Start of gio tests 1102s # Start of simple-async-result tests 1102s ok 1 /gio/simple-async-result/test 1102s # GLib-GIO-DEBUG: GTask 0x63388c09c720 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1102s ok 2 /gio/simple-async-result/valid 1102s # End of simple-async-result tests 1102s # End of gio tests 1102s ok - glib/simple-async-result.test 1102s # Running test: glib/portal-support-none.test 1102s TAP version 14 1102s # random seed: R02S0675dc96fa5a4fd65b0be73bef63d0e9 1102s 1..1 1102s # Start of portal-support tests 1102s ok 1 /portal-support/none 1102s # End of portal-support tests 1102s ok - glib/portal-support-none.test 1102s # Running test: glib/task.test 1102s TAP version 14 1102s # random seed: R02S030e09b452526e7d0851e34037ca0e49 1102s 1..36 1102s # Start of gtask tests 1102s ok 1 /gtask/basic 1102s ok 2 /gtask/error 1102s ok 3 /gtask/error-literal 1102s ok 4 /gtask/error-literal-from-variable 1102s ok 5 /gtask/return-from-same-iteration 1102s ok 6 /gtask/return-from-toplevel 1102s ok 7 /gtask/return-from-anon-thread 1102s ok 8 /gtask/return-from-wrong-thread 1102s ok 9 /gtask/no-callback 1102s ok 10 /gtask/report-error 1102s ok 11 /gtask/priority 1102s ok 12 /gtask/name 1102s ok 13 /gtask/static-name 1102s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1608 1102s ok 14 /gtask/asynchronous-cancellation 1102s ok 15 /gtask/check-cancellable 1102s ok 16 /gtask/return-if-cancelled 1102s ok 17 /gtask/run-in-thread 1102s ok 18 /gtask/run-in-thread-sync 1102s ok 19 /gtask/run-in-thread-priority 1102s ok 20 /gtask/run-in-thread-nested 1103s ok 21 /gtask/run-in-thread-overflow 1103s # slow test /gtask/run-in-thread-overflow executed in 0.51 secs 1103s # GLib-GIO-DEBUG: GTask 0x638269bb3c30 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1103s # GLib-GIO-DEBUG: GTask 0x638269bb4310 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1103s ok 22 /gtask/return-on-cancel 1103s # GLib-GIO-DEBUG: GTask 0x638269bb4230 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1103s ok 23 /gtask/return-on-cancel-sync 1103s # GLib-GIO-DEBUG: GTask 0x638269c22fa0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1103s ok 24 /gtask/return-on-cancel-atomic 1103s ok 25 /gtask/return-pointer 1103s ok 26 /gtask/return-value 1103s ok 27 /gtask/return-prefixed-error 1103s ok 28 /gtask/object-keepalive 1103s ok 29 /gtask/legacy-error 1103s ok 30 /gtask/finalize-without-return 1103s # Start of name tests 1103s ok 31 /gtask/name/macro-wrapper 1103s # End of name tests 1103s # Start of return tests 1103s ok 32 /gtask/return/error-first 1103s ok 33 /gtask/return/value-first 1103s # Start of in-idle tests 1103s ok 34 /gtask/return/in-idle/error-first 1103s ok 35 /gtask/return/in-idle/value-first 1103s # End of in-idle tests 1103s # End of return tests 1103s # Start of attach-source tests 1103s # /gtask/attach-source/set-name summary: Test that attaching a source to a task will set the source?s name if unset 1103s ok 36 /gtask/attach-source/set-name 1103s # End of attach-source tests 1103s # End of gtask tests 1103s ok - glib/task.test 1103s # Running test: glib/module-test-library.test 1103s TAP version 14 1103s # random seed: R02S699cdadf113f76702f2328a095d492b1 1103s 1..3 1103s # Start of module tests 1103s ok 1 /module/basics 1103s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails 1103s ok 2 /module/invalid-libtool-archive 1103s # /module/local-binding summary: Test that binding a library's symbols locally does not add them globally 1103s ok 3 /module/local-binding 1103s # End of module tests 1103s ok - glib/module-test-library.test 1103s # Running test: glib/qdata.test 1103s TAP version 14 1103s # random seed: R02S8f798713ca8c164c7bca6b3e4934eae9 1103s 1..2 1103s # Start of qdata tests 1103s ok 1 /qdata/threaded 1103s ok 2 /qdata/dup 1103s # End of qdata tests 1103s ok - glib/qdata.test 1103s # Running test: glib/contenttype.test 1103s TAP version 14 1103s # random seed: R02Sb3a0e9dd861e1491f6d8ea39da3270cc 1103s 1..13 1103s # Start of contenttype tests 1103s ok 1 /contenttype/guess 1103s ok 2 /contenttype/guess_svg_from_data 1103s ok 3 /contenttype/mime_from_content # SKIP mime from content type test not implemented on UNIX 1103s ok 4 /contenttype/unknown 1103s ok 5 /contenttype/subtype 1103s ok 6 /contenttype/list 1103s ok 7 /contenttype/executable 1103s ok 8 /contenttype/description 1103s ok 9 /contenttype/icon 1103s ok 10 /contenttype/symbolic-icon 1103s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1103s ok 11 /contenttype/tree 1103s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3168 1103s ok 12 /contenttype/tree_invalid_encoding 1103s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=782311 1103s ok 13 /contenttype/test_type_is_a_special_case 1103s # End of contenttype tests 1103s ok - glib/contenttype.test 1103s # Running test: glib/macros-c-89.test 1103s TAP version 14 1103s # random seed: R02S2bfbd04891148cb8a3c1c23a52db016b 1103s 1..4 1103s # Start of C tests 1103s ok 1 /C/standard-89 1103s # End of C tests 1103s # Start of alignof tests 1103s ok 2 /alignof/fallback 1103s # End of alignof tests 1103s # Start of assert tests 1103s ok 3 /assert/static 1103s # End of assert tests 1103s # Start of struct tests 1103s ok 4 /struct/sizeof_member 1103s # End of struct tests 1103s ok - glib/macros-c-89.test 1103s # Running test: glib/utils-c-99.test 1103s TAP version 14 1103s # random seed: R02Se95931a244d14b14fb45b34b03d7ce3e 1103s 1..40 1103s # Start of utils tests 1103s ok 1 /utils/language-names 1103s ok 2 /utils/locale-variants 1103s ok 3 /utils/version 1103s ok 4 /utils/appname 1103s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1103s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1103s ok 5 /utils/prgname-thread-safety 1103s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1103s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1103s ok 6 /utils/tmpdir 1103s ok 7 /utils/basic_bits 1103s ok 8 /utils/bits 1103s ok 9 /utils/swap 1103s ok 10 /utils/find-program 1103s ok 11 /utils/find-program-for-path 1103s ok 12 /utils/debug 1103s ok 13 /utils/codeset 1103s ok 14 /utils/codeset2 1103s ok 15 /utils/console-charset 1103s ok 16 /utils/gettext 1103s ok 17 /utils/username 1103s ok 18 /utils/realname 1103s ok 19 /utils/hostname 1103s ok 20 /utils/xdgdirs 1103s ok 21 /utils/specialdir 1103s # NAME: Ubuntu 1103s ok 22 /utils/os-info 1103s ok 23 /utils/clear-pointer 1103s ok 24 /utils/clear-pointer-cast 1103s ok 25 /utils/take-pointer 1103s ok 26 /utils/clear-source 1103s ok 27 /utils/misc-mem 1103s # /utils/aligned-mem summary: Aligned memory allocator 1103s # Alignment must not be zero 1103s # Alignment must be a power of two 1103s # Alignment must be a multiple of sizeof(void*) 1103s ok 28 /utils/aligned-mem 1103s # /utils/free-sized summary: Check that g_free_sized() works 1103s ok 29 /utils/free-sized 1103s ok 30 /utils/nullify 1103s ok 31 /utils/atexit 1103s ok 32 /utils/check-setuid 1103s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1103s ok 33 /utils/int-limits 1103s ok 34 /utils/clear-list 1103s ok 35 /utils/clear-slist 1103s # Start of specialdir tests 1103s ok 36 /utils/specialdir/desktop 1103s # End of specialdir tests 1103s # Start of clear-pointer tests 1103s ok 37 /utils/clear-pointer/side-effects 1103s # End of clear-pointer tests 1103s # Start of aligned-mem tests 1103s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1103s ok 38 /utils/aligned-mem/alignment 1103s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1103s ok 39 /utils/aligned-mem/zeroed 1103s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1103s ok 40 /utils/aligned-mem/free-sized 1103s # Start of subprocess tests 1103s # End of subprocess tests 1103s # End of aligned-mem tests 1103s # End of utils tests 1103s ok - glib/utils-c-99.test 1103s # Running test: glib/atomic.test 1103s TAP version 14 1103s # random seed: R02S64ebd582b657e118f129bc4bc1115191 1103s 1..2 1103s # Start of atomic tests 1103s ok 1 /atomic/types 1103s ok 2 /atomic/threaded 1103s # End of atomic tests 1103s ok - glib/atomic.test 1103s # Running test: glib/atomic-c-11.test 1103s TAP version 14 1103s # random seed: R02S20d7b6498830489f61c79a610fa73a59 1103s 1..2 1103s # Start of atomic tests 1103s ok 1 /atomic/types 1103s ok 2 /atomic/threaded 1103s # End of atomic tests 1103s ok - glib/atomic-c-11.test 1103s # Running test: glib/relation.test 1103s TAP version 14 1103s # random seed: R02Se8784b55c2f09268e01abbfff38be3ec 1103s 1..1 1103s # Start of glib tests 1103s ok 1 /glib/relation 1103s # End of glib tests 1103s ok - glib/relation.test 1103s # Running test: glib/deftype.test 1103s ok - glib/deftype.test 1103s # Running test: glib/gdbus-test-codegen-old.test 1103s TAP version 14 1103s # random seed: R02Sa1882beec81f9153676995a696963923 1103s 1..8 1103s # Start of gdbus tests 1103s # Start of codegen tests 1103s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_2ND7Z2/gdbus/codegen/annotations/.dirs/home 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_2ND7Z2/gdbus/codegen/annotations/.dirs/cache 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_2ND7Z2/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_2ND7Z2/gdbus/codegen/annotations/.dirs/system-config2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_2ND7Z2/gdbus/codegen/annotations/.dirs/config 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_2ND7Z2/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_2ND7Z2/gdbus/codegen/annotations/.dirs/system-data2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_2ND7Z2/gdbus/codegen/annotations/.dirs/data 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_2ND7Z2/gdbus/codegen/annotations/.dirs/state 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_2ND7Z2/gdbus/codegen/annotations/.dirs/runtime 1103s ok 1 /gdbus/codegen/annotations 1103s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_2ND7Z2/gdbus/codegen/interface_stability/.dirs/home 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_2ND7Z2/gdbus/codegen/interface_stability/.dirs/cache 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_2ND7Z2/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_2ND7Z2/gdbus/codegen/interface_stability/.dirs/system-config2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_2ND7Z2/gdbus/codegen/interface_stability/.dirs/config 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_2ND7Z2/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_2ND7Z2/gdbus/codegen/interface_stability/.dirs/system-data2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_2ND7Z2/gdbus/codegen/interface_stability/.dirs/data 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_2ND7Z2/gdbus/codegen/interface_stability/.dirs/state 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_2ND7Z2/gdbus/codegen/interface_stability/.dirs/runtime 1103s ok 2 /gdbus/codegen/interface_stability 1103s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_2ND7Z2/gdbus/codegen/object-manager/.dirs/home 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_2ND7Z2/gdbus/codegen/object-manager/.dirs/cache 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_2ND7Z2/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_2ND7Z2/gdbus/codegen/object-manager/.dirs/system-config2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_2ND7Z2/gdbus/codegen/object-manager/.dirs/config 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_2ND7Z2/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_2ND7Z2/gdbus/codegen/object-manager/.dirs/system-data2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_2ND7Z2/gdbus/codegen/object-manager/.dirs/data 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_2ND7Z2/gdbus/codegen/object-manager/.dirs/state 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_2ND7Z2/gdbus/codegen/object-manager/.dirs/runtime 1103s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1103s ok 3 /gdbus/codegen/object-manager 1103s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_2ND7Z2/gdbus/codegen/property-naming/.dirs/home 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_2ND7Z2/gdbus/codegen/property-naming/.dirs/cache 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_2ND7Z2/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_2ND7Z2/gdbus/codegen/property-naming/.dirs/system-config2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_2ND7Z2/gdbus/codegen/property-naming/.dirs/config 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_2ND7Z2/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_2ND7Z2/gdbus/codegen/property-naming/.dirs/system-data2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_2ND7Z2/gdbus/codegen/property-naming/.dirs/data 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_2ND7Z2/gdbus/codegen/property-naming/.dirs/state 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_2ND7Z2/gdbus/codegen/property-naming/.dirs/runtime 1103s ok 4 /gdbus/codegen/property-naming 1103s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_2ND7Z2/gdbus/codegen/autocleanups/.dirs/home 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_2ND7Z2/gdbus/codegen/autocleanups/.dirs/cache 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_2ND7Z2/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_2ND7Z2/gdbus/codegen/autocleanups/.dirs/system-config2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_2ND7Z2/gdbus/codegen/autocleanups/.dirs/config 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_2ND7Z2/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_2ND7Z2/gdbus/codegen/autocleanups/.dirs/system-data2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_2ND7Z2/gdbus/codegen/autocleanups/.dirs/data 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_2ND7Z2/gdbus/codegen/autocleanups/.dirs/state 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_2ND7Z2/gdbus/codegen/autocleanups/.dirs/runtime 1103s ok 5 /gdbus/codegen/autocleanups 1103s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_2ND7Z2/gdbus/codegen/deprecations/.dirs/home 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_2ND7Z2/gdbus/codegen/deprecations/.dirs/cache 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_2ND7Z2/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_2ND7Z2/gdbus/codegen/deprecations/.dirs/system-config2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_2ND7Z2/gdbus/codegen/deprecations/.dirs/config 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_2ND7Z2/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_2ND7Z2/gdbus/codegen/deprecations/.dirs/system-data2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_2ND7Z2/gdbus/codegen/deprecations/.dirs/data 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_2ND7Z2/gdbus/codegen/deprecations/.dirs/state 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_2ND7Z2/gdbus/codegen/deprecations/.dirs/runtime 1103s ok 6 /gdbus/codegen/deprecations 1103s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_2ND7Z2/gdbus/codegen/standalone-interface-info/.dirs/home 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_2ND7Z2/gdbus/codegen/standalone-interface-info/.dirs/cache 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_2ND7Z2/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_2ND7Z2/gdbus/codegen/standalone-interface-info/.dirs/system-config2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_2ND7Z2/gdbus/codegen/standalone-interface-info/.dirs/config 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_2ND7Z2/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_2ND7Z2/gdbus/codegen/standalone-interface-info/.dirs/system-data2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_2ND7Z2/gdbus/codegen/standalone-interface-info/.dirs/data 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_2ND7Z2/gdbus/codegen/standalone-interface-info/.dirs/state 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_2ND7Z2/gdbus/codegen/standalone-interface-info/.dirs/runtime 1103s ok 7 /gdbus/codegen/standalone-interface-info 1103s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_2ND7Z2/gdbus/codegen/unix-fd-list/.dirs/home 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_2ND7Z2/gdbus/codegen/unix-fd-list/.dirs/cache 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_2ND7Z2/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_2ND7Z2/gdbus/codegen/unix-fd-list/.dirs/system-config2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_2ND7Z2/gdbus/codegen/unix-fd-list/.dirs/config 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_2ND7Z2/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_2ND7Z2/gdbus/codegen/unix-fd-list/.dirs/system-data2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_2ND7Z2/gdbus/codegen/unix-fd-list/.dirs/data 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_2ND7Z2/gdbus/codegen/unix-fd-list/.dirs/state 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_2ND7Z2/gdbus/codegen/unix-fd-list/.dirs/runtime 1103s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 1103s ok 8 /gdbus/codegen/unix-fd-list 1103s # End of codegen tests 1103s # End of gdbus tests 1103s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1103s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1103s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1103s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1103s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1103s ok - glib/gdbus-test-codegen-old.test 1103s # Running test: glib/gdbus-proxy-unique-name.test 1103s TAP version 14 1103s # random seed: R02S375e8b04e808a1c6e9270077b3394fca 1103s 1..1 1103s # Start of gdbus tests 1103s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-unique-name_JUI9Z2/gdbus/proxy-unique-name/.dirs/home 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-unique-name_JUI9Z2/gdbus/proxy-unique-name/.dirs/cache 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-unique-name_JUI9Z2/gdbus/proxy-unique-name/.dirs/system-config1:/tmp/test_gdbus-proxy-unique-name_JUI9Z2/gdbus/proxy-unique-name/.dirs/system-config2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-unique-name_JUI9Z2/gdbus/proxy-unique-name/.dirs/config 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-unique-name_JUI9Z2/gdbus/proxy-unique-name/.dirs/system-data1:/tmp/test_gdbus-proxy-unique-name_JUI9Z2/gdbus/proxy-unique-name/.dirs/system-data2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-unique-name_JUI9Z2/gdbus/proxy-unique-name/.dirs/data 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-unique-name_JUI9Z2/gdbus/proxy-unique-name/.dirs/state 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-unique-name_JUI9Z2/gdbus/proxy-unique-name/.dirs/runtime 1103s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1103s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1103s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1103s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1103s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1103s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1103s ok 1 /gdbus/proxy-unique-name 1103s # End of gdbus tests 1103s ok - glib/gdbus-proxy-unique-name.test 1103s # Running test: glib/contexts.test 1103s TAP version 14 1103s # random seed: R02S0d12dda7cdf3a4fa177fd589b0a5c47b 1103s 1..5 1103s # Start of gio tests 1103s # Start of contexts tests 1103s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1103s ok 1 /gio/contexts/thread-independence 1103s ok 2 /gio/contexts/context-independence 1103s # Start of context-specific tests 1103s ok 3 /gio/contexts/context-specific/identity 1103s ok 4 /gio/contexts/context-specific/emit 1103s ok 5 /gio/contexts/context-specific/emit-and-unref 1103s # End of context-specific tests 1103s # End of contexts tests 1103s # End of gio tests 1103s ok - glib/contexts.test 1103s # Running test: glib/pathbuf.test 1103s TAP version 14 1103s # random seed: R02Scfd9874e80994e6094759436a9c46a7d 1103s 1..3 1103s # Start of pathbuf tests 1103s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_ONH4Z2/pathbuf/init/.dirs/home 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_ONH4Z2/pathbuf/init/.dirs/cache 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_ONH4Z2/pathbuf/init/.dirs/system-config1:/tmp/test_pathbuf_ONH4Z2/pathbuf/init/.dirs/system-config2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_ONH4Z2/pathbuf/init/.dirs/config 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_ONH4Z2/pathbuf/init/.dirs/system-data1:/tmp/test_pathbuf_ONH4Z2/pathbuf/init/.dirs/system-data2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_ONH4Z2/pathbuf/init/.dirs/data 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_ONH4Z2/pathbuf/init/.dirs/state 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_ONH4Z2/pathbuf/init/.dirs/runtime 1103s # Initializing empty path buf 1103s # Initializing with empty path 1103s # Initializing with full path 1103s # Initializing with no path 1103s # Allocating GPathBuf on the heap 1103s ok 1 /pathbuf/init 1103s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_ONH4Z2/pathbuf/push-pop/.dirs/home 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_ONH4Z2/pathbuf/push-pop/.dirs/cache 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_ONH4Z2/pathbuf/push-pop/.dirs/system-config1:/tmp/test_pathbuf_ONH4Z2/pathbuf/push-pop/.dirs/system-config2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_ONH4Z2/pathbuf/push-pop/.dirs/config 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_ONH4Z2/pathbuf/push-pop/.dirs/system-data1:/tmp/test_pathbuf_ONH4Z2/pathbuf/push-pop/.dirs/system-data2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_ONH4Z2/pathbuf/push-pop/.dirs/data 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_ONH4Z2/pathbuf/push-pop/.dirs/state 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_ONH4Z2/pathbuf/push-pop/.dirs/runtime 1103s # Pushing relative path component 1103s # Pushing absolute path component 1103s # Popping a path component 1103s # Can't pop the last element of a path buffer 1103s ok 2 /pathbuf/push-pop 1103s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_ONH4Z2/pathbuf/filename-extension/.dirs/home 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_ONH4Z2/pathbuf/filename-extension/.dirs/cache 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_ONH4Z2/pathbuf/filename-extension/.dirs/system-config1:/tmp/test_pathbuf_ONH4Z2/pathbuf/filename-extension/.dirs/system-config2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_ONH4Z2/pathbuf/filename-extension/.dirs/config 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_ONH4Z2/pathbuf/filename-extension/.dirs/system-data1:/tmp/test_pathbuf_ONH4Z2/pathbuf/filename-extension/.dirs/system-data2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_ONH4Z2/pathbuf/filename-extension/.dirs/data 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_ONH4Z2/pathbuf/filename-extension/.dirs/state 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_ONH4Z2/pathbuf/filename-extension/.dirs/runtime 1103s ok 3 /pathbuf/filename-extension 1103s # End of pathbuf tests 1103s ok - glib/pathbuf.test 1103s # Running test: glib/gdbus-address-get-session.test 1103s TAP version 14 1103s # random seed: R02Sd5fba47566f57392b2e772e71a434384 1103s 1..2 1103s # Start of gdbus tests 1103s ok 1 /gdbus/x11-autolaunch 1103s ok 2 /gdbus/xdg-runtime 1103s # End of gdbus tests 1103s ok - glib/gdbus-address-get-session.test 1103s # Running test: glib/ifaceproperties.test 1103s TAP version 14 1103s # random seed: R02S044b92bfe161374b12b27155684a88c2 1103s 1..7 1103s # Start of interface tests 1103s # Start of properties tests 1103s ok 1 /interface/properties/set 1103s ok 2 /interface/properties/notify 1103s ok 3 /interface/properties/find-overridden 1103s ok 4 /interface/properties/list-overridden 1103s ok 5 /interface/properties/find-interface 1103s ok 6 /interface/properties/list-interface 1103s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=637738 1103s ok 7 /interface/properties/not-overridden 1103s # End of properties tests 1103s # End of interface tests 1103s ok - glib/ifaceproperties.test 1103s # Running test: glib/file.test 1103s TAP version 14 1103s # random seed: R02S40afd7250f28cf6e0699a6f1bda538d7 1103s 1..55 1103s # Start of file tests 1103s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6XH6Z2/file/basic/.dirs/home 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6XH6Z2/file/basic/.dirs/cache 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6XH6Z2/file/basic/.dirs/system-config1:/tmp/test_file_6XH6Z2/file/basic/.dirs/system-config2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6XH6Z2/file/basic/.dirs/config 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6XH6Z2/file/basic/.dirs/system-data1:/tmp/test_file_6XH6Z2/file/basic/.dirs/system-data2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6XH6Z2/file/basic/.dirs/data 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6XH6Z2/file/basic/.dirs/state 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6XH6Z2/file/basic/.dirs/runtime 1103s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1103s ok 1 /file/basic 1103s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6XH6Z2/file/build-filename/.dirs/home 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6XH6Z2/file/build-filename/.dirs/cache 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6XH6Z2/file/build-filename/.dirs/system-config1:/tmp/test_file_6XH6Z2/file/build-filename/.dirs/system-config2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6XH6Z2/file/build-filename/.dirs/config 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6XH6Z2/file/build-filename/.dirs/system-data1:/tmp/test_file_6XH6Z2/file/build-filename/.dirs/system-data2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6XH6Z2/file/build-filename/.dirs/data 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6XH6Z2/file/build-filename/.dirs/state 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6XH6Z2/file/build-filename/.dirs/runtime 1103s ok 2 /file/build-filename 1103s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6XH6Z2/file/build-filenamev/.dirs/home 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6XH6Z2/file/build-filenamev/.dirs/cache 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6XH6Z2/file/build-filenamev/.dirs/system-config1:/tmp/test_file_6XH6Z2/file/build-filenamev/.dirs/system-config2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6XH6Z2/file/build-filenamev/.dirs/config 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6XH6Z2/file/build-filenamev/.dirs/system-data1:/tmp/test_file_6XH6Z2/file/build-filenamev/.dirs/system-data2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6XH6Z2/file/build-filenamev/.dirs/data 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6XH6Z2/file/build-filenamev/.dirs/state 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6XH6Z2/file/build-filenamev/.dirs/runtime 1103s ok 3 /file/build-filenamev 1103s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6XH6Z2/file/parent/.dirs/home 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6XH6Z2/file/parent/.dirs/cache 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6XH6Z2/file/parent/.dirs/system-config1:/tmp/test_file_6XH6Z2/file/parent/.dirs/system-config2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6XH6Z2/file/parent/.dirs/config 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6XH6Z2/file/parent/.dirs/system-data1:/tmp/test_file_6XH6Z2/file/parent/.dirs/system-data2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6XH6Z2/file/parent/.dirs/data 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6XH6Z2/file/parent/.dirs/state 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6XH6Z2/file/parent/.dirs/runtime 1103s ok 4 /file/parent 1103s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6XH6Z2/file/child/.dirs/home 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6XH6Z2/file/child/.dirs/cache 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6XH6Z2/file/child/.dirs/system-config1:/tmp/test_file_6XH6Z2/file/child/.dirs/system-config2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6XH6Z2/file/child/.dirs/config 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6XH6Z2/file/child/.dirs/system-data1:/tmp/test_file_6XH6Z2/file/child/.dirs/system-data2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6XH6Z2/file/child/.dirs/data 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6XH6Z2/file/child/.dirs/state 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6XH6Z2/file/child/.dirs/runtime 1103s ok 5 /file/child 1103s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6XH6Z2/file/empty-path/.dirs/home 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6XH6Z2/file/empty-path/.dirs/cache 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6XH6Z2/file/empty-path/.dirs/system-config1:/tmp/test_file_6XH6Z2/file/empty-path/.dirs/system-config2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6XH6Z2/file/empty-path/.dirs/config 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6XH6Z2/file/empty-path/.dirs/system-data1:/tmp/test_file_6XH6Z2/file/empty-path/.dirs/system-data2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6XH6Z2/file/empty-path/.dirs/data 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6XH6Z2/file/empty-path/.dirs/state 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6XH6Z2/file/empty-path/.dirs/runtime 1103s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2328 1103s # /file/empty-path summary: Check that creating a file with an empty path results in errors 1103s ok 6 /file/empty-path 1103s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6XH6Z2/file/type/.dirs/home 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6XH6Z2/file/type/.dirs/cache 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6XH6Z2/file/type/.dirs/system-config1:/tmp/test_file_6XH6Z2/file/type/.dirs/system-config2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6XH6Z2/file/type/.dirs/config 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6XH6Z2/file/type/.dirs/system-data1:/tmp/test_file_6XH6Z2/file/type/.dirs/system-data2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6XH6Z2/file/type/.dirs/data 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6XH6Z2/file/type/.dirs/state 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6XH6Z2/file/type/.dirs/runtime 1103s ok 7 /file/type 1103s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6XH6Z2/file/parse-name/.dirs/home 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6XH6Z2/file/parse-name/.dirs/cache 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6XH6Z2/file/parse-name/.dirs/system-config1:/tmp/test_file_6XH6Z2/file/parse-name/.dirs/system-config2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6XH6Z2/file/parse-name/.dirs/config 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6XH6Z2/file/parse-name/.dirs/system-data1:/tmp/test_file_6XH6Z2/file/parse-name/.dirs/system-data2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6XH6Z2/file/parse-name/.dirs/data 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6XH6Z2/file/parse-name/.dirs/state 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6XH6Z2/file/parse-name/.dirs/runtime 1103s ok 8 /file/parse-name 1103s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6XH6Z2/file/replace-load/.dirs/home 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6XH6Z2/file/replace-load/.dirs/cache 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6XH6Z2/file/replace-load/.dirs/system-config1:/tmp/test_file_6XH6Z2/file/replace-load/.dirs/system-config2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6XH6Z2/file/replace-load/.dirs/config 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6XH6Z2/file/replace-load/.dirs/system-data1:/tmp/test_file_6XH6Z2/file/replace-load/.dirs/system-data2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6XH6Z2/file/replace-load/.dirs/data 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6XH6Z2/file/replace-load/.dirs/state 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6XH6Z2/file/replace-load/.dirs/runtime 1103s ok 9 /file/replace-load 1103s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6XH6Z2/file/replace-cancel/.dirs/home 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6XH6Z2/file/replace-cancel/.dirs/cache 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6XH6Z2/file/replace-cancel/.dirs/system-config1:/tmp/test_file_6XH6Z2/file/replace-cancel/.dirs/system-config2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6XH6Z2/file/replace-cancel/.dirs/config 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6XH6Z2/file/replace-cancel/.dirs/system-data1:/tmp/test_file_6XH6Z2/file/replace-cancel/.dirs/system-data2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6XH6Z2/file/replace-cancel/.dirs/data 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6XH6Z2/file/replace-cancel/.dirs/state 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6XH6Z2/file/replace-cancel/.dirs/runtime 1103s # Bug Reference: https://bugzilla.gnome.org/629301 1103s ok 10 /file/replace-cancel 1103s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6XH6Z2/file/replace-symlink/.dirs/home 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6XH6Z2/file/replace-symlink/.dirs/cache 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6XH6Z2/file/replace-symlink/.dirs/system-config1:/tmp/test_file_6XH6Z2/file/replace-symlink/.dirs/system-config2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6XH6Z2/file/replace-symlink/.dirs/config 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6XH6Z2/file/replace-symlink/.dirs/system-data1:/tmp/test_file_6XH6Z2/file/replace-symlink/.dirs/system-data2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6XH6Z2/file/replace-symlink/.dirs/data 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6XH6Z2/file/replace-symlink/.dirs/state 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6XH6Z2/file/replace-symlink/.dirs/runtime 1103s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2325 1103s # /file/replace-symlink summary: Test that G_FILE_CREATE_REPLACE_DESTINATION doesn’t follow symlinks 1103s # Using temporary directory /tmp/test_file_6XH6Z2/g_file_replace_symlink_4MK6Z2 1103s ok 11 /file/replace-symlink 1103s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6XH6Z2/file/async-new-tmp/.dirs/home 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6XH6Z2/file/async-new-tmp/.dirs/cache 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6XH6Z2/file/async-new-tmp/.dirs/system-config1:/tmp/test_file_6XH6Z2/file/async-new-tmp/.dirs/system-config2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6XH6Z2/file/async-new-tmp/.dirs/config 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6XH6Z2/file/async-new-tmp/.dirs/system-data1:/tmp/test_file_6XH6Z2/file/async-new-tmp/.dirs/system-data2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6XH6Z2/file/async-new-tmp/.dirs/data 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6XH6Z2/file/async-new-tmp/.dirs/state 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6XH6Z2/file/async-new-tmp/.dirs/runtime 1103s ok 12 /file/async-new-tmp 1103s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6XH6Z2/file/async-new-tmp-dir/.dirs/home 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6XH6Z2/file/async-new-tmp-dir/.dirs/cache 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6XH6Z2/file/async-new-tmp-dir/.dirs/system-config1:/tmp/test_file_6XH6Z2/file/async-new-tmp-dir/.dirs/system-config2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6XH6Z2/file/async-new-tmp-dir/.dirs/config 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6XH6Z2/file/async-new-tmp-dir/.dirs/system-data1:/tmp/test_file_6XH6Z2/file/async-new-tmp-dir/.dirs/system-data2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6XH6Z2/file/async-new-tmp-dir/.dirs/data 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6XH6Z2/file/async-new-tmp-dir/.dirs/state 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6XH6Z2/file/async-new-tmp-dir/.dirs/runtime 1103s ok 13 /file/async-new-tmp-dir 1103s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6XH6Z2/file/async-delete/.dirs/home 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6XH6Z2/file/async-delete/.dirs/cache 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6XH6Z2/file/async-delete/.dirs/system-config1:/tmp/test_file_6XH6Z2/file/async-delete/.dirs/system-config2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6XH6Z2/file/async-delete/.dirs/config 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6XH6Z2/file/async-delete/.dirs/system-data1:/tmp/test_file_6XH6Z2/file/async-delete/.dirs/system-data2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6XH6Z2/file/async-delete/.dirs/data 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6XH6Z2/file/async-delete/.dirs/state 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6XH6Z2/file/async-delete/.dirs/runtime 1103s ok 14 /file/async-delete 1103s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6XH6Z2/file/async-make-symlink/.dirs/home 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6XH6Z2/file/async-make-symlink/.dirs/cache 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6XH6Z2/file/async-make-symlink/.dirs/system-config1:/tmp/test_file_6XH6Z2/file/async-make-symlink/.dirs/system-config2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6XH6Z2/file/async-make-symlink/.dirs/config 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6XH6Z2/file/async-make-symlink/.dirs/system-data1:/tmp/test_file_6XH6Z2/file/async-make-symlink/.dirs/system-data2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6XH6Z2/file/async-make-symlink/.dirs/data 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6XH6Z2/file/async-make-symlink/.dirs/state 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6XH6Z2/file/async-make-symlink/.dirs/runtime 1103s ok 15 /file/async-make-symlink 1103s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6XH6Z2/file/copy-preserve-mode/.dirs/home 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6XH6Z2/file/copy-preserve-mode/.dirs/cache 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6XH6Z2/file/copy-preserve-mode/.dirs/system-config1:/tmp/test_file_6XH6Z2/file/copy-preserve-mode/.dirs/system-config2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6XH6Z2/file/copy-preserve-mode/.dirs/config 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6XH6Z2/file/copy-preserve-mode/.dirs/system-data1:/tmp/test_file_6XH6Z2/file/copy-preserve-mode/.dirs/system-data2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6XH6Z2/file/copy-preserve-mode/.dirs/data 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6XH6Z2/file/copy-preserve-mode/.dirs/state 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6XH6Z2/file/copy-preserve-mode/.dirs/runtime 1103s # Current umask: 2 1103s # Vector 0 1103s # Vector 1 1103s # Vector 2 1103s # Vector 3 1103s # Vector 4 1103s # Vector 5 1103s # Vector 6 1103s # Vector 7 1103s # Vector 8 1103s # Vector 9 1103s # Vector 10 1103s ok 16 /file/copy-preserve-mode 1103s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6XH6Z2/file/copy-async-with-closures/.dirs/home 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6XH6Z2/file/copy-async-with-closures/.dirs/cache 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6XH6Z2/file/copy-async-with-closures/.dirs/system-config1:/tmp/test_file_6XH6Z2/file/copy-async-with-closures/.dirs/system-config2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6XH6Z2/file/copy-async-with-closures/.dirs/config 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6XH6Z2/file/copy-async-with-closures/.dirs/system-data1:/tmp/test_file_6XH6Z2/file/copy-async-with-closures/.dirs/system-data2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6XH6Z2/file/copy-async-with-closures/.dirs/data 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6XH6Z2/file/copy-async-with-closures/.dirs/state 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6XH6Z2/file/copy-async-with-closures/.dirs/runtime 1103s ok 17 /file/copy-async-with-closures 1103s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6XH6Z2/file/measure/.dirs/home 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6XH6Z2/file/measure/.dirs/cache 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6XH6Z2/file/measure/.dirs/system-config1:/tmp/test_file_6XH6Z2/file/measure/.dirs/system-config2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6XH6Z2/file/measure/.dirs/config 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6XH6Z2/file/measure/.dirs/system-data1:/tmp/test_file_6XH6Z2/file/measure/.dirs/system-data2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6XH6Z2/file/measure/.dirs/data 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6XH6Z2/file/measure/.dirs/state 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6XH6Z2/file/measure/.dirs/runtime 1103s ok 18 /file/measure 1103s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6XH6Z2/file/measure-async/.dirs/home 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6XH6Z2/file/measure-async/.dirs/cache 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6XH6Z2/file/measure-async/.dirs/system-config1:/tmp/test_file_6XH6Z2/file/measure-async/.dirs/system-config2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6XH6Z2/file/measure-async/.dirs/config 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6XH6Z2/file/measure-async/.dirs/system-data1:/tmp/test_file_6XH6Z2/file/measure-async/.dirs/system-data2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6XH6Z2/file/measure-async/.dirs/data 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6XH6Z2/file/measure-async/.dirs/state 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6XH6Z2/file/measure-async/.dirs/runtime 1103s ok 19 /file/measure-async 1103s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6XH6Z2/file/load-bytes/.dirs/home 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6XH6Z2/file/load-bytes/.dirs/cache 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6XH6Z2/file/load-bytes/.dirs/system-config1:/tmp/test_file_6XH6Z2/file/load-bytes/.dirs/system-config2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6XH6Z2/file/load-bytes/.dirs/config 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6XH6Z2/file/load-bytes/.dirs/system-data1:/tmp/test_file_6XH6Z2/file/load-bytes/.dirs/system-data2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6XH6Z2/file/load-bytes/.dirs/data 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6XH6Z2/file/load-bytes/.dirs/state 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6XH6Z2/file/load-bytes/.dirs/runtime 1103s ok 20 /file/load-bytes 1103s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6XH6Z2/file/load-bytes-async/.dirs/home 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6XH6Z2/file/load-bytes-async/.dirs/cache 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6XH6Z2/file/load-bytes-async/.dirs/system-config1:/tmp/test_file_6XH6Z2/file/load-bytes-async/.dirs/system-config2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6XH6Z2/file/load-bytes-async/.dirs/config 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6XH6Z2/file/load-bytes-async/.dirs/system-data1:/tmp/test_file_6XH6Z2/file/load-bytes-async/.dirs/system-data2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6XH6Z2/file/load-bytes-async/.dirs/data 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6XH6Z2/file/load-bytes-async/.dirs/state 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6XH6Z2/file/load-bytes-async/.dirs/runtime 1103s ok 21 /file/load-bytes-async 1103s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6XH6Z2/file/load-bytes-4gb/.dirs/home 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6XH6Z2/file/load-bytes-4gb/.dirs/cache 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6XH6Z2/file/load-bytes-4gb/.dirs/system-config1:/tmp/test_file_6XH6Z2/file/load-bytes-4gb/.dirs/system-config2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6XH6Z2/file/load-bytes-4gb/.dirs/config 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6XH6Z2/file/load-bytes-4gb/.dirs/system-data1:/tmp/test_file_6XH6Z2/file/load-bytes-4gb/.dirs/system-data2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6XH6Z2/file/load-bytes-4gb/.dirs/data 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6XH6Z2/file/load-bytes-4gb/.dirs/state 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6XH6Z2/file/load-bytes-4gb/.dirs/runtime 1103s ok 22 /file/load-bytes-4gb # SKIP Skipping slow >4GB file test 1103s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6XH6Z2/file/load-contents-4gb/.dirs/home 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6XH6Z2/file/load-contents-4gb/.dirs/cache 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6XH6Z2/file/load-contents-4gb/.dirs/system-config1:/tmp/test_file_6XH6Z2/file/load-contents-4gb/.dirs/system-config2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6XH6Z2/file/load-contents-4gb/.dirs/config 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6XH6Z2/file/load-contents-4gb/.dirs/system-data1:/tmp/test_file_6XH6Z2/file/load-contents-4gb/.dirs/system-data2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6XH6Z2/file/load-contents-4gb/.dirs/data 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6XH6Z2/file/load-contents-4gb/.dirs/state 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6XH6Z2/file/load-contents-4gb/.dirs/runtime 1103s ok 23 /file/load-contents-4gb # SKIP Skipping slow >4GB file test 1103s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6XH6Z2/file/load-contents-4gb-async/.dirs/home 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6XH6Z2/file/load-contents-4gb-async/.dirs/cache 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6XH6Z2/file/load-contents-4gb-async/.dirs/system-config1:/tmp/test_file_6XH6Z2/file/load-contents-4gb-async/.dirs/system-config2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6XH6Z2/file/load-contents-4gb-async/.dirs/config 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6XH6Z2/file/load-contents-4gb-async/.dirs/system-data1:/tmp/test_file_6XH6Z2/file/load-contents-4gb-async/.dirs/system-data2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6XH6Z2/file/load-contents-4gb-async/.dirs/data 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6XH6Z2/file/load-contents-4gb-async/.dirs/state 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6XH6Z2/file/load-contents-4gb-async/.dirs/runtime 1103s ok 24 /file/load-contents-4gb-async # SKIP Skipping slow >4GB file test 1103s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6XH6Z2/file/writev/.dirs/home 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6XH6Z2/file/writev/.dirs/cache 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6XH6Z2/file/writev/.dirs/system-config1:/tmp/test_file_6XH6Z2/file/writev/.dirs/system-config2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6XH6Z2/file/writev/.dirs/config 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6XH6Z2/file/writev/.dirs/system-data1:/tmp/test_file_6XH6Z2/file/writev/.dirs/system-data2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6XH6Z2/file/writev/.dirs/data 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6XH6Z2/file/writev/.dirs/state 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6XH6Z2/file/writev/.dirs/runtime 1103s ok 25 /file/writev 1103s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6XH6Z2/file/build-attribute-list-for-copy/.dirs/home 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6XH6Z2/file/build-attribute-list-for-copy/.dirs/cache 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6XH6Z2/file/build-attribute-list-for-copy/.dirs/system-config1:/tmp/test_file_6XH6Z2/file/build-attribute-list-for-copy/.dirs/system-config2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6XH6Z2/file/build-attribute-list-for-copy/.dirs/config 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6XH6Z2/file/build-attribute-list-for-copy/.dirs/system-data1:/tmp/test_file_6XH6Z2/file/build-attribute-list-for-copy/.dirs/system-data2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6XH6Z2/file/build-attribute-list-for-copy/.dirs/data 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6XH6Z2/file/build-attribute-list-for-copy/.dirs/state 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6XH6Z2/file/build-attribute-list-for-copy/.dirs/runtime 1103s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,unix::mode,xattr::* 1103s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,xattr::* 1103s # 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::* 1103s # 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::* 1103s # Attributes for copy: standard::size,time::access,time::access-nsec,time::access-usec,unix::gid,unix::mode,unix::uid,xattr::*,xattr-sys::* 1103s # Attributes for copy: standard::size,xattr::* 1103s # Attributes for copy: standard::size,unix::mode,xattr::* 1103s ok 26 /file/build-attribute-list-for-copy 1103s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6XH6Z2/file/move_async/.dirs/home 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6XH6Z2/file/move_async/.dirs/cache 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6XH6Z2/file/move_async/.dirs/system-config1:/tmp/test_file_6XH6Z2/file/move_async/.dirs/system-config2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6XH6Z2/file/move_async/.dirs/config 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6XH6Z2/file/move_async/.dirs/system-data1:/tmp/test_file_6XH6Z2/file/move_async/.dirs/system-data2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6XH6Z2/file/move_async/.dirs/data 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6XH6Z2/file/move_async/.dirs/state 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6XH6Z2/file/move_async/.dirs/runtime 1103s ok 27 /file/move_async 1103s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6XH6Z2/file/move-async-with-closures/.dirs/home 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6XH6Z2/file/move-async-with-closures/.dirs/cache 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6XH6Z2/file/move-async-with-closures/.dirs/system-config1:/tmp/test_file_6XH6Z2/file/move-async-with-closures/.dirs/system-config2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6XH6Z2/file/move-async-with-closures/.dirs/config 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6XH6Z2/file/move-async-with-closures/.dirs/system-data1:/tmp/test_file_6XH6Z2/file/move-async-with-closures/.dirs/system-data2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6XH6Z2/file/move-async-with-closures/.dirs/data 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6XH6Z2/file/move-async-with-closures/.dirs/state 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6XH6Z2/file/move-async-with-closures/.dirs/runtime 1103s ok 28 /file/move-async-with-closures 1103s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6XH6Z2/file/query-zero-length-content-type/.dirs/home 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6XH6Z2/file/query-zero-length-content-type/.dirs/cache 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6XH6Z2/file/query-zero-length-content-type/.dirs/system-config1:/tmp/test_file_6XH6Z2/file/query-zero-length-content-type/.dirs/system-config2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6XH6Z2/file/query-zero-length-content-type/.dirs/config 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6XH6Z2/file/query-zero-length-content-type/.dirs/system-data1:/tmp/test_file_6XH6Z2/file/query-zero-length-content-type/.dirs/system-data2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6XH6Z2/file/query-zero-length-content-type/.dirs/data 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6XH6Z2/file/query-zero-length-content-type/.dirs/state 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6XH6Z2/file/query-zero-length-content-type/.dirs/runtime 1103s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755795 1103s # /file/query-zero-length-content-type summary: empty files should always be considered application/x-zerosize 1103s ok 29 /file/query-zero-length-content-type 1103s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6XH6Z2/file/query-default-handler-file/.dirs/home 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6XH6Z2/file/query-default-handler-file/.dirs/cache 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6XH6Z2/file/query-default-handler-file/.dirs/system-config1:/tmp/test_file_6XH6Z2/file/query-default-handler-file/.dirs/system-config2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6XH6Z2/file/query-default-handler-file/.dirs/config 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6XH6Z2/file/query-default-handler-file/.dirs/system-data1:/tmp/test_file_6XH6Z2/file/query-default-handler-file/.dirs/system-data2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6XH6Z2/file/query-default-handler-file/.dirs/data 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6XH6Z2/file/query-default-handler-file/.dirs/state 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6XH6Z2/file/query-default-handler-file/.dirs/runtime 1103s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_6XH6Z2/file/query-default-handler-file/.dirs/data/applications 1103s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_6XH6Z2/file/query-default-handler-file/.dirs/config 1103s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_6XH6Z2/file/query-default-handler-file/.dirs/config 1103s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_6XH6Z2/file/query-default-handler-file/.dirs/config 1103s ok 30 /file/query-default-handler-file 1103s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6XH6Z2/file/query-default-handler-file-async/.dirs/home 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6XH6Z2/file/query-default-handler-file-async/.dirs/cache 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6XH6Z2/file/query-default-handler-file-async/.dirs/system-config1:/tmp/test_file_6XH6Z2/file/query-default-handler-file-async/.dirs/system-config2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6XH6Z2/file/query-default-handler-file-async/.dirs/config 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6XH6Z2/file/query-default-handler-file-async/.dirs/system-data1:/tmp/test_file_6XH6Z2/file/query-default-handler-file-async/.dirs/system-data2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6XH6Z2/file/query-default-handler-file-async/.dirs/data 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6XH6Z2/file/query-default-handler-file-async/.dirs/state 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6XH6Z2/file/query-default-handler-file-async/.dirs/runtime 1103s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_6XH6Z2/file/query-default-handler-file-async/.dirs/data/applications 1103s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_6XH6Z2/file/query-default-handler-file-async/.dirs/config 1103s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_6XH6Z2/file/query-default-handler-file/.dirs/config to /tmp/test_file_6XH6Z2/file/query-default-handler-file-async/.dirs/config 1103s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_6XH6Z2/file/query-default-handler-file-async/.dirs/config 1103s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_6XH6Z2/file/query-default-handler-file-async/.dirs/config 1103s ok 31 /file/query-default-handler-file-async 1103s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6XH6Z2/file/query-default-handler-uri/.dirs/home 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6XH6Z2/file/query-default-handler-uri/.dirs/cache 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6XH6Z2/file/query-default-handler-uri/.dirs/system-config1:/tmp/test_file_6XH6Z2/file/query-default-handler-uri/.dirs/system-config2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6XH6Z2/file/query-default-handler-uri/.dirs/config 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6XH6Z2/file/query-default-handler-uri/.dirs/system-data1:/tmp/test_file_6XH6Z2/file/query-default-handler-uri/.dirs/system-data2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6XH6Z2/file/query-default-handler-uri/.dirs/data 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6XH6Z2/file/query-default-handler-uri/.dirs/state 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6XH6Z2/file/query-default-handler-uri/.dirs/runtime 1103s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_6XH6Z2/file/query-default-handler-uri/.dirs/data/applications 1103s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_6XH6Z2/file/query-default-handler-uri/.dirs/config 1103s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_6XH6Z2/file/query-default-handler-file-async/.dirs/config to /tmp/test_file_6XH6Z2/file/query-default-handler-uri/.dirs/config 1103s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_6XH6Z2/file/query-default-handler-uri/.dirs/config 1103s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_6XH6Z2/file/query-default-handler-uri/.dirs/config 1103s ok 32 /file/query-default-handler-uri 1103s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6XH6Z2/file/query-default-handler-uri-async/.dirs/home 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6XH6Z2/file/query-default-handler-uri-async/.dirs/cache 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6XH6Z2/file/query-default-handler-uri-async/.dirs/system-config1:/tmp/test_file_6XH6Z2/file/query-default-handler-uri-async/.dirs/system-config2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6XH6Z2/file/query-default-handler-uri-async/.dirs/config 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6XH6Z2/file/query-default-handler-uri-async/.dirs/system-data1:/tmp/test_file_6XH6Z2/file/query-default-handler-uri-async/.dirs/system-data2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6XH6Z2/file/query-default-handler-uri-async/.dirs/data 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6XH6Z2/file/query-default-handler-uri-async/.dirs/state 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6XH6Z2/file/query-default-handler-uri-async/.dirs/runtime 1103s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_6XH6Z2/file/query-default-handler-uri-async/.dirs/data/applications 1103s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_6XH6Z2/file/query-default-handler-uri-async/.dirs/config 1103s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_6XH6Z2/file/query-default-handler-uri/.dirs/config to /tmp/test_file_6XH6Z2/file/query-default-handler-uri-async/.dirs/config 1103s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_6XH6Z2/file/query-default-handler-uri-async/.dirs/config 1103s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_6XH6Z2/file/query-default-handler-uri-async/.dirs/config 1103s ok 33 /file/query-default-handler-uri-async 1103s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6XH6Z2/file/enumerator-cancellation/.dirs/home 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6XH6Z2/file/enumerator-cancellation/.dirs/cache 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6XH6Z2/file/enumerator-cancellation/.dirs/system-config1:/tmp/test_file_6XH6Z2/file/enumerator-cancellation/.dirs/system-config2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6XH6Z2/file/enumerator-cancellation/.dirs/config 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6XH6Z2/file/enumerator-cancellation/.dirs/system-data1:/tmp/test_file_6XH6Z2/file/enumerator-cancellation/.dirs/system-data2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6XH6Z2/file/enumerator-cancellation/.dirs/data 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6XH6Z2/file/enumerator-cancellation/.dirs/state 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6XH6Z2/file/enumerator-cancellation/.dirs/runtime 1103s ok 34 /file/enumerator-cancellation 1103s # Start of async-create-delete tests 1103s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6XH6Z2/file/async-create-delete/0/.dirs/home 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6XH6Z2/file/async-create-delete/0/.dirs/cache 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6XH6Z2/file/async-create-delete/0/.dirs/system-config1:/tmp/test_file_6XH6Z2/file/async-create-delete/0/.dirs/system-config2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6XH6Z2/file/async-create-delete/0/.dirs/config 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6XH6Z2/file/async-create-delete/0/.dirs/system-data1:/tmp/test_file_6XH6Z2/file/async-create-delete/0/.dirs/system-data2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6XH6Z2/file/async-create-delete/0/.dirs/data 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6XH6Z2/file/async-create-delete/0/.dirs/state 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6XH6Z2/file/async-create-delete/0/.dirs/runtime 1103s ok 35 /file/async-create-delete/0 1103s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6XH6Z2/file/async-create-delete/1/.dirs/home 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6XH6Z2/file/async-create-delete/1/.dirs/cache 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6XH6Z2/file/async-create-delete/1/.dirs/system-config1:/tmp/test_file_6XH6Z2/file/async-create-delete/1/.dirs/system-config2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6XH6Z2/file/async-create-delete/1/.dirs/config 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6XH6Z2/file/async-create-delete/1/.dirs/system-data1:/tmp/test_file_6XH6Z2/file/async-create-delete/1/.dirs/system-data2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6XH6Z2/file/async-create-delete/1/.dirs/data 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6XH6Z2/file/async-create-delete/1/.dirs/state 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6XH6Z2/file/async-create-delete/1/.dirs/runtime 1103s ok 36 /file/async-create-delete/1 1103s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6XH6Z2/file/async-create-delete/10/.dirs/home 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6XH6Z2/file/async-create-delete/10/.dirs/cache 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6XH6Z2/file/async-create-delete/10/.dirs/system-config1:/tmp/test_file_6XH6Z2/file/async-create-delete/10/.dirs/system-config2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6XH6Z2/file/async-create-delete/10/.dirs/config 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6XH6Z2/file/async-create-delete/10/.dirs/system-data1:/tmp/test_file_6XH6Z2/file/async-create-delete/10/.dirs/system-data2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6XH6Z2/file/async-create-delete/10/.dirs/data 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6XH6Z2/file/async-create-delete/10/.dirs/state 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6XH6Z2/file/async-create-delete/10/.dirs/runtime 1104s ok 37 /file/async-create-delete/10 1104s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6XH6Z2/file/async-create-delete/25/.dirs/home 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6XH6Z2/file/async-create-delete/25/.dirs/cache 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6XH6Z2/file/async-create-delete/25/.dirs/system-config1:/tmp/test_file_6XH6Z2/file/async-create-delete/25/.dirs/system-config2 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6XH6Z2/file/async-create-delete/25/.dirs/config 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6XH6Z2/file/async-create-delete/25/.dirs/system-data1:/tmp/test_file_6XH6Z2/file/async-create-delete/25/.dirs/system-data2 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6XH6Z2/file/async-create-delete/25/.dirs/data 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6XH6Z2/file/async-create-delete/25/.dirs/state 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6XH6Z2/file/async-create-delete/25/.dirs/runtime 1104s ok 38 /file/async-create-delete/25 1104s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6XH6Z2/file/async-create-delete/4096/.dirs/home 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6XH6Z2/file/async-create-delete/4096/.dirs/cache 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6XH6Z2/file/async-create-delete/4096/.dirs/system-config1:/tmp/test_file_6XH6Z2/file/async-create-delete/4096/.dirs/system-config2 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6XH6Z2/file/async-create-delete/4096/.dirs/config 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6XH6Z2/file/async-create-delete/4096/.dirs/system-data1:/tmp/test_file_6XH6Z2/file/async-create-delete/4096/.dirs/system-data2 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6XH6Z2/file/async-create-delete/4096/.dirs/data 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6XH6Z2/file/async-create-delete/4096/.dirs/state 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6XH6Z2/file/async-create-delete/4096/.dirs/runtime 1104s ok 39 /file/async-create-delete/4096 1104s # End of async-create-delete tests 1104s # Start of replace-symlink tests 1104s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6XH6Z2/file/replace-symlink/using-etag/.dirs/home 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6XH6Z2/file/replace-symlink/using-etag/.dirs/cache 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6XH6Z2/file/replace-symlink/using-etag/.dirs/system-config1:/tmp/test_file_6XH6Z2/file/replace-symlink/using-etag/.dirs/system-config2 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6XH6Z2/file/replace-symlink/using-etag/.dirs/config 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6XH6Z2/file/replace-symlink/using-etag/.dirs/system-data1:/tmp/test_file_6XH6Z2/file/replace-symlink/using-etag/.dirs/system-data2 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6XH6Z2/file/replace-symlink/using-etag/.dirs/data 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6XH6Z2/file/replace-symlink/using-etag/.dirs/state 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6XH6Z2/file/replace-symlink/using-etag/.dirs/runtime 1104s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2417 1104s # /file/replace-symlink/using-etag summary: Test that ETag checks work when replacing a file through a symlink 1104s # Using temporary directory /tmp/test_file_6XH6Z2/g_file_replace_symlink_using_etag_7D3K02 1104s # Executing: glib/file.test 1106s ok 40 /file/replace-symlink/using-etag 1106s # slow test /file/replace-symlink/using-etag executed in 2.00 secs 1106s # End of replace-symlink tests 1106s # Start of replace tests 1106s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6XH6Z2/file/replace/write-only/.dirs/home 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6XH6Z2/file/replace/write-only/.dirs/cache 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6XH6Z2/file/replace/write-only/.dirs/system-config1:/tmp/test_file_6XH6Z2/file/replace/write-only/.dirs/system-config2 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6XH6Z2/file/replace/write-only/.dirs/config 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6XH6Z2/file/replace/write-only/.dirs/system-data1:/tmp/test_file_6XH6Z2/file/replace/write-only/.dirs/system-data2 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6XH6Z2/file/replace/write-only/.dirs/data 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6XH6Z2/file/replace/write-only/.dirs/state 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6XH6Z2/file/replace/write-only/.dirs/runtime 1106s # /file/replace/write-only summary: Test various situations for g_file_replace() 1106s # Current umask: 2 1106s # Test 0, using temporary directory /tmp/test_file_6XH6Z2/g_file_replace_K10K02 1106s # Test 1, using temporary directory /tmp/test_file_6XH6Z2/g_file_replace_N4SJ02 1106s # Test 2, using temporary directory /tmp/test_file_6XH6Z2/g_file_replace_9HQJ02 1106s # Test 3, using temporary directory /tmp/test_file_6XH6Z2/g_file_replace_L0RJ02 1106s # Test 4, using temporary directory /tmp/test_file_6XH6Z2/g_file_replace_2CSJ02 1106s # Test 5, using temporary directory /tmp/test_file_6XH6Z2/g_file_replace_Z8RJ02 1106s # Test 6, using temporary directory /tmp/test_file_6XH6Z2/g_file_replace_UG0J02 1106s # Test 7, using temporary directory /tmp/test_file_6XH6Z2/g_file_replace_85VJ02 1106s # Test 8, using temporary directory /tmp/test_file_6XH6Z2/g_file_replace_VIWJ02 1106s # Test 9, using temporary directory /tmp/test_file_6XH6Z2/g_file_replace_9IWJ02 1106s # Test 10, using temporary directory /tmp/test_file_6XH6Z2/g_file_replace_VVYJ02 1106s # Test 11, using temporary directory /tmp/test_file_6XH6Z2/g_file_replace_K42J02 1106s # Test 12, using temporary directory /tmp/test_file_6XH6Z2/g_file_replace_BW2J02 1106s # Test 13, using temporary directory /tmp/test_file_6XH6Z2/g_file_replace_C82J02 1106s # Test 14, using temporary directory /tmp/test_file_6XH6Z2/g_file_replace_XH5J02 1106s # Test 15, using temporary directory /tmp/test_file_6XH6Z2/g_file_replace_SVCK02 1106s # Test 16, using temporary directory /tmp/test_file_6XH6Z2/g_file_replace_1EEK02 1106s # Test 17, using temporary directory /tmp/test_file_6XH6Z2/g_file_replace_L19J02 1106s # Test 18, using temporary directory /tmp/test_file_6XH6Z2/g_file_replace_QXAG02 1106s # Test 19, using temporary directory /tmp/test_file_6XH6Z2/g_file_replace_5UCG02 1106s # Test 20, using temporary directory /tmp/test_file_6XH6Z2/g_file_replace_N27F02 1106s # Test 21, using temporary directory /tmp/test_file_6XH6Z2/g_file_replace_SE9F02 1106s # Test 22, using temporary directory /tmp/test_file_6XH6Z2/g_file_replace_PMHG02 1106s # Test 23, using temporary directory /tmp/test_file_6XH6Z2/g_file_replace_W9HG02 1106s # Test 24, using temporary directory /tmp/test_file_6XH6Z2/g_file_replace_NMJG02 1106s # Test 25, using temporary directory /tmp/test_file_6XH6Z2/g_file_replace_BXFG02 1106s # Test 26, using temporary directory /tmp/test_file_6XH6Z2/g_file_replace_0PFG02 1106s # Test 27, using temporary directory /tmp/test_file_6XH6Z2/g_file_replace_79FG02 1106s # Test 28, using temporary directory /tmp/test_file_6XH6Z2/g_file_replace_8NPG02 1106s # Test 29, using temporary directory /tmp/test_file_6XH6Z2/g_file_replace_9PKG02 1106s # Test 30, using temporary directory /tmp/test_file_6XH6Z2/g_file_replace_6HKG02 1106s # Test 31, using temporary directory /tmp/test_file_6XH6Z2/g_file_replace_45KG02 1106s # Test 32, using temporary directory /tmp/test_file_6XH6Z2/g_file_replace_0EMG02 1106s # Test 33, using temporary directory /tmp/test_file_6XH6Z2/g_file_replace_XEUG02 1106s # Test 34, using temporary directory /tmp/test_file_6XH6Z2/g_file_replace_7ZUG02 1106s # Test 35, using temporary directory /tmp/test_file_6XH6Z2/g_file_replace_MRUG02 1106s # Test 36, using temporary directory /tmp/test_file_6XH6Z2/g_file_replace_AGQG02 1106s # Test 37, using temporary directory /tmp/test_file_6XH6Z2/g_file_replace_CCSG02 1106s # Test 38, using temporary directory /tmp/test_file_6XH6Z2/g_file_replace_E7SG02 1106s # Test 39, using temporary directory /tmp/test_file_6XH6Z2/g_file_replace_OKNF02 1106s # Test 40, using temporary directory /tmp/test_file_6XH6Z2/g_file_replace_87IF02 1106s # Test 41, using temporary directory /tmp/test_file_6XH6Z2/g_file_replace_XKKF02 1106s # Test 42, using temporary directory /tmp/test_file_6XH6Z2/g_file_replace_0SSF02 1106s # Test 43, using temporary directory /tmp/test_file_6XH6Z2/g_file_replace_GDPF02 1106s # Test 44, using temporary directory /tmp/test_file_6XH6Z2/g_file_replace_XOQF02 1106s # Test 45, using temporary directory /tmp/test_file_6XH6Z2/g_file_replace_NJQF02 1106s # Test 46, using temporary directory /tmp/test_file_6XH6Z2/g_file_replace_21YF02 1106s # Test 47, using temporary directory /tmp/test_file_6XH6Z2/g_file_replace_8OYF02 1106s # Test 48, using temporary directory /tmp/test_file_6XH6Z2/g_file_replace_CV0F02 1106s # We do not have CAP_DAC_OVERRIDE or equivalent 1106s ok 41 /file/replace/write-only 1106s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6XH6Z2/file/replace/read-write/.dirs/home 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6XH6Z2/file/replace/read-write/.dirs/cache 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6XH6Z2/file/replace/read-write/.dirs/system-config1:/tmp/test_file_6XH6Z2/file/replace/read-write/.dirs/system-config2 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6XH6Z2/file/replace/read-write/.dirs/config 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6XH6Z2/file/replace/read-write/.dirs/system-data1:/tmp/test_file_6XH6Z2/file/replace/read-write/.dirs/system-data2 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6XH6Z2/file/replace/read-write/.dirs/data 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6XH6Z2/file/replace/read-write/.dirs/state 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6XH6Z2/file/replace/read-write/.dirs/runtime 1106s # /file/replace/read-write summary: Test various situations for g_file_replace() 1106s # Current umask: 2 1106s # Test 0, using temporary directory /tmp/test_file_6XH6Z2/g_file_replace_U3UF02 1106s # Test 1, using temporary directory /tmp/test_file_6XH6Z2/g_file_replace_PWUF02 1106s # Test 2, using temporary directory /tmp/test_file_6XH6Z2/g_file_replace_L3WF02 1106s # Test 3, using temporary directory /tmp/test_file_6XH6Z2/g_file_replace_SR4F02 1106s # Test 4, using temporary directory /tmp/test_file_6XH6Z2/g_file_replace_Y34F02 1106s # Test 5, using temporary directory /tmp/test_file_6XH6Z2/g_file_replace_JP5F02 1106s # Test 6, using temporary directory /tmp/test_file_6XH6Z2/g_file_replace_3C1F02 1106s # Test 7, using temporary directory /tmp/test_file_6XH6Z2/g_file_replace_EX1F02 1106s # Test 8, using temporary directory /tmp/test_file_6XH6Z2/g_file_replace_LJ2F02 1106s # Test 9, using temporary directory /tmp/test_file_6XH6Z2/g_file_replace_0L2F02 1106s # Test 10, using temporary directory /tmp/test_file_6XH6Z2/g_file_replace_T03F02 1106s # Test 11, using temporary directory /tmp/test_file_6XH6Z2/g_file_replace_M3QH02 1106s # Test 12, using temporary directory /tmp/test_file_6XH6Z2/g_file_replace_LWQH02 1106s # Test 13, using temporary directory /tmp/test_file_6XH6Z2/g_file_replace_0GRH02 1106s # Test 14, using temporary directory /tmp/test_file_6XH6Z2/g_file_replace_5IMH02 1106s # Test 15, using temporary directory /tmp/test_file_6XH6Z2/g_file_replace_RHOH02 1106s # Test 16, using temporary directory /tmp/test_file_6XH6Z2/g_file_replace_ZQWH02 1106s # Test 17, using temporary directory /tmp/test_file_6XH6Z2/g_file_replace_I4XH02 1106s # Test 18, using temporary directory /tmp/test_file_6XH6Z2/g_file_replace_I5SH02 1106s # Test 19, using temporary directory /tmp/test_file_6XH6Z2/g_file_replace_5EVH02 1106s # Test 20, using temporary directory /tmp/test_file_6XH6Z2/g_file_replace_G32H02 1106s # Test 21, using temporary directory /tmp/test_file_6XH6Z2/g_file_replace_FZYH02 1106s # Test 22, using temporary directory /tmp/test_file_6XH6Z2/g_file_replace_Z00H02 1106s # Test 23, using temporary directory /tmp/test_file_6XH6Z2/g_file_replace_7L1H02 1106s # Test 24, using temporary directory /tmp/test_file_6XH6Z2/g_file_replace_CP9H02 1106s # Test 25, using temporary directory /tmp/test_file_6XH6Z2/g_file_replace_31AI02 1106s # Test 26, using temporary directory /tmp/test_file_6XH6Z2/g_file_replace_GA5H02 1106s # Test 27, using temporary directory /tmp/test_file_6XH6Z2/g_file_replace_Z24H02 1106s # Test 28, using temporary directory /tmp/test_file_6XH6Z2/g_file_replace_Y56H02 1106s # Test 29, using temporary directory /tmp/test_file_6XH6Z2/g_file_replace_GB0G02 1106s # Test 30, using temporary directory /tmp/test_file_6XH6Z2/g_file_replace_K10G02 1106s # Test 31, using temporary directory /tmp/test_file_6XH6Z2/g_file_replace_DU0G02 1106s # Test 32, using temporary directory /tmp/test_file_6XH6Z2/g_file_replace_PBXG02 1106s # Test 33, using temporary directory /tmp/test_file_6XH6Z2/g_file_replace_WEYG02 1106s # Test 34, using temporary directory /tmp/test_file_6XH6Z2/g_file_replace_OXYG02 1106s # Test 35, using temporary directory /tmp/test_file_6XH6Z2/g_file_replace_USYG02 1106s # Test 36, using temporary directory /tmp/test_file_6XH6Z2/g_file_replace_NC7G02 1106s # Test 37, using temporary directory /tmp/test_file_6XH6Z2/g_file_replace_6B3G02 1106s # Test 38, using temporary directory /tmp/test_file_6XH6Z2/g_file_replace_DO5G02 1106s # Test 39, using temporary directory /tmp/test_file_6XH6Z2/g_file_replace_WVDH02 1106s # Test 40, using temporary directory /tmp/test_file_6XH6Z2/g_file_replace_GF9G02 1106s # Test 41, using temporary directory /tmp/test_file_6XH6Z2/g_file_replace_ZOBH02 1106s # Test 42, using temporary directory /tmp/test_file_6XH6Z2/g_file_replace_4PJH02 1106s # Test 43, using temporary directory /tmp/test_file_6XH6Z2/g_file_replace_URFH02 1106s # Test 44, using temporary directory /tmp/test_file_6XH6Z2/g_file_replace_EDIH02 1106s # Test 45, using temporary directory /tmp/test_file_6XH6Z2/g_file_replace_0EIH02 1106s # Test 46, using temporary directory /tmp/test_file_6XH6Z2/g_file_replace_Y0QO02 1106s # Test 47, using temporary directory /tmp/test_file_6XH6Z2/g_file_replace_KLRO02 1106s # Test 48, using temporary directory /tmp/test_file_6XH6Z2/g_file_replace_65RO02 1106s # We do not have CAP_DAC_OVERRIDE or equivalent 1106s ok 42 /file/replace/read-write 1106s # End of replace tests 1106s # Start of copy tests 1106s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6XH6Z2/file/copy/progress/.dirs/home 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6XH6Z2/file/copy/progress/.dirs/cache 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6XH6Z2/file/copy/progress/.dirs/system-config1:/tmp/test_file_6XH6Z2/file/copy/progress/.dirs/system-config2 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6XH6Z2/file/copy/progress/.dirs/config 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6XH6Z2/file/copy/progress/.dirs/system-data1:/tmp/test_file_6XH6Z2/file/copy/progress/.dirs/system-data2 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6XH6Z2/file/copy/progress/.dirs/data 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6XH6Z2/file/copy/progress/.dirs/state 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6XH6Z2/file/copy/progress/.dirs/runtime 1106s ok 43 /file/copy/progress 1106s # End of copy tests 1106s # Start of writev tests 1106s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6XH6Z2/file/writev/no-bytes-written/.dirs/home 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6XH6Z2/file/writev/no-bytes-written/.dirs/cache 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6XH6Z2/file/writev/no-bytes-written/.dirs/system-config1:/tmp/test_file_6XH6Z2/file/writev/no-bytes-written/.dirs/system-config2 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6XH6Z2/file/writev/no-bytes-written/.dirs/config 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6XH6Z2/file/writev/no-bytes-written/.dirs/system-data1:/tmp/test_file_6XH6Z2/file/writev/no-bytes-written/.dirs/system-data2 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6XH6Z2/file/writev/no-bytes-written/.dirs/data 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6XH6Z2/file/writev/no-bytes-written/.dirs/state 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6XH6Z2/file/writev/no-bytes-written/.dirs/runtime 1106s ok 44 /file/writev/no-bytes-written 1106s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6XH6Z2/file/writev/no-vectors/.dirs/home 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6XH6Z2/file/writev/no-vectors/.dirs/cache 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6XH6Z2/file/writev/no-vectors/.dirs/system-config1:/tmp/test_file_6XH6Z2/file/writev/no-vectors/.dirs/system-config2 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6XH6Z2/file/writev/no-vectors/.dirs/config 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6XH6Z2/file/writev/no-vectors/.dirs/system-data1:/tmp/test_file_6XH6Z2/file/writev/no-vectors/.dirs/system-data2 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6XH6Z2/file/writev/no-vectors/.dirs/data 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6XH6Z2/file/writev/no-vectors/.dirs/state 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6XH6Z2/file/writev/no-vectors/.dirs/runtime 1106s ok 45 /file/writev/no-vectors 1106s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6XH6Z2/file/writev/empty-vectors/.dirs/home 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6XH6Z2/file/writev/empty-vectors/.dirs/cache 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6XH6Z2/file/writev/empty-vectors/.dirs/system-config1:/tmp/test_file_6XH6Z2/file/writev/empty-vectors/.dirs/system-config2 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6XH6Z2/file/writev/empty-vectors/.dirs/config 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6XH6Z2/file/writev/empty-vectors/.dirs/system-data1:/tmp/test_file_6XH6Z2/file/writev/empty-vectors/.dirs/system-data2 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6XH6Z2/file/writev/empty-vectors/.dirs/data 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6XH6Z2/file/writev/empty-vectors/.dirs/state 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6XH6Z2/file/writev/empty-vectors/.dirs/runtime 1106s ok 46 /file/writev/empty-vectors 1106s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6XH6Z2/file/writev/too-big-vectors/.dirs/home 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6XH6Z2/file/writev/too-big-vectors/.dirs/cache 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6XH6Z2/file/writev/too-big-vectors/.dirs/system-config1:/tmp/test_file_6XH6Z2/file/writev/too-big-vectors/.dirs/system-config2 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6XH6Z2/file/writev/too-big-vectors/.dirs/config 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6XH6Z2/file/writev/too-big-vectors/.dirs/system-data1:/tmp/test_file_6XH6Z2/file/writev/too-big-vectors/.dirs/system-data2 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6XH6Z2/file/writev/too-big-vectors/.dirs/data 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6XH6Z2/file/writev/too-big-vectors/.dirs/state 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6XH6Z2/file/writev/too-big-vectors/.dirs/runtime 1106s ok 47 /file/writev/too-big-vectors 1106s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6XH6Z2/file/writev/async/.dirs/home 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6XH6Z2/file/writev/async/.dirs/cache 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6XH6Z2/file/writev/async/.dirs/system-config1:/tmp/test_file_6XH6Z2/file/writev/async/.dirs/system-config2 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6XH6Z2/file/writev/async/.dirs/config 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6XH6Z2/file/writev/async/.dirs/system-data1:/tmp/test_file_6XH6Z2/file/writev/async/.dirs/system-data2 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6XH6Z2/file/writev/async/.dirs/data 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6XH6Z2/file/writev/async/.dirs/state 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6XH6Z2/file/writev/async/.dirs/runtime 1106s ok 48 /file/writev/async 1106s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6XH6Z2/file/writev/async_all/.dirs/home 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6XH6Z2/file/writev/async_all/.dirs/cache 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6XH6Z2/file/writev/async_all/.dirs/system-config1:/tmp/test_file_6XH6Z2/file/writev/async_all/.dirs/system-config2 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6XH6Z2/file/writev/async_all/.dirs/config 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6XH6Z2/file/writev/async_all/.dirs/system-data1:/tmp/test_file_6XH6Z2/file/writev/async_all/.dirs/system-data2 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6XH6Z2/file/writev/async_all/.dirs/data 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6XH6Z2/file/writev/async_all/.dirs/state 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6XH6Z2/file/writev/async_all/.dirs/runtime 1106s ok 49 /file/writev/async_all 1106s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6XH6Z2/file/writev/async_all-empty-vectors/.dirs/home 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6XH6Z2/file/writev/async_all-empty-vectors/.dirs/cache 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6XH6Z2/file/writev/async_all-empty-vectors/.dirs/system-config1:/tmp/test_file_6XH6Z2/file/writev/async_all-empty-vectors/.dirs/system-config2 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6XH6Z2/file/writev/async_all-empty-vectors/.dirs/config 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6XH6Z2/file/writev/async_all-empty-vectors/.dirs/system-data1:/tmp/test_file_6XH6Z2/file/writev/async_all-empty-vectors/.dirs/system-data2 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6XH6Z2/file/writev/async_all-empty-vectors/.dirs/data 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6XH6Z2/file/writev/async_all-empty-vectors/.dirs/state 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6XH6Z2/file/writev/async_all-empty-vectors/.dirs/runtime 1106s ok 50 /file/writev/async_all-empty-vectors 1106s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6XH6Z2/file/writev/async_all-no-vectors/.dirs/home 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6XH6Z2/file/writev/async_all-no-vectors/.dirs/cache 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6XH6Z2/file/writev/async_all-no-vectors/.dirs/system-config1:/tmp/test_file_6XH6Z2/file/writev/async_all-no-vectors/.dirs/system-config2 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6XH6Z2/file/writev/async_all-no-vectors/.dirs/config 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6XH6Z2/file/writev/async_all-no-vectors/.dirs/system-data1:/tmp/test_file_6XH6Z2/file/writev/async_all-no-vectors/.dirs/system-data2 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6XH6Z2/file/writev/async_all-no-vectors/.dirs/data 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6XH6Z2/file/writev/async_all-no-vectors/.dirs/state 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6XH6Z2/file/writev/async_all-no-vectors/.dirs/runtime 1106s ok 51 /file/writev/async_all-no-vectors 1106s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6XH6Z2/file/writev/async_all-to-big-vectors/.dirs/home 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6XH6Z2/file/writev/async_all-to-big-vectors/.dirs/cache 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6XH6Z2/file/writev/async_all-to-big-vectors/.dirs/system-config1:/tmp/test_file_6XH6Z2/file/writev/async_all-to-big-vectors/.dirs/system-config2 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6XH6Z2/file/writev/async_all-to-big-vectors/.dirs/config 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6XH6Z2/file/writev/async_all-to-big-vectors/.dirs/system-data1:/tmp/test_file_6XH6Z2/file/writev/async_all-to-big-vectors/.dirs/system-data2 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6XH6Z2/file/writev/async_all-to-big-vectors/.dirs/data 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6XH6Z2/file/writev/async_all-to-big-vectors/.dirs/state 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6XH6Z2/file/writev/async_all-to-big-vectors/.dirs/runtime 1106s ok 52 /file/writev/async_all-to-big-vectors 1106s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6XH6Z2/file/writev/async_all-cancellation/.dirs/home 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6XH6Z2/file/writev/async_all-cancellation/.dirs/cache 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6XH6Z2/file/writev/async_all-cancellation/.dirs/system-config1:/tmp/test_file_6XH6Z2/file/writev/async_all-cancellation/.dirs/system-config2 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6XH6Z2/file/writev/async_all-cancellation/.dirs/config 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6XH6Z2/file/writev/async_all-cancellation/.dirs/system-data1:/tmp/test_file_6XH6Z2/file/writev/async_all-cancellation/.dirs/system-data2 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6XH6Z2/file/writev/async_all-cancellation/.dirs/data 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6XH6Z2/file/writev/async_all-cancellation/.dirs/state 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6XH6Z2/file/writev/async_all-cancellation/.dirs/runtime 1106s ok 53 /file/writev/async_all-cancellation 1106s # End of writev tests 1106s # Start of from-uri tests 1106s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6XH6Z2/file/from-uri/ignores-query-string/.dirs/home 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6XH6Z2/file/from-uri/ignores-query-string/.dirs/cache 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6XH6Z2/file/from-uri/ignores-query-string/.dirs/system-config1:/tmp/test_file_6XH6Z2/file/from-uri/ignores-query-string/.dirs/system-config2 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6XH6Z2/file/from-uri/ignores-query-string/.dirs/config 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6XH6Z2/file/from-uri/ignores-query-string/.dirs/system-data1:/tmp/test_file_6XH6Z2/file/from-uri/ignores-query-string/.dirs/system-data2 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6XH6Z2/file/from-uri/ignores-query-string/.dirs/data 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6XH6Z2/file/from-uri/ignores-query-string/.dirs/state 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6XH6Z2/file/from-uri/ignores-query-string/.dirs/runtime 1106s ok 54 /file/from-uri/ignores-query-string 1106s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6XH6Z2/file/from-uri/ignores-fragment/.dirs/home 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6XH6Z2/file/from-uri/ignores-fragment/.dirs/cache 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6XH6Z2/file/from-uri/ignores-fragment/.dirs/system-config1:/tmp/test_file_6XH6Z2/file/from-uri/ignores-fragment/.dirs/system-config2 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6XH6Z2/file/from-uri/ignores-fragment/.dirs/config 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6XH6Z2/file/from-uri/ignores-fragment/.dirs/system-data1:/tmp/test_file_6XH6Z2/file/from-uri/ignores-fragment/.dirs/system-data2 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6XH6Z2/file/from-uri/ignores-fragment/.dirs/data 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6XH6Z2/file/from-uri/ignores-fragment/.dirs/state 1106s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6XH6Z2/file/from-uri/ignores-fragment/.dirs/runtime 1106s ok 55 /file/from-uri/ignores-fragment 1106s # End of from-uri tests 1106s # End of file tests 1106s ok - glib/file.test 1106s # Running test: glib/socket-address.test 1106s TAP version 14 1106s # random seed: R02Sad1e1e4897632519ae403150d3da7cfd 1106s 1..2 1106s # Start of socket tests 1106s # Start of address tests 1106s # Start of unix tests 1106s ok 1 /socket/address/unix/construct 1106s ok 2 /socket/address/unix/to-string 1106s # End of unix tests 1106s # End of address tests 1106s # End of socket tests 1106s ok - glib/socket-address.test 1106s # Running test: glib/utf8-pointer.test 1106s TAP version 14 1106s # random seed: R02Sd60972eb53d3e28094a6ead201585adc 1106s 1..3 1106s # Start of utf8 tests 1107s ok 1 /utf8/offsets 1107s # slow test /utf8/offsets executed in 0.87 secs 1107s ok 2 /utf8/lengths 1107s ok 3 /utf8/find 1107s # End of utf8 tests 1107s ok - glib/utf8-pointer.test 1107s # Running test: glib/cxx-98.test 1107s TAP version 14 1107s # random seed: R02Sf8d92c3f6f6fafa960d7221a6d062299 1107s 1..2 1107s # Start of gtask tests 1107s # GLib-GIO-DEBUG: GTask some other name (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1107s ok 1 /gtask/name 1107s # Start of name tests 1107s # GLib-GIO-DEBUG: GTask some other name (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1107s ok 2 /gtask/name/macro-wrapper 1107s # End of name tests 1107s # End of gtask tests 1107s ok - glib/cxx-98.test 1107s # Running test: glib/convert.test 1107s TAP version 14 1107s # random seed: R02S43ddf40a1aaf3632f0ec89768fb07508 1107s 1..14 1107s # Start of conversion tests 1107s ok 1 /conversion/no-conv 1107s ok 2 /conversion/iconv-state 1107s ok 3 /conversion/illegal-sequence 1107s ok 4 /conversion/byte-order 1107s ok 5 /conversion/unicode 1107s ok 6 /conversion/filename-utf8 1107s ok 7 /conversion/filename-display 1107s ok 8 /conversion/convert-embedded-nul 1107s # Start of locale-to-utf8 tests 1107s ok 9 /conversion/locale-to-utf8/embedded-nul 1107s # Start of embedded-nul tests 1107s # Start of subprocess tests 1107s # End of subprocess tests 1107s # End of embedded-nul tests 1107s # End of locale-to-utf8 tests 1107s # Start of locale-from-utf8 tests 1107s ok 10 /conversion/locale-from-utf8/embedded-nul 1107s # Start of embedded-nul tests 1107s # Start of subprocess tests 1107s # End of subprocess tests 1107s # End of embedded-nul tests 1107s # End of locale-from-utf8 tests 1107s # Start of filename-to-utf8 tests 1107s ok 11 /conversion/filename-to-utf8/embedded-nul 1107s # Start of embedded-nul tests 1107s # Start of subprocess tests 1107s # End of subprocess tests 1107s # End of embedded-nul tests 1107s # End of filename-to-utf8 tests 1107s # Start of filename-from-utf8 tests 1107s ok 12 /conversion/filename-from-utf8/embedded-nul 1107s # Start of embedded-nul tests 1107s # Start of subprocess tests 1107s # End of subprocess tests 1107s # End of embedded-nul tests 1107s # End of filename-from-utf8 tests 1107s # Start of filename-from-uri tests 1107s ok 13 /conversion/filename-from-uri/query-is-ignored 1107s ok 14 /conversion/filename-from-uri/fragment-is-ignored 1107s # End of filename-from-uri tests 1107s # End of conversion tests 1107s ok - glib/convert.test 1107s # Running test: glib/gdbus-test-codegen-min-required-2-64.test 1107s TAP version 14 1107s # random seed: R02S5f979785689dc77c057bfd3116935754 1107s 1..8 1107s # Start of gdbus tests 1107s # Start of codegen tests 1107s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_VZZF02/gdbus/codegen/annotations/.dirs/home 1107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_VZZF02/gdbus/codegen/annotations/.dirs/cache 1107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_VZZF02/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_VZZF02/gdbus/codegen/annotations/.dirs/system-config2 1107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_VZZF02/gdbus/codegen/annotations/.dirs/config 1107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_VZZF02/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_VZZF02/gdbus/codegen/annotations/.dirs/system-data2 1107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_VZZF02/gdbus/codegen/annotations/.dirs/data 1107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_VZZF02/gdbus/codegen/annotations/.dirs/state 1107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_VZZF02/gdbus/codegen/annotations/.dirs/runtime 1107s ok 1 /gdbus/codegen/annotations 1107s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_VZZF02/gdbus/codegen/interface_stability/.dirs/home 1107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_VZZF02/gdbus/codegen/interface_stability/.dirs/cache 1107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_VZZF02/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_VZZF02/gdbus/codegen/interface_stability/.dirs/system-config2 1107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_VZZF02/gdbus/codegen/interface_stability/.dirs/config 1107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_VZZF02/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_VZZF02/gdbus/codegen/interface_stability/.dirs/system-data2 1107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_VZZF02/gdbus/codegen/interface_stability/.dirs/data 1107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_VZZF02/gdbus/codegen/interface_stability/.dirs/state 1107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_VZZF02/gdbus/codegen/interface_stability/.dirs/runtime 1107s ok 2 /gdbus/codegen/interface_stability 1107s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_VZZF02/gdbus/codegen/object-manager/.dirs/home 1107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_VZZF02/gdbus/codegen/object-manager/.dirs/cache 1107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_VZZF02/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_VZZF02/gdbus/codegen/object-manager/.dirs/system-config2 1107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_VZZF02/gdbus/codegen/object-manager/.dirs/config 1107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_VZZF02/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_VZZF02/gdbus/codegen/object-manager/.dirs/system-data2 1107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_VZZF02/gdbus/codegen/object-manager/.dirs/data 1107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_VZZF02/gdbus/codegen/object-manager/.dirs/state 1107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_VZZF02/gdbus/codegen/object-manager/.dirs/runtime 1107s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1107s ok 3 /gdbus/codegen/object-manager 1107s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_VZZF02/gdbus/codegen/property-naming/.dirs/home 1107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_VZZF02/gdbus/codegen/property-naming/.dirs/cache 1107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_VZZF02/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_VZZF02/gdbus/codegen/property-naming/.dirs/system-config2 1107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_VZZF02/gdbus/codegen/property-naming/.dirs/config 1107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_VZZF02/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_VZZF02/gdbus/codegen/property-naming/.dirs/system-data2 1107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_VZZF02/gdbus/codegen/property-naming/.dirs/data 1107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_VZZF02/gdbus/codegen/property-naming/.dirs/state 1107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_VZZF02/gdbus/codegen/property-naming/.dirs/runtime 1107s ok 4 /gdbus/codegen/property-naming 1107s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_VZZF02/gdbus/codegen/autocleanups/.dirs/home 1107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_VZZF02/gdbus/codegen/autocleanups/.dirs/cache 1107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_VZZF02/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_VZZF02/gdbus/codegen/autocleanups/.dirs/system-config2 1107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_VZZF02/gdbus/codegen/autocleanups/.dirs/config 1107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_VZZF02/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_VZZF02/gdbus/codegen/autocleanups/.dirs/system-data2 1107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_VZZF02/gdbus/codegen/autocleanups/.dirs/data 1107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_VZZF02/gdbus/codegen/autocleanups/.dirs/state 1107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_VZZF02/gdbus/codegen/autocleanups/.dirs/runtime 1107s ok 5 /gdbus/codegen/autocleanups 1107s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_VZZF02/gdbus/codegen/deprecations/.dirs/home 1107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_VZZF02/gdbus/codegen/deprecations/.dirs/cache 1107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_VZZF02/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_VZZF02/gdbus/codegen/deprecations/.dirs/system-config2 1107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_VZZF02/gdbus/codegen/deprecations/.dirs/config 1107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_VZZF02/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_VZZF02/gdbus/codegen/deprecations/.dirs/system-data2 1107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_VZZF02/gdbus/codegen/deprecations/.dirs/data 1107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_VZZF02/gdbus/codegen/deprecations/.dirs/state 1107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_VZZF02/gdbus/codegen/deprecations/.dirs/runtime 1107s ok 6 /gdbus/codegen/deprecations 1107s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_VZZF02/gdbus/codegen/standalone-interface-info/.dirs/home 1107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_VZZF02/gdbus/codegen/standalone-interface-info/.dirs/cache 1107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_VZZF02/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_VZZF02/gdbus/codegen/standalone-interface-info/.dirs/system-config2 1107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_VZZF02/gdbus/codegen/standalone-interface-info/.dirs/config 1107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_VZZF02/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_VZZF02/gdbus/codegen/standalone-interface-info/.dirs/system-data2 1107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_VZZF02/gdbus/codegen/standalone-interface-info/.dirs/data 1107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_VZZF02/gdbus/codegen/standalone-interface-info/.dirs/state 1107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_VZZF02/gdbus/codegen/standalone-interface-info/.dirs/runtime 1107s ok 7 /gdbus/codegen/standalone-interface-info 1107s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_VZZF02/gdbus/codegen/unix-fd-list/.dirs/home 1107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_VZZF02/gdbus/codegen/unix-fd-list/.dirs/cache 1107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_VZZF02/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_VZZF02/gdbus/codegen/unix-fd-list/.dirs/system-config2 1107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_VZZF02/gdbus/codegen/unix-fd-list/.dirs/config 1107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_VZZF02/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_VZZF02/gdbus/codegen/unix-fd-list/.dirs/system-data2 1107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_VZZF02/gdbus/codegen/unix-fd-list/.dirs/data 1107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_VZZF02/gdbus/codegen/unix-fd-list/.dirs/state 1107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_VZZF02/gdbus/codegen/unix-fd-list/.dirs/runtime 1107s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 1107s ok 8 /gdbus/codegen/unix-fd-list 1107s # End of codegen tests 1107s # End of gdbus tests 1107s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1107s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1107s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1107s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1107s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1107s ok - glib/gdbus-test-codegen-min-required-2-64.test 1107s # Running test: glib/charset.test 1107s TAP version 14 1107s # random seed: R02S2f8b424a3b30f8bac6f476553e3c3c5f 1107s 1..2 1107s # Start of charset tests 1107s # Test 0 1107s # Test 1 1107s # Test 2 1107s # Test 3 1107s ok 1 /charset/language_names_with_category 1107s ok 2 /charset/language_names_with_category_async 1107s # End of charset tests 1107s ok - glib/charset.test 1107s # Running test: glib/keyfile.test 1107s TAP version 14 1107s # random seed: R02Sb0ee8ed3b2f740cd2ecc3e358d95417a 1107s 1..36 1107s # Start of keyfile tests 1107s ok 1 /keyfile/line-ends 1107s ok 2 /keyfile/whitespace 1107s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047 1107s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/104 1107s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047 1107s ok 3 /keyfile/comments 1107s ok 4 /keyfile/listing 1107s ok 5 /keyfile/string 1107s ok 6 /keyfile/boolean 1107s ok 7 /keyfile/number 1107s ok 8 /keyfile/locale-string 1107s ok 9 /keyfile/lists 1107s ok 10 /keyfile/lists-set-get 1107s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165887 1107s ok 11 /keyfile/group-remove 1107s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165980 1107s ok 12 /keyfile/key-remove 1107s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=316309 1107s ok 13 /keyfile/groups 1107s ok 14 /keyfile/duplicate-keys 1107s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=157877 1107s ok 15 /keyfile/duplicate-groups 1107s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=385910 1107s ok 16 /keyfile/duplicate-groups2 1107s ok 17 /keyfile/group-names 1107s ok 18 /keyfile/key-names 1107s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=420686 1107s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2927 1107s ok 19 /keyfile/reload 1107s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=614864 1107s ok 20 /keyfile/int64 1107s ok 21 /keyfile/load 1107s ok 22 /keyfile/save 1107s ok 23 /keyfile/load-fail 1107s ok 24 /keyfile/non-utf8 1107s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640695 1107s ok 25 /keyfile/page-boundary 1107s ok 26 /keyfile/ref 1107s ok 27 /keyfile/replace-value 1107s ok 28 /keyfile/list-separator 1107s ok 29 /keyfile/empty-string 1107s ok 30 /keyfile/limbo 1107s # Testing invalid encoding ?non-UTF-8? 1107s # Testing invalid encoding ?UTF? 1107s # Testing invalid encoding ?UTF-9? 1107s ok 31 /keyfile/utf8 1107s ok 32 /keyfile/roundtrip 1107s ok 33 /keyfile/bytes 1107s ok 34 /keyfile/get-locale 1107s ok 35 /keyfile/free-when-not-last-ref 1107s # Start of locale-string tests 1107s # /keyfile/locale-string/multiple-loads summary: Check that loading with translations multiple times works 1107s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2361 1107s ok 36 /keyfile/locale-string/multiple-loads 1107s # End of locale-string tests 1107s # End of keyfile tests 1107s ok - glib/keyfile.test 1107s # Running test: glib/list.test 1107s TAP version 14 1107s # random seed: R02S624335cfb776a1c24ef12b59f052a6ad 1107s 1..20 1107s # Start of list tests 1107s ok 1 /list/sort 1107s ok 2 /list/sort-with-data 1107s ok 3 /list/insert-before-link 1107s ok 4 /list/insert-sorted 1107s ok 5 /list/insert-sorted-with-data 1107s ok 6 /list/reverse 1107s ok 7 /list/nth 1107s ok 8 /list/concat 1107s ok 9 /list/remove 1107s ok 10 /list/remove-all 1107s ok 11 /list/first-last 1107s ok 12 /list/insert 1107s ok 13 /list/free-full 1107s ok 14 /list/copy 1107s ok 15 /list/copy-deep 1107s ok 16 /list/delete-link 1107s ok 17 /list/prepend 1107s ok 18 /list/position 1107s ok 19 /list/double-free 1107s # Start of sort tests 1107s ok 20 /list/sort/stable 1107s # End of sort tests 1107s # End of list tests 1107s ok - glib/list.test 1107s # Running test: glib/slist.test 1107s TAP version 14 1107s # random seed: R02S7120c0dda27631ece008c079fdd1109d 1107s 1..14 1107s # Start of slist tests 1107s ok 1 /slist/sort 1107s ok 2 /slist/sort-with-data 1107s ok 3 /slist/insert-sorted 1107s ok 4 /slist/insert-sorted-with-data 1107s ok 5 /slist/reverse 1107s ok 6 /slist/nth 1107s ok 7 /slist/remove 1107s ok 8 /slist/remove-all 1107s ok 9 /slist/insert 1107s ok 10 /slist/position 1107s ok 11 /slist/concat 1107s ok 12 /slist/copy 1107s # Start of sort tests 1107s ok 13 /slist/sort/stable 1107s # End of sort tests 1107s # Start of copy tests 1107s ok 14 /slist/copy/deep 1107s # End of copy tests 1107s # End of slist tests 1107s ok - glib/slist.test 1107s # Running test: glib/date.test 1107s TAP version 14 1107s # random seed: R02Sb34cba3e13a4b8e03bd4fa10aa5908c0 1107s 1..121 1107s # Start of date tests 1107s ok 1 /date/basic 1107s ok 2 /date/empty 1107s ok 3 /date/dmy 1107s ok 4 /date/julian 1107s ok 5 /date/compare 1107s ok 6 /date/dates 1107s ok 7 /date/strftime 1107s ok 8 /date/two-digit-years 1107s ok 9 /date/parse 1107s ok 10 /date/parse_locale_change # SKIP locale th_TH not available 1107s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793550 1107s ok 11 /date/month_substring 1107s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=749206 1107s ok 12 /date/month_names # SKIP libc doesn’t support all alternative month names 1107s ok 13 /date/clamp 1107s ok 14 /date/order 1107s ok 15 /date/copy 1107s # Vector 0: 0000-00-00, invalid 1107s # Vector 1: 0001-01-01, valid 1107s # Vector 2: 0000-01-01, invalid 1107s # Vector 3: 2000-02-30, invalid 1107s # Vector 4: 2000-02-29, valid 1107s # Vector 5: 2001-02-29, invalid 1107s # Vector 6: 65535-01-01, valid 1107s ok 16 /date/valid-dmy 1107s # Start of parse tests 1107s # Test 0 1107s # Test 1 1107s ok 17 /date/parse/invalid 1107s # End of parse tests 1107s # Start of year tests 1107s ok 18 /date/year/1 1107s ok 19 /date/year/2 1107s ok 20 /date/year/3 1107s ok 21 /date/year/4 1107s ok 22 /date/year/5 1107s ok 23 /date/year/6 1107s ok 24 /date/year/7 1107s ok 25 /date/year/8 1107s ok 26 /date/year/9 1107s ok 27 /date/year/10 1107s ok 28 /date/year/11 1107s ok 29 /date/year/12 1107s ok 30 /date/year/13 1107s ok 31 /date/year/14 1107s ok 32 /date/year/98 1107s ok 33 /date/year/99 1107s ok 34 /date/year/100 1107s ok 35 /date/year/101 1107s ok 36 /date/year/102 1107s ok 37 /date/year/103 1107s ok 38 /date/year/397 1107s ok 39 /date/year/398 1107s ok 40 /date/year/399 1107s ok 41 /date/year/400 1107s ok 42 /date/year/401 1107s ok 43 /date/year/402 1107s ok 44 /date/year/403 1107s ok 45 /date/year/404 1107s ok 46 /date/year/405 1107s ok 47 /date/year/406 1107s ok 48 /date/year/1598 1107s ok 49 /date/year/1599 1107s ok 50 /date/year/1600 1107s ok 51 /date/year/1601 1107s ok 52 /date/year/1602 1107s ok 53 /date/year/1650 1107s ok 54 /date/year/1651 1107s ok 55 /date/year/1897 1107s ok 56 /date/year/1898 1107s ok 57 /date/year/1899 1107s ok 58 /date/year/1900 1107s ok 59 /date/year/1901 1107s ok 60 /date/year/1902 1107s ok 61 /date/year/1903 1107s ok 62 /date/year/1961 1107s ok 63 /date/year/1962 1107s ok 64 /date/year/1963 1107s ok 65 /date/year/1964 1107s ok 66 /date/year/1965 1107s ok 67 /date/year/1967 1107s ok 68 /date/year/1968 1107s ok 69 /date/year/1969 1107s ok 70 /date/year/1970 1107s ok 71 /date/year/1971 1107s ok 72 /date/year/1972 1107s ok 73 /date/year/1973 1107s ok 74 /date/year/1974 1107s ok 75 /date/year/1975 1107s ok 76 /date/year/1976 1107s ok 77 /date/year/1977 1107s ok 78 /date/year/1978 1107s ok 79 /date/year/1979 1107s ok 80 /date/year/1980 1107s ok 81 /date/year/1981 1107s ok 82 /date/year/1982 1107s ok 83 /date/year/1983 1107s ok 84 /date/year/1984 1107s ok 85 /date/year/1985 1107s ok 86 /date/year/1986 1107s ok 87 /date/year/1987 1107s ok 88 /date/year/1988 1107s ok 89 /date/year/1989 1107s ok 90 /date/year/1990 1107s ok 91 /date/year/1991 1107s ok 92 /date/year/1992 1107s ok 93 /date/year/1993 1107s ok 94 /date/year/1994 1107s ok 95 /date/year/1995 1107s ok 96 /date/year/1996 1107s ok 97 /date/year/1997 1107s ok 98 /date/year/1998 1107s ok 99 /date/year/1999 1107s ok 100 /date/year/2000 1107s ok 101 /date/year/2001 1107s ok 102 /date/year/2002 1107s ok 103 /date/year/2003 1107s ok 104 /date/year/2004 1107s ok 105 /date/year/2005 1107s ok 106 /date/year/2006 1107s ok 107 /date/year/2007 1107s ok 108 /date/year/2008 1107s ok 109 /date/year/2009 1107s ok 110 /date/year/2010 1107s ok 111 /date/year/2011 1107s ok 112 /date/year/2012 1107s ok 113 /date/year/3000 1107s ok 114 /date/year/3001 1107s ok 115 /date/year/3002 1107s ok 116 /date/year/3998 1107s ok 117 /date/year/3999 1107s ok 118 /date/year/4000 1107s ok 119 /date/year/4001 1107s ok 120 /date/year/4002 1107s ok 121 /date/year/4003 1107s # End of year tests 1107s # End of date tests 1107s ok - glib/date.test 1107s # Running test: glib/accumulator.test 1107s TAP version 14 1107s # random seed: R02S846530ca66134411e0cec10307d61abf 1107s 1..1 1107s # Start of gobject tests 1107s ok 1 /gobject/accumulator 1107s # End of gobject tests 1107s ok - glib/accumulator.test 1107s # Running test: glib/thumbnail-verification.test 1107s TAP version 14 1107s # random seed: R02S3941d029abf0448e3d6121c8717aa2c4 1107s 1..1 1107s # Start of png-thumbs tests 1107s ok 1 /png-thumbs/validity 1107s # End of png-thumbs tests 1107s ok - glib/thumbnail-verification.test 1107s # Running test: glib/types.test 1107s TAP version 14 1107s # random seed: R02S952c51f95af418abaac8dc517769c530 1107s 1..1 1107s # Start of types tests 1107s ok 1 /types/basic_types 1107s # End of types tests 1107s ok - glib/types.test 1107s # Running test: glib/asyncqueue.test 1107s TAP version 14 1107s # random seed: R02S718319aaf4b9438965539b4bc698871a 1107s 1..7 1107s # Start of asyncqueue tests 1107s ok 1 /asyncqueue/basics 1107s ok 2 /asyncqueue/sort 1107s ok 3 /asyncqueue/destroy 1107s ok 4 /asyncqueue/threads 1107s ok 5 /asyncqueue/timed 1107s ok 6 /asyncqueue/remove 1107s ok 7 /asyncqueue/push_front 1107s # End of asyncqueue tests 1107s ok - glib/asyncqueue.test 1107s # Running test: glib/unicode-normalize.test 1107s TAP version 14 1107s # random seed: R02S966179787b40becb5ab8f4d0655fddf0 1107s 1..3 1107s # Start of unicode tests 1107s # Processing Part0 # Specific cases 1107s # Processing Part1 # Character by character test 1107s # Processing Part2 # Canonical Order Test 1108s # Processing Part3 # PRI #29 Test 1108s ok 1 /unicode/normalize 1108s # Invalid UTF-8 vector 0 1108s # Invalid UTF-8 vector 1 1108s # Invalid UTF-8 vector 2 1108s # Invalid UTF-8 vector 3 1108s # Invalid UTF-8 vector 4 1108s # Invalid UTF-8 vector 5 1108s # Invalid UTF-8 vector 6 1108s # Invalid UTF-8 vector 7 1108s # Invalid UTF-8 vector 8 1108s # Invalid UTF-8 vector 9 1108s # Invalid UTF-8 vector 10 1108s # Invalid UTF-8 vector 11 1108s # Invalid UTF-8 vector 12 1108s ok 2 /unicode/normalize-invalid 1108s # Start of normalize tests 1108s ok 3 /unicode/normalize/bad-length 1108s # End of normalize tests 1108s # End of unicode tests 1108s ok - glib/unicode-normalize.test 1108s # Running test: glib/once.test 1108s TAP version 14 1108s # random seed: R02Sf47a23561245c62bd5f7c131872b1bd8 1108s 1..5 1108s # Start of once tests 1108s # /once/single-threaded summary: Test g_once() usage from a single thread 1108s ok 1 /once/single-threaded 1108s # /once/multi-threaded summary: Test g_once() usage from multiple threads 1108s ok 2 /once/multi-threaded 1108s # End of once tests 1108s # Start of once-init tests 1108s # /once-init/single-threaded summary: Test g_once_init_{enter,leave}() usage from a single thread 1108s ok 3 /once-init/single-threaded 1108s # /once-init/multi-threaded summary: Test g_once_init_{enter,leave}() usage from multiple threads 1108s ok 4 /once-init/multi-threaded 1108s # /once-init/string summary: Test g_once_init_{enter,leave}() usage with a string 1108s ok 5 /once-init/string 1108s # End of once-init tests 1108s ok - glib/once.test 1108s # Running test: glib/network-address.test 1108s TAP version 14 1108s # random seed: R02Sd2f9bfaab8de35e7c289d30ebd8a1d42 1108s 1..72 1108s # Start of network-address tests 1108s ok 1 /network-address/basic 1108s ok 2 /network-address/scope-id 1108s ok 3 /network-address/uri-scope-id 1108s ok 4 /network-address/to-string 1108s # Start of parse-host tests 1108s ok 5 /network-address/parse-host/0 1108s ok 6 /network-address/parse-host/1 1108s ok 7 /network-address/parse-host/2 1108s ok 8 /network-address/parse-host/3 1108s ok 9 /network-address/parse-host/4 1108s ok 10 /network-address/parse-host/5 1108s ok 11 /network-address/parse-host/6 1108s ok 12 /network-address/parse-host/7 1108s ok 13 /network-address/parse-host/8 1108s ok 14 /network-address/parse-host/9 1108s ok 15 /network-address/parse-host/10 1108s ok 16 /network-address/parse-host/11 1108s ok 17 /network-address/parse-host/12 1108s ok 18 /network-address/parse-host/13 1108s # End of parse-host tests 1108s # Start of parse-uri tests 1108s ok 19 /network-address/parse-uri/0 1108s ok 20 /network-address/parse-uri/1 1108s ok 21 /network-address/parse-uri/2 1108s ok 22 /network-address/parse-uri/3 1108s ok 23 /network-address/parse-uri/4 1108s ok 24 /network-address/parse-uri/5 1108s ok 25 /network-address/parse-uri/6 1108s ok 26 /network-address/parse-uri/7 1108s ok 27 /network-address/parse-uri/8 1108s ok 28 /network-address/parse-uri/9 1108s # End of parse-uri tests 1108s # Start of resolve-address tests 1108s # Input: 192.168.1.2 1108s ok 29 /network-address/resolve-address/0 1108s # Input: fe80::42 1108s ok 30 /network-address/resolve-address/1 1108s # Input: 192.168.1.2:80 1108s ok 31 /network-address/resolve-address/2 1108s # Input: [fe80::42] 1108s ok 32 /network-address/resolve-address/3 1108s # Input: [fe80::42]:80 1108s ok 33 /network-address/resolve-address/4 1108s # Input: 192.168.258 1108s ok 34 /network-address/resolve-address/5 1108s # Input: 192.11010306 1108s ok 35 /network-address/resolve-address/6 1108s # Input: 3232235778 1108s ok 36 /network-address/resolve-address/7 1108s # Input: 0300.0250.0001.0001 1108s ok 37 /network-address/resolve-address/8 1108s # Input: 0xC0.0xA8.0x01.0x02 1108s ok 38 /network-address/resolve-address/9 1108s # Input: 0xc0.0xa8.0x01.0x02 1108s ok 39 /network-address/resolve-address/10 1108s # Input: 0xc0a80102 1108s ok 40 /network-address/resolve-address/11 1108s # End of resolve-address tests 1108s # Start of loopback tests 1108s ok 41 /network-address/loopback/basic 1108s ok 42 /network-address/loopback/sync 1108s ok 43 /network-address/loopback/async 1108s # End of loopback tests 1108s # Start of localhost tests 1108s ok 44 /network-address/localhost/async 1108s ok 45 /network-address/localhost/sync 1108s # End of localhost tests 1108s # Start of happy-eyeballs tests 1108s ok 46 /network-address/happy-eyeballs/basic 1108s ok 47 /network-address/happy-eyeballs/parallel 1108s ok 48 /network-address/happy-eyeballs/slow-ipv4 1108s ok 49 /network-address/happy-eyeballs/slow-ipv6 1108s ok 50 /network-address/happy-eyeballs/very-slow-ipv6 1109s # Executing: glib/network-address.test 1109s ok 51 /network-address/happy-eyeballs/slow-connection-and-ipv4 1109s # slow test /network-address/happy-eyeballs/slow-connection-and-ipv4 executed in 0.80 secs 1109s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1109s ok 52 /network-address/happy-eyeballs/ipv6-error-ipv4-first 1109s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1109s ok 53 /network-address/happy-eyeballs/ipv6-error-ipv6-first 1109s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/865 1109s # /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. 1109s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1109s ok 54 /network-address/happy-eyeballs/ipv6-error-ipv4-very-slow 1109s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1109s ok 55 /network-address/happy-eyeballs/ipv4-error-ipv6-first 1109s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1109s ok 56 /network-address/happy-eyeballs/ipv4-error-ipv4-first 1109s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1109s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1109s ok 57 /network-address/happy-eyeballs/both-error 1109s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1109s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1109s ok 58 /network-address/happy-eyeballs/both-error-delays-1 1109s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1109s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1109s ok 59 /network-address/happy-eyeballs/both-error-delays-2 1109s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1109s ok 60 /network-address/happy-eyeballs/both-error-delays-3 1109s # End of happy-eyeballs tests 1109s # End of network-address tests 1109s # Start of gresolver tests 1109s # Start of resolve-address tests 1109s # Input: 192.168.1.2 1109s ok 61 /gresolver/resolve-address/0 1109s # Input: fe80::42 1109s ok 62 /gresolver/resolve-address/1 1109s # Input: 192.168.1.2:80 1109s # Error: Error resolving ?192.168.1.2:80?: Name or service not known 1109s ok 63 /gresolver/resolve-address/2 1109s # Input: [fe80::42] 1109s # Error: Error resolving ?[fe80::42]?: Name or service not known 1109s ok 64 /gresolver/resolve-address/3 1109s # Input: [fe80::42]:80 1109s # Error: Error resolving ?[fe80::42]:80?: Name or service not known 1109s ok 65 /gresolver/resolve-address/4 1109s # Input: 192.168.258 1109s # Error: Error resolving ?192.168.258?: Name or service not known 1109s ok 66 /gresolver/resolve-address/5 1109s # Input: 192.11010306 1109s # Error: Error resolving ?192.11010306?: Name or service not known 1109s ok 67 /gresolver/resolve-address/6 1109s # Input: 3232235778 1109s # Error: Error resolving ?3232235778?: Name or service not known 1109s ok 68 /gresolver/resolve-address/7 1109s # Input: 0300.0250.0001.0001 1109s # Error: Error resolving ?0300.0250.0001.0001?: Name or service not known 1109s ok 69 /gresolver/resolve-address/8 1109s # Input: 0xC0.0xA8.0x01.0x02 1109s # Error: Error resolving ?0xC0.0xA8.0x01.0x02?: Name or service not known 1109s ok 70 /gresolver/resolve-address/9 1109s # Input: 0xc0.0xa8.0x01.0x02 1109s # Error: Error resolving ?0xc0.0xa8.0x01.0x02?: Name or service not known 1109s ok 71 /gresolver/resolve-address/10 1109s # Input: 0xc0a80102 1109s # Error: Error resolving ?0xc0a80102?: Name or service not known 1109s ok 72 /gresolver/resolve-address/11 1109s # End of resolve-address tests 1109s # End of gresolver tests 1109s ok - glib/network-address.test 1109s # Running test: glib/cxx-14.test 1109s TAP version 14 1109s # random seed: R02S8b5fd5ea162314209179823b1c4ee4cb 1109s 1..2 1109s # Start of gtask tests 1109s # 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. 1109s ok 1 /gtask/name 1109s # Start of name tests 1109s # 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. 1109s ok 2 /gtask/name/macro-wrapper 1109s # End of name tests 1109s # End of gtask tests 1109s ok - glib/cxx-14.test 1109s # Running test: glib/data-output-stream.test 1109s TAP version 14 1109s # random seed: R02Se0e775e2674337488d1641ee4703d795 1109s 1..7 1109s # Start of data-output-stream tests 1109s ok 1 /data-output-stream/basic 1109s ok 2 /data-output-stream/write-lines-LF 1109s ok 3 /data-output-stream/write-lines-CR 1109s ok 4 /data-output-stream/write-lines-CR-LF 1109s ok 5 /data-output-stream/write-int 1109s ok 6 /data-output-stream/seek 1109s ok 7 /data-output-stream/truncate 1109s # End of data-output-stream tests 1109s ok - glib/data-output-stream.test 1109s # Running test: glib/gdbus-exit-on-close.test 1109s TAP version 14 1109s # random seed: R02S7dab0253153535695b348e7f2ebf003d 1109s 1..4 1109s # Start of gdbus tests 1109s # Start of exit-on-close tests 1109s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_VC88Z2/gdbus/exit-on-close/default/.dirs/home 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_VC88Z2/gdbus/exit-on-close/default/.dirs/cache 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_VC88Z2/gdbus/exit-on-close/default/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_VC88Z2/gdbus/exit-on-close/default/.dirs/system-config2 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_VC88Z2/gdbus/exit-on-close/default/.dirs/config 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_VC88Z2/gdbus/exit-on-close/default/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_VC88Z2/gdbus/exit-on-close/default/.dirs/system-data2 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_VC88Z2/gdbus/exit-on-close/default/.dirs/data 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_VC88Z2/gdbus/exit-on-close/default/.dirs/state 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_VC88Z2/gdbus/exit-on-close/default/.dirs/runtime 1109s ok 1 /gdbus/exit-on-close/default 1109s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_VC88Z2/gdbus/exit-on-close/true/.dirs/home 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_VC88Z2/gdbus/exit-on-close/true/.dirs/cache 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_VC88Z2/gdbus/exit-on-close/true/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_VC88Z2/gdbus/exit-on-close/true/.dirs/system-config2 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_VC88Z2/gdbus/exit-on-close/true/.dirs/config 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_VC88Z2/gdbus/exit-on-close/true/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_VC88Z2/gdbus/exit-on-close/true/.dirs/system-data2 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_VC88Z2/gdbus/exit-on-close/true/.dirs/data 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_VC88Z2/gdbus/exit-on-close/true/.dirs/state 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_VC88Z2/gdbus/exit-on-close/true/.dirs/runtime 1109s ok 2 /gdbus/exit-on-close/true 1109s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_VC88Z2/gdbus/exit-on-close/false/.dirs/home 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_VC88Z2/gdbus/exit-on-close/false/.dirs/cache 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_VC88Z2/gdbus/exit-on-close/false/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_VC88Z2/gdbus/exit-on-close/false/.dirs/system-config2 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_VC88Z2/gdbus/exit-on-close/false/.dirs/config 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_VC88Z2/gdbus/exit-on-close/false/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_VC88Z2/gdbus/exit-on-close/false/.dirs/system-data2 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_VC88Z2/gdbus/exit-on-close/false/.dirs/data 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_VC88Z2/gdbus/exit-on-close/false/.dirs/state 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_VC88Z2/gdbus/exit-on-close/false/.dirs/runtime 1109s ok 3 /gdbus/exit-on-close/false 1109s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_VC88Z2/gdbus/exit-on-close/we-close/.dirs/home 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_VC88Z2/gdbus/exit-on-close/we-close/.dirs/cache 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_VC88Z2/gdbus/exit-on-close/we-close/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_VC88Z2/gdbus/exit-on-close/we-close/.dirs/system-config2 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_VC88Z2/gdbus/exit-on-close/we-close/.dirs/config 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_VC88Z2/gdbus/exit-on-close/we-close/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_VC88Z2/gdbus/exit-on-close/we-close/.dirs/system-data2 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_VC88Z2/gdbus/exit-on-close/we-close/.dirs/data 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_VC88Z2/gdbus/exit-on-close/we-close/.dirs/state 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_VC88Z2/gdbus/exit-on-close/we-close/.dirs/runtime 1109s ok 4 /gdbus/exit-on-close/we-close 1109s # Start of default tests 1109s # End of default tests 1109s # Start of true tests 1109s # End of true tests 1109s # Start of false tests 1109s # End of false tests 1109s # Start of we-close tests 1109s # End of we-close tests 1109s # End of exit-on-close tests 1109s # End of gdbus tests 1109s ok - glib/gdbus-exit-on-close.test 1109s # Running test: glib/strfuncs.test 1109s TAP version 14 1109s # random seed: R02S9230c378b826ee09a54b9d0b418b9596 1109s 1..50 1109s # Start of strfuncs tests 1109s ok 1 /strfuncs/ascii-strcasecmp 1109s ok 2 /strfuncs/ascii_strdown 1109s ok 3 /strfuncs/ascii_strdup 1109s ok 4 /strfuncs/ascii_strtod 1109s ok 5 /strfuncs/bounds-check 1109s ok 6 /strfuncs/has-prefix 1109s ok 7 /strfuncs/has-prefix-macro 1109s ok 8 /strfuncs/has-suffix 1109s ok 9 /strfuncs/has-suffix-macro 1109s ok 10 /strfuncs/memdup 1109s ok 11 /strfuncs/memdup2 1109s ok 12 /strfuncs/set_str 1109s ok 13 /strfuncs/stpcpy 1109s ok 14 /strfuncs/str_match_string 1109s ok 15 /strfuncs/str_tokenize_and_fold 1109s ok 16 /strfuncs/strcanon 1109s ok 17 /strfuncs/strchomp 1109s ok 18 /strfuncs/strchug 1109s ok 19 /strfuncs/strcompress-strescape 1109s ok 20 /strfuncs/strconcat 1109s ok 21 /strfuncs/strdelimit 1109s ok 22 /strfuncs/strdup 1109s ok 23 /strfuncs/strdup-printf 1109s ok 24 /strfuncs/strdupv 1109s ok 25 /strfuncs/strerror 1109s ok 26 /strfuncs/strip-context 1109s ok 27 /strfuncs/strjoin 1109s ok 28 /strfuncs/strjoinv 1109s ok 29 /strfuncs/strlcat 1109s ok 30 /strfuncs/strlcpy 1109s ok 31 /strfuncs/strncasecmp 1109s ok 32 /strfuncs/strndup 1109s ok 33 /strfuncs/strnfill 1109s ok 34 /strfuncs/strreverse 1109s ok 35 /strfuncs/strsignal 1109s ok 36 /strfuncs/strsplit 1109s ok 37 /strfuncs/strsplit-set 1109s ok 38 /strfuncs/strstr 1109s ok 39 /strfuncs/strtod 1109s ok 40 /strfuncs/strtoull-strtoll 1109s ok 41 /strfuncs/strup 1109s ok 42 /strfuncs/strv-contains 1109s ok 43 /strfuncs/strv-equal 1109s ok 44 /strfuncs/strv-length 1109s ok 45 /strfuncs/test-is-to-digit 1109s ok 46 /strfuncs/transliteration 1109s # /strfuncs/str-equal summary: Test macro and function forms of g_str_equal() 1109s ok 47 /strfuncs/str-equal 1109s # Start of ascii-string-to-num tests 1109s ok 48 /strfuncs/ascii-string-to-num/pathological 1109s ok 49 /strfuncs/ascii-string-to-num/usual 1109s # End of ascii-string-to-num tests 1109s # Start of strdup tests 1109s ok 50 /strfuncs/strdup/inline 1109s # End of strdup tests 1109s # End of strfuncs tests 1109s ok - glib/strfuncs.test 1109s # Running test: glib/signal-handler.test 1109s TAP version 14 1109s # random seed: R02S1cf8a579511efa5b43391a707f7c5f88 1109s 1..7 1109s # Start of signal tests 1109s # Start of handler tests 1109s # min perf: connected 1 handlers in 0.000 seconds 1109s ok 1 /signal/handler/connect-many 1109s # min perf: disconnected 1 handlers in 0.000 seconds 1109s ok 2 /signal/handler/disconnect-many-ordered 1109s # min perf: disconnected 1 handlers in 0.000 seconds 1109s ok 3 /signal/handler/disconnect-many-inverse 1109s # min perf: disconnected 1 handlers in 0.000 seconds 1109s ok 4 /signal/handler/disconnect-many-random 1109s # min perf: disconnected 1 handlers in 0.000 seconds 1109s ok 5 /signal/handler/disconnect-2-signals 1109s # min perf: disconnected 1 handlers in 0.000 seconds 1109s ok 6 /signal/handler/disconnect-2-objects 1109s # min perf: blocked and unblocked 1 handlers in 0.000 seconds 1109s ok 7 /signal/handler/block-many 1109s # End of handler tests 1109s # End of signal tests 1109s ok - glib/signal-handler.test 1109s # Running test: glib/boxed.test 1109s TAP version 14 1109s # random seed: R02S628be8abd696bb3005c4c8c27d6fc66d 1109s 1..27 1109s # Start of boxed tests 1109s ok 1 /boxed/define 1109s ok 2 /boxed/ownership 1109s ok 3 /boxed/closure 1109s ok 4 /boxed/date 1109s ok 5 /boxed/value 1109s ok 6 /boxed/string 1109s ok 7 /boxed/hashtable 1109s ok 8 /boxed/array 1109s ok 9 /boxed/ptrarray 1109s ok 10 /boxed/regex 1109s ok 11 /boxed/varianttype 1109s ok 12 /boxed/error 1109s ok 13 /boxed/datetime 1109s ok 14 /boxed/matchinfo 1109s ok 15 /boxed/keyfile 1109s ok 16 /boxed/mainloop 1109s ok 17 /boxed/maincontext 1109s ok 18 /boxed/source 1109s ok 19 /boxed/variantbuilder 1109s ok 20 /boxed/timezone 1109s ok 21 /boxed/pollfd 1109s ok 22 /boxed/markup 1109s ok 23 /boxed/thread 1109s ok 24 /boxed/checksum 1109s ok 25 /boxed/tree 1109s ok 26 /boxed/patternspec 1110s ok 27 /boxed/rand 1110s # End of boxed tests 1110s ok - glib/boxed.test 1110s # Running test: glib/base64.test 1110s TAP version 14 1110s # random seed: R02S4e6ba68e4d6d8d292901c1eb61f86aad 1110s 1..28 1110s # Start of base64 tests 1110s ok 1 /base64/encode 1110s ok 2 /base64/decode 1110s ok 3 /base64/decode-inplace 1110s ok 4 /base64/encode-decode 1110s # Start of full tests 1110s ok 5 /base64/full/1 1110s ok 6 /base64/full/2 1110s ok 7 /base64/full/3 1110s ok 8 /base64/full/4 1110s # End of full tests 1110s # Start of encode tests 1110s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698 1110s ok 9 /base64/encode/empty 1110s # Start of incremental tests 1110s # Start of small-block tests 1110s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 1110s ok 10 /base64/encode/incremental/small-block/1 1110s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 1110s ok 11 /base64/encode/incremental/small-block/2 1110s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 1110s ok 12 /base64/encode/incremental/small-block/3 1110s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 1110s ok 13 /base64/encode/incremental/small-block/4 1110s # End of small-block tests 1110s # End of incremental tests 1110s # End of encode tests 1110s # Start of incremental tests 1110s # Start of nobreak tests 1110s ok 14 /base64/incremental/nobreak/1 1110s ok 15 /base64/incremental/nobreak/2 1110s ok 16 /base64/incremental/nobreak/3 1110s ok 17 /base64/incremental/nobreak/4-a 1110s ok 18 /base64/incremental/nobreak/4-b 1110s ok 19 /base64/incremental/nobreak/4-c 1110s # End of nobreak tests 1110s # Start of break tests 1110s ok 20 /base64/incremental/break/1 1110s ok 21 /base64/incremental/break/2 1110s ok 22 /base64/incremental/break/3 1110s # End of break tests 1110s # Start of smallblock tests 1110s ok 23 /base64/incremental/smallblock/1 1110s ok 24 /base64/incremental/smallblock/2 1110s ok 25 /base64/incremental/smallblock/3 1110s ok 26 /base64/incremental/smallblock/4 1110s # End of smallblock tests 1110s # End of incremental tests 1110s # Start of decode tests 1110s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698 1110s ok 27 /base64/decode/empty 1110s # End of decode tests 1110s # Start of encode-decode tests 1110s # Vector 0: 1110s # Vector 1: f 1110s # Vector 2: fo 1110s # Vector 3: foo 1110s # Vector 4: foob 1110s # Vector 5: fooba 1110s # Vector 6: foobar 1110s ok 28 /base64/encode-decode/rfc4648 1110s # End of encode-decode tests 1110s # End of base64 tests 1110s ok - glib/base64.test 1110s # Running test: glib/pattern.test 1110s TAP version 14 1110s # random seed: R02S5aee9f3c4b5cb9de2856cefc20db0c9b 1110s 1..90 1110s # Start of pattern tests 1110s # Start of compile tests 1110s ok 1 /pattern/compile/0 1110s ok 2 /pattern/compile/1 1110s ok 3 /pattern/compile/2 1110s ok 4 /pattern/compile/3 1110s ok 5 /pattern/compile/4 1110s ok 6 /pattern/compile/5 1110s ok 7 /pattern/compile/6 1110s ok 8 /pattern/compile/7 1110s ok 9 /pattern/compile/8 1110s ok 10 /pattern/compile/9 1110s ok 11 /pattern/compile/10 1110s ok 12 /pattern/compile/11 1110s ok 13 /pattern/compile/12 1110s ok 14 /pattern/compile/13 1110s # End of compile tests 1110s # Start of copy tests 1110s ok 15 /pattern/copy/0 1110s ok 16 /pattern/copy/1 1110s ok 17 /pattern/copy/2 1110s ok 18 /pattern/copy/3 1110s ok 19 /pattern/copy/4 1110s ok 20 /pattern/copy/5 1110s ok 21 /pattern/copy/6 1110s ok 22 /pattern/copy/7 1110s ok 23 /pattern/copy/8 1110s ok 24 /pattern/copy/9 1110s ok 25 /pattern/copy/10 1110s ok 26 /pattern/copy/11 1110s ok 27 /pattern/copy/12 1110s ok 28 /pattern/copy/13 1110s # End of copy tests 1110s # Start of match tests 1110s ok 29 /pattern/match/0 1110s ok 30 /pattern/match/1 1110s ok 31 /pattern/match/2 1110s ok 32 /pattern/match/3 1110s ok 33 /pattern/match/4 1110s ok 34 /pattern/match/5 1110s ok 35 /pattern/match/6 1110s ok 36 /pattern/match/7 1110s ok 37 /pattern/match/8 1110s ok 38 /pattern/match/9 1110s ok 39 /pattern/match/10 1110s ok 40 /pattern/match/11 1110s ok 41 /pattern/match/12 1110s ok 42 /pattern/match/13 1110s ok 43 /pattern/match/14 1110s ok 44 /pattern/match/15 1110s ok 45 /pattern/match/16 1110s ok 46 /pattern/match/17 1110s ok 47 /pattern/match/18 1110s ok 48 /pattern/match/19 1110s ok 49 /pattern/match/20 1110s ok 50 /pattern/match/21 1110s ok 51 /pattern/match/22 1110s ok 52 /pattern/match/23 1110s ok 53 /pattern/match/24 1110s ok 54 /pattern/match/25 1110s ok 55 /pattern/match/26 1110s ok 56 /pattern/match/27 1110s ok 57 /pattern/match/28 1110s ok 58 /pattern/match/29 1110s ok 59 /pattern/match/30 1110s ok 60 /pattern/match/31 1110s ok 61 /pattern/match/32 1110s ok 62 /pattern/match/33 1110s ok 63 /pattern/match/34 1110s ok 64 /pattern/match/35 1110s ok 65 /pattern/match/36 1110s ok 66 /pattern/match/37 1110s ok 67 /pattern/match/38 1110s ok 68 /pattern/match/39 1110s ok 69 /pattern/match/40 1110s ok 70 /pattern/match/41 1110s ok 71 /pattern/match/42 1110s ok 72 /pattern/match/43 1110s ok 73 /pattern/match/44 1110s ok 74 /pattern/match/45 1110s ok 75 /pattern/match/46 1110s ok 76 /pattern/match/47 1110s ok 77 /pattern/match/48 1110s ok 78 /pattern/match/49 1110s ok 79 /pattern/match/50 1110s # End of match tests 1110s # Start of equal tests 1110s ok 80 /pattern/equal/0 1110s ok 81 /pattern/equal/1 1110s ok 82 /pattern/equal/2 1110s ok 83 /pattern/equal/3 1110s ok 84 /pattern/equal/4 1110s ok 85 /pattern/equal/5 1110s ok 86 /pattern/equal/6 1110s ok 87 /pattern/equal/7 1110s ok 88 /pattern/equal/8 1110s ok 89 /pattern/equal/9 1110s ok 90 /pattern/equal/10 1110s # End of equal tests 1110s # End of pattern tests 1110s ok - glib/pattern.test 1110s # Running test: glib/gdbus-connection-loss.test 1110s TAP version 14 1110s # random seed: R02S8ef99490958eb7c3054f6ab74b0a8bd5 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s 1..1 1110s # Start of gdbus tests 1110s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-loss_6S89Z2/gdbus/connection-loss/.dirs/home 1110s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-loss_6S89Z2/gdbus/connection-loss/.dirs/cache 1110s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-loss_6S89Z2/gdbus/connection-loss/.dirs/system-config1:/tmp/test_gdbus-connection-loss_6S89Z2/gdbus/connection-loss/.dirs/system-config2 1110s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-loss_6S89Z2/gdbus/connection-loss/.dirs/config 1110s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-loss_6S89Z2/gdbus/connection-loss/.dirs/system-data1:/tmp/test_gdbus-connection-loss_6S89Z2/gdbus/connection-loss/.dirs/system-data2 1110s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-loss_6S89Z2/gdbus/connection-loss/.dirs/data 1110s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-loss_6S89Z2/gdbus/connection-loss/.dirs/state 1110s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-loss_6S89Z2/gdbus/connection-loss/.dirs/runtime 1110s ok 1 /gdbus/connection-loss 1110s # End of gdbus tests 1110s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1110s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1110s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1110s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1110s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1110s ok - glib/gdbus-connection-loss.test 1110s # Running test: glib/gdbus-method-invocation.test 1110s TAP version 14 1110s # random seed: R02S75221aec6464a124e3c79ab5b0c4200c 1110s 1..1 1110s # Start of gdbus tests 1110s # Start of method-invocation tests 1110s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-method-invocation_R21K02/gdbus/method-invocation/return/.dirs/home 1110s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-method-invocation_R21K02/gdbus/method-invocation/return/.dirs/cache 1110s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-method-invocation_R21K02/gdbus/method-invocation/return/.dirs/system-config1:/tmp/test_gdbus-method-invocation_R21K02/gdbus/method-invocation/return/.dirs/system-config2 1110s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-method-invocation_R21K02/gdbus/method-invocation/return/.dirs/config 1110s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-method-invocation_R21K02/gdbus/method-invocation/return/.dirs/system-data1:/tmp/test_gdbus-method-invocation_R21K02/gdbus/method-invocation/return/.dirs/system-data2 1110s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-method-invocation_R21K02/gdbus/method-invocation/return/.dirs/data 1110s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-method-invocation_R21K02/gdbus/method-invocation/return/.dirs/state 1110s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-method-invocation_R21K02/gdbus/method-invocation/return/.dirs/runtime 1110s # /gdbus/method-invocation/return summary: Test calling g_dbus_method_invocation_return_*() in various ways 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # Calling org.freedesktop.DBus.Properties.Get 1110s # Calling org.freedesktop.DBus.Properties.Get 1110s # Calling org.freedesktop.DBus.Properties.Get 1110s # Calling org.freedesktop.DBus.Properties.Set 1110s # Calling org.freedesktop.DBus.Properties.GetAll 1110s # Calling org.example.Foo.WrongReturnType 1110s # Calling org.example.Foo.GetFDs 1110s # Calling org.example.Foo.GetFDs 1110s # Calling org.example.Foo.ReturnError 1110s # Calling org.example.Foo.CloseBeforeReturning 1110s ok 1 /gdbus/method-invocation/return 1110s # End of method-invocation tests 1110s # End of gdbus tests 1110s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1110s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1110s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1110s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1110s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1110s ok - glib/gdbus-method-invocation.test 1110s # Running test: glib/param.test 1110s TAP version 14 1110s # random seed: R02Sa293934958ecdc8a6057a0359d527d2f 1110s 1..32 1110s # Start of param tests 1110s ok 1 /param/value 1110s ok 2 /param/strings 1110s ok 3 /param/qdata 1110s ok 4 /param/validate 1110s ok 5 /param/convert 1110s ok 6 /param/implement # SKIP Skipping slow /param/implement test 1110s ok 7 /param/default 1110s ok 8 /param/is-valid-name 1110s # Start of invalid-name tests 1110s # /param/invalid-name/colon summary: Test that properties cannot be created with invalid names 1110s ok 9 /param/invalid-name/colon 1110s # /param/invalid-name/first-char summary: Test that properties cannot be created with invalid names 1110s ok 10 /param/invalid-name/first-char 1110s # /param/invalid-name/empty summary: Test that properties cannot be created with invalid names 1110s ok 11 /param/invalid-name/empty 1110s # End of invalid-name tests 1110s # Start of implement tests 1110s # Start of subprocess tests 1110s # End of subprocess tests 1110s # End of implement tests 1110s # End of param tests 1110s # Start of value tests 1110s ok 12 /value/transform 1110s # End of value tests 1110s # Start of paramspec tests 1110s ok 13 /paramspec/char 1110s ok 14 /paramspec/uchar 1110s ok 15 /paramspec/int 1110s ok 16 /paramspec/uint 1110s ok 17 /paramspec/long 1110s ok 18 /paramspec/ulong 1110s ok 19 /paramspec/int64 1110s ok 20 /paramspec/uint64 1110s ok 21 /paramspec/float 1110s ok 22 /paramspec/double 1110s ok 23 /paramspec/unichar 1110s ok 24 /paramspec/param 1110s ok 25 /paramspec/null-param 1110s ok 26 /paramspec/string 1110s ok 27 /paramspec/override 1110s ok 28 /paramspec/gtype 1110s ok 29 /paramspec/variant 1110s ok 30 /paramspec/custom 1110s ok 31 /paramspec/pool 1110s # Start of variant tests 1110s ok 32 /paramspec/variant/cmp 1110s # End of variant tests 1110s # End of paramspec tests 1110s ok - glib/param.test 1110s # Running test: glib/gdbus-close-pending.test 1110s TAP version 14 1110s # random seed: R02Sbc130e78b68bec1b1b154765bdb7653c 1110s 1..2 1110s # Start of gdbus tests 1110s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_G8SO02/gdbus/close-pending/.dirs/home 1110s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_G8SO02/gdbus/close-pending/.dirs/cache 1110s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_G8SO02/gdbus/close-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_G8SO02/gdbus/close-pending/.dirs/system-config2 1110s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_G8SO02/gdbus/close-pending/.dirs/config 1110s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_G8SO02/gdbus/close-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_G8SO02/gdbus/close-pending/.dirs/system-data2 1110s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_G8SO02/gdbus/close-pending/.dirs/data 1110s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_G8SO02/gdbus/close-pending/.dirs/state 1110s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_G8SO02/gdbus/close-pending/.dirs/runtime 1110s ok 1 /gdbus/close-pending 1110s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_G8SO02/gdbus/unref-pending/.dirs/home 1110s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_G8SO02/gdbus/unref-pending/.dirs/cache 1110s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_G8SO02/gdbus/unref-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_G8SO02/gdbus/unref-pending/.dirs/system-config2 1110s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_G8SO02/gdbus/unref-pending/.dirs/config 1110s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_G8SO02/gdbus/unref-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_G8SO02/gdbus/unref-pending/.dirs/system-data2 1110s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_G8SO02/gdbus/unref-pending/.dirs/data 1110s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_G8SO02/gdbus/unref-pending/.dirs/state 1110s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_G8SO02/gdbus/unref-pending/.dirs/runtime 1110s ok 2 /gdbus/unref-pending 1110s # End of gdbus tests 1110s ok - glib/gdbus-close-pending.test 1110s # Running test: glib/memory-input-stream.test 1110s TAP version 14 1110s # random seed: R02Sf11446a829ce0f153992da355c6613ef 1110s 1..6 1110s # Start of memory-input-stream tests 1110s ok 1 /memory-input-stream/read-chunks 1110s ok 2 /memory-input-stream/async 1110s ok 3 /memory-input-stream/seek 1110s ok 4 /memory-input-stream/truncate 1110s ok 5 /memory-input-stream/read-bytes 1110s ok 6 /memory-input-stream/from-bytes 1110s # End of memory-input-stream tests 1110s ok - glib/memory-input-stream.test 1110s # Running test: glib/portal-support-flatpak-gsettings-only.test 1110s TAP version 14 1110s # random seed: R02S9e7aa0056e2769c43442a95658562ac0 1110s 1..1 1110s # Start of portal-support tests 1110s # Start of flatpak tests 1110s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-gsettings-only_DL0D02/portal-support/flatpak/gsettings/.dirs/home 1110s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_DL0D02/portal-support/flatpak/gsettings/.dirs/cache 1110s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_DL0D02/portal-support/flatpak/gsettings/.dirs/system-config1:/tmp/test_portal-support-flatpak-gsettings-only_DL0D02/portal-support/flatpak/gsettings/.dirs/system-config2 1110s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-gsettings-only_DL0D02/portal-support/flatpak/gsettings/.dirs/config 1110s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_DL0D02/portal-support/flatpak/gsettings/.dirs/system-data1:/tmp/test_portal-support-flatpak-gsettings-only_DL0D02/portal-support/flatpak/gsettings/.dirs/system-data2 1110s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-gsettings-only_DL0D02/portal-support/flatpak/gsettings/.dirs/data 1110s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_DL0D02/portal-support/flatpak/gsettings/.dirs/state 1110s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-gsettings-only_DL0D02/portal-support/flatpak/gsettings/.dirs/runtime 1110s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-gsettings-only_DL0D02/portal-support/flatpak/gsettings/.dirs/runtime/.flatpak-info 1110s ok 1 /portal-support/flatpak/gsettings 1110s # End of flatpak tests 1110s # End of portal-support tests 1110s ok - glib/portal-support-flatpak-gsettings-only.test 1110s # Running test: glib/mem-overflow.test 1110s TAP version 14 1110s # random seed: R02Se19c04a9009e7198224df52c09745e8b 1110s 1..2 1110s # Start of mem tests 1110s ok 1 /mem/overflow 1110s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=615379 1110s ok 2 /mem/empty-alloc 1110s # Start of overflow tests 1110s # Start of subprocess tests 1110s # End of subprocess tests 1110s # End of overflow tests 1110s # Start of empty-alloc tests 1110s # End of empty-alloc tests 1110s # End of mem tests 1110s ok - glib/mem-overflow.test 1110s # Running test: glib/power-profile-monitor.test 1110s TAP version 14 1110s # random seed: R02Scfc024c59510ee00cc9ada303f70ef3a 1110s 1..1 1110s # Start of power-profile-monitor tests 1110s # GLib-GIO-DEBUG: Failed to initialize portal (GPowerProfileMonitorPortal) for gio-power-profile-monitor: Not using portals 1110s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GPowerProfileMonitorDBus) for ?gio-power-profile-monitor? 1110s ok 1 /power-profile-monitor/default 1110s # End of power-profile-monitor tests 1110s ok - glib/power-profile-monitor.test 1110s # Running test: glib/tree.test 1110s TAP version 14 1110s # random seed: R02S9d122c2eec2c360fe58081631d3dc9d9 1110s 1..7 1110s # Start of tree tests 1110s ok 1 /tree/search 1110s ok 2 /tree/remove 1110s ok 3 /tree/destroy 1110s ok 4 /tree/traverse 1110s ok 5 /tree/insert 1110s ok 6 /tree/bounds 1110s ok 7 /tree/remove-all 1110s # End of tree tests 1110s ok - glib/tree.test 1110s # Running test: glib/repository-search-paths.test 1110s TAP version 14 1110s # random seed: R02S2563a84b675d50a2ffe0eddbaf678b0b 1110s 1..4 1110s # Start of repository tests 1110s # Start of search-paths tests 1110s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_I2TE02/repository/search-paths/default/.dirs/home 1110s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_I2TE02/repository/search-paths/default/.dirs/cache 1110s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_I2TE02/repository/search-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_I2TE02/repository/search-paths/default/.dirs/system-config2 1110s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_I2TE02/repository/search-paths/default/.dirs/config 1110s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_I2TE02/repository/search-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_I2TE02/repository/search-paths/default/.dirs/system-data2 1110s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_I2TE02/repository/search-paths/default/.dirs/data 1110s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_I2TE02/repository/search-paths/default/.dirs/state 1110s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_I2TE02/repository/search-paths/default/.dirs/runtime 1110s ok 1 /repository/search-paths/default 1110s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_I2TE02/repository/search-paths/prepend/.dirs/home 1110s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_I2TE02/repository/search-paths/prepend/.dirs/cache 1110s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_I2TE02/repository/search-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_I2TE02/repository/search-paths/prepend/.dirs/system-config2 1110s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_I2TE02/repository/search-paths/prepend/.dirs/config 1110s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_I2TE02/repository/search-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_I2TE02/repository/search-paths/prepend/.dirs/system-data2 1110s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_I2TE02/repository/search-paths/prepend/.dirs/data 1110s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_I2TE02/repository/search-paths/prepend/.dirs/state 1110s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_I2TE02/repository/search-paths/prepend/.dirs/runtime 1110s ok 2 /repository/search-paths/prepend 1110s # End of search-paths tests 1110s # Start of library-paths tests 1110s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_I2TE02/repository/library-paths/default/.dirs/home 1110s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_I2TE02/repository/library-paths/default/.dirs/cache 1110s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_I2TE02/repository/library-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_I2TE02/repository/library-paths/default/.dirs/system-config2 1110s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_I2TE02/repository/library-paths/default/.dirs/config 1110s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_I2TE02/repository/library-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_I2TE02/repository/library-paths/default/.dirs/system-data2 1110s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_I2TE02/repository/library-paths/default/.dirs/data 1110s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_I2TE02/repository/library-paths/default/.dirs/state 1110s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_I2TE02/repository/library-paths/default/.dirs/runtime 1110s ok 3 /repository/library-paths/default 1110s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_I2TE02/repository/library-paths/prepend/.dirs/home 1110s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_I2TE02/repository/library-paths/prepend/.dirs/cache 1110s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_I2TE02/repository/library-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_I2TE02/repository/library-paths/prepend/.dirs/system-config2 1110s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_I2TE02/repository/library-paths/prepend/.dirs/config 1110s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_I2TE02/repository/library-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_I2TE02/repository/library-paths/prepend/.dirs/system-data2 1110s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_I2TE02/repository/library-paths/prepend/.dirs/data 1110s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_I2TE02/repository/library-paths/prepend/.dirs/state 1110s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_I2TE02/repository/library-paths/prepend/.dirs/runtime 1110s ok 4 /repository/library-paths/prepend 1110s # End of library-paths tests 1110s # End of repository tests 1110s ok - glib/repository-search-paths.test 1110s # Running test: glib/win32-appinfo.test 1110s TAP version 14 1110s # random seed: R02S5ad7db5bb845b3225f65edb148337bb0 1110s 1..5 1110s # Start of appinfo tests 1110s ok 1 /appinfo/utf16-strfuncs 1110s ok 2 /appinfo/win32-extract-executable 1110s ok 3 /appinfo/win32-rundll32-fixup 1110s ok 4 /appinfo/win32-parse-filename 1110s ok 5 /appinfo/win32-utf16-conversion-fail 1110s # Start of subprocess tests 1110s # End of subprocess tests 1110s # End of appinfo tests 1110s ok - glib/win32-appinfo.test 1110s # Running test: glib/bitlock.test 1110s TAP version 14 1110s # random seed: R02Sedd9bc0b348ad3d7eedac8cd759db529 1110s 1..1 1110s # Start of bitlock tests 1110s # Start of performance tests 1110s # max perf: iterations per second 1110s ok 1 /bitlock/performance/uncontended 1110s # End of performance tests 1110s # End of bitlock tests 1110s ok - glib/bitlock.test 1110s # Running test: glib/vfs.test 1110s TAP version 14 1110s # random seed: R02Sa06eb251b5d7fe77bd083dc6bfd996cd 1110s 1..3 1110s # Start of gvfs tests 1110s ok 1 /gvfs/local 1110s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1110s ok 2 /gvfs/register-scheme 1110s # Start of resource tests 1110s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3090 1110s # /gvfs/resource/malformed-escaping summary: Test that g_vfs_get_file_for_uri() returns an invalid file for an invalid URI 1110s ok 3 /gvfs/resource/malformed-escaping 1110s # End of resource tests 1110s # End of gvfs tests 1110s ok - glib/vfs.test 1110s # Running test: glib/notify-init2.test 1110s TAP version 14 1110s # random seed: R02Sf9661a7456593ba1c7b0c2db30f74d7b 1110s 1..1 1110s # Start of properties tests 1110s # /properties/notify-in-init2 summary: Test that notify freezing during construction of objects with custom constructor works 1110s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665 1110s ok 1 /properties/notify-in-init2 1110s # End of properties tests 1110s ok - glib/notify-init2.test 1110s # Running test: glib/power-profile-monitor-portal.test 1111s TAP version 13 1111s ok 1 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal # SKIP xdg-desktop-portal not available 1111s ok 2 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal_default # SKIP xdg-desktop-portal not available 1111s 1..2 1111s ok - glib/power-profile-monitor-portal.test 1111s # Running test: glib/gdbus-introspection.test 1111s TAP version 14 1111s # random seed: R02S6817cbccfb18ca1a6eee6e3ba3f926b0 1111s 1..4 1111s # Start of gdbus tests 1111s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_S88L02/gdbus/introspection-parser/.dirs/home 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_S88L02/gdbus/introspection-parser/.dirs/cache 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_S88L02/gdbus/introspection-parser/.dirs/system-config1:/tmp/test_gdbus-introspection_S88L02/gdbus/introspection-parser/.dirs/system-config2 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_S88L02/gdbus/introspection-parser/.dirs/config 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_S88L02/gdbus/introspection-parser/.dirs/system-data1:/tmp/test_gdbus-introspection_S88L02/gdbus/introspection-parser/.dirs/system-data2 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_S88L02/gdbus/introspection-parser/.dirs/data 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_S88L02/gdbus/introspection-parser/.dirs/state 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_S88L02/gdbus/introspection-parser/.dirs/runtime 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s ok 1 /gdbus/introspection-parser 1111s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_S88L02/gdbus/introspection-generate/.dirs/home 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_S88L02/gdbus/introspection-generate/.dirs/cache 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_S88L02/gdbus/introspection-generate/.dirs/system-config1:/tmp/test_gdbus-introspection_S88L02/gdbus/introspection-generate/.dirs/system-config2 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_S88L02/gdbus/introspection-generate/.dirs/config 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_S88L02/gdbus/introspection-generate/.dirs/system-data1:/tmp/test_gdbus-introspection_S88L02/gdbus/introspection-generate/.dirs/system-data2 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_S88L02/gdbus/introspection-generate/.dirs/data 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_S88L02/gdbus/introspection-generate/.dirs/state 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_S88L02/gdbus/introspection-generate/.dirs/runtime 1111s ok 2 /gdbus/introspection-generate 1111s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_S88L02/gdbus/introspection-default-direction/.dirs/home 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_S88L02/gdbus/introspection-default-direction/.dirs/cache 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_S88L02/gdbus/introspection-default-direction/.dirs/system-config1:/tmp/test_gdbus-introspection_S88L02/gdbus/introspection-default-direction/.dirs/system-config2 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_S88L02/gdbus/introspection-default-direction/.dirs/config 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_S88L02/gdbus/introspection-default-direction/.dirs/system-data1:/tmp/test_gdbus-introspection_S88L02/gdbus/introspection-default-direction/.dirs/system-data2 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_S88L02/gdbus/introspection-default-direction/.dirs/data 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_S88L02/gdbus/introspection-default-direction/.dirs/state 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_S88L02/gdbus/introspection-default-direction/.dirs/runtime 1111s ok 3 /gdbus/introspection-default-direction 1111s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_S88L02/gdbus/introspection-extra-data/.dirs/home 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_S88L02/gdbus/introspection-extra-data/.dirs/cache 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_S88L02/gdbus/introspection-extra-data/.dirs/system-config1:/tmp/test_gdbus-introspection_S88L02/gdbus/introspection-extra-data/.dirs/system-config2 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_S88L02/gdbus/introspection-extra-data/.dirs/config 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_S88L02/gdbus/introspection-extra-data/.dirs/system-data1:/tmp/test_gdbus-introspection_S88L02/gdbus/introspection-extra-data/.dirs/system-data2 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_S88L02/gdbus/introspection-extra-data/.dirs/data 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_S88L02/gdbus/introspection-extra-data/.dirs/state 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_S88L02/gdbus/introspection-extra-data/.dirs/runtime 1111s ok 4 /gdbus/introspection-extra-data 1111s # End of gdbus tests 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s ok - glib/gdbus-introspection.test 1111s # Running test: glib/portal-support-flatpak-none.test 1111s TAP version 14 1111s # random seed: R02Sf6456d00c43441433c13e422eab594ef 1111s 1..1 1111s # Start of portal-support tests 1111s # Start of flatpak tests 1111s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-none_5L6K02/portal-support/flatpak/none/.dirs/home 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-none_5L6K02/portal-support/flatpak/none/.dirs/cache 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-none_5L6K02/portal-support/flatpak/none/.dirs/system-config1:/tmp/test_portal-support-flatpak-none_5L6K02/portal-support/flatpak/none/.dirs/system-config2 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-none_5L6K02/portal-support/flatpak/none/.dirs/config 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-none_5L6K02/portal-support/flatpak/none/.dirs/system-data1:/tmp/test_portal-support-flatpak-none_5L6K02/portal-support/flatpak/none/.dirs/system-data2 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-none_5L6K02/portal-support/flatpak/none/.dirs/data 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-none_5L6K02/portal-support/flatpak/none/.dirs/state 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-none_5L6K02/portal-support/flatpak/none/.dirs/runtime 1111s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-none_5L6K02/portal-support/flatpak/none/.dirs/runtime/.flatpak-info 1111s ok 1 /portal-support/flatpak/none 1111s # End of flatpak tests 1111s # End of portal-support tests 1111s ok - glib/portal-support-flatpak-none.test 1111s # Running test: glib/gmenumodel.test 1111s TAP version 14 1111s # random seed: R02S46b58c9b8bbc9aa55af505f13defb0fe 1111s 1..15 1111s # Start of gmenu tests 1111s ok 1 /gmenu/equality 1112s ok 2 /gmenu/random 1112s ok 3 /gmenu/attributes 1112s ok 4 /gmenu/links 1112s ok 5 /gmenu/mutable 1112s ok 6 /gmenu/convenience 1112s ok 7 /gmenu/menuitem 1112s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s ok 8 /gmenu/input-validation 1112s # Start of dbus tests 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1113s ok 9 /gmenu/dbus/roundtrip 1113s # slow test /gmenu/dbus/roundtrip executed in 1.01 secs 1113s ok 10 /gmenu/dbus/subscriptions 1114s # Executing: glib/gmenumodel.test 1114s ok 11 /gmenu/dbus/threaded 1114s # slow test /gmenu/dbus/threaded executed in 0.58 secs 1114s # Start of peer tests 1115s ok 12 /gmenu/dbus/peer/roundtrip 1115s # slow test /gmenu/dbus/peer/roundtrip executed in 1.01 secs 1115s ok 13 /gmenu/dbus/peer/subscriptions 1115s # End of peer tests 1115s # Start of export tests 1115s # /gmenu/dbus/export/error-handling summary: Test that error handling of menu model export failure works 1115s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366 1115s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1115s ok 14 /gmenu/dbus/export/error-handling 1115s # End of export tests 1115s # End of dbus tests 1115s # Start of attributes tests 1115s ok 15 /gmenu/attributes/iterate 1115s # End of attributes tests 1115s # End of gmenu tests 1115s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1115s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1115s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1115s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1115s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1115s ok - glib/gmenumodel.test 1115s # Running test: glib/glistmodel.test 1115s TAP version 14 1115s # random seed: R02S7351b438c0ef6457686342f7fc094a2a 1115s 1..18 1115s # Start of glistmodel tests 1115s # Start of store tests 1115s ok 1 /glistmodel/store/properties 1115s ok 2 /glistmodel/store/non-gobjects 1115s ok 3 /glistmodel/store/boundaries 1115s ok 4 /glistmodel/store/refcounts 1115s ok 5 /glistmodel/store/sorted 1115s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307 1115s ok 6 /glistmodel/store/splice-replace-middle 1115s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307 1115s ok 7 /glistmodel/store/splice-replace-all 1115s ok 8 /glistmodel/store/splice-noop 1115s ok 9 /glistmodel/store/splice-remove-multiple 1115s ok 10 /glistmodel/store/splice-add-multiple 1115s ok 11 /glistmodel/store/splice-wrong-type 1115s ok 12 /glistmodel/store/item-type 1115s ok 13 /glistmodel/store/remove-all 1115s ok 14 /glistmodel/store/sort 1115s ok 15 /glistmodel/store/get-item-cache 1115s ok 16 /glistmodel/store/items-changed 1115s ok 17 /glistmodel/store/past-end 1115s ok 18 /glistmodel/store/find 1115s # End of store tests 1115s # End of glistmodel tests 1115s ok - glib/glistmodel.test 1115s # Running test: glib/portal-support-flatpak-network-only.test 1115s TAP version 14 1115s # random seed: R02S2a260982bca66781c641674bf98f67d6 1115s 1..1 1115s # Start of portal-support tests 1115s # Start of flatpak tests 1115s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-network-only_2GN6Z2/portal-support/flatpak/network/.dirs/home 1115s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-network-only_2GN6Z2/portal-support/flatpak/network/.dirs/cache 1115s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-network-only_2GN6Z2/portal-support/flatpak/network/.dirs/system-config1:/tmp/test_portal-support-flatpak-network-only_2GN6Z2/portal-support/flatpak/network/.dirs/system-config2 1115s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-network-only_2GN6Z2/portal-support/flatpak/network/.dirs/config 1115s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-network-only_2GN6Z2/portal-support/flatpak/network/.dirs/system-data1:/tmp/test_portal-support-flatpak-network-only_2GN6Z2/portal-support/flatpak/network/.dirs/system-data2 1115s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-network-only_2GN6Z2/portal-support/flatpak/network/.dirs/data 1115s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-network-only_2GN6Z2/portal-support/flatpak/network/.dirs/state 1115s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-network-only_2GN6Z2/portal-support/flatpak/network/.dirs/runtime 1115s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-network-only_2GN6Z2/portal-support/flatpak/network/.dirs/runtime/.flatpak-info 1115s ok 1 /portal-support/flatpak/network 1115s # End of flatpak tests 1115s # End of portal-support tests 1115s ok - glib/portal-support-flatpak-network-only.test 1115s # Running test: glib/gio-tool.py.test 1115s TAP version 13 1115s ok 1 __main__.TestGioTool.test_help 1115s # tmpdir: /tmp/tmpp4bs9ws3 1115s # gio: /usr/bin/gio 1115s # Running: ['/usr/bin/gio', '--help'] 1115s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1115s # Output: Usage: 1115s # gio COMMAND [ARGS…] 1115s # 1115s # Commands: 1115s # help Print help 1115s # version Print version 1115s # cat Concatenate files to standard output 1115s # copy Copy one or more files 1115s # info Show information about locations 1115s # launch Launch an application from a desktop file 1115s # list List the contents of locations 1115s # mime Get or set the handler for a mimetype 1115s # mkdir Create directories 1115s # monitor Monitor files and directories for changes 1115s # mount Mount or unmount the locations 1115s # move Move one or more files 1115s # open Open files with the default application 1115s # rename Rename a file 1115s # remove Delete one or more files 1115s # save Read from standard input and save 1115s # set Set a file attribute 1115s # trash Move files or directories to the trash 1115s # tree Lists the contents of locations in a tree 1115s # 1115s # Use “gio help COMMAND†to get detailed help. 1115s # Running: ['/usr/bin/gio', 'help'] 1115s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1115s # Output: Usage: 1115s # gio COMMAND [ARGS…] 1115s # 1115s # Commands: 1115s # help Print help 1115s # version Print version 1115s # cat Concatenate files to standard output 1115s # copy Copy one or more files 1115s # info Show information about locations 1115s # launch Launch an application from a desktop file 1115s # list List the contents of locations 1115s # mime Get or set the handler for a mimetype 1115s # mkdir Create directories 1115s # monitor Monitor files and directories for changes 1115s # mount Mount or unmount the locations 1115s # move Move one or more files 1115s # open Open files with the default application 1115s # rename Rename a file 1115s # remove Delete one or more files 1115s # save Read from standard input and save 1115s # set Set a file attribute 1115s # trash Move files or directories to the trash 1115s # tree Lists the contents of locations in a tree 1115s # 1115s # Use “gio help COMMAND†to get detailed help. 1115s ok 2 __main__.TestGioTool.test_info_non_default_attributes 1115s # tmpdir: /tmp/tmpdeof8l45 1115s # gio: /usr/bin/gio 1115s # Running: ['/usr/bin/gio', 'info', '--attributes=standard::content-type', '/tmp/tmpdeof8l45/tmpl6d2ympp'] 1115s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1115s # Output: uri: file:///tmp/tmpdeof8l45/tmpl6d2ympp 1115s # local path: /tmp/tmpdeof8l45/tmpl6d2ympp 1115s # unix mount: /dev/vda1 / ext4 rw,relatime,discard,errors=remount-ro,commit=30 1115s # attributes: 1115s # standard::content-type: application/x-zerosize 1115s ok 3 __main__.TestGioTool.test_no_args 1115s # tmpdir: /tmp/tmpebbiyl42 1115s # gio: /usr/bin/gio 1115s # Running: ['/usr/bin/gio'] 1115s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1115s 1..3 1115s ok - glib/gio-tool.py.test 1115s # Running test: glib/cond.test 1115s TAP version 14 1115s # random seed: R02S213440dc8b52c2e7d0375ce629f6779e 1115s 1..4 1115s # Start of thread tests 1115s ok 1 /thread/cond1 1115s ok 2 /thread/cond2 1115s # Start of cond tests 1117s ok 3 /thread/cond/wait-until 1117s # slow test /thread/cond/wait-until executed in 1.02 secs 1117s # Start of wait-until tests 1117s # /thread/cond/wait-until/contended-and-interrupted summary: Check proper handling of errno in g_cond_wait_until with a contended mutex 1117s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/957 1117s ok 4 /thread/cond/wait-until/contended-and-interrupted 1117s # slow test /thread/cond/wait-until/contended-and-interrupted executed in 1.10 secs 1117s # End of wait-until tests 1117s # End of cond tests 1117s # End of thread tests 1117s ok - glib/cond.test 1117s # Running test: glib/unix.test 1117s TAP version 14 1117s # random seed: R02Sfc6c703ec38d42cdbe63ea918d7851f0 1117s 1..20 1117s # Start of glib-unix tests 1117s # /glib-unix/closefrom summary: Test g_closefrom(), g_fdwalk_set_cloexec() 1117s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3247 1117s ok 1 /glib-unix/closefrom 1118s ok 2 /glib-unix/pipe 1118s # /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 1118s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2795 1118s ok 3 /glib-unix/pipe-stdio-overwrite 1118s # /glib-unix/pipe-struct summary: Test GUnixPipe structure 1118s ok 4 /glib-unix/pipe-struct 1118s # /glib-unix/pipe-struct-auto summary: Test g_auto(GUnixPipe) 1118s ok 5 /glib-unix/pipe-struct-auto 1118s ok 6 /glib-unix/error 1118s ok 7 /glib-unix/nonblocking 1118s ok 8 /glib-unix/sighup 1118s # slow test /glib-unix/sighup executed in 0.50 secs 1119s ok 9 /glib-unix/sigterm 1119s # slow test /glib-unix/sigterm executed in 0.50 secs 1119s # Executing: glib/unix.test 1119s ok 10 /glib-unix/sighup_again 1119s # slow test /glib-unix/sighup_again executed in 0.50 secs 1119s ok 11 /glib-unix/sighup_add_remove 1119s ok 12 /glib-unix/sighup_nested 1121s ok 13 /glib-unix/callback_after_signal 1121s # slow test /glib-unix/callback_after_signal executed in 2.00 secs 1121s ok 14 /glib-unix/child-wait 1121s # Start of closefrom tests 1121s # Start of subprocess tests 1121s # End of subprocess tests 1121s # End of closefrom tests 1121s # Start of pipe tests 1121s # /glib-unix/pipe/fd-cloexec summary: Test that FD_CLOEXEC is still accepted as an argument to g_unix_open_pipe() 1121s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3459 1121s # GLib-DEBUG: g_unix_open_pipe() called with FD_CLOEXEC; please migrate to using O_CLOEXEC instead 1121s ok 15 /glib-unix/pipe/fd-cloexec 1121s # End of pipe tests 1121s # Start of sighup tests 1122s ok 16 /glib-unix/sighup/alternate-stack 1122s # slow test /glib-unix/sighup/alternate-stack executed in 1.00 secs 1122s # End of sighup tests 1122s # Start of sigterm tests 1123s ok 17 /glib-unix/sigterm/alternate-stack 1123s # slow test /glib-unix/sigterm/alternate-stack executed in 1.00 secs 1123s # End of sigterm tests 1123s # Start of sighup_again tests 1124s # Executing: glib/unix.test 1124s ok 18 /glib-unix/sighup_again/alternate-stack 1124s # slow test /glib-unix/sighup_again/alternate-stack executed in 1.00 secs 1124s # End of sighup_again tests 1124s # Start of get-passwd-entry tests 1124s # /glib-unix/get-passwd-entry/root summary: Tests that g_unix_get_passwd_entry() works for a known-existing username. 1124s ok 19 /glib-unix/get-passwd-entry/root 1124s # /glib-unix/get-passwd-entry/nonexistent summary: Tests that g_unix_get_passwd_entry() returns an error for a nonexistent username. 1124s ok 20 /glib-unix/get-passwd-entry/nonexistent 1124s # End of get-passwd-entry tests 1124s # End of glib-unix tests 1124s ok - glib/unix.test 1124s # Running test: glib/hook.test 1124s TAP version 14 1124s # random seed: R02S2851e6164eea4196c1538f0f420aa17f 1124s 1..2 1124s # Start of hook tests 1124s ok 1 /hook/basics 1124s ok 2 /hook/corner-cases 1124s # End of hook tests 1124s ok - glib/hook.test 1124s # Running test: glib/autoptr-gio.test 1124s TAP version 14 1124s # random seed: R02S4e7a2a672f7f4671b6de16e732a419c9 1124s 1..1 1124s # Start of autoptr tests 1124s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1124s ok 1 /autoptr/autoptr 1124s # End of autoptr tests 1124s ok - glib/autoptr-gio.test 1124s # Running test: glib/gobject-private.test 1124s TAP version 14 1124s # random seed: R02S16141be29cd51a9a8e53d4dea29023e2 1124s 1..3 1124s # Start of private tests 1124s ok 1 /private/instance 1124s ok 2 /private/derived-instance 1124s ok 3 /private/mixed-derived-instance 1124s # End of private tests 1124s ok - glib/gobject-private.test 1124s # Running test: glib/macros-c-11.test 1124s TAP version 14 1124s # random seed: R02S3897445802e3c5717c7319577f64e90e 1124s 1..4 1124s # Start of C tests 1124s ok 1 /C/standard-11 1124s # End of C tests 1124s # Start of alignof tests 1124s ok 2 /alignof/fallback 1124s # End of alignof tests 1124s # Start of assert tests 1124s ok 3 /assert/static 1124s # End of assert tests 1124s # Start of struct tests 1124s ok 4 /struct/sizeof_member 1124s # End of struct tests 1124s ok - glib/macros-c-11.test 1124s # Running test: glib/onceinit.test 1124s TAP version 14 1124s # random seed: R02S2e460e5b37beea655f5a0bb3d65674f8 1124s 1..1 1124s # Start of thread tests 1124s ok 1 /thread/onceinit 1124s # End of thread tests 1124s ok - glib/onceinit.test 1124s # Running test: glib/gdbus-proxy-threads.test 1124s TAP version 14 1124s # random seed: R02Sc34ee28957454f0e3db99ca50386e3ad 1124s 1..1 1124s # Start of gdbus tests 1124s # Start of proxy tests 1124s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-threads_BR08Z2/gdbus/proxy/vs-threads/.dirs/home 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-threads_BR08Z2/gdbus/proxy/vs-threads/.dirs/cache 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-threads_BR08Z2/gdbus/proxy/vs-threads/.dirs/system-config1:/tmp/test_gdbus-proxy-threads_BR08Z2/gdbus/proxy/vs-threads/.dirs/system-config2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-threads_BR08Z2/gdbus/proxy/vs-threads/.dirs/config 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-threads_BR08Z2/gdbus/proxy/vs-threads/.dirs/system-data1:/tmp/test_gdbus-proxy-threads_BR08Z2/gdbus/proxy/vs-threads/.dirs/system-data2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-threads_BR08Z2/gdbus/proxy/vs-threads/.dirs/data 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-threads_BR08Z2/gdbus/proxy/vs-threads/.dirs/state 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-threads_BR08Z2/gdbus/proxy/vs-threads/.dirs/runtime 1124s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1125s ok 1 /gdbus/proxy/vs-threads 1125s # slow test /gdbus/proxy/vs-threads executed in 0.89 secs 1125s # End of proxy tests 1125s # End of gdbus tests 1125s cleaning up pid 14983 1125s ok - glib/gdbus-proxy-threads.test 1125s # Running test: glib/power-profile-monitor-dbus.test 1125s TAP version 13 1125s ok 1 __main__.TestPowerProfileMonitor.test_power_profile_power_saver_enabled 1125s 1..1 1125s ok - glib/power-profile-monitor-dbus.test 1125s # Running test: glib/utf8-performance.test 1125s TAP version 14 1125s # random seed: R02Se75ff8cc9c20e7487ba5ddc9a5e14e3e 1125s 1..36 1125s # Start of utf8 tests 1125s # Start of perf tests 1125s # Start of get_char tests 1125s # max perf: 43.0 MB/s 1125s ok 1 /utf8/perf/get_char/ascii 1125s # max perf: inf MB/s 1125s ok 2 /utf8/perf/get_char/latin1 1125s # max perf: 160.0 MB/s 1125s ok 3 /utf8/perf/get_char/cyrillic 1125s # max perf: inf MB/s 1125s ok 4 /utf8/perf/get_char/han 1125s # End of get_char tests 1125s # Start of get_char-backwards tests 1125s # max perf: 43.0 MB/s 1125s ok 5 /utf8/perf/get_char-backwards/ascii 1125s # max perf: 67.0 MB/s 1125s ok 6 /utf8/perf/get_char-backwards/latin1 1125s # max perf: 160.0 MB/s 1125s ok 7 /utf8/perf/get_char-backwards/cyrillic 1125s # max perf: inf MB/s 1125s ok 8 /utf8/perf/get_char-backwards/han 1125s # End of get_char-backwards tests 1125s # Start of get_char_validated tests 1125s # max perf: 43.0 MB/s 1125s ok 9 /utf8/perf/get_char_validated/ascii 1125s # max perf: inf MB/s 1125s ok 10 /utf8/perf/get_char_validated/latin1 1125s # max perf: 160.0 MB/s 1125s ok 11 /utf8/perf/get_char_validated/cyrillic 1125s # max perf: 156.0 MB/s 1125s ok 12 /utf8/perf/get_char_validated/han 1125s # End of get_char_validated tests 1125s # Start of utf8_to_ucs4 tests 1125s # max perf: inf MB/s 1125s ok 13 /utf8/perf/utf8_to_ucs4/ascii 1125s # max perf: inf MB/s 1125s ok 14 /utf8/perf/utf8_to_ucs4/latin1 1125s # max perf: 160.0 MB/s 1125s ok 15 /utf8/perf/utf8_to_ucs4/cyrillic 1125s # max perf: inf MB/s 1125s ok 16 /utf8/perf/utf8_to_ucs4/han 1125s # End of utf8_to_ucs4 tests 1125s # Start of utf8_to_ucs4-sized tests 1125s # max perf: 43.0 MB/s 1125s ok 17 /utf8/perf/utf8_to_ucs4-sized/ascii 1125s # max perf: 67.0 MB/s 1125s ok 18 /utf8/perf/utf8_to_ucs4-sized/latin1 1125s # max perf: inf MB/s 1125s ok 19 /utf8/perf/utf8_to_ucs4-sized/cyrillic 1125s # max perf: 156.0 MB/s 1125s ok 20 /utf8/perf/utf8_to_ucs4-sized/han 1125s # End of utf8_to_ucs4-sized tests 1125s # Start of utf8_to_ucs4_fast tests 1125s # max perf: inf MB/s 1125s ok 21 /utf8/perf/utf8_to_ucs4_fast/ascii 1125s # max perf: 67.0 MB/s 1125s ok 22 /utf8/perf/utf8_to_ucs4_fast/latin1 1125s # max perf: inf MB/s 1125s ok 23 /utf8/perf/utf8_to_ucs4_fast/cyrillic 1125s # max perf: inf MB/s 1125s ok 24 /utf8/perf/utf8_to_ucs4_fast/han 1125s # End of utf8_to_ucs4_fast tests 1125s # Start of utf8_to_ucs4_fast-sized tests 1125s # max perf: inf MB/s 1125s ok 25 /utf8/perf/utf8_to_ucs4_fast-sized/ascii 1125s # max perf: inf MB/s 1125s ok 26 /utf8/perf/utf8_to_ucs4_fast-sized/latin1 1125s # max perf: 160.0 MB/s 1125s ok 27 /utf8/perf/utf8_to_ucs4_fast-sized/cyrillic 1125s # max perf: inf MB/s 1125s ok 28 /utf8/perf/utf8_to_ucs4_fast-sized/han 1125s # End of utf8_to_ucs4_fast-sized tests 1125s # Start of utf8_validate tests 1125s # max perf: inf MB/s 1125s ok 29 /utf8/perf/utf8_validate/ascii 1125s # max perf: 67.0 MB/s 1125s ok 30 /utf8/perf/utf8_validate/latin1 1125s # max perf: inf MB/s 1125s ok 31 /utf8/perf/utf8_validate/cyrillic 1125s # max perf: inf MB/s 1125s ok 32 /utf8/perf/utf8_validate/han 1125s # End of utf8_validate tests 1125s # Start of utf8_validate-sized tests 1125s # max perf: inf MB/s 1125s ok 33 /utf8/perf/utf8_validate-sized/ascii 1125s # max perf: inf MB/s 1125s ok 34 /utf8/perf/utf8_validate-sized/latin1 1125s # max perf: 160.0 MB/s 1125s ok 35 /utf8/perf/utf8_validate-sized/cyrillic 1125s # max perf: inf MB/s 1125s ok 36 /utf8/perf/utf8_validate-sized/han 1125s # End of utf8_validate-sized tests 1125s # End of perf tests 1125s # End of utf8 tests 1125s ok - glib/utf8-performance.test 1125s # Running test: glib/signals-refcount2.test 1125s TAP version 14 1125s # random seed: R02Seb069416f41bf8d1d7b22c3679db5658 1125s 1..1 1125s # Start of gobject tests 1125s # Start of refcount tests 1125s # init 0x64b0309e5420 1125s # 1125s # init 0x64b0309e55c0 1125s # 1129s # Executing: glib/signals-refcount2.test 1130s # dispose 0x64b0309e5420! 1130s # 1130s # dispose 0x64b0309e55c0! 1130s # 1130s ok 1 /gobject/refcount/signals 1130s # slow test /gobject/refcount/signals executed in 5.00 secs 1130s # End of refcount tests 1130s # End of gobject tests 1130s ok - glib/signals-refcount2.test 1130s # Running test: glib/rand.test 1130s TAP version 14 1130s # random seed: R02S6b622d20441c5f9b774a2cdb36a5c77d 1130s 1..2 1130s # Start of rand tests 1130s ok 1 /rand/test-rand 1130s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=502560 1130s ok 2 /rand/double-range 1130s # End of rand tests 1130s ok - glib/rand.test 1130s # Running test: glib/gapplication.test 1130s TAP version 14 1130s # random seed: R02S888fd21b8bf26a7d8e25e0a39af0586b 1130s 1..24 1130s # Start of gapplication tests 1130s ok 1 /gapplication/no-dbus 1130s ok 2 /gapplication/no-appid 1130s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1130s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1130s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1130s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1130s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1130s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1130s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1130s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1130s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1130s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1130s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1130s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1130s ok 3 /gapplication/properties 1130s ok 4 /gapplication/app-id 1130s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1130s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1130s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1130s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1130s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1130s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1130s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1130s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1130s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1130s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1130s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1130s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1130s ok 5 /gapplication/quit 1130s ok 6 /gapplication/registered 1130s ok 7 /gapplication/local-actions 1130s ok 8 /gapplication/local-command-line 1130s ok 9 /gapplication/resource-path 1130s ok 10 /gapplication/test-help 1130s ok 11 /gapplication/command-line-done 1130s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1130s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1130s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1130s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1130s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1130s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1130s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1130s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1130s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1130s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1130s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1130s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1130s ok 12 /gapplication/test-busy 1130s ok 13 /gapplication/test-handle-local-options1 1130s ok 14 /gapplication/test-handle-local-options2 1130s ok 15 /gapplication/test-handle-local-options3 1130s ok 16 /gapplication/api 1130s ok 17 /gapplication/version 1130s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1130s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1130s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1130s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1130s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1130s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1131s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1131s # launching subprocess 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s ok 18 /gapplication/replace 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1131s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1131s # launching subprocess 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s ok 19 /gapplication/no-replace 1131s # slow test /gapplication/no-replace executed in 0.51 secs 1131s # Start of dbus tests 1131s # /gapplication/dbus/activate summary: Test that calling the Activate D-Bus method works 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1131s # Message 0 1131s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1131s # Message 1 1131s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1131s # Message 2 1131s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s ok 20 /gapplication/dbus/activate 1131s # /gapplication/dbus/open summary: Test that calling the Open D-Bus method works 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1131s # Message 0 1131s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1131s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1131s # Message 1 1131s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1131s # Message 2 1131s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1131s # Message 3 1131s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s ok 21 /gapplication/dbus/open 1131s # /gapplication/dbus/command-line summary: Test that calling the CommandLine D-Bus method works 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1131s # Message 0 1131s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1131s # Message 1 1131s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1131s # Message 2 1131s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s ok 22 /gapplication/dbus/command-line 1131s # /gapplication/dbus/command-line-done summary: Test that GDBusCommandLine.done() works 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1131s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s ok 23 /gapplication/dbus/command-line-done 1131s # /gapplication/dbus/activate-action summary: Test that calling the ActivateAction D-Bus method works 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1131s # Message 0 1131s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1131s # Message 1 1131s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1131s # Message 2 1131s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1131s # Message 3 1131s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1131s # Message 4 1131s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1131s # Message 5 1131s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1131s # Message 6 1131s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1131s # Message 7 1131s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1131s # Message 8 1131s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1131s # Message 9 1131s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1131s # Message 10 1131s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1131s # Message 11 1131s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s ok 24 /gapplication/dbus/activate-action 1131s # End of dbus tests 1131s # End of gapplication tests 1131s ok - glib/gapplication.test 1131s # Running test: glib/rcbox.test 1131s TAP version 14 1131s # random seed: R02Sae5bfa8bfb03963d544e84c27b5c4fcb 1131s 1..8 1131s # Start of rcbox tests 1131s ok 1 /rcbox/new 1131s # global_point = 0x57aa6e56d840 1131s ok 2 /rcbox/release-full 1131s # global_point_a = 0x57aa6e56d840 1131s # global_point_b = 0x57aa6e56d800 1131s ok 3 /rcbox/dup 1131s ok 4 /rcbox/alignment 1131s # End of rcbox tests 1131s # Start of atomic-rcbox tests 1131s ok 5 /atomic-rcbox/new 1131s # global_point = 0x57aa6e56da10 1131s ok 6 /atomic-rcbox/release-full 1131s # global_point_a = 0x57aa6e56da10 1131s # global_point_b = 0x57aa6e56d9d0 1131s ok 7 /atomic-rcbox/dup 1131s ok 8 /atomic-rcbox/alignment 1131s # End of atomic-rcbox tests 1131s ok - glib/rcbox.test 1131s # Running test: glib/union-info.test 1131s TAP version 14 1131s # random seed: R02S460614c5495ab9b8ac004ef7fe4a8ec2 1131s 1..2 1131s # Start of union-info tests 1131s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_BFWM02/union-info/basic/.dirs/home 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_BFWM02/union-info/basic/.dirs/cache 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_BFWM02/union-info/basic/.dirs/system-config1:/tmp/test_union-info_BFWM02/union-info/basic/.dirs/system-config2 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_BFWM02/union-info/basic/.dirs/config 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_BFWM02/union-info/basic/.dirs/system-data1:/tmp/test_union-info_BFWM02/union-info/basic/.dirs/system-data2 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_BFWM02/union-info/basic/.dirs/data 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_BFWM02/union-info/basic/.dirs/state 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_BFWM02/union-info/basic/.dirs/runtime 1131s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1131s # /union-info/basic summary: Test basic properties of GIUnionInfo 1131s ok 1 /union-info/basic 1131s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_BFWM02/union-info/methods/.dirs/home 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_BFWM02/union-info/methods/.dirs/cache 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_BFWM02/union-info/methods/.dirs/system-config1:/tmp/test_union-info_BFWM02/union-info/methods/.dirs/system-config2 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_BFWM02/union-info/methods/.dirs/config 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_BFWM02/union-info/methods/.dirs/system-data1:/tmp/test_union-info_BFWM02/union-info/methods/.dirs/system-data2 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_BFWM02/union-info/methods/.dirs/data 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_BFWM02/union-info/methods/.dirs/state 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_BFWM02/union-info/methods/.dirs/runtime 1131s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1131s # /union-info/methods summary: Test retrieving methods from GIUnionInfo 1131s ok 2 /union-info/methods 1131s # End of union-info tests 1131s ok - glib/union-info.test 1131s # Running test: glib/memory-monitor.test 1131s TAP version 14 1131s # random seed: R02S9fbce2ad4222de096deed385c95893c4 1131s 1..1 1131s # Start of memory-monitor tests 1131s # GLib-GIO-DEBUG: Failed to initialize portal (GMemoryMonitorPortal) for gio-memory-monitor: Not using portals 1131s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GMemoryMonitorDBus) for ?gio-memory-monitor? 1131s ok 1 /memory-monitor/default 1131s # End of memory-monitor tests 1131s ok - glib/memory-monitor.test 1131s # Running test: glib/repository.test 1131s TAP version 14 1131s # random seed: R02Sde63d667eb3596acfa2e72025321c802 1131s 1..23 1131s # Start of repository tests 1131s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_WF4M02/repository/basic/.dirs/home 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_WF4M02/repository/basic/.dirs/cache 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_WF4M02/repository/basic/.dirs/system-config1:/tmp/test_repository_WF4M02/repository/basic/.dirs/system-config2 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_WF4M02/repository/basic/.dirs/config 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_WF4M02/repository/basic/.dirs/system-data1:/tmp/test_repository_WF4M02/repository/basic/.dirs/system-data2 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_WF4M02/repository/basic/.dirs/data 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_WF4M02/repository/basic/.dirs/state 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_WF4M02/repository/basic/.dirs/runtime 1131s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1131s # /repository/basic summary: Test basic opening of a repository and requiring a typelib 1131s ok 1 /repository/basic 1131s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_WF4M02/repository/info/.dirs/home 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_WF4M02/repository/info/.dirs/cache 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_WF4M02/repository/info/.dirs/system-config1:/tmp/test_repository_WF4M02/repository/info/.dirs/system-config2 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_WF4M02/repository/info/.dirs/config 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_WF4M02/repository/info/.dirs/system-data1:/tmp/test_repository_WF4M02/repository/info/.dirs/system-data2 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_WF4M02/repository/info/.dirs/data 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_WF4M02/repository/info/.dirs/state 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_WF4M02/repository/info/.dirs/runtime 1131s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1131s # /repository/info summary: Test retrieving some basic info blobs from a typelib 1131s ok 2 /repository/info 1131s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_WF4M02/repository/dependencies/.dirs/home 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_WF4M02/repository/dependencies/.dirs/cache 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_WF4M02/repository/dependencies/.dirs/system-config1:/tmp/test_repository_WF4M02/repository/dependencies/.dirs/system-config2 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_WF4M02/repository/dependencies/.dirs/config 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_WF4M02/repository/dependencies/.dirs/system-data1:/tmp/test_repository_WF4M02/repository/dependencies/.dirs/system-data2 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_WF4M02/repository/dependencies/.dirs/data 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_WF4M02/repository/dependencies/.dirs/state 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_WF4M02/repository/dependencies/.dirs/runtime 1131s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1131s # /repository/dependencies summary: Test ensures namespace dependencies are correctly exposed 1131s ok 3 /repository/dependencies 1131s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_WF4M02/repository/arg-info/.dirs/home 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_WF4M02/repository/arg-info/.dirs/cache 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_WF4M02/repository/arg-info/.dirs/system-config1:/tmp/test_repository_WF4M02/repository/arg-info/.dirs/system-config2 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_WF4M02/repository/arg-info/.dirs/config 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_WF4M02/repository/arg-info/.dirs/system-data1:/tmp/test_repository_WF4M02/repository/arg-info/.dirs/system-data2 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_WF4M02/repository/arg-info/.dirs/data 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_WF4M02/repository/arg-info/.dirs/state 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_WF4M02/repository/arg-info/.dirs/runtime 1131s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1131s # /repository/arg-info summary: Test retrieving GIArgInfos from a typelib 1131s ok 4 /repository/arg-info 1131s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_WF4M02/repository/callable-info/.dirs/home 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_WF4M02/repository/callable-info/.dirs/cache 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_WF4M02/repository/callable-info/.dirs/system-config1:/tmp/test_repository_WF4M02/repository/callable-info/.dirs/system-config2 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_WF4M02/repository/callable-info/.dirs/config 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_WF4M02/repository/callable-info/.dirs/system-data1:/tmp/test_repository_WF4M02/repository/callable-info/.dirs/system-data2 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_WF4M02/repository/callable-info/.dirs/data 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_WF4M02/repository/callable-info/.dirs/state 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_WF4M02/repository/callable-info/.dirs/runtime 1131s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1131s # /repository/callable-info summary: Test retrieving GICallableInfos from a typelib 1131s ok 5 /repository/callable-info 1131s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_WF4M02/repository/callback-info/.dirs/home 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_WF4M02/repository/callback-info/.dirs/cache 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_WF4M02/repository/callback-info/.dirs/system-config1:/tmp/test_repository_WF4M02/repository/callback-info/.dirs/system-config2 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_WF4M02/repository/callback-info/.dirs/config 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_WF4M02/repository/callback-info/.dirs/system-data1:/tmp/test_repository_WF4M02/repository/callback-info/.dirs/system-data2 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_WF4M02/repository/callback-info/.dirs/data 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_WF4M02/repository/callback-info/.dirs/state 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_WF4M02/repository/callback-info/.dirs/runtime 1131s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1131s # /repository/callback-info summary: Test retrieving GICallbackInfos from a typelib 1131s ok 6 /repository/callback-info 1131s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_WF4M02/repository/char-types/.dirs/home 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_WF4M02/repository/char-types/.dirs/cache 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_WF4M02/repository/char-types/.dirs/system-config1:/tmp/test_repository_WF4M02/repository/char-types/.dirs/system-config2 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_WF4M02/repository/char-types/.dirs/config 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_WF4M02/repository/char-types/.dirs/system-data1:/tmp/test_repository_WF4M02/repository/char-types/.dirs/system-data2 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_WF4M02/repository/char-types/.dirs/data 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_WF4M02/repository/char-types/.dirs/state 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_WF4M02/repository/char-types/.dirs/runtime 1131s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1131s # /repository/char-types summary: Test that signed and unsigned char GITypeInfo have GITypeTag of INT8 and UINT8 respectively 1131s ok 7 /repository/char-types 1131s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_WF4M02/repository/constructor-return-type/.dirs/home 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_WF4M02/repository/constructor-return-type/.dirs/cache 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_WF4M02/repository/constructor-return-type/.dirs/system-config1:/tmp/test_repository_WF4M02/repository/constructor-return-type/.dirs/system-config2 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_WF4M02/repository/constructor-return-type/.dirs/config 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_WF4M02/repository/constructor-return-type/.dirs/system-data1:/tmp/test_repository_WF4M02/repository/constructor-return-type/.dirs/system-data2 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_WF4M02/repository/constructor-return-type/.dirs/data 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_WF4M02/repository/constructor-return-type/.dirs/state 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_WF4M02/repository/constructor-return-type/.dirs/runtime 1131s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1131s # /repository/constructor-return-type summary: Test the return type of a constructor, g_object_newv() 1131s ok 8 /repository/constructor-return-type 1131s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_WF4M02/repository/enum-info-c-identifier/.dirs/home 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_WF4M02/repository/enum-info-c-identifier/.dirs/cache 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_WF4M02/repository/enum-info-c-identifier/.dirs/system-config1:/tmp/test_repository_WF4M02/repository/enum-info-c-identifier/.dirs/system-config2 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_WF4M02/repository/enum-info-c-identifier/.dirs/config 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_WF4M02/repository/enum-info-c-identifier/.dirs/system-data1:/tmp/test_repository_WF4M02/repository/enum-info-c-identifier/.dirs/system-data2 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_WF4M02/repository/enum-info-c-identifier/.dirs/data 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_WF4M02/repository/enum-info-c-identifier/.dirs/state 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_WF4M02/repository/enum-info-c-identifier/.dirs/runtime 1131s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1131s # /repository/enum-info-c-identifier summary: Test that every enum member has a C identifier 1131s ok 9 /repository/enum-info-c-identifier 1131s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_WF4M02/repository/enum-info-static-methods/.dirs/home 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_WF4M02/repository/enum-info-static-methods/.dirs/cache 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_WF4M02/repository/enum-info-static-methods/.dirs/system-config1:/tmp/test_repository_WF4M02/repository/enum-info-static-methods/.dirs/system-config2 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_WF4M02/repository/enum-info-static-methods/.dirs/config 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_WF4M02/repository/enum-info-static-methods/.dirs/system-data1:/tmp/test_repository_WF4M02/repository/enum-info-static-methods/.dirs/system-data2 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_WF4M02/repository/enum-info-static-methods/.dirs/data 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_WF4M02/repository/enum-info-static-methods/.dirs/state 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_WF4M02/repository/enum-info-static-methods/.dirs/runtime 1131s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1131s # /repository/enum-info-static-methods summary: Test an enum with methods 1131s ok 10 /repository/enum-info-static-methods 1131s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_WF4M02/repository/error-quark/.dirs/home 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_WF4M02/repository/error-quark/.dirs/cache 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_WF4M02/repository/error-quark/.dirs/system-config1:/tmp/test_repository_WF4M02/repository/error-quark/.dirs/system-config2 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_WF4M02/repository/error-quark/.dirs/config 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_WF4M02/repository/error-quark/.dirs/system-data1:/tmp/test_repository_WF4M02/repository/error-quark/.dirs/system-data2 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_WF4M02/repository/error-quark/.dirs/data 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_WF4M02/repository/error-quark/.dirs/state 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_WF4M02/repository/error-quark/.dirs/runtime 1131s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1131s # /repository/error-quark summary: Test finding an error quark by error domain 1131s ok 11 /repository/error-quark 1131s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_WF4M02/repository/flags-info-c-identifier/.dirs/home 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_WF4M02/repository/flags-info-c-identifier/.dirs/cache 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_WF4M02/repository/flags-info-c-identifier/.dirs/system-config1:/tmp/test_repository_WF4M02/repository/flags-info-c-identifier/.dirs/system-config2 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_WF4M02/repository/flags-info-c-identifier/.dirs/config 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_WF4M02/repository/flags-info-c-identifier/.dirs/system-data1:/tmp/test_repository_WF4M02/repository/flags-info-c-identifier/.dirs/system-data2 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_WF4M02/repository/flags-info-c-identifier/.dirs/data 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_WF4M02/repository/flags-info-c-identifier/.dirs/state 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_WF4M02/repository/flags-info-c-identifier/.dirs/runtime 1131s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1131s # /repository/flags-info-c-identifier summary: Test that every flags member has a C identifier 1131s ok 12 /repository/flags-info-c-identifier 1131s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_WF4M02/repository/fundamental-ref-func/.dirs/home 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_WF4M02/repository/fundamental-ref-func/.dirs/cache 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_WF4M02/repository/fundamental-ref-func/.dirs/system-config1:/tmp/test_repository_WF4M02/repository/fundamental-ref-func/.dirs/system-config2 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_WF4M02/repository/fundamental-ref-func/.dirs/config 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_WF4M02/repository/fundamental-ref-func/.dirs/system-data1:/tmp/test_repository_WF4M02/repository/fundamental-ref-func/.dirs/system-data2 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_WF4M02/repository/fundamental-ref-func/.dirs/data 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_WF4M02/repository/fundamental-ref-func/.dirs/state 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_WF4M02/repository/fundamental-ref-func/.dirs/runtime 1131s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1131s # /repository/fundamental-ref-func summary: Test getting the ref func of a fundamental type 1131s ok 13 /repository/fundamental-ref-func 1131s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_WF4M02/repository/instance-method-ownership-transfer/.dirs/home 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_WF4M02/repository/instance-method-ownership-transfer/.dirs/cache 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_WF4M02/repository/instance-method-ownership-transfer/.dirs/system-config1:/tmp/test_repository_WF4M02/repository/instance-method-ownership-transfer/.dirs/system-config2 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_WF4M02/repository/instance-method-ownership-transfer/.dirs/config 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_WF4M02/repository/instance-method-ownership-transfer/.dirs/system-data1:/tmp/test_repository_WF4M02/repository/instance-method-ownership-transfer/.dirs/system-data2 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_WF4M02/repository/instance-method-ownership-transfer/.dirs/data 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_WF4M02/repository/instance-method-ownership-transfer/.dirs/state 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_WF4M02/repository/instance-method-ownership-transfer/.dirs/runtime 1131s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1131s # /repository/instance-method-ownership-transfer summary: Test two methods of the same object having opposite ownership transfer of the instance parameter 1131s ok 14 /repository/instance-method-ownership-transfer 1131s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_WF4M02/repository/object-gtype-interfaces/.dirs/home 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_WF4M02/repository/object-gtype-interfaces/.dirs/cache 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_WF4M02/repository/object-gtype-interfaces/.dirs/system-config1:/tmp/test_repository_WF4M02/repository/object-gtype-interfaces/.dirs/system-config2 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_WF4M02/repository/object-gtype-interfaces/.dirs/config 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_WF4M02/repository/object-gtype-interfaces/.dirs/system-data1:/tmp/test_repository_WF4M02/repository/object-gtype-interfaces/.dirs/system-data2 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_WF4M02/repository/object-gtype-interfaces/.dirs/data 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_WF4M02/repository/object-gtype-interfaces/.dirs/state 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_WF4M02/repository/object-gtype-interfaces/.dirs/runtime 1131s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1131s # /repository/object-gtype-interfaces summary: Test gi_repository_get_object_gtype_interfaces() 1131s ok 15 /repository/object-gtype-interfaces 1131s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_WF4M02/repository/signal-info-with-array-length-arg/.dirs/home 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_WF4M02/repository/signal-info-with-array-length-arg/.dirs/cache 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_WF4M02/repository/signal-info-with-array-length-arg/.dirs/system-config1:/tmp/test_repository_WF4M02/repository/signal-info-with-array-length-arg/.dirs/system-config2 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_WF4M02/repository/signal-info-with-array-length-arg/.dirs/config 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_WF4M02/repository/signal-info-with-array-length-arg/.dirs/system-data1:/tmp/test_repository_WF4M02/repository/signal-info-with-array-length-arg/.dirs/system-data2 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_WF4M02/repository/signal-info-with-array-length-arg/.dirs/data 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_WF4M02/repository/signal-info-with-array-length-arg/.dirs/state 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_WF4M02/repository/signal-info-with-array-length-arg/.dirs/runtime 1131s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1131s # /repository/signal-info-with-array-length-arg summary: Test finding the associated array length argument of an array parameter of a signal 1131s ok 16 /repository/signal-info-with-array-length-arg 1131s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_WF4M02/repository/type-info-name/.dirs/home 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_WF4M02/repository/type-info-name/.dirs/cache 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_WF4M02/repository/type-info-name/.dirs/system-config1:/tmp/test_repository_WF4M02/repository/type-info-name/.dirs/system-config2 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_WF4M02/repository/type-info-name/.dirs/config 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_WF4M02/repository/type-info-name/.dirs/system-data1:/tmp/test_repository_WF4M02/repository/type-info-name/.dirs/system-data2 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_WF4M02/repository/type-info-name/.dirs/data 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_WF4M02/repository/type-info-name/.dirs/state 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_WF4M02/repository/type-info-name/.dirs/runtime 1131s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1131s # /repository/type-info-name summary: Test that gi_base_info_get_name() returns null for GITypeInfo 1131s # Bug Reference: https://gitlab.gnome.org/GNOME/gobject-introspection/issues/96 1131s ok 17 /repository/type-info-name 1131s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_WF4M02/repository/vfunc-info-with-no-invoker/.dirs/home 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_WF4M02/repository/vfunc-info-with-no-invoker/.dirs/cache 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_WF4M02/repository/vfunc-info-with-no-invoker/.dirs/system-config1:/tmp/test_repository_WF4M02/repository/vfunc-info-with-no-invoker/.dirs/system-config2 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_WF4M02/repository/vfunc-info-with-no-invoker/.dirs/config 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_WF4M02/repository/vfunc-info-with-no-invoker/.dirs/system-data1:/tmp/test_repository_WF4M02/repository/vfunc-info-with-no-invoker/.dirs/system-data2 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_WF4M02/repository/vfunc-info-with-no-invoker/.dirs/data 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_WF4M02/repository/vfunc-info-with-no-invoker/.dirs/state 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_WF4M02/repository/vfunc-info-with-no-invoker/.dirs/runtime 1131s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1131s # /repository/vfunc-info-with-no-invoker summary: Test vfunc with no known invoker on object, such as GObject.dispose 1131s ok 18 /repository/vfunc-info-with-no-invoker 1131s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_WF4M02/repository/vfunc-info-with-invoker-on-interface/.dirs/home 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_WF4M02/repository/vfunc-info-with-invoker-on-interface/.dirs/cache 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_WF4M02/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config1:/tmp/test_repository_WF4M02/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config2 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_WF4M02/repository/vfunc-info-with-invoker-on-interface/.dirs/config 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_WF4M02/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data1:/tmp/test_repository_WF4M02/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data2 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_WF4M02/repository/vfunc-info-with-invoker-on-interface/.dirs/data 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_WF4M02/repository/vfunc-info-with-invoker-on-interface/.dirs/state 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_WF4M02/repository/vfunc-info-with-invoker-on-interface/.dirs/runtime 1131s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1131s # /repository/vfunc-info-with-invoker-on-interface summary: Test vfunc with invoker on interface, such as GFile.read_async 1131s ok 19 /repository/vfunc-info-with-invoker-on-interface 1131s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_WF4M02/repository/vfunc-info-with-invoker-on-object/.dirs/home 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_WF4M02/repository/vfunc-info-with-invoker-on-object/.dirs/cache 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_WF4M02/repository/vfunc-info-with-invoker-on-object/.dirs/system-config1:/tmp/test_repository_WF4M02/repository/vfunc-info-with-invoker-on-object/.dirs/system-config2 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_WF4M02/repository/vfunc-info-with-invoker-on-object/.dirs/config 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_WF4M02/repository/vfunc-info-with-invoker-on-object/.dirs/system-data1:/tmp/test_repository_WF4M02/repository/vfunc-info-with-invoker-on-object/.dirs/system-data2 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_WF4M02/repository/vfunc-info-with-invoker-on-object/.dirs/data 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_WF4M02/repository/vfunc-info-with-invoker-on-object/.dirs/state 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_WF4M02/repository/vfunc-info-with-invoker-on-object/.dirs/runtime 1131s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1131s # /repository/vfunc-info-with-invoker-on-object summary: Test vfunc with invoker on object, such as GAppLaunchContext.get_display 1131s ok 20 /repository/vfunc-info-with-invoker-on-object 1131s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_WF4M02/repository/find-by-gtype/.dirs/home 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_WF4M02/repository/find-by-gtype/.dirs/cache 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_WF4M02/repository/find-by-gtype/.dirs/system-config1:/tmp/test_repository_WF4M02/repository/find-by-gtype/.dirs/system-config2 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_WF4M02/repository/find-by-gtype/.dirs/config 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_WF4M02/repository/find-by-gtype/.dirs/system-data1:/tmp/test_repository_WF4M02/repository/find-by-gtype/.dirs/system-data2 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_WF4M02/repository/find-by-gtype/.dirs/data 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_WF4M02/repository/find-by-gtype/.dirs/state 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_WF4M02/repository/find-by-gtype/.dirs/runtime 1131s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1131s # /repository/find-by-gtype summary: Test finding a GType 1131s ok 21 /repository/find-by-gtype 1131s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_WF4M02/repository/loaded-namespaces/.dirs/home 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_WF4M02/repository/loaded-namespaces/.dirs/cache 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_WF4M02/repository/loaded-namespaces/.dirs/system-config1:/tmp/test_repository_WF4M02/repository/loaded-namespaces/.dirs/system-config2 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_WF4M02/repository/loaded-namespaces/.dirs/config 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_WF4M02/repository/loaded-namespaces/.dirs/system-data1:/tmp/test_repository_WF4M02/repository/loaded-namespaces/.dirs/system-data2 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_WF4M02/repository/loaded-namespaces/.dirs/data 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_WF4M02/repository/loaded-namespaces/.dirs/state 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_WF4M02/repository/loaded-namespaces/.dirs/runtime 1131s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1131s # /repository/loaded-namespaces summary: Test listing loaded namespaces 1131s ok 22 /repository/loaded-namespaces 1131s # Start of base-info tests 1131s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_WF4M02/repository/base-info/clear/.dirs/home 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_WF4M02/repository/base-info/clear/.dirs/cache 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_WF4M02/repository/base-info/clear/.dirs/system-config1:/tmp/test_repository_WF4M02/repository/base-info/clear/.dirs/system-config2 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_WF4M02/repository/base-info/clear/.dirs/config 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_WF4M02/repository/base-info/clear/.dirs/system-data1:/tmp/test_repository_WF4M02/repository/base-info/clear/.dirs/system-data2 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_WF4M02/repository/base-info/clear/.dirs/data 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_WF4M02/repository/base-info/clear/.dirs/state 1131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_WF4M02/repository/base-info/clear/.dirs/runtime 1131s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1131s # /repository/base-info/clear summary: Test calling gi_base_info_clear() on a zero-filled struct 1131s ok 23 /repository/base-info/clear 1131s # End of base-info tests 1131s # End of repository tests 1131s ok - glib/repository.test 1131s # Running test: glib/unix-mounts.test 1131s TAP version 14 1131s # random seed: R02Sba546cb079b670f1fc689b83b6ea68eb 1131s 1..4 1131s # Start of unix-mounts tests 1131s ok 1 /unix-mounts/is-system-fs-type 1131s ok 2 /unix-mounts/is-system-device-path 1131s # /unix-mounts/get-mount-points summary: Basic test of g_unix_mount_points_get_from_file() 1131s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 1131s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 1131s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 1131s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 1131s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 1131s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 1131s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 1131s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 1131s ok 3 /unix-mounts/get-mount-points 1131s # /unix-mounts/get-mount-entries summary: Basic test of g_unix_mounts_get_from_file() 1131s ok 4 /unix-mounts/get-mount-entries 1131s # End of unix-mounts tests 1131s ok - glib/unix-mounts.test 1131s # Running test: glib/unix-streams.test 1131s TAP version 14 1131s # random seed: R02S193cedd8cf59fcf48a0817391e9acfaa 1131s 1..9 1131s # Start of unix-streams tests 1131s ok 1 /unix-streams/basic 1132s ok 2 /unix-streams/pipe-io-test 1132s # slow test /unix-streams/pipe-io-test executed in 0.50 secs 1132s ok 3 /unix-streams/nonblocking-io-test 1132s # slow test /unix-streams/nonblocking-io-test executed in 0.50 secs 1132s ok 4 /unix-streams/read_write 1132s ok 5 /unix-streams/read_writev 1132s ok 6 /unix-streams/write-wouldblock 1132s ok 7 /unix-streams/writev-wouldblock 1132s ok 8 /unix-streams/write-async-wouldblock 1132s ok 9 /unix-streams/writev-async-wouldblock 1132s # End of unix-streams tests 1132s ok - glib/unix-streams.test 1132s # Running test: glib/markup-subparser.test 1132s TAP version 14 1132s # random seed: R02S5ffcc45b2ea7fea676fc54ddcef4ea1d 1132s 1..14 1132s # Start of glib tests 1132s # Start of markup tests 1132s # Start of subparser tests 1132s # Start of success tests 1132s ok 1 /glib/markup/subparser/success/0 1132s ok 2 /glib/markup/subparser/success/1 1132s ok 3 /glib/markup/subparser/success/2 1132s ok 4 /glib/markup/subparser/success/3 1132s ok 5 /glib/markup/subparser/success/4 1132s ok 6 /glib/markup/subparser/success/5 1132s ok 7 /glib/markup/subparser/success/6 1132s # End of success tests 1132s # Start of failure tests 1132s ok 8 /glib/markup/subparser/failure/0 1132s ok 9 /glib/markup/subparser/failure/1 1132s ok 10 /glib/markup/subparser/failure/2 1132s ok 11 /glib/markup/subparser/failure/3 1132s ok 12 /glib/markup/subparser/failure/4 1132s ok 13 /glib/markup/subparser/failure/5 1132s ok 14 /glib/markup/subparser/failure/6 1132s # End of failure tests 1132s # End of subparser tests 1132s # End of markup tests 1132s # End of glib tests 1132s ok - glib/markup-subparser.test 1132s # Running test: glib/throws.test 1132s TAP version 14 1132s # random seed: R02S6de5bd11533000d01df5af9e4c1dcd02 1132s 1..3 1132s # Start of throws tests 1132s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_WZF8Z2/throws/invoke-gerror/.dirs/home 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_WZF8Z2/throws/invoke-gerror/.dirs/cache 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_WZF8Z2/throws/invoke-gerror/.dirs/system-config1:/tmp/test_throws_WZF8Z2/throws/invoke-gerror/.dirs/system-config2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_WZF8Z2/throws/invoke-gerror/.dirs/config 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_WZF8Z2/throws/invoke-gerror/.dirs/system-data1:/tmp/test_throws_WZF8Z2/throws/invoke-gerror/.dirs/system-data2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_WZF8Z2/throws/invoke-gerror/.dirs/data 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_WZF8Z2/throws/invoke-gerror/.dirs/state 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_WZF8Z2/throws/invoke-gerror/.dirs/runtime 1132s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1132s # /throws/invoke-gerror summary: Test invoking a function that throws a GError 1132s ok 1 /throws/invoke-gerror 1132s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_WZF8Z2/throws/vfunc-can-throw-gerror/.dirs/home 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_WZF8Z2/throws/vfunc-can-throw-gerror/.dirs/cache 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_WZF8Z2/throws/vfunc-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_WZF8Z2/throws/vfunc-can-throw-gerror/.dirs/system-config2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_WZF8Z2/throws/vfunc-can-throw-gerror/.dirs/config 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_WZF8Z2/throws/vfunc-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_WZF8Z2/throws/vfunc-can-throw-gerror/.dirs/system-data2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_WZF8Z2/throws/vfunc-can-throw-gerror/.dirs/data 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_WZF8Z2/throws/vfunc-can-throw-gerror/.dirs/state 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_WZF8Z2/throws/vfunc-can-throw-gerror/.dirs/runtime 1132s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1132s # /throws/vfunc-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a vfunc 1132s ok 2 /throws/vfunc-can-throw-gerror 1132s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_WZF8Z2/throws/callback-can-throw-gerror/.dirs/home 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_WZF8Z2/throws/callback-can-throw-gerror/.dirs/cache 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_WZF8Z2/throws/callback-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_WZF8Z2/throws/callback-can-throw-gerror/.dirs/system-config2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_WZF8Z2/throws/callback-can-throw-gerror/.dirs/config 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_WZF8Z2/throws/callback-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_WZF8Z2/throws/callback-can-throw-gerror/.dirs/system-data2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_WZF8Z2/throws/callback-can-throw-gerror/.dirs/data 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_WZF8Z2/throws/callback-can-throw-gerror/.dirs/state 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_WZF8Z2/throws/callback-can-throw-gerror/.dirs/runtime 1132s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1132s # /throws/callback-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a callback 1132s ok 3 /throws/callback-can-throw-gerror 1132s # End of throws tests 1132s ok - glib/throws.test 1132s # Running test: glib/properties-refcount3.test 1132s TAP version 14 1132s # random seed: R02S62b22969765369fb6f064d9ffa9312a6 1132s 1..1 1132s # Start of gobject tests 1132s # Start of refcount tests 1134s # Executing: glib/properties-refcount3.test 1139s # Executing: glib/properties-refcount3.test 1144s # Executing: glib/properties-refcount3.test 1149s # Executing: glib/properties-refcount3.test 1154s # Executing: glib/properties-refcount3.test 1159s # Executing: glib/properties-refcount3.test 1162s # 1162s # stopping 1162s # 1162s # stopped 1162s # 1162s # 53782492 380661 1162s # 1162s ok 1 /gobject/refcount/properties-3 1162s # slow test /gobject/refcount/properties-3 executed in 30.00 secs 1162s # End of refcount tests 1162s # End of gobject tests 1162s ok - glib/properties-refcount3.test 1162s # Running test: glib/proxy-test.test 1162s TAP version 14 1162s # random seed: R02Sbf58b9c6587705cfcc7bc8d0a273e428 1162s 1..11 1162s # Start of proxy tests 1162s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestProxyResolver) for ?gio-proxy-resolver? 1162s ok 1 /proxy/direct_sync 1162s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1162s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x59661793c9c0 and GSocketClientAsyncConnectData 0x596617932260 1162s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1162s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1162s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x59661793d3d0 for GSocketClientAsyncConnectData 0x596617932260 1162s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1162s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1162s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1162s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1162s ok 2 /proxy/direct_async 1162s ok 3 /proxy/single_sync 1162s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1162s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x59661793ecd0 and GSocketClientAsyncConnectData 0x59661793de20 1162s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1162s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1162s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x59661793f830 for GSocketClientAsyncConnectData 0x59661793de20 1162s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1162s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1162s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1162s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1162s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1162s ok 4 /proxy/single_async 1162s ok 5 /proxy/multiple_sync 1162s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1162s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x59661793f560 and GSocketClientAsyncConnectData 0x59661793f330 1162s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1162s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1162s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x59661793feb0 for GSocketClientAsyncConnectData 0x59661793f330 1162s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1162s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1162s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1162s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1162s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1162s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1162s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x59661793f8c0 for GSocketClientAsyncConnectData 0x59661793f330 1162s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1162s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1162s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1162s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1162s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1162s ok 6 /proxy/multiple_async 1162s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597 1162s ok 7 /proxy/invalid-uris-sync 1162s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597 1162s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1162s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x59661793fc40 and GSocketClientAsyncConnectData 0x59661793f140 1162s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1162s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1162s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure 1162s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure 1162s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1162s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x59661793ecd0 and GSocketClientAsyncConnectData 0x59661793f140 1162s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1162s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1162s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure 1162s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure 1162s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1162s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x59661793ecd0 and GSocketClientAsyncConnectData 0x59661793f140 1162s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1162s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1162s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x59661793d930 for GSocketClientAsyncConnectData 0x59661793f140 1162s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1162s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1162s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1162s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1162s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1162s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x59661793f560 and GSocketClientAsyncConnectData 0x59661793f620 1162s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1162s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1162s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x59661793dbe0 for GSocketClientAsyncConnectData 0x59661793f620 1162s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1162s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1162s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1162s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1162s ok 8 /proxy/invalid-uris-async 1162s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1162s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x59661793ecd0 and GSocketClientAsyncConnectData 0x59661793f2b0 1162s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1162s # GLib-GIO-DEBUG: IPv6 DNS error: Not found 1162s # GLib-GIO-DEBUG: IPv4 DNS error: Not found 1162s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1162s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Not found 1162s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Not found 1162s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1162s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x59661793f2b0 and GSocketClientAsyncConnectData 0x59661793f620 1162s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1162s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1162s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x5966179405e0 for GSocketClientAsyncConnectData 0x59661793f620 1162s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1162s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1162s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1162s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1162s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1162s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1162s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 1162s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 1162s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1162s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x59661793ecd0 and GSocketClientAsyncConnectData 0x59661793f140 1162s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1162s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1162s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x59661793f310 for GSocketClientAsyncConnectData 0x59661793f140 1162s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1162s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1162s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1162s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1162s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1162s ok 9 /proxy/dns 1162s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1162s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x59661793d810 and GSocketClientAsyncConnectData 0x59661793f900 1162s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1162s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1162s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x5966179405e0 for GSocketClientAsyncConnectData 0x59661793f900 1162s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1162s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1162s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1162s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1162s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1162s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1162s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 1162s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 1162s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1162s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x59661793e9e0 and GSocketClientAsyncConnectData 0x59661793ec10 1162s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1162s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1162s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x59661793dbe0 for GSocketClientAsyncConnectData 0x59661793ec10 1162s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1162s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1162s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1162s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1162s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1162s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1162s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x59661793f2b0 and GSocketClientAsyncConnectData 0x59661793f900 1162s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1162s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1162s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x596617940600 for GSocketClientAsyncConnectData 0x59661793f900 1162s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1162s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1162s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1162s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1162s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1162s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1162s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 1162s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 1162s ok 10 /proxy/override 1162s ok 11 /proxy/enumerator-ports 1162s # End of proxy tests 1162s ok - glib/proxy-test.test 1162s # Running test: glib/thread.test 1162s TAP version 14 1162s # random seed: R02S534c2340093bac1a04524439d9f5aa64 1162s 1..7 1162s # Start of thread tests 1162s ok 1 /thread/thread1 1162s ok 2 /thread/thread2 1162s ok 3 /thread/thread3 1162s ok 4 /thread/thread4 1162s ok 5 /thread/thread5 1162s ok 6 /thread/thread6 1162s ok 7 /thread/thread7 1162s # End of thread tests 1162s ok - glib/thread.test 1162s # Running test: glib/gthash.test 1162s TAP version 14 1162s # random seed: R02Sc79181502c194b2d4d00e1d7c319caf0 1162s 1..1 1162s # Start of gthash tests 1162s ok 1 /gthash/build-retrieve 1162s # End of gthash tests 1162s ok - glib/gthash.test 1162s # Running test: glib/signals.test 1162s TAP version 14 1162s # random seed: R02S7e16d8412d9b0809b161757b0b0a64c7 1162s 1..31 1162s # Start of gobject tests 1162s # Start of signals tests 1162s ok 1 /gobject/signals/all-types 1162s ok 2 /gobject/signals/variant 1162s ok 3 /gobject/signals/destroy-target-object 1162s ok 4 /gobject/signals/generic-marshaller-1 1162s ok 5 /gobject/signals/generic-marshaller-2 1162s ok 6 /gobject/signals/generic-marshaller-enum-return-signed 1162s ok 7 /gobject/signals/generic-marshaller-enum-return-unsigned 1162s ok 8 /gobject/signals/generic-marshaller-int-return 1162s ok 9 /gobject/signals/generic-marshaller-uint-return 1162s ok 10 /gobject/signals/generic-marshaller-interface-return 1162s ok 11 /gobject/signals/custom-marshaller 1162s ok 12 /gobject/signals/connect 1162s ok 13 /gobject/signals/emission-hook 1162s ok 14 /gobject/signals/emitv 1162s ok 15 /gobject/signals/accumulator 1162s # Signal: accumulator-class-first 1162s # Signal: accumulator-class-last 1162s # Signal: accumulator-class-cleanup 1162s # Signal: accumulator-class-first-last 1162s # Signal: accumulator-class-first-last-cleanup 1162s # Signal: accumulator-class-last-cleanup 1162s ok 16 /gobject/signals/accumulator-class 1162s ok 17 /gobject/signals/introspection 1162s ok 18 /gobject/signals/block-handler 1162s ok 19 /gobject/signals/stop-emission 1162s ok 20 /gobject/signals/invocation-hint 1162s ok 21 /gobject/signals/test-disconnection-wrong-object 1162s ok 22 /gobject/signals/clear-signal-handler 1162s # /gobject/signals/lookup summary: Test that g_signal_lookup() works with a variety of inputs. 1162s ok 23 /gobject/signals/lookup 1162s # /gobject/signals/parse-name summary: Test that g_signal_parse_name() works with a variety of inputs. 1162s ok 24 /gobject/signals/parse-name 1162s ok 25 /gobject/signals/is-valid-name 1162s ok 26 /gobject/signals/weak-ref-disconnect 1162s # Start of lookup tests 1162s # /gobject/signals/lookup/invalid summary: Test that g_signal_lookup() emits a warning if looking up an invalid signal name. 1162s ok 27 /gobject/signals/lookup/invalid 1162s # End of lookup tests 1162s # Start of parse-name tests 1162s # /gobject/signals/parse-name/invalid summary: Test that g_signal_parse_name() ignores a variety of invalid inputs. 1162s # Parser input: 1162s # Parser input: 7zip 1162s # Parser input: invalid:signal 1162s # Parser input: simple-detailed:: 1162s # Parser input: simple-detailed: 1162s # Parser input: : 1162s # Parser input: :: 1162s # Parser input: :valid-detail 1162s # Parser input: ::valid-detail 1162s ok 28 /gobject/signals/parse-name/invalid 1162s # End of parse-name tests 1162s # Start of invalid-name tests 1162s # /gobject/signals/invalid-name/colon summary: Check that g_signal_new() rejects invalid signal names. 1162s ok 29 /gobject/signals/invalid-name/colon 1162s # /gobject/signals/invalid-name/first-char summary: Check that g_signal_new() rejects invalid signal names. 1162s ok 30 /gobject/signals/invalid-name/first-char 1162s # /gobject/signals/invalid-name/empty summary: Check that g_signal_new() rejects invalid signal names. 1162s ok 31 /gobject/signals/invalid-name/empty 1162s # End of invalid-name tests 1162s # End of signals tests 1162s # End of gobject tests 1162s ok - glib/signals.test 1162s # Running test: glib/codegen.py.test 1162s TAP version 13 1162s ok 1 __main__.TestCodegen.test_call_flags_and_timeout_method_args 1162s # tmpdir: /tmp/tmp6becl1sf 1162s # codegen: /usr/bin/gdbus-codegen 1162s # /tmp/tmp6becl1sf/tmphxphbjou.xml: 1162s # 1162s # 1162s # 1162s # 1162s # 1162s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6becl1sf/tmphxphbjou.xml', '--output', '-', '--header'] 1162s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1162s # Output: /* 1162s # * This file is generated by gdbus-codegen, do not modify it. 1162s # * 1162s # * The license of this code is the same as for the D-Bus interface description 1162s # * it was derived from. Note that it links to GLib, so must comply with the 1162s # * LGPL linking clauses. 1162s # */ 1162s # 1162s # #ifndef __STDOUT__ 1162s # #define __STDOUT__ 1162s # 1162s # #include 1162s # 1162s # G_BEGIN_DECLS 1162s # 1162s # 1162s # /* ------------------------------------------------------------------------ */ 1162s # /* Declarations for org.project.UsefulInterface */ 1162s # 1162s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 1162s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 1162s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 1162s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 1162s # 1162s # struct _OrgProjectUsefulInterface; 1162s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 1162s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 1162s # 1162s # struct _OrgProjectUsefulInterfaceIface 1162s # { 1162s # GTypeInterface parent_iface; 1162s # 1162s # gboolean (*handle_useful_method) ( 1162s # OrgProjectUsefulInterface *object, 1162s # GDBusMethodInvocation *invocation); 1162s # 1162s # }; 1162s # 1162s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 1162s # 1162s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 1162s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 1162s # 1162s # 1162s # /* D-Bus method call completion functions: */ 1162s # void org_project_useful_interface_complete_useful_method ( 1162s # OrgProjectUsefulInterface *object, 1162s # GDBusMethodInvocation *invocation); 1162s # 1162s # 1162s # 1162s # /* D-Bus method calls: */ 1162s # void org_project_useful_interface_call_useful_method ( 1162s # OrgProjectUsefulInterface *proxy, 1162s # GCancellable *cancellable, 1162s # GAsyncReadyCallback callback, 1162s # gpointer user_data); 1162s # 1162s # gboolean org_project_useful_interface_call_useful_method_finish ( 1162s # OrgProjectUsefulInterface *proxy, 1162s # GAsyncResult *res, 1162s # GError **error); 1162s # 1162s # gboolean org_project_useful_interface_call_useful_method_sync ( 1162s # OrgProjectUsefulInterface *proxy, 1162s # GCancellable *cancellable, 1162s # GError **error); 1162s # 1162s # 1162s # 1162s # /* ---- */ 1162s # 1162s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 1162s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 1162s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1162s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1162s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1162s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1162s # 1162s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 1162s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 1162s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 1162s # 1162s # struct _OrgProjectUsefulInterfaceProxy 1162s # { 1162s # /*< private >*/ 1162s # GDBusProxy parent_instance; 1162s # OrgProjectUsefulInterfaceProxyPrivate *priv; 1162s # }; 1162s # 1162s # struct _OrgProjectUsefulInterfaceProxyClass 1162s # { 1162s # GDBusProxyClass parent_class; 1162s # }; 1162s # 1162s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 1162s # 1162s # #if GLIB_CHECK_VERSION(2, 44, 0) 1162s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 1162s # #endif 1162s # 1162s # void org_project_useful_interface_proxy_new ( 1162s # GDBusConnection *connection, 1162s # GDBusProxyFlags flags, 1162s # const gchar *name, 1162s # const gchar *object_path, 1162s # GCancellable *cancellable, 1162s # GAsyncReadyCallback callback, 1162s # gpointer user_data); 1162s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 1162s # GAsyncResult *res, 1162s # GError **error); 1162s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 1162s # GDBusConnection *connection, 1162s # GDBusProxyFlags flags, 1162s # const gchar *name, 1162s # const gchar *object_path, 1162s # GCancellable *cancellable, 1162s # GError **error); 1162s # 1162s # void org_project_useful_interface_proxy_new_for_bus ( 1162s # GBusType bus_type, 1162s # GDBusProxyFlags flags, 1162s # const gchar *name, 1162s # const gchar *object_path, 1162s # GCancellable *cancellable, 1162s # GAsyncReadyCallback callback, 1162s # gpointer user_data); 1162s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 1162s # GAsyncResult *res, 1162s # GError **error); 1162s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 1162s # GBusType bus_type, 1162s # GDBusProxyFlags flags, 1162s # const gchar *name, 1162s # const gchar *object_path, 1162s # GCancellable *cancellable, 1162s # GError **error); 1162s # 1162s # 1162s # /* ---- */ 1162s # 1162s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 1162s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 1162s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1162s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1162s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1162s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1162s # 1162s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 1162s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 1162s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 1162s # 1162s # struct _OrgProjectUsefulInterfaceSkeleton 1162s # { 1162s # /*< private >*/ 1162s # GDBusInterfaceSkeleton parent_instance; 1162s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 1162s # }; 1162s # 1162s # struct _OrgProjectUsefulInterfaceSkeletonClass 1162s # { 1162s # GDBusInterfaceSkeletonClass parent_class; 1162s # }; 1162s # 1162s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 1162s # 1162s # #if GLIB_CHECK_VERSION(2, 44, 0) 1162s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 1162s # #endif 1162s # 1162s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 1162s # 1162s # 1162s # G_END_DECLS 1162s # 1162s # #endif /* __STDOUT__ */ 1162s # /tmp/tmp6becl1sf/tmpdomht11h.xml: 1162s # 1162s # 1162s # 1162s # 1162s # 1162s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6becl1sf/tmpdomht11h.xml', '--output', '-', '--header', '--glib-min-required', '2.32'] 1162s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1162s # Output: /* 1162s # * This file is generated by gdbus-codegen, do not modify it. 1162s # * 1162s # * The license of this code is the same as for the D-Bus interface description 1162s # * it was derived from. Note that it links to GLib, so must comply with the 1162s # * LGPL linking clauses. 1162s # */ 1162s # 1162s # #ifndef __STDOUT__ 1162s # #define __STDOUT__ 1162s # 1162s # #include 1162s # 1162s # G_BEGIN_DECLS 1162s # 1162s # 1162s # /* ------------------------------------------------------------------------ */ 1162s # /* Declarations for org.project.UsefulInterface */ 1162s # 1162s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 1162s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 1162s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 1162s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 1162s # 1162s # struct _OrgProjectUsefulInterface; 1162s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 1162s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 1162s # 1162s # struct _OrgProjectUsefulInterfaceIface 1162s # { 1162s # GTypeInterface parent_iface; 1162s # 1162s # gboolean (*handle_useful_method) ( 1162s # OrgProjectUsefulInterface *object, 1162s # GDBusMethodInvocation *invocation); 1162s # 1162s # }; 1162s # 1162s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 1162s # 1162s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 1162s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 1162s # 1162s # 1162s # /* D-Bus method call completion functions: */ 1162s # void org_project_useful_interface_complete_useful_method ( 1162s # OrgProjectUsefulInterface *object, 1162s # GDBusMethodInvocation *invocation); 1162s # 1162s # 1162s # 1162s # /* D-Bus method calls: */ 1162s # void org_project_useful_interface_call_useful_method ( 1162s # OrgProjectUsefulInterface *proxy, 1162s # GCancellable *cancellable, 1162s # GAsyncReadyCallback callback, 1162s # gpointer user_data); 1162s # 1162s # gboolean org_project_useful_interface_call_useful_method_finish ( 1162s # OrgProjectUsefulInterface *proxy, 1162s # GAsyncResult *res, 1162s # GError **error); 1162s # 1162s # gboolean org_project_useful_interface_call_useful_method_sync ( 1162s # OrgProjectUsefulInterface *proxy, 1162s # GCancellable *cancellable, 1162s # GError **error); 1162s # 1162s # 1162s # 1162s # /* ---- */ 1162s # 1162s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 1162s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 1162s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1162s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1162s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1162s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1162s # 1162s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 1162s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 1162s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 1162s # 1162s # struct _OrgProjectUsefulInterfaceProxy 1162s # { 1162s # /*< private >*/ 1162s # GDBusProxy parent_instance; 1162s # OrgProjectUsefulInterfaceProxyPrivate *priv; 1162s # }; 1162s # 1162s # struct _OrgProjectUsefulInterfaceProxyClass 1162s # { 1162s # GDBusProxyClass parent_class; 1162s # }; 1162s # 1162s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 1162s # 1162s # #if GLIB_CHECK_VERSION(2, 44, 0) 1162s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 1162s # #endif 1162s # 1162s # void org_project_useful_interface_proxy_new ( 1162s # GDBusConnection *connection, 1162s # GDBusProxyFlags flags, 1162s # const gchar *name, 1162s # const gchar *object_path, 1162s # GCancellable *cancellable, 1162s # GAsyncReadyCallback callback, 1162s # gpointer user_data); 1162s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 1162s # GAsyncResult *res, 1162s # GError **error); 1162s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 1162s # GDBusConnection *connection, 1162s # GDBusProxyFlags flags, 1162s # const gchar *name, 1162s # const gchar *object_path, 1162s # GCancellable *cancellable, 1162s # GError **error); 1162s # 1162s # void org_project_useful_interface_proxy_new_for_bus ( 1162s # GBusType bus_type, 1162s # GDBusProxyFlags flags, 1162s # const gchar *name, 1162s # const gchar *object_path, 1162s # GCancellable *cancellable, 1162s # GAsyncReadyCallback callback, 1162s # gpointer user_data); 1162s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 1162s # GAsyncResult *res, 1162s # GError **error); 1162s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 1162s # GBusType bus_type, 1162s # GDBusProxyFlags flags, 1162s # const gchar *name, 1162s # const gchar *object_path, 1162s # GCancellable *cancellable, 1162s # GError **error); 1162s # 1162s # 1162s # /* ---- */ 1162s # 1162s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 1162s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 1162s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1162s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1162s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1162s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1162s # 1162s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 1162s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 1162s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 1162s # 1162s # struct _OrgProjectUsefulInterfaceSkeleton 1162s # { 1162s # /*< private >*/ 1162s # GDBusInterfaceSkeleton parent_instance; 1162s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 1162s # }; 1162s # 1162s # struct _OrgProjectUsefulInterfaceSkeletonClass 1162s # { 1162s # GDBusInterfaceSkeletonClass parent_class; 1162s # }; 1162s # 1162s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 1162s # 1162s # #if GLIB_CHECK_VERSION(2, 44, 0) 1162s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 1162s # #endif 1162s # 1162s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 1162s # 1162s # 1162s # G_END_DECLS 1162s # 1162s # #endif /* __STDOUT__ */ 1162s # /tmp/tmp6becl1sf/tmppp8gy4og.xml: 1162s # 1162s # 1162s # 1162s # 1162s # 1162s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6becl1sf/tmppp8gy4og.xml', '--output', '-', '--header', '--glib-min-required', '2.64'] 1162s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1162s # Output: /* 1162s # * This file is generated by gdbus-codegen, do not modify it. 1162s # * 1162s # * The license of this code is the same as for the D-Bus interface description 1162s # * it was derived from. Note that it links to GLib, so must comply with the 1162s # * LGPL linking clauses. 1162s # */ 1162s # 1162s # #ifndef __STDOUT__ 1162s # #define __STDOUT__ 1162s # 1162s # #include 1162s # 1162s # G_BEGIN_DECLS 1162s # 1162s # 1162s # /* ------------------------------------------------------------------------ */ 1162s # /* Declarations for org.project.UsefulInterface */ 1162s # 1162s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 1162s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 1162s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 1162s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 1162s # 1162s # struct _OrgProjectUsefulInterface; 1162s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 1162s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 1162s # 1162s # struct _OrgProjectUsefulInterfaceIface 1162s # { 1162s # GTypeInterface parent_iface; 1162s # 1162s # gboolean (*handle_useful_method) ( 1162s # OrgProjectUsefulInterface *object, 1162s # GDBusMethodInvocation *invocation); 1162s # 1162s # }; 1162s # 1162s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 1162s # 1162s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 1162s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 1162s # 1162s # 1162s # /* D-Bus method call completion functions: */ 1162s # void org_project_useful_interface_complete_useful_method ( 1162s # OrgProjectUsefulInterface *object, 1162s # GDBusMethodInvocation *invocation); 1162s # 1162s # 1162s # 1162s # /* D-Bus method calls: */ 1162s # void org_project_useful_interface_call_useful_method ( 1162s # OrgProjectUsefulInterface *proxy, 1162s # GDBusCallFlags call_flags, 1162s # gint timeout_msec, 1162s # GCancellable *cancellable, 1162s # GAsyncReadyCallback callback, 1162s # gpointer user_data); 1162s # 1162s # gboolean org_project_useful_interface_call_useful_method_finish ( 1162s # OrgProjectUsefulInterface *proxy, 1162s # GAsyncResult *res, 1162s # GError **error); 1162s # 1162s # gboolean org_project_useful_interface_call_useful_method_sync ( 1162s # OrgProjectUsefulInterface *proxy, 1162s # GDBusCallFlags call_flags, 1162s # gint timeout_msec, 1162s # GCancellable *cancellable, 1162s # GError **error); 1162s # 1162s # 1162s # 1162s # /* ---- */ 1162s # 1162s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 1162s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 1162s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1162s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1162s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1162s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1162s # 1162s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 1162s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 1162s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 1162s # 1162s # struct _OrgProjectUsefulInterfaceProxy 1162s # { 1162s # /*< private >*/ 1162s # GDBusProxy parent_instance; 1162s # OrgProjectUsefulInterfaceProxyPrivate *priv; 1162s # }; 1162s # 1162s # struct _OrgProjectUsefulInterfaceProxyClass 1162s # { 1162s # GDBusProxyClass parent_class; 1162s # }; 1162s # 1162s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 1162s # 1162s # #if GLIB_CHECK_VERSION(2, 44, 0) 1162s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 1162s # #endif 1162s # 1162s # void org_project_useful_interface_proxy_new ( 1162s # GDBusConnection *connection, 1162s # GDBusProxyFlags flags, 1162s # const gchar *name, 1162s # const gchar *object_path, 1162s # GCancellable *cancellable, 1162s # GAsyncReadyCallback callback, 1162s # gpointer user_data); 1162s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 1162s # GAsyncResult *res, 1162s # GError **error); 1162s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 1162s # GDBusConnection *connection, 1162s # GDBusProxyFlags flags, 1162s # const gchar *name, 1162s # const gchar *object_path, 1162s # GCancellable *cancellable, 1162s # GError **error); 1162s # 1162s # void org_project_useful_interface_proxy_new_for_bus ( 1162s # GBusType bus_type, 1162s # GDBusProxyFlags flags, 1162s # const gchar *name, 1162s # const gchar *object_path, 1162s # GCancellable *cancellable, 1162s # GAsyncReadyCallback callback, 1162s # gpointer user_data); 1162s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 1162s # GAsyncResult *res, 1162s # GError **error); 1162s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 1162s # GBusType bus_type, 1162s # GDBusProxyFlags flags, 1162s # const gchar *name, 1162s # const gchar *object_path, 1162s # GCancellable *cancellable, 1162s # GError **error); 1162s # 1162s # 1162s # /* ---- */ 1162s # 1162s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 1162s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 1162s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1162s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1162s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1162s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1162s # 1162s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 1162s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 1162s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 1162s # 1162s # struct _OrgProjectUsefulInterfaceSkeleton 1162s # { 1162s # /*< private >*/ 1162s # GDBusInterfaceSkeleton parent_instance; 1162s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 1162s # }; 1162s # 1162s # struct _OrgProjectUsefulInterfaceSkeletonClass 1162s # { 1162s # GDBusInterfaceSkeletonClass parent_class; 1162s # }; 1162s # 1162s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 1162s # 1162s # #if GLIB_CHECK_VERSION(2, 44, 0) 1162s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 1162s # #endif 1162s # 1162s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 1162s # 1162s # 1162s # G_END_DECLS 1162s # 1162s # #endif /* __STDOUT__ */ 1163s ok 2 __main__.TestCodegen.test_dbus_types 1163s # tmpdir: /tmp/tmpdzzj68ia 1163s # codegen: /usr/bin/gdbus-codegen 1163s # /tmp/tmpdzzj68ia/tmpe8gf2i4l.xml: 1163s # 1163s # 1163s # 1163s # 1163s # 1163s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdzzj68ia/tmpe8gf2i4l.xml', '--output', '-', '--body'] 1163s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1163s # /tmp/tmpdzzj68ia/tmppuitrhtu.xml: 1163s # 1163s # 1163s # 1163s # 1163s # 1163s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdzzj68ia/tmppuitrhtu.xml', '--output', '-', '--body'] 1163s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1163s # /tmp/tmpdzzj68ia/tmpplsnc1r5.xml: 1163s # 1163s # 1163s # 1163s # 1163s # 1163s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdzzj68ia/tmpplsnc1r5.xml', '--output', '-', '--body'] 1163s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1163s # /tmp/tmpdzzj68ia/tmpinovtz7d.xml: 1163s # 1163s # 1163s # 1163s # 1163s # 1163s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdzzj68ia/tmpinovtz7d.xml', '--output', '-', '--body'] 1163s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1163s # /tmp/tmpdzzj68ia/tmpe5fvjyy_.xml: 1163s # 1163s # 1163s # 1163s # 1163s # 1163s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdzzj68ia/tmpe5fvjyy_.xml', '--output', '-', '--body'] 1163s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1163s # /tmp/tmpdzzj68ia/tmpcrspt0dh.xml: 1163s # 1163s # 1163s # 1163s # 1163s # 1163s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdzzj68ia/tmpcrspt0dh.xml', '--output', '-', '--body'] 1163s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1163s # /tmp/tmpdzzj68ia/tmpo1n9prky.xml: 1163s # 1163s # 1163s # 1163s # 1163s # 1163s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdzzj68ia/tmpo1n9prky.xml', '--output', '-', '--body'] 1163s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1163s # /tmp/tmpdzzj68ia/tmphgh6mens.xml: 1163s # 1163s # 1163s # 1163s # 1163s # 1163s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdzzj68ia/tmphgh6mens.xml', '--output', '-', '--body'] 1163s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1163s # /tmp/tmpdzzj68ia/tmpj1l_hbo3.xml: 1163s # 1163s # 1163s # 1163s # 1163s # 1163s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdzzj68ia/tmpj1l_hbo3.xml', '--output', '-', '--body'] 1163s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1163s # /tmp/tmpdzzj68ia/tmpiv14k9gl.xml: 1163s # 1163s # 1163s # 1163s # 1163s # 1163s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdzzj68ia/tmpiv14k9gl.xml', '--output', '-', '--body'] 1163s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1163s # /tmp/tmpdzzj68ia/tmpsq3ttndj.xml: 1163s # 1163s # 1163s # 1163s # 1163s # 1163s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdzzj68ia/tmpsq3ttndj.xml', '--output', '-', '--body'] 1163s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1163s # /tmp/tmpdzzj68ia/tmpcoydzr8a.xml: 1163s # 1163s # 1163s # 1163s # 1163s # 1163s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdzzj68ia/tmpcoydzr8a.xml', '--output', '-', '--body'] 1163s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1163s # /tmp/tmpdzzj68ia/tmp6yxyyzkg.xml: 1163s # 1163s # 1163s # 1163s # 1163s # 1163s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdzzj68ia/tmp6yxyyzkg.xml', '--output', '-', '--body'] 1163s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1163s # /tmp/tmpdzzj68ia/tmpfizx7s5z.xml: 1163s # 1163s # 1163s # 1163s # 1163s # 1163s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdzzj68ia/tmpfizx7s5z.xml', '--output', '-', '--body'] 1163s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1163s # Output: /* 1163s # * This file is generated by gdbus-codegen, do not modify it. 1163s # * 1163s # * The license of this code is the same as for the D-Bus interface description 1163s # * it was derived from. Note that it links to GLib, so must comply with the 1163s # * LGPL linking clauses. 1163s # */ 1163s # 1163s # #ifdef HAVE_CONFIG_H 1163s # # include "config.h" 1163s # #endif 1163s # 1163s # #include 1163s # #ifdef G_OS_UNIX 1163s # # include 1163s # #endif 1163s # 1163s # #ifdef G_ENABLE_DEBUG 1163s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1163s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1163s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1163s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1163s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1163s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1163s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1163s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1163s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1163s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1163s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1163s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1163s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1163s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1163s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1163s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1163s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1163s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1163s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1163s # #else /* !G_ENABLE_DEBUG */ 1163s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1163s # * Do not access GValues directly in your code. Instead, use the 1163s # * g_value_get_*() functions 1163s # */ 1163s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1163s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1163s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1163s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1163s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1163s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1163s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1163s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1163s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1163s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1163s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1163s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1163s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1163s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1163s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1163s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1163s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1163s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1163s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1163s # #endif /* !G_ENABLE_DEBUG */ 1163s # 1163s # typedef struct 1163s # { 1163s # GDBusArgInfo parent_struct; 1163s # gboolean use_gvariant; 1163s # } _ExtendedGDBusArgInfo; 1163s # 1163s # typedef struct 1163s # { 1163s # GDBusMethodInfo parent_struct; 1163s # const gchar *signal_name; 1163s # gboolean pass_fdlist; 1163s # } _ExtendedGDBusMethodInfo; 1163s # 1163s # typedef struct 1163s # { 1163s # GDBusSignalInfo parent_struct; 1163s # const gchar *signal_name; 1163s # } _ExtendedGDBusSignalInfo; 1163s # 1163s # typedef struct 1163s # { 1163s # GDBusPropertyInfo parent_struct; 1163s # const gchar *hyphen_name; 1163s # guint use_gvariant : 1; 1163s # guint emits_changed_signal : 1; 1163s # } _ExtendedGDBusPropertyInfo; 1163s # 1163s # typedef struct 1163s # { 1163s # GDBusInterfaceInfo parent_struct; 1163s # const gchar *hyphen_name; 1163s # } _ExtendedGDBusInterfaceInfo; 1163s # 1163s # typedef struct 1163s # { 1163s # const _ExtendedGDBusPropertyInfo *info; 1163s # guint prop_id; 1163s # GValue orig_value; /* the value before the change */ 1163s # } ChangedProperty; 1163s # 1163s # static void 1163s # _changed_property_free (ChangedProperty *data) 1163s # { 1163s # g_value_unset (&data->orig_value); 1163s # g_free (data); 1163s # } 1163s # 1163s # static gboolean 1163s # _g_strv_equal0 (gchar **a, gchar **b) 1163s # { 1163s # gboolean ret = FALSE; 1163s # guint n; 1163s # if (a == NULL && b == NULL) 1163s # { 1163s # ret = TRUE; 1163s # goto out; 1163s # } 1163s # if (a == NULL || b == NULL) 1163s # goto out; 1163s # if (g_strv_length (a) != g_strv_length (b)) 1163s # goto out; 1163s # for (n = 0; a[n] != NULL; n++) 1163s # if (g_strcmp0 (a[n], b[n]) != 0) 1163s # goto out; 1163s # ret = TRUE; 1163s # out: 1163s # return ret; 1163s # } 1163s # 1163s # static gboolean 1163s # _g_variant_equal0 (GVariant *a, GVariant *b) 1163s # { 1163s # gboolean ret = FALSE; 1163s # if (a == NULL && b == NULL) 1163s # { 1163s # ret = TRUE; 1163s # goto out; 1163s # } 1163s # if (a == NULL || b == NULL) 1163s # goto out; 1163s # ret = g_variant_equal (a, b); 1163s # out: 1163s # return ret; 1163s # } 1163s # 1163s # G_GNUC_UNUSED static gboolean 1163s # _g_value_equal (const GValue *a, const GValue *b) 1163s # { 1163s # gboolean ret = FALSE; 1163s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1163s # switch (G_VALUE_TYPE (a)) 1163s # { 1163s # case G_TYPE_BOOLEAN: 1163s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1163s # break; 1163s # case G_TYPE_UCHAR: 1163s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1163s # break; 1163s # case G_TYPE_INT: 1163s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1163s # break; 1163s # case G_TYPE_UINT: 1163s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1163s # break; 1163s # case G_TYPE_INT64: 1163s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1163s # break; 1163s # case G_TYPE_UINT64: 1163s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1163s # break; 1163s # case G_TYPE_DOUBLE: 1163s # { 1163s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1163s # gdouble da = g_value_get_double (a); 1163s # gdouble db = g_value_get_double (b); 1163s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1163s # } 1163s # break; 1163s # case G_TYPE_STRING: 1163s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1163s # break; 1163s # case G_TYPE_VARIANT: 1163s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1163s # break; 1163s # default: 1163s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1163s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1163s # else 1163s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1163s # break; 1163s # } 1163s # return ret; 1163s # } 1163s # 1163s # /* ------------------------------------------------------------------------ 1163s # * Code for interface GoodTypes 1163s # * ------------------------------------------------------------------------ 1163s # */ 1163s # 1163s # /** 1163s # * SECTION:GoodTypes 1163s # * @title: GoodTypes 1163s # * @short_description: Generated C code for the GoodTypes D-Bus interface 1163s # * 1163s # * This section contains code for working with the GoodTypes D-Bus interface in C. 1163s # */ 1163s # 1163s # /* ---- Introspection data for GoodTypes ---- */ 1163s # 1163s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 1163s # { 1163s # { 1163s # -1, 1163s # (gchar *) "GoodPropertyType", 1163s # (gchar *) "si{s{b(ybnqiuxtdh)}}{yv}{nv}{dv}", 1163s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1163s # NULL 1163s # }, 1163s # "good-property-type", 1163s # FALSE, 1163s # TRUE 1163s # }; 1163s # 1163s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 1163s # { 1163s # &_good_types_property_info_good_property_type.parent_struct, 1163s # NULL 1163s # }; 1163s # 1163s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 1163s # { 1163s # { 1163s # -1, 1163s # (gchar *) "GoodTypes", 1163s # NULL, 1163s # NULL, 1163s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 1163s # NULL 1163s # }, 1163s # "good-types", 1163s # }; 1163s # 1163s # 1163s # /** 1163s # * good_types_interface_info: 1163s # * 1163s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 1163s # * 1163s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1163s # */ 1163s # GDBusInterfaceInfo * 1163s # good_types_interface_info (void) 1163s # { 1163s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 1163s # } 1163s # 1163s # /** 1163s # * good_types_override_properties: 1163s # * @klass: The class structure for a #GObject derived class. 1163s # * @property_id_begin: The property id to assign to the first overridden property. 1163s # * 1163s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 1163s # * The properties are overridden in the order they are defined. 1163s # * 1163s # * Returns: The last property id. 1163s # */ 1163s # guint 1163s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 1163s # { 1163s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 1163s # return property_id_begin - 1; 1163s # } 1163s # 1163s # 1163s # 1163s # /** 1163s # * GoodTypes: 1163s # * 1163s # * Abstract interface type for the D-Bus interface GoodTypes. 1163s # */ 1163s # 1163s # /** 1163s # * GoodTypesIface: 1163s # * @parent_iface: The parent interface. 1163s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 1163s # * 1163s # * Virtual table for the D-Bus interface GoodTypes. 1163s # */ 1163s # 1163s # typedef GoodTypesIface GoodTypesInterface; 1163s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 1163s # 1163s # static void 1163s # good_types_default_init (GoodTypesIface *iface) 1163s # { 1163s # /* GObject properties for D-Bus properties: */ 1163s # /** 1163s # * GoodTypes:good-property-type: 1163s # * 1163s # * Represents the D-Bus property "GoodPropertyType". 1163s # * 1163s # * 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. 1163s # */ 1163s # g_object_interface_install_property (iface, 1163s # 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)); 1163s # } 1163s # 1163s # /** 1163s # * good_types_get_good_property_type: (skip) 1163s # * @object: A GoodTypes. 1163s # * 1163s # * Gets the value of the "GoodPropertyType" D-Bus property. 1163s # * 1163s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1163s # * 1163s # * 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. 1163s # * 1163s # * 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. 1163s # */ 1163s # GVariant * 1163s # good_types_get_good_property_type (GoodTypes *object) 1163s # { 1163s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 1163s # 1163s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 1163s # } 1163s # 1163s # /** 1163s # * good_types_dup_good_property_type: (skip) 1163s # * @object: A GoodTypes. 1163s # * 1163s # * Gets a copy of the "GoodPropertyType" D-Bus property. 1163s # * 1163s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1163s # * 1163s # * 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(). 1163s # */ 1163s # GVariant * 1163s # good_types_dup_good_property_type (GoodTypes *object) 1163s # { 1163s # GVariant *value; 1163s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 1163s # return value; 1163s # } 1163s # 1163s # /** 1163s # * good_types_set_good_property_type: (skip) 1163s # * @object: A GoodTypes. 1163s # * @value: The value to set. 1163s # * 1163s # * Sets the "GoodPropertyType" D-Bus property to @value. 1163s # * 1163s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1163s # */ 1163s # void 1163s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 1163s # { 1163s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 1163s # } 1163s # 1163s # /* ------------------------------------------------------------------------ */ 1163s # 1163s # /** 1163s # * GoodTypesProxy: 1163s # * 1163s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 1163s # */ 1163s # 1163s # /** 1163s # * GoodTypesProxyClass: 1163s # * @parent_class: The parent class. 1163s # * 1163s # * Class structure for GoodTypesProxy. 1163s # */ 1163s # 1163s # struct _GoodTypesProxyPrivate 1163s # { 1163s # GData *qdata; 1163s # }; 1163s # 1163s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 1163s # 1163s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1163s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1163s # G_ADD_PRIVATE (GoodTypesProxy) 1163s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1163s # 1163s # #else 1163s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1163s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1163s # 1163s # #endif 1163s # static void 1163s # good_types_proxy_finalize (GObject *object) 1163s # { 1163s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1163s # g_datalist_clear (&proxy->priv->qdata); 1163s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 1163s # } 1163s # 1163s # static void 1163s # good_types_proxy_get_property (GObject *object, 1163s # guint prop_id, 1163s # GValue *value, 1163s # GParamSpec *pspec G_GNUC_UNUSED) 1163s # { 1163s # const _ExtendedGDBusPropertyInfo *info; 1163s # GVariant *variant; 1163s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1163s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1163s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1163s # if (info->use_gvariant) 1163s # { 1163s # g_value_set_variant (value, variant); 1163s # } 1163s # else 1163s # { 1163s # if (variant != NULL) 1163s # g_dbus_gvariant_to_gvalue (variant, value); 1163s # } 1163s # if (variant != NULL) 1163s # g_variant_unref (variant); 1163s # } 1163s # 1163s # static void 1163s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 1163s # GAsyncResult *res, 1163s # gpointer user_data) 1163s # { 1163s # const _ExtendedGDBusPropertyInfo *info = user_data; 1163s # GError *error; 1163s # GVariant *_ret; 1163s # error = NULL; 1163s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1163s # if (!_ret) 1163s # { 1163s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 1163s # info->parent_struct.name, 1163s # error->message, g_quark_to_string (error->domain), error->code); 1163s # g_error_free (error); 1163s # } 1163s # else 1163s # { 1163s # g_variant_unref (_ret); 1163s # } 1163s # } 1163s # 1163s # static void 1163s # good_types_proxy_set_property (GObject *object, 1163s # guint prop_id, 1163s # const GValue *value, 1163s # GParamSpec *pspec G_GNUC_UNUSED) 1163s # { 1163s # const _ExtendedGDBusPropertyInfo *info; 1163s # GVariant *variant; 1163s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1163s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1163s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1163s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1163s # "org.freedesktop.DBus.Properties.Set", 1163s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 1163s # G_DBUS_CALL_FLAGS_NONE, 1163s # -1, 1163s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1163s # g_variant_unref (variant); 1163s # } 1163s # 1163s # static void 1163s # good_types_proxy_g_signal (GDBusProxy *proxy, 1163s # const gchar *sender_name G_GNUC_UNUSED, 1163s # const gchar *signal_name, 1163s # GVariant *parameters) 1163s # { 1163s # _ExtendedGDBusSignalInfo *info; 1163s # GVariantIter iter; 1163s # GVariant *child; 1163s # GValue *paramv; 1163s # gsize num_params; 1163s # gsize n; 1163s # guint signal_id; 1163s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 1163s # if (info == NULL) 1163s # return; 1163s # num_params = g_variant_n_children (parameters); 1163s # paramv = g_new0 (GValue, num_params + 1); 1163s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 1163s # g_value_set_object (¶mv[0], proxy); 1163s # g_variant_iter_init (&iter, parameters); 1163s # n = 1; 1163s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1163s # { 1163s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1163s # if (arg_info->use_gvariant) 1163s # { 1163s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1163s # g_value_set_variant (¶mv[n], child); 1163s # n++; 1163s # } 1163s # else 1163s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1163s # g_variant_unref (child); 1163s # } 1163s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1163s # g_signal_emitv (paramv, signal_id, 0, NULL); 1163s # for (n = 0; n < num_params + 1; n++) 1163s # g_value_unset (¶mv[n]); 1163s # g_free (paramv); 1163s # } 1163s # 1163s # static void 1163s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 1163s # GVariant *changed_properties, 1163s # const gchar *const *invalidated_properties) 1163s # { 1163s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 1163s # guint n; 1163s # const gchar *key; 1163s # GVariantIter *iter; 1163s # _ExtendedGDBusPropertyInfo *info; 1163s # g_variant_get (changed_properties, "a{sv}", &iter); 1163s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1163s # { 1163s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 1163s # g_datalist_remove_data (&proxy->priv->qdata, key); 1163s # if (info != NULL) 1163s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1163s # } 1163s # g_variant_iter_free (iter); 1163s # for (n = 0; invalidated_properties[n] != NULL; n++) 1163s # { 1163s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 1163s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1163s # if (info != NULL) 1163s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1163s # } 1163s # } 1163s # 1163s # static GVariant * 1163s # good_types_proxy_get_good_property_type (GoodTypes *object) 1163s # { 1163s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1163s # GVariant *variant; 1163s # GVariant *value = NULL; 1163s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 1163s # value = variant; 1163s # if (variant != NULL) 1163s # g_variant_unref (variant); 1163s # return value; 1163s # } 1163s # 1163s # static void 1163s # good_types_proxy_init (GoodTypesProxy *proxy) 1163s # { 1163s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1163s # proxy->priv = good_types_proxy_get_instance_private (proxy); 1163s # #else 1163s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 1163s # #endif 1163s # 1163s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 1163s # } 1163s # 1163s # static void 1163s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 1163s # { 1163s # GObjectClass *gobject_class; 1163s # GDBusProxyClass *proxy_class; 1163s # 1163s # gobject_class = G_OBJECT_CLASS (klass); 1163s # gobject_class->finalize = good_types_proxy_finalize; 1163s # gobject_class->get_property = good_types_proxy_get_property; 1163s # gobject_class->set_property = good_types_proxy_set_property; 1163s # 1163s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1163s # proxy_class->g_signal = good_types_proxy_g_signal; 1163s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 1163s # 1163s # good_types_override_properties (gobject_class, 1); 1163s # 1163s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1163s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 1163s # #endif 1163s # } 1163s # 1163s # static void 1163s # good_types_proxy_iface_init (GoodTypesIface *iface) 1163s # { 1163s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 1163s # } 1163s # 1163s # /** 1163s # * good_types_proxy_new: 1163s # * @connection: A #GDBusConnection. 1163s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1163s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1163s # * @object_path: An object path. 1163s # * @cancellable: (nullable): A #GCancellable or %NULL. 1163s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1163s # * @user_data: User data to pass to @callback. 1163s # * 1163s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 1163s # * 1163s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1163s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 1163s # * 1163s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 1163s # */ 1163s # void 1163s # good_types_proxy_new ( 1163s # GDBusConnection *connection, 1163s # GDBusProxyFlags flags, 1163s # const gchar *name, 1163s # const gchar *object_path, 1163s # GCancellable *cancellable, 1163s # GAsyncReadyCallback callback, 1163s # gpointer user_data) 1163s # { 1163s # 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); 1163s # } 1163s # 1163s # /** 1163s # * good_types_proxy_new_finish: 1163s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 1163s # * @error: Return location for error or %NULL 1163s # * 1163s # * Finishes an operation started with good_types_proxy_new(). 1163s # * 1163s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1163s # */ 1163s # GoodTypes * 1163s # good_types_proxy_new_finish ( 1163s # GAsyncResult *res, 1163s # GError **error) 1163s # { 1163s # GObject *ret; 1163s # GObject *source_object; 1163s # source_object = g_async_result_get_source_object (res); 1163s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1163s # g_object_unref (source_object); 1163s # if (ret != NULL) 1163s # return GOOD_TYPES (ret); 1163s # else 1163s # return NULL; 1163s # } 1163s # 1163s # /** 1163s # * good_types_proxy_new_sync: 1163s # * @connection: A #GDBusConnection. 1163s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1163s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1163s # * @object_path: An object path. 1163s # * @cancellable: (nullable): A #GCancellable or %NULL. 1163s # * @error: Return location for error or %NULL 1163s # * 1163s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 1163s # * 1163s # * The calling thread is blocked until a reply is received. 1163s # * 1163s # * See good_types_proxy_new() for the asynchronous version of this constructor. 1163s # * 1163s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1163s # */ 1163s # GoodTypes * 1163s # good_types_proxy_new_sync ( 1163s # GDBusConnection *connection, 1163s # GDBusProxyFlags flags, 1163s # const gchar *name, 1163s # const gchar *object_path, 1163s # GCancellable *cancellable, 1163s # GError **error) 1163s # { 1163s # GInitable *ret; 1163s # 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); 1163s # if (ret != NULL) 1163s # return GOOD_TYPES (ret); 1163s # else 1163s # return NULL; 1163s # } 1163s # 1163s # 1163s # /** 1163s # * good_types_proxy_new_for_bus: 1163s # * @bus_type: A #GBusType. 1163s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1163s # * @name: A bus name (well-known or unique). 1163s # * @object_path: An object path. 1163s # * @cancellable: (nullable): A #GCancellable or %NULL. 1163s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1163s # * @user_data: User data to pass to @callback. 1163s # * 1163s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1163s # * 1163s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1163s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 1163s # * 1163s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1163s # */ 1163s # void 1163s # good_types_proxy_new_for_bus ( 1163s # GBusType bus_type, 1163s # GDBusProxyFlags flags, 1163s # const gchar *name, 1163s # const gchar *object_path, 1163s # GCancellable *cancellable, 1163s # GAsyncReadyCallback callback, 1163s # gpointer user_data) 1163s # { 1163s # 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); 1163s # } 1163s # 1163s # /** 1163s # * good_types_proxy_new_for_bus_finish: 1163s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 1163s # * @error: Return location for error or %NULL 1163s # * 1163s # * Finishes an operation started with good_types_proxy_new_for_bus(). 1163s # * 1163s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1163s # */ 1163s # GoodTypes * 1163s # good_types_proxy_new_for_bus_finish ( 1163s # GAsyncResult *res, 1163s # GError **error) 1163s # { 1163s # GObject *ret; 1163s # GObject *source_object; 1163s # source_object = g_async_result_get_source_object (res); 1163s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1163s # g_object_unref (source_object); 1163s # if (ret != NULL) 1163s # return GOOD_TYPES (ret); 1163s # else 1163s # return NULL; 1163s # } 1163s # 1163s # /** 1163s # * good_types_proxy_new_for_bus_sync: 1163s # * @bus_type: A #GBusType. 1163s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1163s # * @name: A bus name (well-known or unique). 1163s # * @object_path: An object path. 1163s # * @cancellable: (nullable): A #GCancellable or %NULL. 1163s # * @error: Return location for error or %NULL 1163s # * 1163s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1163s # * 1163s # * The calling thread is blocked until a reply is received. 1163s # * 1163s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 1163s # * 1163s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1163s # */ 1163s # GoodTypes * 1163s # good_types_proxy_new_for_bus_sync ( 1163s # GBusType bus_type, 1163s # GDBusProxyFlags flags, 1163s # const gchar *name, 1163s # const gchar *object_path, 1163s # GCancellable *cancellable, 1163s # GError **error) 1163s # { 1163s # GInitable *ret; 1163s # 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); 1163s # if (ret != NULL) 1163s # return GOOD_TYPES (ret); 1163s # else 1163s # return NULL; 1163s # } 1163s # 1163s # 1163s # /* ------------------------------------------------------------------------ */ 1163s # 1163s # /** 1163s # * GoodTypesSkeleton: 1163s # * 1163s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 1163s # */ 1163s # 1163s # /** 1163s # * GoodTypesSkeletonClass: 1163s # * @parent_class: The parent class. 1163s # * 1163s # * Class structure for GoodTypesSkeleton. 1163s # */ 1163s # 1163s # struct _GoodTypesSkeletonPrivate 1163s # { 1163s # GValue *properties; 1163s # GList *changed_properties; 1163s # GSource *changed_properties_idle_source; 1163s # GMainContext *context; 1163s # GMutex lock; 1163s # }; 1163s # 1163s # static void 1163s # _good_types_skeleton_handle_method_call ( 1163s # GDBusConnection *connection G_GNUC_UNUSED, 1163s # const gchar *sender G_GNUC_UNUSED, 1163s # const gchar *object_path G_GNUC_UNUSED, 1163s # const gchar *interface_name, 1163s # const gchar *method_name, 1163s # GVariant *parameters, 1163s # GDBusMethodInvocation *invocation, 1163s # gpointer user_data) 1163s # { 1163s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1163s # _ExtendedGDBusMethodInfo *info; 1163s # GVariantIter iter; 1163s # GVariant *child; 1163s # GValue *paramv; 1163s # gsize num_params; 1163s # guint num_extra; 1163s # gsize n; 1163s # guint signal_id; 1163s # GValue return_value = G_VALUE_INIT; 1163s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1163s # g_assert (info != NULL); 1163s # num_params = g_variant_n_children (parameters); 1163s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1163s # n = 0; 1163s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 1163s # g_value_set_object (¶mv[n++], skeleton); 1163s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1163s # g_value_set_object (¶mv[n++], invocation); 1163s # if (info->pass_fdlist) 1163s # { 1163s # #ifdef G_OS_UNIX 1163s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1163s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1163s # #else 1163s # g_assert_not_reached (); 1163s # #endif 1163s # } 1163s # g_variant_iter_init (&iter, parameters); 1163s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1163s # { 1163s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1163s # if (arg_info->use_gvariant) 1163s # { 1163s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1163s # g_value_set_variant (¶mv[n], child); 1163s # n++; 1163s # } 1163s # else 1163s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1163s # g_variant_unref (child); 1163s # } 1163s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1163s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1163s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1163s # if (!g_value_get_boolean (&return_value)) 1163s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1163s # g_value_unset (&return_value); 1163s # for (n = 0; n < num_params + num_extra; n++) 1163s # g_value_unset (¶mv[n]); 1163s # g_free (paramv); 1163s # } 1163s # 1163s # static GVariant * 1163s # _good_types_skeleton_handle_get_property ( 1163s # GDBusConnection *connection G_GNUC_UNUSED, 1163s # const gchar *sender G_GNUC_UNUSED, 1163s # const gchar *object_path G_GNUC_UNUSED, 1163s # const gchar *interface_name G_GNUC_UNUSED, 1163s # const gchar *property_name, 1163s # GError **error, 1163s # gpointer user_data) 1163s # { 1163s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1163s # GValue value = G_VALUE_INIT; 1163s # GParamSpec *pspec; 1163s # _ExtendedGDBusPropertyInfo *info; 1163s # GVariant *ret; 1163s # ret = NULL; 1163s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1163s # g_assert (info != NULL); 1163s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1163s # if (pspec == NULL) 1163s # { 1163s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1163s # } 1163s # else 1163s # { 1163s # g_value_init (&value, pspec->value_type); 1163s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1163s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1163s # g_value_unset (&value); 1163s # } 1163s # return ret; 1163s # } 1163s # 1163s # static gboolean 1163s # _good_types_skeleton_handle_set_property ( 1163s # GDBusConnection *connection G_GNUC_UNUSED, 1163s # const gchar *sender G_GNUC_UNUSED, 1163s # const gchar *object_path G_GNUC_UNUSED, 1163s # const gchar *interface_name G_GNUC_UNUSED, 1163s # const gchar *property_name, 1163s # GVariant *variant, 1163s # GError **error, 1163s # gpointer user_data) 1163s # { 1163s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1163s # GValue value = G_VALUE_INIT; 1163s # GParamSpec *pspec; 1163s # _ExtendedGDBusPropertyInfo *info; 1163s # gboolean ret; 1163s # ret = FALSE; 1163s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1163s # g_assert (info != NULL); 1163s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1163s # if (pspec == NULL) 1163s # { 1163s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1163s # } 1163s # else 1163s # { 1163s # if (info->use_gvariant) 1163s # g_value_set_variant (&value, variant); 1163s # else 1163s # g_dbus_gvariant_to_gvalue (variant, &value); 1163s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1163s # g_value_unset (&value); 1163s # ret = TRUE; 1163s # } 1163s # return ret; 1163s # } 1163s # 1163s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 1163s # { 1163s # _good_types_skeleton_handle_method_call, 1163s # _good_types_skeleton_handle_get_property, 1163s # _good_types_skeleton_handle_set_property, 1163s # {NULL} 1163s # }; 1163s # 1163s # static GDBusInterfaceInfo * 1163s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1163s # { 1163s # return good_types_interface_info (); 1163s # } 1163s # 1163s # static GDBusInterfaceVTable * 1163s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1163s # { 1163s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 1163s # } 1163s # 1163s # static GVariant * 1163s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1163s # { 1163s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1163s # 1163s # GVariantBuilder builder; 1163s # guint n; 1163s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1163s # if (_good_types_interface_info.parent_struct.properties == NULL) 1163s # goto out; 1163s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 1163s # { 1163s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 1163s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1163s # { 1163s # GVariant *value; 1163s # 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); 1163s # if (value != NULL) 1163s # { 1163s # g_variant_take_ref (value); 1163s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1163s # g_variant_unref (value); 1163s # } 1163s # } 1163s # } 1163s # out: 1163s # return g_variant_builder_end (&builder); 1163s # } 1163s # 1163s # static gboolean _good_types_emit_changed (gpointer user_data); 1163s # 1163s # static void 1163s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1163s # { 1163s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1163s # gboolean emit_changed = FALSE; 1163s # 1163s # g_mutex_lock (&skeleton->priv->lock); 1163s # if (skeleton->priv->changed_properties_idle_source != NULL) 1163s # { 1163s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1163s # skeleton->priv->changed_properties_idle_source = NULL; 1163s # emit_changed = TRUE; 1163s # } 1163s # g_mutex_unlock (&skeleton->priv->lock); 1163s # 1163s # if (emit_changed) 1163s # _good_types_emit_changed (skeleton); 1163s # } 1163s # 1163s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 1163s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1163s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1163s # G_ADD_PRIVATE (GoodTypesSkeleton) 1163s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1163s # 1163s # #else 1163s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1163s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1163s # 1163s # #endif 1163s # static void 1163s # good_types_skeleton_finalize (GObject *object) 1163s # { 1163s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1163s # guint n; 1163s # for (n = 0; n < 1; n++) 1163s # g_value_unset (&skeleton->priv->properties[n]); 1163s # g_free (skeleton->priv->properties); 1163s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1163s # if (skeleton->priv->changed_properties_idle_source != NULL) 1163s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1163s # g_main_context_unref (skeleton->priv->context); 1163s # g_mutex_clear (&skeleton->priv->lock); 1163s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 1163s # } 1163s # 1163s # static void 1163s # good_types_skeleton_get_property (GObject *object, 1163s # guint prop_id, 1163s # GValue *value, 1163s # GParamSpec *pspec G_GNUC_UNUSED) 1163s # { 1163s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1163s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1163s # g_mutex_lock (&skeleton->priv->lock); 1163s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1163s # g_mutex_unlock (&skeleton->priv->lock); 1163s # } 1163s # 1163s # static gboolean 1163s # _good_types_emit_changed (gpointer user_data) 1163s # { 1163s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1163s # GList *l; 1163s # GVariantBuilder builder; 1163s # GVariantBuilder invalidated_builder; 1163s # guint num_changes; 1163s # 1163s # g_mutex_lock (&skeleton->priv->lock); 1163s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1163s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1163s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1163s # { 1163s # ChangedProperty *cp = l->data; 1163s # GVariant *variant; 1163s # const GValue *cur_value; 1163s # 1163s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1163s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1163s # { 1163s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1163s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1163s # g_variant_unref (variant); 1163s # num_changes++; 1163s # } 1163s # } 1163s # if (num_changes > 0) 1163s # { 1163s # GList *connections, *ll; 1163s # GVariant *signal_variant; 1163s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 1163s # &builder, &invalidated_builder)); 1163s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1163s # for (ll = connections; ll != NULL; ll = ll->next) 1163s # { 1163s # GDBusConnection *connection = ll->data; 1163s # 1163s # g_dbus_connection_emit_signal (connection, 1163s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1163s # "org.freedesktop.DBus.Properties", 1163s # "PropertiesChanged", 1163s # signal_variant, 1163s # NULL); 1163s # } 1163s # g_variant_unref (signal_variant); 1163s # g_list_free_full (connections, g_object_unref); 1163s # } 1163s # else 1163s # { 1163s # g_variant_builder_clear (&builder); 1163s # g_variant_builder_clear (&invalidated_builder); 1163s # } 1163s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1163s # skeleton->priv->changed_properties = NULL; 1163s # skeleton->priv->changed_properties_idle_source = NULL; 1163s # g_mutex_unlock (&skeleton->priv->lock); 1163s # return FALSE; 1163s # } 1163s # 1163s # static void 1163s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1163s # { 1163s # ChangedProperty *cp; 1163s # GList *l; 1163s # cp = NULL; 1163s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1163s # { 1163s # ChangedProperty *i_cp = l->data; 1163s # if (i_cp->info == info) 1163s # { 1163s # cp = i_cp; 1163s # break; 1163s # } 1163s # } 1163s # if (cp == NULL) 1163s # { 1163s # cp = g_new0 (ChangedProperty, 1); 1163s # cp->prop_id = prop_id; 1163s # cp->info = info; 1163s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1163s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1163s # g_value_copy (orig_value, &cp->orig_value); 1163s # } 1163s # } 1163s # 1163s # static void 1163s # good_types_skeleton_notify (GObject *object, 1163s # GParamSpec *pspec G_GNUC_UNUSED) 1163s # { 1163s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1163s # g_mutex_lock (&skeleton->priv->lock); 1163s # if (skeleton->priv->changed_properties != NULL && 1163s # skeleton->priv->changed_properties_idle_source == NULL) 1163s # { 1163s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1163s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1163s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1163s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 1163s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1163s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1163s # } 1163s # g_mutex_unlock (&skeleton->priv->lock); 1163s # } 1163s # 1163s # static void 1163s # good_types_skeleton_set_property (GObject *object, 1163s # guint prop_id, 1163s # const GValue *value, 1163s # GParamSpec *pspec) 1163s # { 1163s # const _ExtendedGDBusPropertyInfo *info; 1163s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1163s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1163s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1163s # g_mutex_lock (&skeleton->priv->lock); 1163s # g_object_freeze_notify (object); 1163s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1163s # { 1163s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1163s # info->emits_changed_signal) 1163s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1163s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1163s # g_object_notify_by_pspec (object, pspec); 1163s # } 1163s # g_mutex_unlock (&skeleton->priv->lock); 1163s # g_object_thaw_notify (object); 1163s # } 1163s # 1163s # static void 1163s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 1163s # { 1163s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1163s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 1163s # #else 1163s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 1163s # #endif 1163s # 1163s # g_mutex_init (&skeleton->priv->lock); 1163s # skeleton->priv->context = g_main_context_ref_thread_default (); 1163s # skeleton->priv->properties = g_new0 (GValue, 1); 1163s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 1163s # } 1163s # 1163s # static GVariant * 1163s # good_types_skeleton_get_good_property_type (GoodTypes *object) 1163s # { 1163s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1163s # GVariant *value; 1163s # g_mutex_lock (&skeleton->priv->lock); 1163s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 1163s # g_mutex_unlock (&skeleton->priv->lock); 1163s # return value; 1163s # } 1163s # 1163s # static void 1163s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 1163s # { 1163s # GObjectClass *gobject_class; 1163s # GDBusInterfaceSkeletonClass *skeleton_class; 1163s # 1163s # gobject_class = G_OBJECT_CLASS (klass); 1163s # gobject_class->finalize = good_types_skeleton_finalize; 1163s # gobject_class->get_property = good_types_skeleton_get_property; 1163s # gobject_class->set_property = good_types_skeleton_set_property; 1163s # gobject_class->notify = good_types_skeleton_notify; 1163s # 1163s # 1163s # good_types_override_properties (gobject_class, 1); 1163s # 1163s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1163s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 1163s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 1163s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 1163s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 1163s # 1163s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1163s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 1163s # #endif 1163s # } 1163s # 1163s # static void 1163s # good_types_skeleton_iface_init (GoodTypesIface *iface) 1163s # { 1163s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 1163s # } 1163s # 1163s # /** 1163s # * good_types_skeleton_new: 1163s # * 1163s # * Creates a skeleton object for the D-Bus interface GoodTypes. 1163s # * 1163s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 1163s # */ 1163s # GoodTypes * 1163s # good_types_skeleton_new (void) 1163s # { 1163s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 1163s # } 1163s # /tmp/tmpdzzj68ia/tmpd956vr5r.xml: 1163s # 1163s # 1163s # 1163s # 1163s # 1163s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdzzj68ia/tmpd956vr5r.xml', '--output', '-', '--body'] 1163s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1163s # Output: /* 1163s # * This file is generated by gdbus-codegen, do not modify it. 1163s # * 1163s # * The license of this code is the same as for the D-Bus interface description 1163s # * it was derived from. Note that it links to GLib, so must comply with the 1163s # * LGPL linking clauses. 1163s # */ 1163s # 1163s # #ifdef HAVE_CONFIG_H 1163s # # include "config.h" 1163s # #endif 1163s # 1163s # #include 1163s # #ifdef G_OS_UNIX 1163s # # include 1163s # #endif 1163s # 1163s # #ifdef G_ENABLE_DEBUG 1163s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1163s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1163s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1163s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1163s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1163s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1163s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1163s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1163s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1163s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1163s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1163s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1163s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1163s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1163s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1163s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1163s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1163s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1163s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1163s # #else /* !G_ENABLE_DEBUG */ 1163s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1163s # * Do not access GValues directly in your code. Instead, use the 1163s # * g_value_get_*() functions 1163s # */ 1163s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1163s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1163s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1163s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1163s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1163s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1163s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1163s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1163s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1163s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1163s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1163s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1163s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1163s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1163s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1163s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1163s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1163s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1163s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1163s # #endif /* !G_ENABLE_DEBUG */ 1163s # 1163s # typedef struct 1163s # { 1163s # GDBusArgInfo parent_struct; 1163s # gboolean use_gvariant; 1163s # } _ExtendedGDBusArgInfo; 1163s # 1163s # typedef struct 1163s # { 1163s # GDBusMethodInfo parent_struct; 1163s # const gchar *signal_name; 1163s # gboolean pass_fdlist; 1163s # } _ExtendedGDBusMethodInfo; 1163s # 1163s # typedef struct 1163s # { 1163s # GDBusSignalInfo parent_struct; 1163s # const gchar *signal_name; 1163s # } _ExtendedGDBusSignalInfo; 1163s # 1163s # typedef struct 1163s # { 1163s # GDBusPropertyInfo parent_struct; 1163s # const gchar *hyphen_name; 1163s # guint use_gvariant : 1; 1163s # guint emits_changed_signal : 1; 1163s # } _ExtendedGDBusPropertyInfo; 1163s # 1163s # typedef struct 1163s # { 1163s # GDBusInterfaceInfo parent_struct; 1163s # const gchar *hyphen_name; 1163s # } _ExtendedGDBusInterfaceInfo; 1163s # 1163s # typedef struct 1163s # { 1163s # const _ExtendedGDBusPropertyInfo *info; 1163s # guint prop_id; 1163s # GValue orig_value; /* the value before the change */ 1163s # } ChangedProperty; 1163s # 1163s # static void 1163s # _changed_property_free (ChangedProperty *data) 1163s # { 1163s # g_value_unset (&data->orig_value); 1163s # g_free (data); 1163s # } 1163s # 1163s # static gboolean 1163s # _g_strv_equal0 (gchar **a, gchar **b) 1163s # { 1163s # gboolean ret = FALSE; 1163s # guint n; 1163s # if (a == NULL && b == NULL) 1163s # { 1163s # ret = TRUE; 1163s # goto out; 1163s # } 1163s # if (a == NULL || b == NULL) 1163s # goto out; 1163s # if (g_strv_length (a) != g_strv_length (b)) 1163s # goto out; 1163s # for (n = 0; a[n] != NULL; n++) 1163s # if (g_strcmp0 (a[n], b[n]) != 0) 1163s # goto out; 1163s # ret = TRUE; 1163s # out: 1163s # return ret; 1163s # } 1163s # 1163s # static gboolean 1163s # _g_variant_equal0 (GVariant *a, GVariant *b) 1163s # { 1163s # gboolean ret = FALSE; 1163s # if (a == NULL && b == NULL) 1163s # { 1163s # ret = TRUE; 1163s # goto out; 1163s # } 1163s # if (a == NULL || b == NULL) 1163s # goto out; 1163s # ret = g_variant_equal (a, b); 1163s # out: 1163s # return ret; 1163s # } 1163s # 1163s # G_GNUC_UNUSED static gboolean 1163s # _g_value_equal (const GValue *a, const GValue *b) 1163s # { 1163s # gboolean ret = FALSE; 1163s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1163s # switch (G_VALUE_TYPE (a)) 1163s # { 1163s # case G_TYPE_BOOLEAN: 1163s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1163s # break; 1163s # case G_TYPE_UCHAR: 1163s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1163s # break; 1163s # case G_TYPE_INT: 1163s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1163s # break; 1163s # case G_TYPE_UINT: 1163s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1163s # break; 1163s # case G_TYPE_INT64: 1163s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1163s # break; 1163s # case G_TYPE_UINT64: 1163s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1163s # break; 1163s # case G_TYPE_DOUBLE: 1163s # { 1163s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1163s # gdouble da = g_value_get_double (a); 1163s # gdouble db = g_value_get_double (b); 1163s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1163s # } 1163s # break; 1163s # case G_TYPE_STRING: 1163s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1163s # break; 1163s # case G_TYPE_VARIANT: 1163s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1163s # break; 1163s # default: 1163s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1163s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1163s # else 1163s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1163s # break; 1163s # } 1163s # return ret; 1163s # } 1163s # 1163s # /* ------------------------------------------------------------------------ 1163s # * Code for interface GoodTypes 1163s # * ------------------------------------------------------------------------ 1163s # */ 1163s # 1163s # /** 1163s # * SECTION:GoodTypes 1163s # * @title: GoodTypes 1163s # * @short_description: Generated C code for the GoodTypes D-Bus interface 1163s # * 1163s # * This section contains code for working with the GoodTypes D-Bus interface in C. 1163s # */ 1163s # 1163s # /* ---- Introspection data for GoodTypes ---- */ 1163s # 1163s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 1163s # { 1163s # { 1163s # -1, 1163s # (gchar *) "GoodPropertyType", 1163s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas", 1163s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1163s # NULL 1163s # }, 1163s # "good-property-type", 1163s # FALSE, 1163s # TRUE 1163s # }; 1163s # 1163s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 1163s # { 1163s # &_good_types_property_info_good_property_type.parent_struct, 1163s # NULL 1163s # }; 1163s # 1163s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 1163s # { 1163s # { 1163s # -1, 1163s # (gchar *) "GoodTypes", 1163s # NULL, 1163s # NULL, 1163s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 1163s # NULL 1163s # }, 1163s # "good-types", 1163s # }; 1163s # 1163s # 1163s # /** 1163s # * good_types_interface_info: 1163s # * 1163s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 1163s # * 1163s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1163s # */ 1163s # GDBusInterfaceInfo * 1163s # good_types_interface_info (void) 1163s # { 1163s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 1163s # } 1163s # 1163s # /** 1163s # * good_types_override_properties: 1163s # * @klass: The class structure for a #GObject derived class. 1163s # * @property_id_begin: The property id to assign to the first overridden property. 1163s # * 1163s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 1163s # * The properties are overridden in the order they are defined. 1163s # * 1163s # * Returns: The last property id. 1163s # */ 1163s # guint 1163s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 1163s # { 1163s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 1163s # return property_id_begin - 1; 1163s # } 1163s # 1163s # 1163s # 1163s # /** 1163s # * GoodTypes: 1163s # * 1163s # * Abstract interface type for the D-Bus interface GoodTypes. 1163s # */ 1163s # 1163s # /** 1163s # * GoodTypesIface: 1163s # * @parent_iface: The parent interface. 1163s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 1163s # * 1163s # * Virtual table for the D-Bus interface GoodTypes. 1163s # */ 1163s # 1163s # typedef GoodTypesIface GoodTypesInterface; 1163s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 1163s # 1163s # static void 1163s # good_types_default_init (GoodTypesIface *iface) 1163s # { 1163s # /* GObject properties for D-Bus properties: */ 1163s # /** 1163s # * GoodTypes:good-property-type: 1163s # * 1163s # * Represents the D-Bus property "GoodPropertyType". 1163s # * 1163s # * 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. 1163s # */ 1163s # g_object_interface_install_property (iface, 1163s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 1163s # } 1163s # 1163s # /** 1163s # * good_types_get_good_property_type: (skip) 1163s # * @object: A GoodTypes. 1163s # * 1163s # * Gets the value of the "GoodPropertyType" D-Bus property. 1163s # * 1163s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1163s # * 1163s # * 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. 1163s # * 1163s # * 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. 1163s # */ 1163s # GVariant * 1163s # good_types_get_good_property_type (GoodTypes *object) 1163s # { 1163s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 1163s # 1163s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 1163s # } 1163s # 1163s # /** 1163s # * good_types_dup_good_property_type: (skip) 1163s # * @object: A GoodTypes. 1163s # * 1163s # * Gets a copy of the "GoodPropertyType" D-Bus property. 1163s # * 1163s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1163s # * 1163s # * 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(). 1163s # */ 1163s # GVariant * 1163s # good_types_dup_good_property_type (GoodTypes *object) 1163s # { 1163s # GVariant *value; 1163s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 1163s # return value; 1163s # } 1163s # 1163s # /** 1163s # * good_types_set_good_property_type: (skip) 1163s # * @object: A GoodTypes. 1163s # * @value: The value to set. 1163s # * 1163s # * Sets the "GoodPropertyType" D-Bus property to @value. 1163s # * 1163s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1163s # */ 1163s # void 1163s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 1163s # { 1163s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 1163s # } 1163s # 1163s # /* ------------------------------------------------------------------------ */ 1163s # 1163s # /** 1163s # * GoodTypesProxy: 1163s # * 1163s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 1163s # */ 1163s # 1163s # /** 1163s # * GoodTypesProxyClass: 1163s # * @parent_class: The parent class. 1163s # * 1163s # * Class structure for GoodTypesProxy. 1163s # */ 1163s # 1163s # struct _GoodTypesProxyPrivate 1163s # { 1163s # GData *qdata; 1163s # }; 1163s # 1163s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 1163s # 1163s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1163s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1163s # G_ADD_PRIVATE (GoodTypesProxy) 1163s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1163s # 1163s # #else 1163s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1163s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1163s # 1163s # #endif 1163s # static void 1163s # good_types_proxy_finalize (GObject *object) 1163s # { 1163s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1163s # g_datalist_clear (&proxy->priv->qdata); 1163s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 1163s # } 1163s # 1163s # static void 1163s # good_types_proxy_get_property (GObject *object, 1163s # guint prop_id, 1163s # GValue *value, 1163s # GParamSpec *pspec G_GNUC_UNUSED) 1163s # { 1163s # const _ExtendedGDBusPropertyInfo *info; 1163s # GVariant *variant; 1163s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1163s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1163s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1163s # if (info->use_gvariant) 1163s # { 1163s # g_value_set_variant (value, variant); 1163s # } 1163s # else 1163s # { 1163s # if (variant != NULL) 1163s # g_dbus_gvariant_to_gvalue (variant, value); 1163s # } 1163s # if (variant != NULL) 1163s # g_variant_unref (variant); 1163s # } 1163s # 1163s # static void 1163s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 1163s # GAsyncResult *res, 1163s # gpointer user_data) 1163s # { 1163s # const _ExtendedGDBusPropertyInfo *info = user_data; 1163s # GError *error; 1163s # GVariant *_ret; 1163s # error = NULL; 1163s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1163s # if (!_ret) 1163s # { 1163s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 1163s # info->parent_struct.name, 1163s # error->message, g_quark_to_string (error->domain), error->code); 1163s # g_error_free (error); 1163s # } 1163s # else 1163s # { 1163s # g_variant_unref (_ret); 1163s # } 1163s # } 1163s # 1163s # static void 1163s # good_types_proxy_set_property (GObject *object, 1163s # guint prop_id, 1163s # const GValue *value, 1163s # GParamSpec *pspec G_GNUC_UNUSED) 1163s # { 1163s # const _ExtendedGDBusPropertyInfo *info; 1163s # GVariant *variant; 1163s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1163s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1163s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1163s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1163s # "org.freedesktop.DBus.Properties.Set", 1163s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 1163s # G_DBUS_CALL_FLAGS_NONE, 1163s # -1, 1163s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1163s # g_variant_unref (variant); 1163s # } 1163s # 1163s # static void 1163s # good_types_proxy_g_signal (GDBusProxy *proxy, 1163s # const gchar *sender_name G_GNUC_UNUSED, 1163s # const gchar *signal_name, 1163s # GVariant *parameters) 1163s # { 1163s # _ExtendedGDBusSignalInfo *info; 1163s # GVariantIter iter; 1163s # GVariant *child; 1163s # GValue *paramv; 1163s # gsize num_params; 1163s # gsize n; 1163s # guint signal_id; 1163s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 1163s # if (info == NULL) 1163s # return; 1163s # num_params = g_variant_n_children (parameters); 1163s # paramv = g_new0 (GValue, num_params + 1); 1163s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 1163s # g_value_set_object (¶mv[0], proxy); 1163s # g_variant_iter_init (&iter, parameters); 1163s # n = 1; 1163s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1163s # { 1163s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1163s # if (arg_info->use_gvariant) 1163s # { 1163s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1163s # g_value_set_variant (¶mv[n], child); 1163s # n++; 1163s # } 1163s # else 1163s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1163s # g_variant_unref (child); 1163s # } 1163s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1163s # g_signal_emitv (paramv, signal_id, 0, NULL); 1163s # for (n = 0; n < num_params + 1; n++) 1163s # g_value_unset (¶mv[n]); 1163s # g_free (paramv); 1163s # } 1163s # 1163s # static void 1163s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 1163s # GVariant *changed_properties, 1163s # const gchar *const *invalidated_properties) 1163s # { 1163s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 1163s # guint n; 1163s # const gchar *key; 1163s # GVariantIter *iter; 1163s # _ExtendedGDBusPropertyInfo *info; 1163s # g_variant_get (changed_properties, "a{sv}", &iter); 1163s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1163s # { 1163s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 1163s # g_datalist_remove_data (&proxy->priv->qdata, key); 1163s # if (info != NULL) 1163s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1163s # } 1163s # g_variant_iter_free (iter); 1163s # for (n = 0; invalidated_properties[n] != NULL; n++) 1163s # { 1163s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 1163s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1163s # if (info != NULL) 1163s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1163s # } 1163s # } 1163s # 1163s # static GVariant * 1163s # good_types_proxy_get_good_property_type (GoodTypes *object) 1163s # { 1163s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1163s # GVariant *variant; 1163s # GVariant *value = NULL; 1163s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 1163s # value = variant; 1163s # if (variant != NULL) 1163s # g_variant_unref (variant); 1163s # return value; 1163s # } 1163s # 1163s # static void 1163s # good_types_proxy_init (GoodTypesProxy *proxy) 1163s # { 1163s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1163s # proxy->priv = good_types_proxy_get_instance_private (proxy); 1163s # #else 1163s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 1163s # #endif 1163s # 1163s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 1163s # } 1163s # 1163s # static void 1163s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 1163s # { 1163s # GObjectClass *gobject_class; 1163s # GDBusProxyClass *proxy_class; 1163s # 1163s # gobject_class = G_OBJECT_CLASS (klass); 1163s # gobject_class->finalize = good_types_proxy_finalize; 1163s # gobject_class->get_property = good_types_proxy_get_property; 1163s # gobject_class->set_property = good_types_proxy_set_property; 1163s # 1163s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1163s # proxy_class->g_signal = good_types_proxy_g_signal; 1163s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 1163s # 1163s # good_types_override_properties (gobject_class, 1); 1163s # 1163s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1163s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 1163s # #endif 1163s # } 1163s # 1163s # static void 1163s # good_types_proxy_iface_init (GoodTypesIface *iface) 1163s # { 1163s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 1163s # } 1163s # 1163s # /** 1163s # * good_types_proxy_new: 1163s # * @connection: A #GDBusConnection. 1163s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1163s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1163s # * @object_path: An object path. 1163s # * @cancellable: (nullable): A #GCancellable or %NULL. 1163s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1163s # * @user_data: User data to pass to @callback. 1163s # * 1163s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 1163s # * 1163s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1163s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 1163s # * 1163s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 1163s # */ 1163s # void 1163s # good_types_proxy_new ( 1163s # GDBusConnection *connection, 1163s # GDBusProxyFlags flags, 1163s # const gchar *name, 1163s # const gchar *object_path, 1163s # GCancellable *cancellable, 1163s # GAsyncReadyCallback callback, 1163s # gpointer user_data) 1163s # { 1163s # 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); 1163s # } 1163s # 1163s # /** 1163s # * good_types_proxy_new_finish: 1163s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 1163s # * @error: Return location for error or %NULL 1163s # * 1163s # * Finishes an operation started with good_types_proxy_new(). 1163s # * 1163s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1163s # */ 1163s # GoodTypes * 1163s # good_types_proxy_new_finish ( 1163s # GAsyncResult *res, 1163s # GError **error) 1163s # { 1163s # GObject *ret; 1163s # GObject *source_object; 1163s # source_object = g_async_result_get_source_object (res); 1163s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1163s # g_object_unref (source_object); 1163s # if (ret != NULL) 1163s # return GOOD_TYPES (ret); 1163s # else 1163s # return NULL; 1163s # } 1163s # 1163s # /** 1163s # * good_types_proxy_new_sync: 1163s # * @connection: A #GDBusConnection. 1163s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1163s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1163s # * @object_path: An object path. 1163s # * @cancellable: (nullable): A #GCancellable or %NULL. 1163s # * @error: Return location for error or %NULL 1163s # * 1163s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 1163s # * 1163s # * The calling thread is blocked until a reply is received. 1163s # * 1163s # * See good_types_proxy_new() for the asynchronous version of this constructor. 1163s # * 1163s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1163s # */ 1163s # GoodTypes * 1163s # good_types_proxy_new_sync ( 1163s # GDBusConnection *connection, 1163s # GDBusProxyFlags flags, 1163s # const gchar *name, 1163s # const gchar *object_path, 1163s # GCancellable *cancellable, 1163s # GError **error) 1163s # { 1163s # GInitable *ret; 1163s # 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); 1163s # if (ret != NULL) 1163s # return GOOD_TYPES (ret); 1163s # else 1163s # return NULL; 1163s # } 1163s # 1163s # 1163s # /** 1163s # * good_types_proxy_new_for_bus: 1163s # * @bus_type: A #GBusType. 1163s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1163s # * @name: A bus name (well-known or unique). 1163s # * @object_path: An object path. 1163s # * @cancellable: (nullable): A #GCancellable or %NULL. 1163s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1163s # * @user_data: User data to pass to @callback. 1163s # * 1163s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1163s # * 1163s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1163s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 1163s # * 1163s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1163s # */ 1163s # void 1163s # good_types_proxy_new_for_bus ( 1163s # GBusType bus_type, 1163s # GDBusProxyFlags flags, 1163s # const gchar *name, 1163s # const gchar *object_path, 1163s # GCancellable *cancellable, 1163s # GAsyncReadyCallback callback, 1163s # gpointer user_data) 1163s # { 1163s # 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); 1163s # } 1163s # 1163s # /** 1163s # * good_types_proxy_new_for_bus_finish: 1163s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 1163s # * @error: Return location for error or %NULL 1163s # * 1163s # * Finishes an operation started with good_types_proxy_new_for_bus(). 1163s # * 1163s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1163s # */ 1163s # GoodTypes * 1163s # good_types_proxy_new_for_bus_finish ( 1163s # GAsyncResult *res, 1163s # GError **error) 1163s # { 1163s # GObject *ret; 1163s # GObject *source_object; 1163s # source_object = g_async_result_get_source_object (res); 1163s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1163s # g_object_unref (source_object); 1163s # if (ret != NULL) 1163s # return GOOD_TYPES (ret); 1163s # else 1163s # return NULL; 1163s # } 1163s # 1163s # /** 1163s # * good_types_proxy_new_for_bus_sync: 1163s # * @bus_type: A #GBusType. 1163s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1163s # * @name: A bus name (well-known or unique). 1163s # * @object_path: An object path. 1163s # * @cancellable: (nullable): A #GCancellable or %NULL. 1163s # * @error: Return location for error or %NULL 1163s # * 1163s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1163s # * 1163s # * The calling thread is blocked until a reply is received. 1163s # * 1163s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 1163s # * 1163s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1163s # */ 1163s # GoodTypes * 1163s # good_types_proxy_new_for_bus_sync ( 1163s # GBusType bus_type, 1163s # GDBusProxyFlags flags, 1163s # const gchar *name, 1163s # const gchar *object_path, 1163s # GCancellable *cancellable, 1163s # GError **error) 1163s # { 1163s # GInitable *ret; 1163s # 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); 1163s # if (ret != NULL) 1163s # return GOOD_TYPES (ret); 1163s # else 1163s # return NULL; 1163s # } 1163s # 1163s # 1163s # /* ------------------------------------------------------------------------ */ 1163s # 1163s # /** 1163s # * GoodTypesSkeleton: 1163s # * 1163s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 1163s # */ 1163s # 1163s # /** 1163s # * GoodTypesSkeletonClass: 1163s # * @parent_class: The parent class. 1163s # * 1163s # * Class structure for GoodTypesSkeleton. 1163s # */ 1163s # 1163s # struct _GoodTypesSkeletonPrivate 1163s # { 1163s # GValue *properties; 1163s # GList *changed_properties; 1163s # GSource *changed_properties_idle_source; 1163s # GMainContext *context; 1163s # GMutex lock; 1163s # }; 1163s # 1163s # static void 1163s # _good_types_skeleton_handle_method_call ( 1163s # GDBusConnection *connection G_GNUC_UNUSED, 1163s # const gchar *sender G_GNUC_UNUSED, 1163s # const gchar *object_path G_GNUC_UNUSED, 1163s # const gchar *interface_name, 1163s # const gchar *method_name, 1163s # GVariant *parameters, 1163s # GDBusMethodInvocation *invocation, 1163s # gpointer user_data) 1163s # { 1163s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1163s # _ExtendedGDBusMethodInfo *info; 1163s # GVariantIter iter; 1163s # GVariant *child; 1163s # GValue *paramv; 1163s # gsize num_params; 1163s # guint num_extra; 1163s # gsize n; 1163s # guint signal_id; 1163s # GValue return_value = G_VALUE_INIT; 1163s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1163s # g_assert (info != NULL); 1163s # num_params = g_variant_n_children (parameters); 1163s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1163s # n = 0; 1163s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 1163s # g_value_set_object (¶mv[n++], skeleton); 1163s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1163s # g_value_set_object (¶mv[n++], invocation); 1163s # if (info->pass_fdlist) 1163s # { 1163s # #ifdef G_OS_UNIX 1163s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1163s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1163s # #else 1163s # g_assert_not_reached (); 1163s # #endif 1163s # } 1163s # g_variant_iter_init (&iter, parameters); 1163s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1163s # { 1163s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1163s # if (arg_info->use_gvariant) 1163s # { 1163s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1163s # g_value_set_variant (¶mv[n], child); 1163s # n++; 1163s # } 1163s # else 1163s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1163s # g_variant_unref (child); 1163s # } 1163s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1163s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1163s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1163s # if (!g_value_get_boolean (&return_value)) 1163s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1163s # g_value_unset (&return_value); 1163s # for (n = 0; n < num_params + num_extra; n++) 1163s # g_value_unset (¶mv[n]); 1163s # g_free (paramv); 1163s # } 1163s # 1163s # static GVariant * 1163s # _good_types_skeleton_handle_get_property ( 1163s # GDBusConnection *connection G_GNUC_UNUSED, 1163s # const gchar *sender G_GNUC_UNUSED, 1163s # const gchar *object_path G_GNUC_UNUSED, 1163s # const gchar *interface_name G_GNUC_UNUSED, 1163s # const gchar *property_name, 1163s # GError **error, 1163s # gpointer user_data) 1163s # { 1163s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1163s # GValue value = G_VALUE_INIT; 1163s # GParamSpec *pspec; 1163s # _ExtendedGDBusPropertyInfo *info; 1163s # GVariant *ret; 1163s # ret = NULL; 1163s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1163s # g_assert (info != NULL); 1163s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1163s # if (pspec == NULL) 1163s # { 1163s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1163s # } 1163s # else 1163s # { 1163s # g_value_init (&value, pspec->value_type); 1163s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1163s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1163s # g_value_unset (&value); 1163s # } 1163s # return ret; 1163s # } 1163s # 1163s # static gboolean 1163s # _good_types_skeleton_handle_set_property ( 1163s # GDBusConnection *connection G_GNUC_UNUSED, 1163s # const gchar *sender G_GNUC_UNUSED, 1163s # const gchar *object_path G_GNUC_UNUSED, 1163s # const gchar *interface_name G_GNUC_UNUSED, 1163s # const gchar *property_name, 1163s # GVariant *variant, 1163s # GError **error, 1163s # gpointer user_data) 1163s # { 1163s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1163s # GValue value = G_VALUE_INIT; 1163s # GParamSpec *pspec; 1163s # _ExtendedGDBusPropertyInfo *info; 1163s # gboolean ret; 1163s # ret = FALSE; 1163s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1163s # g_assert (info != NULL); 1163s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1163s # if (pspec == NULL) 1163s # { 1163s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1163s # } 1163s # else 1163s # { 1163s # if (info->use_gvariant) 1163s # g_value_set_variant (&value, variant); 1163s # else 1163s # g_dbus_gvariant_to_gvalue (variant, &value); 1163s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1163s # g_value_unset (&value); 1163s # ret = TRUE; 1163s # } 1163s # return ret; 1163s # } 1163s # 1163s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 1163s # { 1163s # _good_types_skeleton_handle_method_call, 1163s # _good_types_skeleton_handle_get_property, 1163s # _good_types_skeleton_handle_set_property, 1163s # {NULL} 1163s # }; 1163s # 1163s # static GDBusInterfaceInfo * 1163s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1163s # { 1163s # return good_types_interface_info (); 1163s # } 1163s # 1163s # static GDBusInterfaceVTable * 1163s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1163s # { 1163s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 1163s # } 1163s # 1163s # static GVariant * 1163s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1163s # { 1163s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1163s # 1163s # GVariantBuilder builder; 1163s # guint n; 1163s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1163s # if (_good_types_interface_info.parent_struct.properties == NULL) 1163s # goto out; 1163s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 1163s # { 1163s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 1163s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1163s # { 1163s # GVariant *value; 1163s # 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); 1163s # if (value != NULL) 1163s # { 1163s # g_variant_take_ref (value); 1163s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1163s # g_variant_unref (value); 1163s # } 1163s # } 1163s # } 1163s # out: 1163s # return g_variant_builder_end (&builder); 1163s # } 1163s # 1163s # static gboolean _good_types_emit_changed (gpointer user_data); 1163s # 1163s # static void 1163s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1163s # { 1163s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1163s # gboolean emit_changed = FALSE; 1163s # 1163s # g_mutex_lock (&skeleton->priv->lock); 1163s # if (skeleton->priv->changed_properties_idle_source != NULL) 1163s # { 1163s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1163s # skeleton->priv->changed_properties_idle_source = NULL; 1163s # emit_changed = TRUE; 1163s # } 1163s # g_mutex_unlock (&skeleton->priv->lock); 1163s # 1163s # if (emit_changed) 1163s # _good_types_emit_changed (skeleton); 1163s # } 1163s # 1163s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 1163s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1163s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1163s # G_ADD_PRIVATE (GoodTypesSkeleton) 1163s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1163s # 1163s # #else 1163s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1163s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1163s # 1163s # #endif 1163s # static void 1163s # good_types_skeleton_finalize (GObject *object) 1163s # { 1163s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1163s # guint n; 1163s # for (n = 0; n < 1; n++) 1163s # g_value_unset (&skeleton->priv->properties[n]); 1163s # g_free (skeleton->priv->properties); 1163s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1163s # if (skeleton->priv->changed_properties_idle_source != NULL) 1163s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1163s # g_main_context_unref (skeleton->priv->context); 1163s # g_mutex_clear (&skeleton->priv->lock); 1163s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 1163s # } 1163s # 1163s # static void 1163s # good_types_skeleton_get_property (GObject *object, 1163s # guint prop_id, 1163s # GValue *value, 1163s # GParamSpec *pspec G_GNUC_UNUSED) 1163s # { 1163s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1163s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1163s # g_mutex_lock (&skeleton->priv->lock); 1163s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1163s # g_mutex_unlock (&skeleton->priv->lock); 1163s # } 1163s # 1163s # static gboolean 1163s # _good_types_emit_changed (gpointer user_data) 1163s # { 1163s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1163s # GList *l; 1163s # GVariantBuilder builder; 1163s # GVariantBuilder invalidated_builder; 1163s # guint num_changes; 1163s # 1163s # g_mutex_lock (&skeleton->priv->lock); 1163s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1163s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1163s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1163s # { 1163s # ChangedProperty *cp = l->data; 1163s # GVariant *variant; 1163s # const GValue *cur_value; 1163s # 1163s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1163s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1163s # { 1163s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1163s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1163s # g_variant_unref (variant); 1163s # num_changes++; 1163s # } 1163s # } 1163s # if (num_changes > 0) 1163s # { 1163s # GList *connections, *ll; 1163s # GVariant *signal_variant; 1163s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 1163s # &builder, &invalidated_builder)); 1163s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1163s # for (ll = connections; ll != NULL; ll = ll->next) 1163s # { 1163s # GDBusConnection *connection = ll->data; 1163s # 1163s # g_dbus_connection_emit_signal (connection, 1163s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1163s # "org.freedesktop.DBus.Properties", 1163s # "PropertiesChanged", 1163s # signal_variant, 1163s # NULL); 1163s # } 1163s # g_variant_unref (signal_variant); 1163s # g_list_free_full (connections, g_object_unref); 1163s # } 1163s # else 1163s # { 1163s # g_variant_builder_clear (&builder); 1163s # g_variant_builder_clear (&invalidated_builder); 1163s # } 1163s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1163s # skeleton->priv->changed_properties = NULL; 1163s # skeleton->priv->changed_properties_idle_source = NULL; 1163s # g_mutex_unlock (&skeleton->priv->lock); 1163s # return FALSE; 1163s # } 1163s # 1163s # static void 1163s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1163s # { 1163s # ChangedProperty *cp; 1163s # GList *l; 1163s # cp = NULL; 1163s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1163s # { 1163s # ChangedProperty *i_cp = l->data; 1163s # if (i_cp->info == info) 1163s # { 1163s # cp = i_cp; 1163s # break; 1163s # } 1163s # } 1163s # if (cp == NULL) 1163s # { 1163s # cp = g_new0 (ChangedProperty, 1); 1163s # cp->prop_id = prop_id; 1163s # cp->info = info; 1163s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1163s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1163s # g_value_copy (orig_value, &cp->orig_value); 1163s # } 1163s # } 1163s # 1163s # static void 1163s # good_types_skeleton_notify (GObject *object, 1163s # GParamSpec *pspec G_GNUC_UNUSED) 1163s # { 1163s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1163s # g_mutex_lock (&skeleton->priv->lock); 1163s # if (skeleton->priv->changed_properties != NULL && 1163s # skeleton->priv->changed_properties_idle_source == NULL) 1163s # { 1163s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1163s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1163s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1163s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 1163s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1163s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1163s # } 1163s # g_mutex_unlock (&skeleton->priv->lock); 1163s # } 1163s # 1163s # static void 1163s # good_types_skeleton_set_property (GObject *object, 1163s # guint prop_id, 1163s # const GValue *value, 1163s # GParamSpec *pspec) 1163s # { 1163s # const _ExtendedGDBusPropertyInfo *info; 1163s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1163s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1163s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1163s # g_mutex_lock (&skeleton->priv->lock); 1163s # g_object_freeze_notify (object); 1163s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1163s # { 1163s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1163s # info->emits_changed_signal) 1163s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1163s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1163s # g_object_notify_by_pspec (object, pspec); 1163s # } 1163s # g_mutex_unlock (&skeleton->priv->lock); 1163s # g_object_thaw_notify (object); 1163s # } 1163s # 1163s # static void 1163s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 1163s # { 1163s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1163s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 1163s # #else 1163s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 1163s # #endif 1163s # 1163s # g_mutex_init (&skeleton->priv->lock); 1163s # skeleton->priv->context = g_main_context_ref_thread_default (); 1163s # skeleton->priv->properties = g_new0 (GValue, 1); 1163s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 1163s # } 1163s # 1163s # static GVariant * 1163s # good_types_skeleton_get_good_property_type (GoodTypes *object) 1163s # { 1163s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1163s # GVariant *value; 1163s # g_mutex_lock (&skeleton->priv->lock); 1163s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 1163s # g_mutex_unlock (&skeleton->priv->lock); 1163s # return value; 1163s # } 1163s # 1163s # static void 1163s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 1163s # { 1163s # GObjectClass *gobject_class; 1163s # GDBusInterfaceSkeletonClass *skeleton_class; 1163s # 1163s # gobject_class = G_OBJECT_CLASS (klass); 1163s # gobject_class->finalize = good_types_skeleton_finalize; 1163s # gobject_class->get_property = good_types_skeleton_get_property; 1163s # gobject_class->set_property = good_types_skeleton_set_property; 1163s # gobject_class->notify = good_types_skeleton_notify; 1163s # 1163s # 1163s # good_types_override_properties (gobject_class, 1); 1163s # 1163s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1163s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 1163s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 1163s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 1163s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 1163s # 1163s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1163s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 1163s # #endif 1163s # } 1163s # 1163s # static void 1163s # good_types_skeleton_iface_init (GoodTypesIface *iface) 1163s # { 1163s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 1163s # } 1163s # 1163s # /** 1163s # * good_types_skeleton_new: 1163s # * 1163s # * Creates a skeleton object for the D-Bus interface GoodTypes. 1163s # * 1163s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 1163s # */ 1163s # GoodTypes * 1163s # good_types_skeleton_new (void) 1163s # { 1163s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 1163s # } 1163s # /tmp/tmpdzzj68ia/tmpg2la5dze.xml: 1163s # 1163s # 1163s # 1163s # 1163s # 1163s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdzzj68ia/tmpg2la5dze.xml', '--output', '-', '--body'] 1163s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1163s # Output: /* 1163s # * This file is generated by gdbus-codegen, do not modify it. 1163s # * 1163s # * The license of this code is the same as for the D-Bus interface description 1163s # * it was derived from. Note that it links to GLib, so must comply with the 1163s # * LGPL linking clauses. 1163s # */ 1163s # 1163s # #ifdef HAVE_CONFIG_H 1163s # # include "config.h" 1163s # #endif 1163s # 1163s # #include 1163s # #ifdef G_OS_UNIX 1163s # # include 1163s # #endif 1163s # 1163s # #ifdef G_ENABLE_DEBUG 1163s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1163s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1163s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1163s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1163s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1163s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1163s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1163s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1163s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1163s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1163s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1163s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1163s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1163s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1163s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1163s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1163s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1163s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1163s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1163s # #else /* !G_ENABLE_DEBUG */ 1163s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1163s # * Do not access GValues directly in your code. Instead, use the 1163s # * g_value_get_*() functions 1163s # */ 1163s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1163s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1163s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1163s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1163s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1163s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1163s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1163s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1163s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1163s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1163s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1163s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1163s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1163s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1163s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1163s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1163s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1163s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1163s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1163s # #endif /* !G_ENABLE_DEBUG */ 1163s # 1163s # typedef struct 1163s # { 1163s # GDBusArgInfo parent_struct; 1163s # gboolean use_gvariant; 1163s # } _ExtendedGDBusArgInfo; 1163s # 1163s # typedef struct 1163s # { 1163s # GDBusMethodInfo parent_struct; 1163s # const gchar *signal_name; 1163s # gboolean pass_fdlist; 1163s # } _ExtendedGDBusMethodInfo; 1163s # 1163s # typedef struct 1163s # { 1163s # GDBusSignalInfo parent_struct; 1163s # const gchar *signal_name; 1163s # } _ExtendedGDBusSignalInfo; 1163s # 1163s # typedef struct 1163s # { 1163s # GDBusPropertyInfo parent_struct; 1163s # const gchar *hyphen_name; 1163s # guint use_gvariant : 1; 1163s # guint emits_changed_signal : 1; 1163s # } _ExtendedGDBusPropertyInfo; 1163s # 1163s # typedef struct 1163s # { 1163s # GDBusInterfaceInfo parent_struct; 1163s # const gchar *hyphen_name; 1163s # } _ExtendedGDBusInterfaceInfo; 1163s # 1163s # typedef struct 1163s # { 1163s # const _ExtendedGDBusPropertyInfo *info; 1163s # guint prop_id; 1163s # GValue orig_value; /* the value before the change */ 1163s # } ChangedProperty; 1163s # 1163s # static void 1163s # _changed_property_free (ChangedProperty *data) 1163s # { 1163s # g_value_unset (&data->orig_value); 1163s # g_free (data); 1163s # } 1163s # 1163s # static gboolean 1163s # _g_strv_equal0 (gchar **a, gchar **b) 1163s # { 1163s # gboolean ret = FALSE; 1163s # guint n; 1163s # if (a == NULL && b == NULL) 1163s # { 1163s # ret = TRUE; 1163s # goto out; 1163s # } 1163s # if (a == NULL || b == NULL) 1163s # goto out; 1163s # if (g_strv_length (a) != g_strv_length (b)) 1163s # goto out; 1163s # for (n = 0; a[n] != NULL; n++) 1163s # if (g_strcmp0 (a[n], b[n]) != 0) 1163s # goto out; 1163s # ret = TRUE; 1163s # out: 1163s # return ret; 1163s # } 1163s # 1163s # static gboolean 1163s # _g_variant_equal0 (GVariant *a, GVariant *b) 1163s # { 1163s # gboolean ret = FALSE; 1163s # if (a == NULL && b == NULL) 1163s # { 1163s # ret = TRUE; 1163s # goto out; 1163s # } 1163s # if (a == NULL || b == NULL) 1163s # goto out; 1163s # ret = g_variant_equal (a, b); 1163s # out: 1163s # return ret; 1163s # } 1163s # 1163s # G_GNUC_UNUSED static gboolean 1163s # _g_value_equal (const GValue *a, const GValue *b) 1163s # { 1163s # gboolean ret = FALSE; 1163s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1163s # switch (G_VALUE_TYPE (a)) 1163s # { 1163s # case G_TYPE_BOOLEAN: 1163s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1163s # break; 1163s # case G_TYPE_UCHAR: 1163s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1163s # break; 1163s # case G_TYPE_INT: 1163s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1163s # break; 1163s # case G_TYPE_UINT: 1163s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1163s # break; 1163s # case G_TYPE_INT64: 1163s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1163s # break; 1163s # case G_TYPE_UINT64: 1163s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1163s # break; 1163s # case G_TYPE_DOUBLE: 1163s # { 1163s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1163s # gdouble da = g_value_get_double (a); 1163s # gdouble db = g_value_get_double (b); 1163s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1163s # } 1163s # break; 1163s # case G_TYPE_STRING: 1163s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1163s # break; 1163s # case G_TYPE_VARIANT: 1163s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1163s # break; 1163s # default: 1163s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1163s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1163s # else 1163s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1163s # break; 1163s # } 1163s # return ret; 1163s # } 1163s # 1163s # /* ------------------------------------------------------------------------ 1163s # * Code for interface GoodTypes 1163s # * ------------------------------------------------------------------------ 1163s # */ 1163s # 1163s # /** 1163s # * SECTION:GoodTypes 1163s # * @title: GoodTypes 1163s # * @short_description: Generated C code for the GoodTypes D-Bus interface 1163s # * 1163s # * This section contains code for working with the GoodTypes D-Bus interface in C. 1163s # */ 1163s # 1163s # /* ---- Introspection data for GoodTypes ---- */ 1163s # 1163s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 1163s # { 1163s # { 1163s # -1, 1163s # (gchar *) "GoodPropertyType", 1163s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})", 1163s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1163s # NULL 1163s # }, 1163s # "good-property-type", 1163s # FALSE, 1163s # TRUE 1163s # }; 1163s # 1163s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 1163s # { 1163s # &_good_types_property_info_good_property_type.parent_struct, 1163s # NULL 1163s # }; 1163s # 1163s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 1163s # { 1163s # { 1163s # -1, 1163s # (gchar *) "GoodTypes", 1163s # NULL, 1163s # NULL, 1163s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 1163s # NULL 1163s # }, 1163s # "good-types", 1163s # }; 1163s # 1163s # 1163s # /** 1163s # * good_types_interface_info: 1163s # * 1163s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 1163s # * 1163s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1163s # */ 1163s # GDBusInterfaceInfo * 1163s # good_types_interface_info (void) 1163s # { 1163s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 1163s # } 1163s # 1163s # /** 1163s # * good_types_override_properties: 1163s # * @klass: The class structure for a #GObject derived class. 1163s # * @property_id_begin: The property id to assign to the first overridden property. 1163s # * 1163s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 1163s # * The properties are overridden in the order they are defined. 1163s # * 1163s # * Returns: The last property id. 1163s # */ 1163s # guint 1163s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 1163s # { 1163s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 1163s # return property_id_begin - 1; 1163s # } 1163s # 1163s # 1163s # 1163s # /** 1163s # * GoodTypes: 1163s # * 1163s # * Abstract interface type for the D-Bus interface GoodTypes. 1163s # */ 1163s # 1163s # /** 1163s # * GoodTypesIface: 1163s # * @parent_iface: The parent interface. 1163s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 1163s # * 1163s # * Virtual table for the D-Bus interface GoodTypes. 1163s # */ 1163s # 1163s # typedef GoodTypesIface GoodTypesInterface; 1163s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 1163s # 1163s # static void 1163s # good_types_default_init (GoodTypesIface *iface) 1163s # { 1163s # /* GObject properties for D-Bus properties: */ 1163s # /** 1163s # * GoodTypes:good-property-type: 1163s # * 1163s # * Represents the D-Bus property "GoodPropertyType". 1163s # * 1163s # * 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. 1163s # */ 1163s # g_object_interface_install_property (iface, 1163s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 1163s # } 1163s # 1163s # /** 1163s # * good_types_get_good_property_type: (skip) 1163s # * @object: A GoodTypes. 1163s # * 1163s # * Gets the value of the "GoodPropertyType" D-Bus property. 1163s # * 1163s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1163s # * 1163s # * 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. 1163s # * 1163s # * 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. 1163s # */ 1163s # GVariant * 1163s # good_types_get_good_property_type (GoodTypes *object) 1163s # { 1163s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 1163s # 1163s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 1163s # } 1163s # 1163s # /** 1163s # * good_types_dup_good_property_type: (skip) 1163s # * @object: A GoodTypes. 1163s # * 1163s # * Gets a copy of the "GoodPropertyType" D-Bus property. 1163s # * 1163s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1163s # * 1163s # * 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(). 1163s # */ 1163s # GVariant * 1163s # good_types_dup_good_property_type (GoodTypes *object) 1163s # { 1163s # GVariant *value; 1163s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 1163s # return value; 1163s # } 1163s # 1163s # /** 1163s # * good_types_set_good_property_type: (skip) 1163s # * @object: A GoodTypes. 1163s # * @value: The value to set. 1163s # * 1163s # * Sets the "GoodPropertyType" D-Bus property to @value. 1163s # * 1163s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1163s # */ 1163s # void 1163s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 1163s # { 1163s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 1163s # } 1163s # 1163s # /* ------------------------------------------------------------------------ */ 1163s # 1163s # /** 1163s # * GoodTypesProxy: 1163s # * 1163s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 1163s # */ 1163s # 1163s # /** 1163s # * GoodTypesProxyClass: 1163s # * @parent_class: The parent class. 1163s # * 1163s # * Class structure for GoodTypesProxy. 1163s # */ 1163s # 1163s # struct _GoodTypesProxyPrivate 1163s # { 1163s # GData *qdata; 1163s # }; 1163s # 1163s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 1163s # 1163s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1163s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1163s # G_ADD_PRIVATE (GoodTypesProxy) 1163s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1163s # 1163s # #else 1163s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1163s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1163s # 1163s # #endif 1163s # static void 1163s # good_types_proxy_finalize (GObject *object) 1163s # { 1163s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1163s # g_datalist_clear (&proxy->priv->qdata); 1163s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 1163s # } 1163s # 1163s # static void 1163s # good_types_proxy_get_property (GObject *object, 1163s # guint prop_id, 1163s # GValue *value, 1163s # GParamSpec *pspec G_GNUC_UNUSED) 1163s # { 1163s # const _ExtendedGDBusPropertyInfo *info; 1163s # GVariant *variant; 1163s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1163s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1163s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1163s # if (info->use_gvariant) 1163s # { 1163s # g_value_set_variant (value, variant); 1163s # } 1163s # else 1163s # { 1163s # if (variant != NULL) 1163s # g_dbus_gvariant_to_gvalue (variant, value); 1163s # } 1163s # if (variant != NULL) 1163s # g_variant_unref (variant); 1163s # } 1163s # 1163s # static void 1163s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 1163s # GAsyncResult *res, 1163s # gpointer user_data) 1163s # { 1163s # const _ExtendedGDBusPropertyInfo *info = user_data; 1163s # GError *error; 1163s # GVariant *_ret; 1163s # error = NULL; 1163s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1163s # if (!_ret) 1163s # { 1163s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 1163s # info->parent_struct.name, 1163s # error->message, g_quark_to_string (error->domain), error->code); 1163s # g_error_free (error); 1163s # } 1163s # else 1163s # { 1163s # g_variant_unref (_ret); 1163s # } 1163s # } 1163s # 1163s # static void 1163s # good_types_proxy_set_property (GObject *object, 1163s # guint prop_id, 1163s # const GValue *value, 1163s # GParamSpec *pspec G_GNUC_UNUSED) 1163s # { 1163s # const _ExtendedGDBusPropertyInfo *info; 1163s # GVariant *variant; 1163s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1163s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1163s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1163s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1163s # "org.freedesktop.DBus.Properties.Set", 1163s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 1163s # G_DBUS_CALL_FLAGS_NONE, 1163s # -1, 1163s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1163s # g_variant_unref (variant); 1163s # } 1163s # 1163s # static void 1163s # good_types_proxy_g_signal (GDBusProxy *proxy, 1163s # const gchar *sender_name G_GNUC_UNUSED, 1163s # const gchar *signal_name, 1163s # GVariant *parameters) 1163s # { 1163s # _ExtendedGDBusSignalInfo *info; 1163s # GVariantIter iter; 1163s # GVariant *child; 1163s # GValue *paramv; 1163s # gsize num_params; 1163s # gsize n; 1163s # guint signal_id; 1163s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 1163s # if (info == NULL) 1163s # return; 1163s # num_params = g_variant_n_children (parameters); 1163s # paramv = g_new0 (GValue, num_params + 1); 1163s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 1163s # g_value_set_object (¶mv[0], proxy); 1163s # g_variant_iter_init (&iter, parameters); 1163s # n = 1; 1163s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1163s # { 1163s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1163s # if (arg_info->use_gvariant) 1163s # { 1163s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1163s # g_value_set_variant (¶mv[n], child); 1163s # n++; 1163s # } 1163s # else 1163s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1163s # g_variant_unref (child); 1163s # } 1163s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1163s # g_signal_emitv (paramv, signal_id, 0, NULL); 1163s # for (n = 0; n < num_params + 1; n++) 1163s # g_value_unset (¶mv[n]); 1163s # g_free (paramv); 1163s # } 1163s # 1163s # static void 1163s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 1163s # GVariant *changed_properties, 1163s # const gchar *const *invalidated_properties) 1163s # { 1163s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 1163s # guint n; 1163s # const gchar *key; 1163s # GVariantIter *iter; 1163s # _ExtendedGDBusPropertyInfo *info; 1163s # g_variant_get (changed_properties, "a{sv}", &iter); 1163s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1163s # { 1163s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 1163s # g_datalist_remove_data (&proxy->priv->qdata, key); 1163s # if (info != NULL) 1163s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1163s # } 1163s # g_variant_iter_free (iter); 1163s # for (n = 0; invalidated_properties[n] != NULL; n++) 1163s # { 1163s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 1163s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1163s # if (info != NULL) 1163s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1163s # } 1163s # } 1163s # 1163s # static GVariant * 1163s # good_types_proxy_get_good_property_type (GoodTypes *object) 1163s # { 1163s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1163s # GVariant *variant; 1163s # GVariant *value = NULL; 1163s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 1163s # value = variant; 1163s # if (variant != NULL) 1163s # g_variant_unref (variant); 1163s # return value; 1163s # } 1163s # 1163s # static void 1163s # good_types_proxy_init (GoodTypesProxy *proxy) 1163s # { 1163s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1163s # proxy->priv = good_types_proxy_get_instance_private (proxy); 1163s # #else 1163s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 1163s # #endif 1163s # 1163s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 1163s # } 1163s # 1163s # static void 1163s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 1163s # { 1163s # GObjectClass *gobject_class; 1163s # GDBusProxyClass *proxy_class; 1163s # 1163s # gobject_class = G_OBJECT_CLASS (klass); 1163s # gobject_class->finalize = good_types_proxy_finalize; 1163s # gobject_class->get_property = good_types_proxy_get_property; 1163s # gobject_class->set_property = good_types_proxy_set_property; 1163s # 1163s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1163s # proxy_class->g_signal = good_types_proxy_g_signal; 1163s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 1163s # 1163s # good_types_override_properties (gobject_class, 1); 1163s # 1163s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1163s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 1163s # #endif 1163s # } 1163s # 1163s # static void 1163s # good_types_proxy_iface_init (GoodTypesIface *iface) 1163s # { 1163s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 1163s # } 1163s # 1163s # /** 1163s # * good_types_proxy_new: 1163s # * @connection: A #GDBusConnection. 1163s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1163s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1163s # * @object_path: An object path. 1163s # * @cancellable: (nullable): A #GCancellable or %NULL. 1163s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1163s # * @user_data: User data to pass to @callback. 1163s # * 1163s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 1163s # * 1163s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1163s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 1163s # * 1163s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 1163s # */ 1163s # void 1163s # good_types_proxy_new ( 1163s # GDBusConnection *connection, 1163s # GDBusProxyFlags flags, 1163s # const gchar *name, 1163s # const gchar *object_path, 1163s # GCancellable *cancellable, 1163s # GAsyncReadyCallback callback, 1163s # gpointer user_data) 1163s # { 1163s # 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); 1163s # } 1163s # 1163s # /** 1163s # * good_types_proxy_new_finish: 1163s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 1163s # * @error: Return location for error or %NULL 1163s # * 1163s # * Finishes an operation started with good_types_proxy_new(). 1163s # * 1163s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1163s # */ 1163s # GoodTypes * 1163s # good_types_proxy_new_finish ( 1163s # GAsyncResult *res, 1163s # GError **error) 1163s # { 1163s # GObject *ret; 1163s # GObject *source_object; 1163s # source_object = g_async_result_get_source_object (res); 1163s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1163s # g_object_unref (source_object); 1163s # if (ret != NULL) 1163s # return GOOD_TYPES (ret); 1163s # else 1163s # return NULL; 1163s # } 1163s # 1163s # /** 1163s # * good_types_proxy_new_sync: 1163s # * @connection: A #GDBusConnection. 1163s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1163s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1163s # * @object_path: An object path. 1163s # * @cancellable: (nullable): A #GCancellable or %NULL. 1163s # * @error: Return location for error or %NULL 1163s # * 1163s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 1163s # * 1163s # * The calling thread is blocked until a reply is received. 1163s # * 1163s # * See good_types_proxy_new() for the asynchronous version of this constructor. 1163s # * 1163s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1163s # */ 1163s # GoodTypes * 1163s # good_types_proxy_new_sync ( 1163s # GDBusConnection *connection, 1163s # GDBusProxyFlags flags, 1163s # const gchar *name, 1163s # const gchar *object_path, 1163s # GCancellable *cancellable, 1163s # GError **error) 1163s # { 1163s # GInitable *ret; 1163s # 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); 1163s # if (ret != NULL) 1163s # return GOOD_TYPES (ret); 1163s # else 1163s # return NULL; 1163s # } 1163s # 1163s # 1163s # /** 1163s # * good_types_proxy_new_for_bus: 1163s # * @bus_type: A #GBusType. 1163s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1163s # * @name: A bus name (well-known or unique). 1163s # * @object_path: An object path. 1163s # * @cancellable: (nullable): A #GCancellable or %NULL. 1163s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1163s # * @user_data: User data to pass to @callback. 1163s # * 1163s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1163s # * 1163s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1163s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 1163s # * 1163s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1163s # */ 1163s # void 1163s # good_types_proxy_new_for_bus ( 1163s # GBusType bus_type, 1163s # GDBusProxyFlags flags, 1163s # const gchar *name, 1163s # const gchar *object_path, 1163s # GCancellable *cancellable, 1163s # GAsyncReadyCallback callback, 1163s # gpointer user_data) 1163s # { 1163s # 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); 1163s # } 1163s # 1163s # /** 1163s # * good_types_proxy_new_for_bus_finish: 1163s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 1163s # * @error: Return location for error or %NULL 1163s # * 1163s # * Finishes an operation started with good_types_proxy_new_for_bus(). 1163s # * 1163s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1163s # */ 1163s # GoodTypes * 1163s # good_types_proxy_new_for_bus_finish ( 1163s # GAsyncResult *res, 1163s # GError **error) 1163s # { 1163s # GObject *ret; 1163s # GObject *source_object; 1163s # source_object = g_async_result_get_source_object (res); 1163s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1163s # g_object_unref (source_object); 1163s # if (ret != NULL) 1163s # return GOOD_TYPES (ret); 1163s # else 1163s # return NULL; 1163s # } 1163s # 1163s # /** 1163s # * good_types_proxy_new_for_bus_sync: 1163s # * @bus_type: A #GBusType. 1163s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1163s # * @name: A bus name (well-known or unique). 1163s # * @object_path: An object path. 1163s # * @cancellable: (nullable): A #GCancellable or %NULL. 1163s # * @error: Return location for error or %NULL 1163s # * 1163s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1163s # * 1163s # * The calling thread is blocked until a reply is received. 1163s # * 1163s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 1163s # * 1163s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1163s # */ 1163s # GoodTypes * 1163s # good_types_proxy_new_for_bus_sync ( 1163s # GBusType bus_type, 1163s # GDBusProxyFlags flags, 1163s # const gchar *name, 1163s # const gchar *object_path, 1163s # GCancellable *cancellable, 1163s # GError **error) 1163s # { 1163s # GInitable *ret; 1163s # 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); 1163s # if (ret != NULL) 1163s # return GOOD_TYPES (ret); 1163s # else 1163s # return NULL; 1163s # } 1163s # 1163s # 1163s # /* ------------------------------------------------------------------------ */ 1163s # 1163s # /** 1163s # * GoodTypesSkeleton: 1163s # * 1163s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 1163s # */ 1163s # 1163s # /** 1163s # * GoodTypesSkeletonClass: 1163s # * @parent_class: The parent class. 1163s # * 1163s # * Class structure for GoodTypesSkeleton. 1163s # */ 1163s # 1163s # struct _GoodTypesSkeletonPrivate 1163s # { 1163s # GValue *properties; 1163s # GList *changed_properties; 1163s # GSource *changed_properties_idle_source; 1163s # GMainContext *context; 1163s # GMutex lock; 1163s # }; 1163s # 1163s # static void 1163s # _good_types_skeleton_handle_method_call ( 1163s # GDBusConnection *connection G_GNUC_UNUSED, 1163s # const gchar *sender G_GNUC_UNUSED, 1163s # const gchar *object_path G_GNUC_UNUSED, 1163s # const gchar *interface_name, 1163s # const gchar *method_name, 1163s # GVariant *parameters, 1163s # GDBusMethodInvocation *invocation, 1163s # gpointer user_data) 1163s # { 1163s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1163s # _ExtendedGDBusMethodInfo *info; 1163s # GVariantIter iter; 1163s # GVariant *child; 1163s # GValue *paramv; 1163s # gsize num_params; 1163s # guint num_extra; 1163s # gsize n; 1163s # guint signal_id; 1163s # GValue return_value = G_VALUE_INIT; 1163s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1163s # g_assert (info != NULL); 1163s # num_params = g_variant_n_children (parameters); 1163s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1163s # n = 0; 1163s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 1163s # g_value_set_object (¶mv[n++], skeleton); 1163s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1163s # g_value_set_object (¶mv[n++], invocation); 1163s # if (info->pass_fdlist) 1163s # { 1163s # #ifdef G_OS_UNIX 1163s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1163s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1163s # #else 1163s # g_assert_not_reached (); 1163s # #endif 1163s # } 1163s # g_variant_iter_init (&iter, parameters); 1163s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1163s # { 1163s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1163s # if (arg_info->use_gvariant) 1163s # { 1163s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1163s # g_value_set_variant (¶mv[n], child); 1163s # n++; 1163s # } 1163s # else 1163s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1163s # g_variant_unref (child); 1163s # } 1163s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1163s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1163s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1163s # if (!g_value_get_boolean (&return_value)) 1163s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1163s # g_value_unset (&return_value); 1163s # for (n = 0; n < num_params + num_extra; n++) 1163s # g_value_unset (¶mv[n]); 1163s # g_free (paramv); 1163s # } 1163s # 1163s # static GVariant * 1163s # _good_types_skeleton_handle_get_property ( 1163s # GDBusConnection *connection G_GNUC_UNUSED, 1163s # const gchar *sender G_GNUC_UNUSED, 1163s # const gchar *object_path G_GNUC_UNUSED, 1163s # const gchar *interface_name G_GNUC_UNUSED, 1163s # const gchar *property_name, 1163s # GError **error, 1163s # gpointer user_data) 1163s # { 1163s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1163s # GValue value = G_VALUE_INIT; 1163s # GParamSpec *pspec; 1163s # _ExtendedGDBusPropertyInfo *info; 1163s # GVariant *ret; 1163s # ret = NULL; 1163s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1163s # g_assert (info != NULL); 1163s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1163s # if (pspec == NULL) 1163s # { 1163s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1163s # } 1163s # else 1163s # { 1163s # g_value_init (&value, pspec->value_type); 1163s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1163s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1163s # g_value_unset (&value); 1163s # } 1163s # return ret; 1163s # } 1163s # 1163s # static gboolean 1163s # _good_types_skeleton_handle_set_property ( 1163s # GDBusConnection *connection G_GNUC_UNUSED, 1163s # const gchar *sender G_GNUC_UNUSED, 1163s # const gchar *object_path G_GNUC_UNUSED, 1163s # const gchar *interface_name G_GNUC_UNUSED, 1163s # const gchar *property_name, 1163s # GVariant *variant, 1163s # GError **error, 1163s # gpointer user_data) 1163s # { 1163s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1163s # GValue value = G_VALUE_INIT; 1163s # GParamSpec *pspec; 1163s # _ExtendedGDBusPropertyInfo *info; 1163s # gboolean ret; 1163s # ret = FALSE; 1163s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1163s # g_assert (info != NULL); 1163s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1163s # if (pspec == NULL) 1163s # { 1163s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1163s # } 1163s # else 1163s # { 1163s # if (info->use_gvariant) 1163s # g_value_set_variant (&value, variant); 1163s # else 1163s # g_dbus_gvariant_to_gvalue (variant, &value); 1163s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1163s # g_value_unset (&value); 1163s # ret = TRUE; 1163s # } 1163s # return ret; 1163s # } 1163s # 1163s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 1163s # { 1163s # _good_types_skeleton_handle_method_call, 1163s # _good_types_skeleton_handle_get_property, 1163s # _good_types_skeleton_handle_set_property, 1163s # {NULL} 1163s # }; 1163s # 1163s # static GDBusInterfaceInfo * 1163s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1163s # { 1163s # return good_types_interface_info (); 1163s # } 1163s # 1163s # static GDBusInterfaceVTable * 1163s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1163s # { 1163s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 1163s # } 1163s # 1163s # static GVariant * 1163s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1163s # { 1163s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1163s # 1163s # GVariantBuilder builder; 1163s # guint n; 1163s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1163s # if (_good_types_interface_info.parent_struct.properties == NULL) 1163s # goto out; 1163s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 1163s # { 1163s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 1163s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1163s # { 1163s # GVariant *value; 1163s # 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); 1163s # if (value != NULL) 1163s # { 1163s # g_variant_take_ref (value); 1163s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1163s # g_variant_unref (value); 1163s # } 1163s # } 1163s # } 1163s # out: 1163s # return g_variant_builder_end (&builder); 1163s # } 1163s # 1163s # static gboolean _good_types_emit_changed (gpointer user_data); 1163s # 1163s # static void 1163s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1163s # { 1163s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1163s # gboolean emit_changed = FALSE; 1163s # 1163s # g_mutex_lock (&skeleton->priv->lock); 1163s # if (skeleton->priv->changed_properties_idle_source != NULL) 1163s # { 1163s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1163s # skeleton->priv->changed_properties_idle_source = NULL; 1163s # emit_changed = TRUE; 1163s # } 1163s # g_mutex_unlock (&skeleton->priv->lock); 1163s # 1163s # if (emit_changed) 1163s # _good_types_emit_changed (skeleton); 1163s # } 1163s # 1163s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 1163s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1163s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1163s # G_ADD_PRIVATE (GoodTypesSkeleton) 1163s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1163s # 1163s # #else 1163s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1163s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1163s # 1163s # #endif 1163s # static void 1163s # good_types_skeleton_finalize (GObject *object) 1163s # { 1163s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1163s # guint n; 1163s # for (n = 0; n < 1; n++) 1163s # g_value_unset (&skeleton->priv->properties[n]); 1163s # g_free (skeleton->priv->properties); 1163s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1163s # if (skeleton->priv->changed_properties_idle_source != NULL) 1163s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1163s # g_main_context_unref (skeleton->priv->context); 1163s # g_mutex_clear (&skeleton->priv->lock); 1163s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 1163s # } 1163s # 1163s # static void 1163s # good_types_skeleton_get_property (GObject *object, 1163s # guint prop_id, 1163s # GValue *value, 1163s # GParamSpec *pspec G_GNUC_UNUSED) 1163s # { 1163s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1163s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1163s # g_mutex_lock (&skeleton->priv->lock); 1163s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1163s # g_mutex_unlock (&skeleton->priv->lock); 1163s # } 1163s # 1163s # static gboolean 1163s # _good_types_emit_changed (gpointer user_data) 1163s # { 1163s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1163s # GList *l; 1163s # GVariantBuilder builder; 1163s # GVariantBuilder invalidated_builder; 1163s # guint num_changes; 1163s # 1163s # g_mutex_lock (&skeleton->priv->lock); 1163s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1163s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1163s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1163s # { 1163s # ChangedProperty *cp = l->data; 1163s # GVariant *variant; 1163s # const GValue *cur_value; 1163s # 1163s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1163s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1163s # { 1163s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1163s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1163s # g_variant_unref (variant); 1163s # num_changes++; 1163s # } 1163s # } 1163s # if (num_changes > 0) 1163s # { 1163s # GList *connections, *ll; 1163s # GVariant *signal_variant; 1163s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 1163s # &builder, &invalidated_builder)); 1163s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1163s # for (ll = connections; ll != NULL; ll = ll->next) 1163s # { 1163s # GDBusConnection *connection = ll->data; 1163s # 1163s # g_dbus_connection_emit_signal (connection, 1163s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1163s # "org.freedesktop.DBus.Properties", 1163s # "PropertiesChanged", 1163s # signal_variant, 1163s # NULL); 1163s # } 1163s # g_variant_unref (signal_variant); 1163s # g_list_free_full (connections, g_object_unref); 1163s # } 1163s # else 1163s # { 1163s # g_variant_builder_clear (&builder); 1163s # g_variant_builder_clear (&invalidated_builder); 1163s # } 1163s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1163s # skeleton->priv->changed_properties = NULL; 1163s # skeleton->priv->changed_properties_idle_source = NULL; 1163s # g_mutex_unlock (&skeleton->priv->lock); 1163s # return FALSE; 1163s # } 1163s # 1163s # static void 1163s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1163s # { 1163s # ChangedProperty *cp; 1163s # GList *l; 1163s # cp = NULL; 1163s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1163s # { 1163s # ChangedProperty *i_cp = l->data; 1163s # if (i_cp->info == info) 1163s # { 1163s # cp = i_cp; 1163s # break; 1163s # } 1163s # } 1163s # if (cp == NULL) 1163s # { 1163s # cp = g_new0 (ChangedProperty, 1); 1163s # cp->prop_id = prop_id; 1163s # cp->info = info; 1163s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1163s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1163s # g_value_copy (orig_value, &cp->orig_value); 1163s # } 1163s # } 1163s # 1163s # static void 1163s # good_types_skeleton_notify (GObject *object, 1163s # GParamSpec *pspec G_GNUC_UNUSED) 1163s # { 1163s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1163s # g_mutex_lock (&skeleton->priv->lock); 1163s # if (skeleton->priv->changed_properties != NULL && 1163s # skeleton->priv->changed_properties_idle_source == NULL) 1163s # { 1163s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1163s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1163s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1163s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 1163s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1163s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1163s # } 1163s # g_mutex_unlock (&skeleton->priv->lock); 1163s # } 1163s # 1163s # static void 1163s # good_types_skeleton_set_property (GObject *object, 1163s # guint prop_id, 1163s # const GValue *value, 1163s # GParamSpec *pspec) 1163s # { 1163s # const _ExtendedGDBusPropertyInfo *info; 1163s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1163s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1163s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1163s # g_mutex_lock (&skeleton->priv->lock); 1163s # g_object_freeze_notify (object); 1163s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1163s # { 1163s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1163s # info->emits_changed_signal) 1163s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1163s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1163s # g_object_notify_by_pspec (object, pspec); 1163s # } 1163s # g_mutex_unlock (&skeleton->priv->lock); 1163s # g_object_thaw_notify (object); 1163s # } 1163s # 1163s # static void 1163s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 1163s # { 1163s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1163s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 1163s # #else 1163s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 1163s # #endif 1163s # 1163s # g_mutex_init (&skeleton->priv->lock); 1163s # skeleton->priv->context = g_main_context_ref_thread_default (); 1163s # skeleton->priv->properties = g_new0 (GValue, 1); 1163s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 1163s # } 1163s # 1163s # static GVariant * 1163s # good_types_skeleton_get_good_property_type (GoodTypes *object) 1163s # { 1163s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1163s # GVariant *value; 1163s # g_mutex_lock (&skeleton->priv->lock); 1163s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 1163s # g_mutex_unlock (&skeleton->priv->lock); 1163s # return value; 1163s # } 1163s # 1163s # static void 1163s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 1163s # { 1163s # GObjectClass *gobject_class; 1163s # GDBusInterfaceSkeletonClass *skeleton_class; 1163s # 1163s # gobject_class = G_OBJECT_CLASS (klass); 1163s # gobject_class->finalize = good_types_skeleton_finalize; 1163s # gobject_class->get_property = good_types_skeleton_get_property; 1163s # gobject_class->set_property = good_types_skeleton_set_property; 1163s # gobject_class->notify = good_types_skeleton_notify; 1163s # 1163s # 1163s # good_types_override_properties (gobject_class, 1); 1163s # 1163s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1163s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 1163s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 1163s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 1163s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 1163s # 1163s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1163s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 1163s # #endif 1163s # } 1163s # 1163s # static void 1163s # good_types_skeleton_iface_init (GoodTypesIface *iface) 1163s # { 1163s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 1163s # } 1163s # 1163s # /** 1163s # * good_types_skeleton_new: 1163s # * 1163s # * Creates a skeleton object for the D-Bus interface GoodTypes. 1163s # * 1163s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 1163s # */ 1163s # GoodTypes * 1163s # good_types_skeleton_new (void) 1163s # { 1163s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 1163s # } 1163s ok 3 __main__.TestCodegen.test_empty_interface_body 1163s # tmpdir: /tmp/tmprdblq1qf 1163s # codegen: /usr/bin/gdbus-codegen 1163s # /tmp/tmprdblq1qf/tmpeohbaw17.xml: 1163s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmprdblq1qf/tmpeohbaw17.xml', '--output', '-', '--body'] 1163s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1163s # Output: /* 1163s # * This file is generated by gdbus-codegen, do not modify it. 1163s # * 1163s # * The license of this code is the same as for the D-Bus interface description 1163s # * it was derived from. Note that it links to GLib, so must comply with the 1163s # * LGPL linking clauses. 1163s # */ 1163s # 1163s # #ifdef HAVE_CONFIG_H 1163s # # include "config.h" 1163s # #endif 1163s # 1163s # #include 1163s # #ifdef G_OS_UNIX 1163s # # include 1163s # #endif 1163s # 1163s # #ifdef G_ENABLE_DEBUG 1163s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1163s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1163s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1163s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1163s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1163s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1163s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1163s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1163s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1163s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1163s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1163s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1163s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1163s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1163s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1163s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1163s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1163s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1163s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1163s # #else /* !G_ENABLE_DEBUG */ 1163s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1163s # * Do not access GValues directly in your code. Instead, use the 1163s # * g_value_get_*() functions 1163s # */ 1163s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1163s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1163s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1163s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1163s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1163s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1163s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1163s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1163s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1163s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1163s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1163s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1163s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1163s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1163s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1163s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1163s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1163s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1163s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1163s # #endif /* !G_ENABLE_DEBUG */ 1163s # 1163s # typedef struct 1163s # { 1163s # GDBusArgInfo parent_struct; 1163s # gboolean use_gvariant; 1163s # } _ExtendedGDBusArgInfo; 1163s # 1163s # typedef struct 1163s # { 1163s # GDBusMethodInfo parent_struct; 1163s # const gchar *signal_name; 1163s # gboolean pass_fdlist; 1163s # } _ExtendedGDBusMethodInfo; 1163s # 1163s # typedef struct 1163s # { 1163s # GDBusSignalInfo parent_struct; 1163s # const gchar *signal_name; 1163s # } _ExtendedGDBusSignalInfo; 1163s # 1163s # typedef struct 1163s # { 1163s # GDBusPropertyInfo parent_struct; 1163s # const gchar *hyphen_name; 1163s # guint use_gvariant : 1; 1163s # guint emits_changed_signal : 1; 1163s # } _ExtendedGDBusPropertyInfo; 1163s # 1163s # typedef struct 1163s # { 1163s # GDBusInterfaceInfo parent_struct; 1163s # const gchar *hyphen_name; 1163s # } _ExtendedGDBusInterfaceInfo; 1163s # 1163s # typedef struct 1163s # { 1163s # const _ExtendedGDBusPropertyInfo *info; 1163s # guint prop_id; 1163s # GValue orig_value; /* the value before the change */ 1163s # } ChangedProperty; 1163s # 1163s # static void 1163s # _changed_property_free (ChangedProperty *data) 1163s # { 1163s # g_value_unset (&data->orig_value); 1163s # g_free (data); 1163s # } 1163s # 1163s # static gboolean 1163s # _g_strv_equal0 (gchar **a, gchar **b) 1163s # { 1163s # gboolean ret = FALSE; 1163s # guint n; 1163s # if (a == NULL && b == NULL) 1163s # { 1163s # ret = TRUE; 1163s # goto out; 1163s # } 1163s # if (a == NULL || b == NULL) 1163s # goto out; 1163s # if (g_strv_length (a) != g_strv_length (b)) 1163s # goto out; 1163s # for (n = 0; a[n] != NULL; n++) 1163s # if (g_strcmp0 (a[n], b[n]) != 0) 1163s # goto out; 1163s # ret = TRUE; 1163s # out: 1163s # return ret; 1163s # } 1163s # 1163s # static gboolean 1163s # _g_variant_equal0 (GVariant *a, GVariant *b) 1163s # { 1163s # gboolean ret = FALSE; 1163s # if (a == NULL && b == NULL) 1163s # { 1163s # ret = TRUE; 1163s # goto out; 1163s # } 1163s # if (a == NULL || b == NULL) 1163s # goto out; 1163s # ret = g_variant_equal (a, b); 1163s # out: 1163s # return ret; 1163s # } 1163s # 1163s # G_GNUC_UNUSED static gboolean 1163s # _g_value_equal (const GValue *a, const GValue *b) 1163s # { 1163s # gboolean ret = FALSE; 1163s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1163s # switch (G_VALUE_TYPE (a)) 1163s # { 1163s # case G_TYPE_BOOLEAN: 1163s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1163s # break; 1163s # case G_TYPE_UCHAR: 1163s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1163s # break; 1163s # case G_TYPE_INT: 1163s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1163s # break; 1163s # case G_TYPE_UINT: 1163s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1163s # break; 1163s # case G_TYPE_INT64: 1163s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1163s # break; 1163s # case G_TYPE_UINT64: 1163s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1163s # break; 1163s # case G_TYPE_DOUBLE: 1163s # { 1163s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1163s # gdouble da = g_value_get_double (a); 1163s # gdouble db = g_value_get_double (b); 1163s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1163s # } 1163s # break; 1163s # case G_TYPE_STRING: 1163s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1163s # break; 1163s # case G_TYPE_VARIANT: 1163s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1163s # break; 1163s # default: 1163s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1163s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1163s # else 1163s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1163s # break; 1163s # } 1163s # return ret; 1163s # } 1163s ok 4 __main__.TestCodegen.test_empty_interface_header 1163s # tmpdir: /tmp/tmp2fxja6m4 1163s # codegen: /usr/bin/gdbus-codegen 1163s # /tmp/tmp2fxja6m4/tmp0crfb93l.xml: 1163s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2fxja6m4/tmp0crfb93l.xml', '--output', '-', '--header'] 1163s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1163s # Output: /* 1163s # * This file is generated by gdbus-codegen, do not modify it. 1163s # * 1163s # * The license of this code is the same as for the D-Bus interface description 1163s # * it was derived from. Note that it links to GLib, so must comply with the 1163s # * LGPL linking clauses. 1163s # */ 1163s # 1163s # #ifndef __STDOUT__ 1163s # #define __STDOUT__ 1163s # 1163s # #include 1163s # 1163s # G_BEGIN_DECLS 1163s # 1163s # 1163s # G_END_DECLS 1163s # 1163s # #endif /* __STDOUT__ */ 1163s ok 5 __main__.TestCodegen.test_empty_interface_info_body 1163s # tmpdir: /tmp/tmpb0oix9th 1163s # codegen: /usr/bin/gdbus-codegen 1163s # /tmp/tmpb0oix9th/tmpj_6b8751.xml: 1163s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpb0oix9th/tmpj_6b8751.xml', '--output', '-', '--interface-info-body'] 1163s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1163s # Output: /* 1163s # * This file is generated by gdbus-codegen, do not modify it. 1163s # * 1163s # * The license of this code is the same as for the D-Bus interface description 1163s # * it was derived from. Note that it links to GLib, so must comply with the 1163s # * LGPL linking clauses. 1163s # */ 1163s # 1163s # #ifdef HAVE_CONFIG_H 1163s # # include "config.h" 1163s # #endif 1163s # 1163s # #include 1163s ok 6 __main__.TestCodegen.test_empty_interface_info_header 1163s # tmpdir: /tmp/tmpmgfqrx0k 1163s # codegen: /usr/bin/gdbus-codegen 1163s # /tmp/tmpmgfqrx0k/tmpc8gu1hmf.xml: 1163s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmgfqrx0k/tmpc8gu1hmf.xml', '--output', '-', '--interface-info-header'] 1163s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1163s # Output: /* 1163s # * This file is generated by gdbus-codegen, do not modify it. 1163s # * 1163s # * The license of this code is the same as for the D-Bus interface description 1163s # * it was derived from. Note that it links to GLib, so must comply with the 1163s # * LGPL linking clauses. 1163s # */ 1163s # 1163s # #ifndef __STDOUT__ 1163s # #define __STDOUT__ 1163s # 1163s # #include 1163s # 1163s # G_BEGIN_DECLS 1163s # 1163s # 1163s # G_END_DECLS 1163s # 1163s # #endif /* __STDOUT__ */ 1163s ok 7 __main__.TestCodegen.test_generate_docbook 1163s # tmpdir: /tmp/tmpk3bbezt3 1163s # codegen: /usr/bin/gdbus-codegen 1163s # /tmp/tmpk3bbezt3/tmp_pn60qtm.xml: 1163s # 1163s # 1163s # 1163s # 1163s # 1163s # 1163s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpk3bbezt3/tmp_pn60qtm.xml', '--generate-docbook', 'test'] 1163s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1163s # Output: 1163s ok 8 __main__.TestCodegen.test_generate_md 1163s # tmpdir: /tmp/tmp0a5ioh9x 1163s # codegen: /usr/bin/gdbus-codegen 1163s # /tmp/tmp0a5ioh9x/tmpf1uc54pg.xml: 1163s # 1163s # 1163s # 1163s # 1163s # 1163s # 1163s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0a5ioh9x/tmpf1uc54pg.xml', '--generate-md', 'test'] 1163s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1163s # Output: 1163s ok 9 __main__.TestCodegen.test_generate_methods_marshaller_simple_method 1163s # tmpdir: /tmp/tmprb1b9dag 1163s # codegen: /usr/bin/gdbus-codegen 1163s # /tmp/tmprb1b9dag/tmpyu9cadr_.xml: 1163s # 1163s # 1163s # 1163s # 1163s # 1163s # 1163s # 1163s # 1163s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmprb1b9dag/tmpyu9cadr_.xml', '--output', '-', '--body'] 1163s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1163s # Output: /* 1163s # * This file is generated by gdbus-codegen, do not modify it. 1163s # * 1163s # * The license of this code is the same as for the D-Bus interface description 1163s # * it was derived from. Note that it links to GLib, so must comply with the 1163s # * LGPL linking clauses. 1163s # */ 1163s # 1163s # #ifdef HAVE_CONFIG_H 1163s # # include "config.h" 1163s # #endif 1163s # 1163s # #include 1163s # #ifdef G_OS_UNIX 1163s # # include 1163s # #endif 1163s # 1163s # #ifdef G_ENABLE_DEBUG 1163s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1163s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1163s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1163s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1163s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1163s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1163s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1163s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1163s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1163s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1163s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1163s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1163s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1163s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1163s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1163s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1163s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1163s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1163s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1163s # #else /* !G_ENABLE_DEBUG */ 1163s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1163s # * Do not access GValues directly in your code. Instead, use the 1163s # * g_value_get_*() functions 1163s # */ 1163s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1163s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1163s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1163s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1163s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1163s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1163s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1163s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1163s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1163s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1163s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1163s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1163s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1163s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1163s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1163s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1163s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1163s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1163s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1163s # #endif /* !G_ENABLE_DEBUG */ 1163s # 1163s # typedef struct 1163s # { 1163s # GDBusArgInfo parent_struct; 1163s # gboolean use_gvariant; 1163s # } _ExtendedGDBusArgInfo; 1163s # 1163s # typedef struct 1163s # { 1163s # GDBusMethodInfo parent_struct; 1163s # const gchar *signal_name; 1163s # gboolean pass_fdlist; 1163s # } _ExtendedGDBusMethodInfo; 1163s # 1163s # typedef struct 1163s # { 1163s # GDBusSignalInfo parent_struct; 1163s # const gchar *signal_name; 1163s # } _ExtendedGDBusSignalInfo; 1163s # 1163s # typedef struct 1163s # { 1163s # GDBusPropertyInfo parent_struct; 1163s # const gchar *hyphen_name; 1163s # guint use_gvariant : 1; 1163s # guint emits_changed_signal : 1; 1163s # } _ExtendedGDBusPropertyInfo; 1163s # 1163s # typedef struct 1163s # { 1163s # GDBusInterfaceInfo parent_struct; 1163s # const gchar *hyphen_name; 1163s # } _ExtendedGDBusInterfaceInfo; 1163s # 1163s # typedef struct 1163s # { 1163s # const _ExtendedGDBusPropertyInfo *info; 1163s # guint prop_id; 1163s # GValue orig_value; /* the value before the change */ 1163s # } ChangedProperty; 1163s # 1163s # static void 1163s # _changed_property_free (ChangedProperty *data) 1163s # { 1163s # g_value_unset (&data->orig_value); 1163s # g_free (data); 1163s # } 1163s # 1163s # static gboolean 1163s # _g_strv_equal0 (gchar **a, gchar **b) 1163s # { 1163s # gboolean ret = FALSE; 1163s # guint n; 1163s # if (a == NULL && b == NULL) 1163s # { 1163s # ret = TRUE; 1163s # goto out; 1163s # } 1163s # if (a == NULL || b == NULL) 1163s # goto out; 1163s # if (g_strv_length (a) != g_strv_length (b)) 1163s # goto out; 1163s # for (n = 0; a[n] != NULL; n++) 1163s # if (g_strcmp0 (a[n], b[n]) != 0) 1163s # goto out; 1163s # ret = TRUE; 1163s # out: 1163s # return ret; 1163s # } 1163s # 1163s # static gboolean 1163s # _g_variant_equal0 (GVariant *a, GVariant *b) 1163s # { 1163s # gboolean ret = FALSE; 1163s # if (a == NULL && b == NULL) 1163s # { 1163s # ret = TRUE; 1163s # goto out; 1163s # } 1163s # if (a == NULL || b == NULL) 1163s # goto out; 1163s # ret = g_variant_equal (a, b); 1163s # out: 1163s # return ret; 1163s # } 1163s # 1163s # G_GNUC_UNUSED static gboolean 1163s # _g_value_equal (const GValue *a, const GValue *b) 1163s # { 1163s # gboolean ret = FALSE; 1163s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1163s # switch (G_VALUE_TYPE (a)) 1163s # { 1163s # case G_TYPE_BOOLEAN: 1163s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1163s # break; 1163s # case G_TYPE_UCHAR: 1163s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1163s # break; 1163s # case G_TYPE_INT: 1163s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1163s # break; 1163s # case G_TYPE_UINT: 1163s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1163s # break; 1163s # case G_TYPE_INT64: 1163s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1163s # break; 1163s # case G_TYPE_UINT64: 1163s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1163s # break; 1163s # case G_TYPE_DOUBLE: 1163s # { 1163s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1163s # gdouble da = g_value_get_double (a); 1163s # gdouble db = g_value_get_double (b); 1163s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1163s # } 1163s # break; 1163s # case G_TYPE_STRING: 1163s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1163s # break; 1163s # case G_TYPE_VARIANT: 1163s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1163s # break; 1163s # default: 1163s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1163s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1163s # else 1163s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1163s # break; 1163s # } 1163s # return ret; 1163s # } 1163s # 1163s # static void 1163s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1163s # GClosure *closure, 1163s # GValue *return_value, 1163s # unsigned int n_param_values, 1163s # const GValue *param_values, 1163s # void *invocation_hint G_GNUC_UNUSED, 1163s # void *marshal_data) 1163s # { 1163s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1163s # (void *data1, 1163s # GDBusMethodInvocation *arg_method_invocation, 1163s # void *data2); 1163s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1163s # GCClosure *cc = (GCClosure*) closure; 1163s # void *data1, *data2; 1163s # gboolean v_return; 1163s # 1163s # g_return_if_fail (return_value != NULL); 1163s # g_return_if_fail (n_param_values == 2); 1163s # 1163s # if (G_CCLOSURE_SWAP_DATA (closure)) 1163s # { 1163s # data1 = closure->data; 1163s # data2 = g_value_peek_pointer (param_values + 0); 1163s # } 1163s # else 1163s # { 1163s # data1 = g_value_peek_pointer (param_values + 0); 1163s # data2 = closure->data; 1163s # } 1163s # 1163s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1163s # (marshal_data ? marshal_data : cc->callback); 1163s # 1163s # v_return = 1163s # callback (data1, 1163s # g_marshal_value_peek_object (param_values + 1), 1163s # data2); 1163s # 1163s # g_value_set_boolean (return_value, v_return); 1163s # } 1163s # 1163s # /* ------------------------------------------------------------------------ 1163s # * Code for interface org.project.CallableIface 1163s # * ------------------------------------------------------------------------ 1163s # */ 1163s # 1163s # /** 1163s # * SECTION:OrgProjectCallableIface 1163s # * @title: OrgProjectCallableIface 1163s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 1163s # * 1163s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 1163s # */ 1163s # 1163s # /* ---- Introspection data for org.project.CallableIface ---- */ 1163s # 1163s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_simple_method = 1163s # { 1163s # { 1163s # -1, 1163s # (gchar *) "SimpleMethod", 1163s # NULL, 1163s # NULL, 1163s # NULL 1163s # }, 1163s # "handle-simple-method", 1163s # FALSE 1163s # }; 1163s # 1163s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 1163s # { 1163s # &_org_project_callable_iface_method_info_simple_method.parent_struct, 1163s # NULL 1163s # }; 1163s # 1163s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 1163s # { 1163s # { 1163s # -1, 1163s # (gchar *) "org.project.CallableIface", 1163s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 1163s # NULL, 1163s # NULL, 1163s # NULL 1163s # }, 1163s # "org-project-callable-iface", 1163s # }; 1163s # 1163s # 1163s # /** 1163s # * org_project_callable_iface_interface_info: 1163s # * 1163s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 1163s # * 1163s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1163s # */ 1163s # GDBusInterfaceInfo * 1163s # org_project_callable_iface_interface_info (void) 1163s # { 1163s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 1163s # } 1163s # 1163s # /** 1163s # * org_project_callable_iface_override_properties: 1163s # * @klass: The class structure for a #GObject derived class. 1163s # * @property_id_begin: The property id to assign to the first overridden property. 1163s # * 1163s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 1163s # * The properties are overridden in the order they are defined. 1163s # * 1163s # * Returns: The last property id. 1163s # */ 1163s # guint 1163s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1163s # { 1163s # return property_id_begin - 1; 1163s # } 1163s # 1163s # 1163s # inline static void 1163s # org_project_callable_iface_method_marshal_simple_method ( 1163s # GClosure *closure, 1163s # GValue *return_value, 1163s # unsigned int n_param_values, 1163s # const GValue *param_values, 1163s # void *invocation_hint, 1163s # void *marshal_data) 1163s # { 1163s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1163s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1163s # } 1163s # 1163s # 1163s # /** 1163s # * OrgProjectCallableIface: 1163s # * 1163s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 1163s # */ 1163s # 1163s # /** 1163s # * OrgProjectCallableIfaceIface: 1163s # * @parent_iface: The parent interface. 1163s # * @handle_simple_method: Handler for the #OrgProjectCallableIface::handle-simple-method signal. 1163s # * 1163s # * Virtual table for the D-Bus interface org.project.CallableIface. 1163s # */ 1163s # 1163s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 1163s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 1163s # 1163s # static void 1163s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 1163s # { 1163s # /* GObject signals for incoming D-Bus method calls: */ 1163s # /** 1163s # * OrgProjectCallableIface::handle-simple-method: 1163s # * @object: A #OrgProjectCallableIface. 1163s # * @invocation: A #GDBusMethodInvocation. 1163s # * 1163s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method. 1163s # * 1163s # * 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. 1163s # * 1163s # * 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. 1163s # */ 1163s # g_signal_new ("handle-simple-method", 1163s # G_TYPE_FROM_INTERFACE (iface), 1163s # G_SIGNAL_RUN_LAST, 1163s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_simple_method), 1163s # g_signal_accumulator_true_handled, 1163s # NULL, 1163s # org_project_callable_iface_method_marshal_simple_method, 1163s # G_TYPE_BOOLEAN, 1163s # 1, 1163s # G_TYPE_DBUS_METHOD_INVOCATION); 1163s # 1163s # } 1163s # 1163s # /** 1163s # * org_project_callable_iface_call_simple_method: 1163s # * @proxy: A #OrgProjectCallableIfaceProxy. 1163s # * @cancellable: (nullable): A #GCancellable or %NULL. 1163s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1163s # * @user_data: User data to pass to @callback. 1163s # * 1163s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy. 1163s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1163s # * You can then call org_project_callable_iface_call_simple_method_finish() to get the result of the operation. 1163s # * 1163s # * See org_project_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method. 1163s # */ 1163s # void 1163s # org_project_callable_iface_call_simple_method ( 1163s # OrgProjectCallableIface *proxy, 1163s # GCancellable *cancellable, 1163s # GAsyncReadyCallback callback, 1163s # gpointer user_data) 1163s # { 1163s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1163s # "SimpleMethod", 1163s # g_variant_new ("()"), 1163s # G_DBUS_CALL_FLAGS_NONE, 1163s # -1, 1163s # cancellable, 1163s # callback, 1163s # user_data); 1163s # } 1163s # 1163s # /** 1163s # * org_project_callable_iface_call_simple_method_finish: 1163s # * @proxy: A #OrgProjectCallableIfaceProxy. 1163s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_simple_method(). 1163s # * @error: Return location for error or %NULL. 1163s # * 1163s # * Finishes an operation started with org_project_callable_iface_call_simple_method(). 1163s # * 1163s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1163s # */ 1163s # gboolean 1163s # org_project_callable_iface_call_simple_method_finish ( 1163s # OrgProjectCallableIface *proxy, 1163s # GAsyncResult *res, 1163s # GError **error) 1163s # { 1163s # GVariant *_ret; 1163s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1163s # if (_ret == NULL) 1163s # goto _out; 1163s # g_variant_get (_ret, 1163s # "()"); 1163s # g_variant_unref (_ret); 1163s # _out: 1163s # return _ret != NULL; 1163s # } 1163s # 1163s # /** 1163s # * org_project_callable_iface_call_simple_method_sync: 1163s # * @proxy: A #OrgProjectCallableIfaceProxy. 1163s # * @cancellable: (nullable): A #GCancellable or %NULL. 1163s # * @error: Return location for error or %NULL. 1163s # * 1163s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1163s # * 1163s # * See org_project_callable_iface_call_simple_method() for the asynchronous version of this method. 1163s # * 1163s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1163s # */ 1163s # gboolean 1163s # org_project_callable_iface_call_simple_method_sync ( 1163s # OrgProjectCallableIface *proxy, 1163s # GCancellable *cancellable, 1163s # GError **error) 1163s # { 1163s # GVariant *_ret; 1163s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1163s # "SimpleMethod", 1163s # g_variant_new ("()"), 1163s # G_DBUS_CALL_FLAGS_NONE, 1163s # -1, 1163s # cancellable, 1163s # error); 1163s # if (_ret == NULL) 1163s # goto _out; 1163s # g_variant_get (_ret, 1163s # "()"); 1163s # g_variant_unref (_ret); 1163s # _out: 1163s # return _ret != NULL; 1163s # } 1163s # 1163s # /** 1163s # * org_project_callable_iface_complete_simple_method: 1163s # * @object: A #OrgProjectCallableIface. 1163s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1163s # * 1163s # * 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. 1163s # * 1163s # * This method will free @invocation, you cannot use it afterwards. 1163s # */ 1163s # void 1163s # org_project_callable_iface_complete_simple_method ( 1163s # OrgProjectCallableIface *object G_GNUC_UNUSED, 1163s # GDBusMethodInvocation *invocation) 1163s # { 1163s # g_dbus_method_invocation_return_value (invocation, 1163s # g_variant_new ("()")); 1163s # } 1163s # 1163s # /* ------------------------------------------------------------------------ */ 1163s # 1163s # /** 1163s # * OrgProjectCallableIfaceProxy: 1163s # * 1163s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1163s # */ 1163s # 1163s # /** 1163s # * OrgProjectCallableIfaceProxyClass: 1163s # * @parent_class: The parent class. 1163s # * 1163s # * Class structure for #OrgProjectCallableIfaceProxy. 1163s # */ 1163s # 1163s # struct _OrgProjectCallableIfaceProxyPrivate 1163s # { 1163s # GData *qdata; 1163s # }; 1163s # 1163s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 1163s # 1163s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1163s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1163s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 1163s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1163s # 1163s # #else 1163s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1163s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1163s # 1163s # #endif 1163s # static void 1163s # org_project_callable_iface_proxy_finalize (GObject *object) 1163s # { 1163s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 1163s # g_datalist_clear (&proxy->priv->qdata); 1163s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 1163s # } 1163s # 1163s # static void 1163s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1163s # guint prop_id G_GNUC_UNUSED, 1163s # GValue *value G_GNUC_UNUSED, 1163s # GParamSpec *pspec G_GNUC_UNUSED) 1163s # { 1163s # } 1163s # 1163s # static void 1163s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1163s # guint prop_id G_GNUC_UNUSED, 1163s # const GValue *value G_GNUC_UNUSED, 1163s # GParamSpec *pspec G_GNUC_UNUSED) 1163s # { 1163s # } 1163s # 1163s # static void 1163s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1163s # const gchar *sender_name G_GNUC_UNUSED, 1163s # const gchar *signal_name, 1163s # GVariant *parameters) 1163s # { 1163s # _ExtendedGDBusSignalInfo *info; 1163s # GVariantIter iter; 1163s # GVariant *child; 1163s # GValue *paramv; 1163s # gsize num_params; 1163s # gsize n; 1163s # guint signal_id; 1163s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 1163s # if (info == NULL) 1163s # return; 1163s # num_params = g_variant_n_children (parameters); 1163s # paramv = g_new0 (GValue, num_params + 1); 1163s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1163s # g_value_set_object (¶mv[0], proxy); 1163s # g_variant_iter_init (&iter, parameters); 1163s # n = 1; 1163s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1163s # { 1163s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1163s # if (arg_info->use_gvariant) 1163s # { 1163s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1163s # g_value_set_variant (¶mv[n], child); 1163s # n++; 1163s # } 1163s # else 1163s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1163s # g_variant_unref (child); 1163s # } 1163s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1163s # g_signal_emitv (paramv, signal_id, 0, NULL); 1163s # for (n = 0; n < num_params + 1; n++) 1163s # g_value_unset (¶mv[n]); 1163s # g_free (paramv); 1163s # } 1163s # 1163s # static void 1163s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1163s # GVariant *changed_properties, 1163s # const gchar *const *invalidated_properties) 1163s # { 1163s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 1163s # guint n; 1163s # const gchar *key; 1163s # GVariantIter *iter; 1163s # _ExtendedGDBusPropertyInfo *info; 1163s # g_variant_get (changed_properties, "a{sv}", &iter); 1163s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1163s # { 1163s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 1163s # g_datalist_remove_data (&proxy->priv->qdata, key); 1163s # if (info != NULL) 1163s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1163s # } 1163s # g_variant_iter_free (iter); 1163s # for (n = 0; invalidated_properties[n] != NULL; n++) 1163s # { 1163s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1163s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1163s # if (info != NULL) 1163s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1163s # } 1163s # } 1163s # 1163s # static void 1163s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 1163s # { 1163s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1163s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 1163s # #else 1163s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 1163s # #endif 1163s # 1163s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 1163s # } 1163s # 1163s # static void 1163s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 1163s # { 1163s # GObjectClass *gobject_class; 1163s # GDBusProxyClass *proxy_class; 1163s # 1163s # gobject_class = G_OBJECT_CLASS (klass); 1163s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 1163s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 1163s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 1163s # 1163s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1163s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 1163s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 1163s # 1163s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1163s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 1163s # #endif 1163s # } 1163s # 1163s # static void 1163s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1163s # { 1163s # } 1163s # 1163s # /** 1163s # * org_project_callable_iface_proxy_new: 1163s # * @connection: A #GDBusConnection. 1163s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1163s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1163s # * @object_path: An object path. 1163s # * @cancellable: (nullable): A #GCancellable or %NULL. 1163s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1163s # * @user_data: User data to pass to @callback. 1163s # * 1163s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 1163s # * 1163s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1163s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 1163s # * 1163s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1163s # */ 1163s # void 1163s # org_project_callable_iface_proxy_new ( 1163s # GDBusConnection *connection, 1163s # GDBusProxyFlags flags, 1163s # const gchar *name, 1163s # const gchar *object_path, 1163s # GCancellable *cancellable, 1163s # GAsyncReadyCallback callback, 1163s # gpointer user_data) 1163s # { 1163s # 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); 1163s # } 1163s # 1163s # /** 1163s # * org_project_callable_iface_proxy_new_finish: 1163s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 1163s # * @error: Return location for error or %NULL 1163s # * 1163s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 1163s # * 1163s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1163s # */ 1163s # OrgProjectCallableIface * 1163s # org_project_callable_iface_proxy_new_finish ( 1163s # GAsyncResult *res, 1163s # GError **error) 1163s # { 1163s # GObject *ret; 1163s # GObject *source_object; 1163s # source_object = g_async_result_get_source_object (res); 1163s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1163s # g_object_unref (source_object); 1163s # if (ret != NULL) 1163s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1163s # else 1163s # return NULL; 1163s # } 1163s # 1163s # /** 1163s # * org_project_callable_iface_proxy_new_sync: 1163s # * @connection: A #GDBusConnection. 1163s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1163s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1163s # * @object_path: An object path. 1163s # * @cancellable: (nullable): A #GCancellable or %NULL. 1163s # * @error: Return location for error or %NULL 1163s # * 1163s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 1163s # * 1163s # * The calling thread is blocked until a reply is received. 1163s # * 1163s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 1163s # * 1163s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1163s # */ 1163s # OrgProjectCallableIface * 1163s # org_project_callable_iface_proxy_new_sync ( 1163s # GDBusConnection *connection, 1163s # GDBusProxyFlags flags, 1163s # const gchar *name, 1163s # const gchar *object_path, 1163s # GCancellable *cancellable, 1163s # GError **error) 1163s # { 1163s # GInitable *ret; 1163s # 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); 1163s # if (ret != NULL) 1163s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1163s # else 1163s # return NULL; 1163s # } 1163s # 1163s # 1163s # /** 1163s # * org_project_callable_iface_proxy_new_for_bus: 1163s # * @bus_type: A #GBusType. 1163s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1163s # * @name: A bus name (well-known or unique). 1163s # * @object_path: An object path. 1163s # * @cancellable: (nullable): A #GCancellable or %NULL. 1163s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1163s # * @user_data: User data to pass to @callback. 1163s # * 1163s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1163s # * 1163s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1163s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1163s # * 1163s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1163s # */ 1163s # void 1163s # org_project_callable_iface_proxy_new_for_bus ( 1163s # GBusType bus_type, 1163s # GDBusProxyFlags flags, 1163s # const gchar *name, 1163s # const gchar *object_path, 1163s # GCancellable *cancellable, 1163s # GAsyncReadyCallback callback, 1163s # gpointer user_data) 1163s # { 1163s # 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); 1163s # } 1163s # 1163s # /** 1163s # * org_project_callable_iface_proxy_new_for_bus_finish: 1163s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 1163s # * @error: Return location for error or %NULL 1163s # * 1163s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 1163s # * 1163s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1163s # */ 1163s # OrgProjectCallableIface * 1163s # org_project_callable_iface_proxy_new_for_bus_finish ( 1163s # GAsyncResult *res, 1163s # GError **error) 1163s # { 1163s # GObject *ret; 1163s # GObject *source_object; 1163s # source_object = g_async_result_get_source_object (res); 1163s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1163s # g_object_unref (source_object); 1163s # if (ret != NULL) 1163s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1163s # else 1163s # return NULL; 1163s # } 1163s # 1163s # /** 1163s # * org_project_callable_iface_proxy_new_for_bus_sync: 1163s # * @bus_type: A #GBusType. 1163s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1163s # * @name: A bus name (well-known or unique). 1163s # * @object_path: An object path. 1163s # * @cancellable: (nullable): A #GCancellable or %NULL. 1163s # * @error: Return location for error or %NULL 1163s # * 1163s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1163s # * 1163s # * The calling thread is blocked until a reply is received. 1163s # * 1163s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1163s # * 1163s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1163s # */ 1163s # OrgProjectCallableIface * 1163s # org_project_callable_iface_proxy_new_for_bus_sync ( 1163s # GBusType bus_type, 1163s # GDBusProxyFlags flags, 1163s # const gchar *name, 1163s # const gchar *object_path, 1163s # GCancellable *cancellable, 1163s # GError **error) 1163s # { 1163s # GInitable *ret; 1163s # 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); 1163s # if (ret != NULL) 1163s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1163s # else 1163s # return NULL; 1163s # } 1163s # 1163s # 1163s # /* ------------------------------------------------------------------------ */ 1163s # 1163s # /** 1163s # * OrgProjectCallableIfaceSkeleton: 1163s # * 1163s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1163s # */ 1163s # 1163s # /** 1163s # * OrgProjectCallableIfaceSkeletonClass: 1163s # * @parent_class: The parent class. 1163s # * 1163s # * Class structure for #OrgProjectCallableIfaceSkeleton. 1163s # */ 1163s # 1163s # struct _OrgProjectCallableIfaceSkeletonPrivate 1163s # { 1163s # GValue *properties; 1163s # GList *changed_properties; 1163s # GSource *changed_properties_idle_source; 1163s # GMainContext *context; 1163s # GMutex lock; 1163s # }; 1163s # 1163s # static void 1163s # _org_project_callable_iface_skeleton_handle_method_call ( 1163s # GDBusConnection *connection G_GNUC_UNUSED, 1163s # const gchar *sender G_GNUC_UNUSED, 1163s # const gchar *object_path G_GNUC_UNUSED, 1163s # const gchar *interface_name, 1163s # const gchar *method_name, 1163s # GVariant *parameters, 1163s # GDBusMethodInvocation *invocation, 1163s # gpointer user_data) 1163s # { 1163s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1163s # _ExtendedGDBusMethodInfo *info; 1163s # GVariantIter iter; 1163s # GVariant *child; 1163s # GValue *paramv; 1163s # gsize num_params; 1163s # guint num_extra; 1163s # gsize n; 1163s # guint signal_id; 1163s # GValue return_value = G_VALUE_INIT; 1163s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1163s # g_assert (info != NULL); 1163s # num_params = g_variant_n_children (parameters); 1163s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1163s # n = 0; 1163s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1163s # g_value_set_object (¶mv[n++], skeleton); 1163s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1163s # g_value_set_object (¶mv[n++], invocation); 1163s # if (info->pass_fdlist) 1163s # { 1163s # #ifdef G_OS_UNIX 1163s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1163s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1163s # #else 1163s # g_assert_not_reached (); 1163s # #endif 1163s # } 1163s # g_variant_iter_init (&iter, parameters); 1163s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1163s # { 1163s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1163s # if (arg_info->use_gvariant) 1163s # { 1163s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1163s # g_value_set_variant (¶mv[n], child); 1163s # n++; 1163s # } 1163s # else 1163s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1163s # g_variant_unref (child); 1163s # } 1163s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1163s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1163s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1163s # if (!g_value_get_boolean (&return_value)) 1163s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1163s # g_value_unset (&return_value); 1163s # for (n = 0; n < num_params + num_extra; n++) 1163s # g_value_unset (¶mv[n]); 1163s # g_free (paramv); 1163s # } 1163s # 1163s # static GVariant * 1163s # _org_project_callable_iface_skeleton_handle_get_property ( 1163s # GDBusConnection *connection G_GNUC_UNUSED, 1163s # const gchar *sender G_GNUC_UNUSED, 1163s # const gchar *object_path G_GNUC_UNUSED, 1163s # const gchar *interface_name G_GNUC_UNUSED, 1163s # const gchar *property_name, 1163s # GError **error, 1163s # gpointer user_data) 1163s # { 1163s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1163s # GValue value = G_VALUE_INIT; 1163s # GParamSpec *pspec; 1163s # _ExtendedGDBusPropertyInfo *info; 1163s # GVariant *ret; 1163s # ret = NULL; 1163s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1163s # g_assert (info != NULL); 1163s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1163s # if (pspec == NULL) 1163s # { 1163s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1163s # } 1163s # else 1163s # { 1163s # g_value_init (&value, pspec->value_type); 1163s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1163s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1163s # g_value_unset (&value); 1163s # } 1163s # return ret; 1163s # } 1163s # 1163s # static gboolean 1163s # _org_project_callable_iface_skeleton_handle_set_property ( 1163s # GDBusConnection *connection G_GNUC_UNUSED, 1163s # const gchar *sender G_GNUC_UNUSED, 1163s # const gchar *object_path G_GNUC_UNUSED, 1163s # const gchar *interface_name G_GNUC_UNUSED, 1163s # const gchar *property_name, 1163s # GVariant *variant, 1163s # GError **error, 1163s # gpointer user_data) 1163s # { 1163s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1163s # GValue value = G_VALUE_INIT; 1163s # GParamSpec *pspec; 1163s # _ExtendedGDBusPropertyInfo *info; 1163s # gboolean ret; 1163s # ret = FALSE; 1163s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1163s # g_assert (info != NULL); 1163s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1163s # if (pspec == NULL) 1163s # { 1163s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1163s # } 1163s # else 1163s # { 1163s # if (info->use_gvariant) 1163s # g_value_set_variant (&value, variant); 1163s # else 1163s # g_dbus_gvariant_to_gvalue (variant, &value); 1163s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1163s # g_value_unset (&value); 1163s # ret = TRUE; 1163s # } 1163s # return ret; 1163s # } 1163s # 1163s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 1163s # { 1163s # _org_project_callable_iface_skeleton_handle_method_call, 1163s # _org_project_callable_iface_skeleton_handle_get_property, 1163s # _org_project_callable_iface_skeleton_handle_set_property, 1163s # {NULL} 1163s # }; 1163s # 1163s # static GDBusInterfaceInfo * 1163s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1163s # { 1163s # return org_project_callable_iface_interface_info (); 1163s # } 1163s # 1163s # static GDBusInterfaceVTable * 1163s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1163s # { 1163s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 1163s # } 1163s # 1163s # static GVariant * 1163s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1163s # { 1163s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 1163s # 1163s # GVariantBuilder builder; 1163s # guint n; 1163s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1163s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 1163s # goto out; 1163s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1163s # { 1163s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 1163s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1163s # { 1163s # GVariant *value; 1163s # 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); 1163s # if (value != NULL) 1163s # { 1163s # g_variant_take_ref (value); 1163s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1163s # g_variant_unref (value); 1163s # } 1163s # } 1163s # } 1163s # out: 1163s # return g_variant_builder_end (&builder); 1163s # } 1163s # 1163s # static void 1163s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1163s # { 1163s # } 1163s # 1163s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 1163s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1163s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1163s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 1163s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1163s # 1163s # #else 1163s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1163s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1163s # 1163s # #endif 1163s # static void 1163s # org_project_callable_iface_skeleton_finalize (GObject *object) 1163s # { 1163s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 1163s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1163s # if (skeleton->priv->changed_properties_idle_source != NULL) 1163s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1163s # g_main_context_unref (skeleton->priv->context); 1163s # g_mutex_clear (&skeleton->priv->lock); 1163s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 1163s # } 1163s # 1163s # static void 1163s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 1163s # { 1163s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1163s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 1163s # #else 1163s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 1163s # #endif 1163s # 1163s # g_mutex_init (&skeleton->priv->lock); 1163s # skeleton->priv->context = g_main_context_ref_thread_default (); 1163s # } 1163s # 1163s # static void 1163s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 1163s # { 1163s # GObjectClass *gobject_class; 1163s # GDBusInterfaceSkeletonClass *skeleton_class; 1163s # 1163s # gobject_class = G_OBJECT_CLASS (klass); 1163s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 1163s # 1163s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1163s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 1163s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 1163s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 1163s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 1163s # 1163s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1163s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 1163s # #endif 1163s # } 1163s # 1163s # static void 1163s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1163s # { 1163s # } 1163s # 1163s # /** 1163s # * org_project_callable_iface_skeleton_new: 1163s # * 1163s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 1163s # * 1163s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 1163s # */ 1163s # OrgProjectCallableIface * 1163s # org_project_callable_iface_skeleton_new (void) 1163s # { 1163s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 1163s # } 1163s # 1163s # /* ------------------------------------------------------------------------ 1163s # * Code for interface org.project.OtherCallableIface 1163s # * ------------------------------------------------------------------------ 1163s # */ 1163s # 1163s # /** 1163s # * SECTION:OrgProjectOtherCallableIface 1163s # * @title: OrgProjectOtherCallableIface 1163s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface 1163s # * 1163s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C. 1163s # */ 1163s # 1163s # /* ---- Introspection data for org.project.OtherCallableIface ---- */ 1163s # 1163s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_simple_method = 1163s # { 1163s # { 1163s # -1, 1163s # (gchar *) "SimpleMethod", 1163s # NULL, 1163s # NULL, 1163s # NULL 1163s # }, 1163s # "handle-simple-method", 1163s # FALSE 1163s # }; 1163s # 1163s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] = 1163s # { 1163s # &_org_project_other_callable_iface_method_info_simple_method.parent_struct, 1163s # NULL 1163s # }; 1163s # 1163s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info = 1163s # { 1163s # { 1163s # -1, 1163s # (gchar *) "org.project.OtherCallableIface", 1163s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers, 1163s # NULL, 1163s # NULL, 1163s # NULL 1163s # }, 1163s # "org-project-other-callable-iface", 1163s # }; 1163s # 1163s # 1163s # /** 1163s # * org_project_other_callable_iface_interface_info: 1163s # * 1163s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface. 1163s # * 1163s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1163s # */ 1163s # GDBusInterfaceInfo * 1163s # org_project_other_callable_iface_interface_info (void) 1163s # { 1163s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct; 1163s # } 1163s # 1163s # /** 1163s # * org_project_other_callable_iface_override_properties: 1163s # * @klass: The class structure for a #GObject derived class. 1163s # * @property_id_begin: The property id to assign to the first overridden property. 1163s # * 1163s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class. 1163s # * The properties are overridden in the order they are defined. 1163s # * 1163s # * Returns: The last property id. 1163s # */ 1163s # guint 1163s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1163s # { 1163s # return property_id_begin - 1; 1163s # } 1163s # 1163s # 1163s # inline static void 1163s # org_project_other_callable_iface_method_marshal_simple_method ( 1163s # GClosure *closure, 1163s # GValue *return_value, 1163s # unsigned int n_param_values, 1163s # const GValue *param_values, 1163s # void *invocation_hint, 1163s # void *marshal_data) 1163s # { 1163s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1163s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1163s # } 1163s # 1163s # 1163s # /** 1163s # * OrgProjectOtherCallableIface: 1163s # * 1163s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface. 1163s # */ 1163s # 1163s # /** 1163s # * OrgProjectOtherCallableIfaceIface: 1163s # * @parent_iface: The parent interface. 1163s # * @handle_simple_method: Handler for the #OrgProjectOtherCallableIface::handle-simple-method signal. 1163s # * 1163s # * Virtual table for the D-Bus interface org.project.OtherCallableIface. 1163s # */ 1163s # 1163s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface; 1163s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT) 1163s # 1163s # static void 1163s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface) 1163s # { 1163s # /* GObject signals for incoming D-Bus method calls: */ 1163s # /** 1163s # * OrgProjectOtherCallableIface::handle-simple-method: 1163s # * @object: A #OrgProjectOtherCallableIface. 1163s # * @invocation: A #GDBusMethodInvocation. 1163s # * 1163s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method. 1163s # * 1163s # * 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. 1163s # * 1163s # * 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. 1163s # */ 1163s # g_signal_new ("handle-simple-method", 1163s # G_TYPE_FROM_INTERFACE (iface), 1163s # G_SIGNAL_RUN_LAST, 1163s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_simple_method), 1163s # g_signal_accumulator_true_handled, 1163s # NULL, 1163s # org_project_other_callable_iface_method_marshal_simple_method, 1163s # G_TYPE_BOOLEAN, 1163s # 1, 1163s # G_TYPE_DBUS_METHOD_INVOCATION); 1163s # 1163s # } 1163s # 1163s # /** 1163s # * org_project_other_callable_iface_call_simple_method: 1163s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1163s # * @cancellable: (nullable): A #GCancellable or %NULL. 1163s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1163s # * @user_data: User data to pass to @callback. 1163s # * 1163s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy. 1163s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1163s # * You can then call org_project_other_callable_iface_call_simple_method_finish() to get the result of the operation. 1163s # * 1163s # * See org_project_other_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method. 1163s # */ 1163s # void 1163s # org_project_other_callable_iface_call_simple_method ( 1163s # OrgProjectOtherCallableIface *proxy, 1163s # GCancellable *cancellable, 1163s # GAsyncReadyCallback callback, 1163s # gpointer user_data) 1163s # { 1163s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1163s # "SimpleMethod", 1163s # g_variant_new ("()"), 1163s # G_DBUS_CALL_FLAGS_NONE, 1163s # -1, 1163s # cancellable, 1163s # callback, 1163s # user_data); 1163s # } 1163s # 1163s # /** 1163s # * org_project_other_callable_iface_call_simple_method_finish: 1163s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1163s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_simple_method(). 1163s # * @error: Return location for error or %NULL. 1163s # * 1163s # * Finishes an operation started with org_project_other_callable_iface_call_simple_method(). 1163s # * 1163s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1163s # */ 1163s # gboolean 1163s # org_project_other_callable_iface_call_simple_method_finish ( 1163s # OrgProjectOtherCallableIface *proxy, 1163s # GAsyncResult *res, 1163s # GError **error) 1163s # { 1163s # GVariant *_ret; 1163s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1163s # if (_ret == NULL) 1163s # goto _out; 1163s # g_variant_get (_ret, 1163s # "()"); 1163s # g_variant_unref (_ret); 1163s # _out: 1163s # return _ret != NULL; 1163s # } 1163s # 1163s # /** 1163s # * org_project_other_callable_iface_call_simple_method_sync: 1163s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1163s # * @cancellable: (nullable): A #GCancellable or %NULL. 1163s # * @error: Return location for error or %NULL. 1163s # * 1163s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1163s # * 1163s # * See org_project_other_callable_iface_call_simple_method() for the asynchronous version of this method. 1163s # * 1163s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1163s # */ 1163s # gboolean 1163s # org_project_other_callable_iface_call_simple_method_sync ( 1163s # OrgProjectOtherCallableIface *proxy, 1163s # GCancellable *cancellable, 1163s # GError **error) 1163s # { 1163s # GVariant *_ret; 1163s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1163s # "SimpleMethod", 1163s # g_variant_new ("()"), 1163s # G_DBUS_CALL_FLAGS_NONE, 1163s # -1, 1163s # cancellable, 1163s # error); 1163s # if (_ret == NULL) 1163s # goto _out; 1163s # g_variant_get (_ret, 1163s # "()"); 1163s # g_variant_unref (_ret); 1163s # _out: 1163s # return _ret != NULL; 1163s # } 1163s # 1163s # /** 1163s # * org_project_other_callable_iface_complete_simple_method: 1163s # * @object: A #OrgProjectOtherCallableIface. 1163s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1163s # * 1163s # * 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. 1163s # * 1163s # * This method will free @invocation, you cannot use it afterwards. 1163s # */ 1163s # void 1163s # org_project_other_callable_iface_complete_simple_method ( 1163s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED, 1163s # GDBusMethodInvocation *invocation) 1163s # { 1163s # g_dbus_method_invocation_return_value (invocation, 1163s # g_variant_new ("()")); 1163s # } 1163s # 1163s # /* ------------------------------------------------------------------------ */ 1163s # 1163s # /** 1163s # * OrgProjectOtherCallableIfaceProxy: 1163s # * 1163s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1163s # */ 1163s # 1163s # /** 1163s # * OrgProjectOtherCallableIfaceProxyClass: 1163s # * @parent_class: The parent class. 1163s # * 1163s # * Class structure for #OrgProjectOtherCallableIfaceProxy. 1163s # */ 1163s # 1163s # struct _OrgProjectOtherCallableIfaceProxyPrivate 1163s # { 1163s # GData *qdata; 1163s # }; 1163s # 1163s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface); 1163s # 1163s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1163s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1163s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy) 1163s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 1163s # 1163s # #else 1163s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1163s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 1163s # 1163s # #endif 1163s # static void 1163s # org_project_other_callable_iface_proxy_finalize (GObject *object) 1163s # { 1163s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object); 1163s # g_datalist_clear (&proxy->priv->qdata); 1163s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object); 1163s # } 1163s # 1163s # static void 1163s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1163s # guint prop_id G_GNUC_UNUSED, 1163s # GValue *value G_GNUC_UNUSED, 1163s # GParamSpec *pspec G_GNUC_UNUSED) 1163s # { 1163s # } 1163s # 1163s # static void 1163s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1163s # guint prop_id G_GNUC_UNUSED, 1163s # const GValue *value G_GNUC_UNUSED, 1163s # GParamSpec *pspec G_GNUC_UNUSED) 1163s # { 1163s # } 1163s # 1163s # static void 1163s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1163s # const gchar *sender_name G_GNUC_UNUSED, 1163s # const gchar *signal_name, 1163s # GVariant *parameters) 1163s # { 1163s # _ExtendedGDBusSignalInfo *info; 1163s # GVariantIter iter; 1163s # GVariant *child; 1163s # GValue *paramv; 1163s # gsize num_params; 1163s # gsize n; 1163s # guint signal_id; 1163s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name); 1163s # if (info == NULL) 1163s # return; 1163s # num_params = g_variant_n_children (parameters); 1163s # paramv = g_new0 (GValue, num_params + 1); 1163s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1163s # g_value_set_object (¶mv[0], proxy); 1163s # g_variant_iter_init (&iter, parameters); 1163s # n = 1; 1163s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1163s # { 1163s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1163s # if (arg_info->use_gvariant) 1163s # { 1163s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1163s # g_value_set_variant (¶mv[n], child); 1163s # n++; 1163s # } 1163s # else 1163s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1163s # g_variant_unref (child); 1163s # } 1163s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1163s # g_signal_emitv (paramv, signal_id, 0, NULL); 1163s # for (n = 0; n < num_params + 1; n++) 1163s # g_value_unset (¶mv[n]); 1163s # g_free (paramv); 1163s # } 1163s # 1163s # static void 1163s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1163s # GVariant *changed_properties, 1163s # const gchar *const *invalidated_properties) 1163s # { 1163s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy); 1163s # guint n; 1163s # const gchar *key; 1163s # GVariantIter *iter; 1163s # _ExtendedGDBusPropertyInfo *info; 1163s # g_variant_get (changed_properties, "a{sv}", &iter); 1163s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1163s # { 1163s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key); 1163s # g_datalist_remove_data (&proxy->priv->qdata, key); 1163s # if (info != NULL) 1163s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1163s # } 1163s # g_variant_iter_free (iter); 1163s # for (n = 0; invalidated_properties[n] != NULL; n++) 1163s # { 1163s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1163s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1163s # if (info != NULL) 1163s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1163s # } 1163s # } 1163s # 1163s # static void 1163s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy) 1163s # { 1163s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1163s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy); 1163s # #else 1163s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate); 1163s # #endif 1163s # 1163s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ()); 1163s # } 1163s # 1163s # static void 1163s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass) 1163s # { 1163s # GObjectClass *gobject_class; 1163s # GDBusProxyClass *proxy_class; 1163s # 1163s # gobject_class = G_OBJECT_CLASS (klass); 1163s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize; 1163s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property; 1163s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property; 1163s # 1163s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1163s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal; 1163s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed; 1163s # 1163s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1163s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate)); 1163s # #endif 1163s # } 1163s # 1163s # static void 1163s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 1163s # { 1163s # } 1163s # 1163s # /** 1163s # * org_project_other_callable_iface_proxy_new: 1163s # * @connection: A #GDBusConnection. 1163s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1163s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1163s # * @object_path: An object path. 1163s # * @cancellable: (nullable): A #GCancellable or %NULL. 1163s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1163s # * @user_data: User data to pass to @callback. 1163s # * 1163s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details. 1163s # * 1163s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1163s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation. 1163s # * 1163s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1163s # */ 1163s # void 1163s # org_project_other_callable_iface_proxy_new ( 1163s # GDBusConnection *connection, 1163s # GDBusProxyFlags flags, 1163s # const gchar *name, 1163s # const gchar *object_path, 1163s # GCancellable *cancellable, 1163s # GAsyncReadyCallback callback, 1163s # gpointer user_data) 1163s # { 1163s # 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); 1163s # } 1163s # 1163s # /** 1163s # * org_project_other_callable_iface_proxy_new_finish: 1163s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new(). 1163s # * @error: Return location for error or %NULL 1163s # * 1163s # * Finishes an operation started with org_project_other_callable_iface_proxy_new(). 1163s # * 1163s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1163s # */ 1163s # OrgProjectOtherCallableIface * 1163s # org_project_other_callable_iface_proxy_new_finish ( 1163s # GAsyncResult *res, 1163s # GError **error) 1163s # { 1163s # GObject *ret; 1163s # GObject *source_object; 1163s # source_object = g_async_result_get_source_object (res); 1163s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1163s # g_object_unref (source_object); 1163s # if (ret != NULL) 1163s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1163s # else 1163s # return NULL; 1163s # } 1163s # 1163s # /** 1163s # * org_project_other_callable_iface_proxy_new_sync: 1163s # * @connection: A #GDBusConnection. 1163s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1163s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1163s # * @object_path: An object path. 1163s # * @cancellable: (nullable): A #GCancellable or %NULL. 1163s # * @error: Return location for error or %NULL 1163s # * 1163s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details. 1163s # * 1163s # * The calling thread is blocked until a reply is received. 1163s # * 1163s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor. 1163s # * 1163s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1163s # */ 1163s # OrgProjectOtherCallableIface * 1163s # org_project_other_callable_iface_proxy_new_sync ( 1163s # GDBusConnection *connection, 1163s # GDBusProxyFlags flags, 1163s # const gchar *name, 1163s # const gchar *object_path, 1163s # GCancellable *cancellable, 1163s # GError **error) 1163s # { 1163s # GInitable *ret; 1163s # 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); 1163s # if (ret != NULL) 1163s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1163s # else 1163s # return NULL; 1163s # } 1163s # 1163s # 1163s # /** 1163s # * org_project_other_callable_iface_proxy_new_for_bus: 1163s # * @bus_type: A #GBusType. 1163s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1163s # * @name: A bus name (well-known or unique). 1163s # * @object_path: An object path. 1163s # * @cancellable: (nullable): A #GCancellable or %NULL. 1163s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1163s # * @user_data: User data to pass to @callback. 1163s # * 1163s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1163s # * 1163s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1163s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1163s # * 1163s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1163s # */ 1163s # void 1163s # org_project_other_callable_iface_proxy_new_for_bus ( 1163s # GBusType bus_type, 1163s # GDBusProxyFlags flags, 1163s # const gchar *name, 1163s # const gchar *object_path, 1163s # GCancellable *cancellable, 1163s # GAsyncReadyCallback callback, 1163s # gpointer user_data) 1163s # { 1163s # 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); 1163s # } 1163s # 1163s # /** 1163s # * org_project_other_callable_iface_proxy_new_for_bus_finish: 1163s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus(). 1163s # * @error: Return location for error or %NULL 1163s # * 1163s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus(). 1163s # * 1163s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1163s # */ 1163s # OrgProjectOtherCallableIface * 1163s # org_project_other_callable_iface_proxy_new_for_bus_finish ( 1163s # GAsyncResult *res, 1163s # GError **error) 1163s # { 1163s # GObject *ret; 1163s # GObject *source_object; 1163s # source_object = g_async_result_get_source_object (res); 1163s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1163s # g_object_unref (source_object); 1163s # if (ret != NULL) 1163s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1163s # else 1163s # return NULL; 1163s # } 1163s # 1163s # /** 1163s # * org_project_other_callable_iface_proxy_new_for_bus_sync: 1163s # * @bus_type: A #GBusType. 1163s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1163s # * @name: A bus name (well-known or unique). 1163s # * @object_path: An object path. 1163s # * @cancellable: (nullable): A #GCancellable or %NULL. 1163s # * @error: Return location for error or %NULL 1163s # * 1163s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1163s # * 1163s # * The calling thread is blocked until a reply is received. 1163s # * 1163s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1163s # * 1163s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1163s # */ 1163s # OrgProjectOtherCallableIface * 1163s # org_project_other_callable_iface_proxy_new_for_bus_sync ( 1163s # GBusType bus_type, 1163s # GDBusProxyFlags flags, 1163s # const gchar *name, 1163s # const gchar *object_path, 1163s # GCancellable *cancellable, 1163s # GError **error) 1163s # { 1163s # GInitable *ret; 1163s # 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); 1163s # if (ret != NULL) 1163s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1163s # else 1163s # return NULL; 1163s # } 1163s # 1163s # 1163s # /* ------------------------------------------------------------------------ */ 1163s # 1163s # /** 1163s # * OrgProjectOtherCallableIfaceSkeleton: 1163s # * 1163s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1163s # */ 1163s # 1163s # /** 1163s # * OrgProjectOtherCallableIfaceSkeletonClass: 1163s # * @parent_class: The parent class. 1163s # * 1163s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton. 1163s # */ 1163s # 1163s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate 1163s # { 1163s # GValue *properties; 1163s # GList *changed_properties; 1163s # GSource *changed_properties_idle_source; 1163s # GMainContext *context; 1163s # GMutex lock; 1163s # }; 1163s # 1163s # static void 1163s # _org_project_other_callable_iface_skeleton_handle_method_call ( 1163s # GDBusConnection *connection G_GNUC_UNUSED, 1163s # const gchar *sender G_GNUC_UNUSED, 1163s # const gchar *object_path G_GNUC_UNUSED, 1163s # const gchar *interface_name, 1163s # const gchar *method_name, 1163s # GVariant *parameters, 1163s # GDBusMethodInvocation *invocation, 1163s # gpointer user_data) 1163s # { 1163s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1163s # _ExtendedGDBusMethodInfo *info; 1163s # GVariantIter iter; 1163s # GVariant *child; 1163s # GValue *paramv; 1163s # gsize num_params; 1163s # guint num_extra; 1163s # gsize n; 1163s # guint signal_id; 1163s # GValue return_value = G_VALUE_INIT; 1163s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1163s # g_assert (info != NULL); 1163s # num_params = g_variant_n_children (parameters); 1163s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1163s # n = 0; 1163s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1163s # g_value_set_object (¶mv[n++], skeleton); 1163s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1163s # g_value_set_object (¶mv[n++], invocation); 1163s # if (info->pass_fdlist) 1163s # { 1163s # #ifdef G_OS_UNIX 1163s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1163s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1163s # #else 1163s # g_assert_not_reached (); 1163s # #endif 1163s # } 1163s # g_variant_iter_init (&iter, parameters); 1163s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1163s # { 1163s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1163s # if (arg_info->use_gvariant) 1163s # { 1163s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1163s # g_value_set_variant (¶mv[n], child); 1163s # n++; 1163s # } 1163s # else 1163s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1163s # g_variant_unref (child); 1163s # } 1163s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1163s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1163s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1163s # if (!g_value_get_boolean (&return_value)) 1163s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1163s # g_value_unset (&return_value); 1163s # for (n = 0; n < num_params + num_extra; n++) 1163s # g_value_unset (¶mv[n]); 1163s # g_free (paramv); 1163s # } 1163s # 1163s # static GVariant * 1163s # _org_project_other_callable_iface_skeleton_handle_get_property ( 1163s # GDBusConnection *connection G_GNUC_UNUSED, 1163s # const gchar *sender G_GNUC_UNUSED, 1163s # const gchar *object_path G_GNUC_UNUSED, 1163s # const gchar *interface_name G_GNUC_UNUSED, 1163s # const gchar *property_name, 1163s # GError **error, 1163s # gpointer user_data) 1163s # { 1163s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1163s # GValue value = G_VALUE_INIT; 1163s # GParamSpec *pspec; 1163s # _ExtendedGDBusPropertyInfo *info; 1163s # GVariant *ret; 1163s # ret = NULL; 1163s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 1163s # g_assert (info != NULL); 1163s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1163s # if (pspec == NULL) 1163s # { 1163s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1163s # } 1163s # else 1163s # { 1163s # g_value_init (&value, pspec->value_type); 1163s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1163s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1163s # g_value_unset (&value); 1163s # } 1163s # return ret; 1163s # } 1163s # 1163s # static gboolean 1163s # _org_project_other_callable_iface_skeleton_handle_set_property ( 1163s # GDBusConnection *connection G_GNUC_UNUSED, 1163s # const gchar *sender G_GNUC_UNUSED, 1163s # const gchar *object_path G_GNUC_UNUSED, 1163s # const gchar *interface_name G_GNUC_UNUSED, 1163s # const gchar *property_name, 1163s # GVariant *variant, 1163s # GError **error, 1163s # gpointer user_data) 1163s # { 1163s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1163s # GValue value = G_VALUE_INIT; 1163s # GParamSpec *pspec; 1163s # _ExtendedGDBusPropertyInfo *info; 1163s # gboolean ret; 1163s # ret = FALSE; 1163s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 1163s # g_assert (info != NULL); 1163s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1163s # if (pspec == NULL) 1163s # { 1163s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1163s # } 1163s # else 1163s # { 1163s # if (info->use_gvariant) 1163s # g_value_set_variant (&value, variant); 1163s # else 1163s # g_dbus_gvariant_to_gvalue (variant, &value); 1163s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1163s # g_value_unset (&value); 1163s # ret = TRUE; 1163s # } 1163s # return ret; 1163s # } 1163s # 1163s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable = 1163s # { 1163s # _org_project_other_callable_iface_skeleton_handle_method_call, 1163s # _org_project_other_callable_iface_skeleton_handle_get_property, 1163s # _org_project_other_callable_iface_skeleton_handle_set_property, 1163s # {NULL} 1163s # }; 1163s # 1163s # static GDBusInterfaceInfo * 1163s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1163s # { 1163s # return org_project_other_callable_iface_interface_info (); 1163s # } 1163s # 1163s # static GDBusInterfaceVTable * 1163s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1163s # { 1163s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable; 1163s # } 1163s # 1163s # static GVariant * 1163s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1163s # { 1163s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton); 1163s # 1163s # GVariantBuilder builder; 1163s # guint n; 1163s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1163s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL) 1163s # goto out; 1163s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1163s # { 1163s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n]; 1163s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1163s # { 1163s # GVariant *value; 1163s # 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); 1163s # if (value != NULL) 1163s # { 1163s # g_variant_take_ref (value); 1163s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1163s # g_variant_unref (value); 1163s # } 1163s # } 1163s # } 1163s # out: 1163s # return g_variant_builder_end (&builder); 1163s # } 1163s # 1163s # static void 1163s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1163s # { 1163s # } 1163s # 1163s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface); 1163s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1163s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1163s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton) 1163s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 1163s # 1163s # #else 1163s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1163s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 1163s # 1163s # #endif 1163s # static void 1163s # org_project_other_callable_iface_skeleton_finalize (GObject *object) 1163s # { 1163s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object); 1163s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1163s # if (skeleton->priv->changed_properties_idle_source != NULL) 1163s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1163s # g_main_context_unref (skeleton->priv->context); 1163s # g_mutex_clear (&skeleton->priv->lock); 1163s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object); 1163s # } 1163s # 1163s # static void 1163s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton) 1163s # { 1163s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1163s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton); 1163s # #else 1163s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate); 1163s # #endif 1163s # 1163s # g_mutex_init (&skeleton->priv->lock); 1163s # skeleton->priv->context = g_main_context_ref_thread_default (); 1163s # } 1163s # 1163s # static void 1163s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass) 1163s # { 1163s # GObjectClass *gobject_class; 1163s # GDBusInterfaceSkeletonClass *skeleton_class; 1163s # 1163s # gobject_class = G_OBJECT_CLASS (klass); 1163s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize; 1163s # 1163s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1163s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info; 1163s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties; 1163s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush; 1163s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable; 1163s # 1163s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1163s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate)); 1163s # #endif 1163s # } 1163s # 1163s # static void 1163s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 1163s # { 1163s # } 1163s # 1163s # /** 1163s # * org_project_other_callable_iface_skeleton_new: 1163s # * 1163s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface. 1163s # * 1163s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object. 1163s # */ 1163s # OrgProjectOtherCallableIface * 1163s # org_project_other_callable_iface_skeleton_new (void) 1163s # { 1163s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL)); 1163s # } 1164s ok 10 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_in_args 1164s # tmpdir: /tmp/tmp0hh_d_fb 1164s # codegen: /usr/bin/gdbus-codegen 1164s # /tmp/tmp0hh_d_fb/tmpz74frbl4.xml: 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0hh_d_fb/tmpz74frbl4.xml', '--output', '-', '--body'] 1164s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1164s # Output: /* 1164s # * This file is generated by gdbus-codegen, do not modify it. 1164s # * 1164s # * The license of this code is the same as for the D-Bus interface description 1164s # * it was derived from. Note that it links to GLib, so must comply with the 1164s # * LGPL linking clauses. 1164s # */ 1164s # 1164s # #ifdef HAVE_CONFIG_H 1164s # # include "config.h" 1164s # #endif 1164s # 1164s # #include 1164s # #ifdef G_OS_UNIX 1164s # # include 1164s # #endif 1164s # 1164s # #ifdef G_ENABLE_DEBUG 1164s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1164s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1164s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1164s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1164s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1164s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1164s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1164s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1164s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1164s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1164s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1164s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1164s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1164s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1164s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1164s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1164s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1164s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1164s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1164s # #else /* !G_ENABLE_DEBUG */ 1164s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1164s # * Do not access GValues directly in your code. Instead, use the 1164s # * g_value_get_*() functions 1164s # */ 1164s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1164s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1164s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1164s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1164s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1164s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1164s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1164s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1164s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1164s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1164s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1164s # #endif /* !G_ENABLE_DEBUG */ 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusArgInfo parent_struct; 1164s # gboolean use_gvariant; 1164s # } _ExtendedGDBusArgInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusMethodInfo parent_struct; 1164s # const gchar *signal_name; 1164s # gboolean pass_fdlist; 1164s # } _ExtendedGDBusMethodInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusSignalInfo parent_struct; 1164s # const gchar *signal_name; 1164s # } _ExtendedGDBusSignalInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusPropertyInfo parent_struct; 1164s # const gchar *hyphen_name; 1164s # guint use_gvariant : 1; 1164s # guint emits_changed_signal : 1; 1164s # } _ExtendedGDBusPropertyInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusInterfaceInfo parent_struct; 1164s # const gchar *hyphen_name; 1164s # } _ExtendedGDBusInterfaceInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # const _ExtendedGDBusPropertyInfo *info; 1164s # guint prop_id; 1164s # GValue orig_value; /* the value before the change */ 1164s # } ChangedProperty; 1164s # 1164s # static void 1164s # _changed_property_free (ChangedProperty *data) 1164s # { 1164s # g_value_unset (&data->orig_value); 1164s # g_free (data); 1164s # } 1164s # 1164s # static gboolean 1164s # _g_strv_equal0 (gchar **a, gchar **b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # guint n; 1164s # if (a == NULL && b == NULL) 1164s # { 1164s # ret = TRUE; 1164s # goto out; 1164s # } 1164s # if (a == NULL || b == NULL) 1164s # goto out; 1164s # if (g_strv_length (a) != g_strv_length (b)) 1164s # goto out; 1164s # for (n = 0; a[n] != NULL; n++) 1164s # if (g_strcmp0 (a[n], b[n]) != 0) 1164s # goto out; 1164s # ret = TRUE; 1164s # out: 1164s # return ret; 1164s # } 1164s # 1164s # static gboolean 1164s # _g_variant_equal0 (GVariant *a, GVariant *b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # if (a == NULL && b == NULL) 1164s # { 1164s # ret = TRUE; 1164s # goto out; 1164s # } 1164s # if (a == NULL || b == NULL) 1164s # goto out; 1164s # ret = g_variant_equal (a, b); 1164s # out: 1164s # return ret; 1164s # } 1164s # 1164s # G_GNUC_UNUSED static gboolean 1164s # _g_value_equal (const GValue *a, const GValue *b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1164s # switch (G_VALUE_TYPE (a)) 1164s # { 1164s # case G_TYPE_BOOLEAN: 1164s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1164s # break; 1164s # case G_TYPE_UCHAR: 1164s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1164s # break; 1164s # case G_TYPE_INT: 1164s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1164s # break; 1164s # case G_TYPE_UINT: 1164s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1164s # break; 1164s # case G_TYPE_INT64: 1164s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1164s # break; 1164s # case G_TYPE_UINT64: 1164s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1164s # break; 1164s # case G_TYPE_DOUBLE: 1164s # { 1164s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1164s # gdouble da = g_value_get_double (a); 1164s # gdouble db = g_value_get_double (b); 1164s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1164s # } 1164s # break; 1164s # case G_TYPE_STRING: 1164s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1164s # break; 1164s # case G_TYPE_VARIANT: 1164s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1164s # break; 1164s # default: 1164s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1164s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1164s # else 1164s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1164s # break; 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static void 1164s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN ( 1164s # GClosure *closure, 1164s # GValue *return_value, 1164s # unsigned int n_param_values, 1164s # const GValue *param_values, 1164s # void *invocation_hint G_GNUC_UNUSED, 1164s # void *marshal_data) 1164s # { 1164s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanFunc) 1164s # (void *data1, 1164s # GDBusMethodInvocation *arg_method_invocation, 1164s # gboolean arg_arg_b, 1164s # void *data2); 1164s # _GDbusCodegenMarshalBoolean_ObjectBooleanFunc callback; 1164s # GCClosure *cc = (GCClosure*) closure; 1164s # void *data1, *data2; 1164s # gboolean v_return; 1164s # 1164s # g_return_if_fail (return_value != NULL); 1164s # g_return_if_fail (n_param_values == 3); 1164s # 1164s # if (G_CCLOSURE_SWAP_DATA (closure)) 1164s # { 1164s # data1 = closure->data; 1164s # data2 = g_value_peek_pointer (param_values + 0); 1164s # } 1164s # else 1164s # { 1164s # data1 = g_value_peek_pointer (param_values + 0); 1164s # data2 = closure->data; 1164s # } 1164s # 1164s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanFunc) 1164s # (marshal_data ? marshal_data : cc->callback); 1164s # 1164s # v_return = 1164s # callback (data1, 1164s # g_marshal_value_peek_object (param_values + 1), 1164s # g_marshal_value_peek_boolean (param_values + 2), 1164s # data2); 1164s # 1164s # g_value_set_boolean (return_value, v_return); 1164s # } 1164s # 1164s # /* ------------------------------------------------------------------------ 1164s # * Code for interface org.project.UsefulInterface 1164s # * ------------------------------------------------------------------------ 1164s # */ 1164s # 1164s # /** 1164s # * SECTION:OrgProjectUsefulInterface 1164s # * @title: OrgProjectUsefulInterface 1164s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1164s # * 1164s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1164s # */ 1164s # 1164s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "arg_b", 1164s # (gchar *) "b", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers[] = 1164s # { 1164s # &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b.parent_struct, 1164s # NULL 1164s # }; 1164s # 1164s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "SingleArgMethodB", 1164s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers, 1164s # NULL, 1164s # NULL 1164s # }, 1164s # "handle-single-arg-method-b", 1164s # FALSE 1164s # }; 1164s # 1164s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1164s # { 1164s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct, 1164s # NULL 1164s # }; 1164s # 1164s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "org.project.UsefulInterface", 1164s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1164s # NULL, 1164s # NULL, 1164s # NULL 1164s # }, 1164s # "org-project-useful-interface", 1164s # }; 1164s # 1164s # 1164s # /** 1164s # * org_project_useful_interface_interface_info: 1164s # * 1164s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1164s # * 1164s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1164s # */ 1164s # GDBusInterfaceInfo * 1164s # org_project_useful_interface_interface_info (void) 1164s # { 1164s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_override_properties: 1164s # * @klass: The class structure for a #GObject derived class. 1164s # * @property_id_begin: The property id to assign to the first overridden property. 1164s # * 1164s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1164s # * The properties are overridden in the order they are defined. 1164s # * 1164s # * Returns: The last property id. 1164s # */ 1164s # guint 1164s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1164s # { 1164s # return property_id_begin - 1; 1164s # } 1164s # 1164s # 1164s # inline static void 1164s # org_project_useful_interface_method_marshal_single_arg_method_b ( 1164s # GClosure *closure, 1164s # GValue *return_value, 1164s # unsigned int n_param_values, 1164s # const GValue *param_values, 1164s # void *invocation_hint, 1164s # void *marshal_data) 1164s # { 1164s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN (closure, 1164s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1164s # } 1164s # 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterface: 1164s # * 1164s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceIface: 1164s # * @parent_iface: The parent interface. 1164s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal. 1164s # * 1164s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1164s # */ 1164s # 1164s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1164s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1164s # 1164s # static void 1164s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1164s # { 1164s # /* GObject signals for incoming D-Bus method calls: */ 1164s # /** 1164s # * OrgProjectUsefulInterface::handle-single-arg-method-b: 1164s # * @object: A #OrgProjectUsefulInterface. 1164s # * @invocation: A #GDBusMethodInvocation. 1164s # * @arg_arg_b: Argument passed by remote caller. 1164s # * 1164s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method. 1164s # * 1164s # * 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. 1164s # * 1164s # * 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. 1164s # */ 1164s # g_signal_new ("handle-single-arg-method-b", 1164s # G_TYPE_FROM_INTERFACE (iface), 1164s # G_SIGNAL_RUN_LAST, 1164s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b), 1164s # g_signal_accumulator_true_handled, 1164s # NULL, 1164s # org_project_useful_interface_method_marshal_single_arg_method_b, 1164s # G_TYPE_BOOLEAN, 1164s # 2, 1164s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_BOOLEAN); 1164s # 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_call_single_arg_method_b: 1164s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1164s # * @arg_arg_b: Argument to pass with the method invocation. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy. 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method. 1164s # */ 1164s # void 1164s # org_project_useful_interface_call_single_arg_method_b ( 1164s # OrgProjectUsefulInterface *proxy, 1164s # gboolean arg_arg_b, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1164s # "SingleArgMethodB", 1164s # g_variant_new ("(b)", 1164s # arg_arg_b), 1164s # G_DBUS_CALL_FLAGS_NONE, 1164s # -1, 1164s # cancellable, 1164s # callback, 1164s # user_data); 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_call_single_arg_method_b_finish: 1164s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b(). 1164s # * @error: Return location for error or %NULL. 1164s # * 1164s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b(). 1164s # * 1164s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1164s # */ 1164s # gboolean 1164s # org_project_useful_interface_call_single_arg_method_b_finish ( 1164s # OrgProjectUsefulInterface *proxy, 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GVariant *_ret; 1164s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1164s # if (_ret == NULL) 1164s # goto _out; 1164s # g_variant_get (_ret, 1164s # "()"); 1164s # g_variant_unref (_ret); 1164s # _out: 1164s # return _ret != NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_call_single_arg_method_b_sync: 1164s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1164s # * @arg_arg_b: Argument to pass with the method invocation. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL. 1164s # * 1164s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method. 1164s # * 1164s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1164s # */ 1164s # gboolean 1164s # org_project_useful_interface_call_single_arg_method_b_sync ( 1164s # OrgProjectUsefulInterface *proxy, 1164s # gboolean arg_arg_b, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GVariant *_ret; 1164s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1164s # "SingleArgMethodB", 1164s # g_variant_new ("(b)", 1164s # arg_arg_b), 1164s # G_DBUS_CALL_FLAGS_NONE, 1164s # -1, 1164s # cancellable, 1164s # error); 1164s # if (_ret == NULL) 1164s # goto _out; 1164s # g_variant_get (_ret, 1164s # "()"); 1164s # g_variant_unref (_ret); 1164s # _out: 1164s # return _ret != NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_complete_single_arg_method_b: 1164s # * @object: A #OrgProjectUsefulInterface. 1164s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1164s # * 1164s # * 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. 1164s # * 1164s # * This method will free @invocation, you cannot use it afterwards. 1164s # */ 1164s # void 1164s # org_project_useful_interface_complete_single_arg_method_b ( 1164s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1164s # GDBusMethodInvocation *invocation) 1164s # { 1164s # g_dbus_method_invocation_return_value (invocation, 1164s # g_variant_new ("()")); 1164s # } 1164s # 1164s # /* ------------------------------------------------------------------------ */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceProxy: 1164s # * 1164s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceProxyClass: 1164s # * @parent_class: The parent class. 1164s # * 1164s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1164s # */ 1164s # 1164s # struct _OrgProjectUsefulInterfaceProxyPrivate 1164s # { 1164s # GData *qdata; 1164s # }; 1164s # 1164s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1164s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1164s # 1164s # #else 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1164s # 1164s # #endif 1164s # static void 1164s # org_project_useful_interface_proxy_finalize (GObject *object) 1164s # { 1164s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1164s # g_datalist_clear (&proxy->priv->qdata); 1164s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1164s # guint prop_id G_GNUC_UNUSED, 1164s # GValue *value G_GNUC_UNUSED, 1164s # GParamSpec *pspec G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1164s # guint prop_id G_GNUC_UNUSED, 1164s # const GValue *value G_GNUC_UNUSED, 1164s # GParamSpec *pspec G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1164s # const gchar *sender_name G_GNUC_UNUSED, 1164s # const gchar *signal_name, 1164s # GVariant *parameters) 1164s # { 1164s # _ExtendedGDBusSignalInfo *info; 1164s # GVariantIter iter; 1164s # GVariant *child; 1164s # GValue *paramv; 1164s # gsize num_params; 1164s # gsize n; 1164s # guint signal_id; 1164s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1164s # if (info == NULL) 1164s # return; 1164s # num_params = g_variant_n_children (parameters); 1164s # paramv = g_new0 (GValue, num_params + 1); 1164s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_value_set_object (¶mv[0], proxy); 1164s # g_variant_iter_init (&iter, parameters); 1164s # n = 1; 1164s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1164s # { 1164s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1164s # if (arg_info->use_gvariant) 1164s # { 1164s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1164s # g_value_set_variant (¶mv[n], child); 1164s # n++; 1164s # } 1164s # else 1164s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1164s # g_variant_unref (child); 1164s # } 1164s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_signal_emitv (paramv, signal_id, 0, NULL); 1164s # for (n = 0; n < num_params + 1; n++) 1164s # g_value_unset (¶mv[n]); 1164s # g_free (paramv); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1164s # GVariant *changed_properties, 1164s # const gchar *const *invalidated_properties) 1164s # { 1164s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1164s # guint n; 1164s # const gchar *key; 1164s # GVariantIter *iter; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # g_variant_get (changed_properties, "a{sv}", &iter); 1164s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1164s # { 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1164s # g_datalist_remove_data (&proxy->priv->qdata, key); 1164s # if (info != NULL) 1164s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1164s # } 1164s # g_variant_iter_free (iter); 1164s # for (n = 0; invalidated_properties[n] != NULL; n++) 1164s # { 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1164s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1164s # if (info != NULL) 1164s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1164s # } 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1164s # { 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1164s # #else 1164s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1164s # #endif 1164s # 1164s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1164s # { 1164s # GObjectClass *gobject_class; 1164s # GDBusProxyClass *proxy_class; 1164s # 1164s # gobject_class = G_OBJECT_CLASS (klass); 1164s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1164s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1164s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1164s # 1164s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1164s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1164s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1164s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1164s # #endif 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new: 1164s # * @connection: A #GDBusConnection. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1164s # * 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1164s # */ 1164s # void 1164s # org_project_useful_interface_proxy_new ( 1164s # GDBusConnection *connection, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # g_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); 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_finish: 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_finish ( 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GObject *ret; 1164s # GObject *source_object; 1164s # source_object = g_async_result_get_source_object (res); 1164s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1164s # g_object_unref (source_object); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_sync: 1164s # * @connection: A #GDBusConnection. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1164s # * 1164s # * The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_sync ( 1164s # GDBusConnection *connection, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GInitable *ret; 1164s # 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); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_for_bus: 1164s # * @bus_type: A #GBusType. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: A bus name (well-known or unique). 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1164s # * 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1164s # */ 1164s # void 1164s # org_project_useful_interface_proxy_new_for_bus ( 1164s # GBusType bus_type, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # g_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); 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_for_bus_finish: 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_for_bus_finish ( 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GObject *ret; 1164s # GObject *source_object; 1164s # source_object = g_async_result_get_source_object (res); 1164s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1164s # g_object_unref (source_object); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_for_bus_sync: 1164s # * @bus_type: A #GBusType. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: A bus name (well-known or unique). 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1164s # * 1164s # * The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_for_bus_sync ( 1164s # GBusType bus_type, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GInitable *ret; 1164s # 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); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # 1164s # /* ------------------------------------------------------------------------ */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceSkeleton: 1164s # * 1164s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceSkeletonClass: 1164s # * @parent_class: The parent class. 1164s # * 1164s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1164s # */ 1164s # 1164s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1164s # { 1164s # GValue *properties; 1164s # GList *changed_properties; 1164s # GSource *changed_properties_idle_source; 1164s # GMainContext *context; 1164s # GMutex lock; 1164s # }; 1164s # 1164s # static void 1164s # _org_project_useful_interface_skeleton_handle_method_call ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name, 1164s # const gchar *method_name, 1164s # GVariant *parameters, 1164s # GDBusMethodInvocation *invocation, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1164s # _ExtendedGDBusMethodInfo *info; 1164s # GVariantIter iter; 1164s # GVariant *child; 1164s # GValue *paramv; 1164s # gsize num_params; 1164s # guint num_extra; 1164s # gsize n; 1164s # guint signal_id; 1164s # GValue return_value = G_VALUE_INIT; 1164s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1164s # g_assert (info != NULL); 1164s # num_params = g_variant_n_children (parameters); 1164s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1164s # n = 0; 1164s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_value_set_object (¶mv[n++], skeleton); 1164s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1164s # g_value_set_object (¶mv[n++], invocation); 1164s # if (info->pass_fdlist) 1164s # { 1164s # #ifdef G_OS_UNIX 1164s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1164s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1164s # #else 1164s # g_assert_not_reached (); 1164s # #endif 1164s # } 1164s # g_variant_iter_init (&iter, parameters); 1164s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1164s # { 1164s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1164s # if (arg_info->use_gvariant) 1164s # { 1164s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1164s # g_value_set_variant (¶mv[n], child); 1164s # n++; 1164s # } 1164s # else 1164s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1164s # g_variant_unref (child); 1164s # } 1164s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1164s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1164s # if (!g_value_get_boolean (&return_value)) 1164s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1164s # g_value_unset (&return_value); 1164s # for (n = 0; n < num_params + num_extra; n++) 1164s # g_value_unset (¶mv[n]); 1164s # g_free (paramv); 1164s # } 1164s # 1164s # static GVariant * 1164s # _org_project_useful_interface_skeleton_handle_get_property ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name G_GNUC_UNUSED, 1164s # const gchar *property_name, 1164s # GError **error, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1164s # GValue value = G_VALUE_INIT; 1164s # GParamSpec *pspec; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # GVariant *ret; 1164s # ret = NULL; 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1164s # g_assert (info != NULL); 1164s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1164s # if (pspec == NULL) 1164s # { 1164s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1164s # } 1164s # else 1164s # { 1164s # g_value_init (&value, pspec->value_type); 1164s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1164s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1164s # g_value_unset (&value); 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static gboolean 1164s # _org_project_useful_interface_skeleton_handle_set_property ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name G_GNUC_UNUSED, 1164s # const gchar *property_name, 1164s # GVariant *variant, 1164s # GError **error, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1164s # GValue value = G_VALUE_INIT; 1164s # GParamSpec *pspec; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # gboolean ret; 1164s # ret = FALSE; 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1164s # g_assert (info != NULL); 1164s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1164s # if (pspec == NULL) 1164s # { 1164s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1164s # } 1164s # else 1164s # { 1164s # if (info->use_gvariant) 1164s # g_value_set_variant (&value, variant); 1164s # else 1164s # g_dbus_gvariant_to_gvalue (variant, &value); 1164s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1164s # g_value_unset (&value); 1164s # ret = TRUE; 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1164s # { 1164s # _org_project_useful_interface_skeleton_handle_method_call, 1164s # _org_project_useful_interface_skeleton_handle_get_property, 1164s # _org_project_useful_interface_skeleton_handle_set_property, 1164s # {NULL} 1164s # }; 1164s # 1164s # static GDBusInterfaceInfo * 1164s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1164s # { 1164s # return org_project_useful_interface_interface_info (); 1164s # } 1164s # 1164s # static GDBusInterfaceVTable * 1164s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1164s # { 1164s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1164s # } 1164s # 1164s # static GVariant * 1164s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1164s # 1164s # GVariantBuilder builder; 1164s # guint n; 1164s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1164s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1164s # goto out; 1164s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1164s # { 1164s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1164s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1164s # { 1164s # GVariant *value; 1164s # 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); 1164s # if (value != NULL) 1164s # { 1164s # g_variant_take_ref (value); 1164s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1164s # g_variant_unref (value); 1164s # } 1164s # } 1164s # } 1164s # out: 1164s # return g_variant_builder_end (&builder); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1164s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1164s # 1164s # #else 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1164s # 1164s # #endif 1164s # static void 1164s # org_project_useful_interface_skeleton_finalize (GObject *object) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1164s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1164s # if (skeleton->priv->changed_properties_idle_source != NULL) 1164s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1164s # g_main_context_unref (skeleton->priv->context); 1164s # g_mutex_clear (&skeleton->priv->lock); 1164s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1164s # { 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1164s # #else 1164s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1164s # #endif 1164s # 1164s # g_mutex_init (&skeleton->priv->lock); 1164s # skeleton->priv->context = g_main_context_ref_thread_default (); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1164s # { 1164s # GObjectClass *gobject_class; 1164s # GDBusInterfaceSkeletonClass *skeleton_class; 1164s # 1164s # gobject_class = G_OBJECT_CLASS (klass); 1164s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1164s # 1164s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1164s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1164s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1164s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1164s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1164s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1164s # #endif 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_skeleton_new: 1164s # * 1164s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_skeleton_new (void) 1164s # { 1164s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1164s # } 1164s # /tmp/tmp0hh_d_fb/tmph1kg_707.xml: 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0hh_d_fb/tmph1kg_707.xml', '--output', '-', '--body'] 1164s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1164s # Output: /* 1164s # * This file is generated by gdbus-codegen, do not modify it. 1164s # * 1164s # * The license of this code is the same as for the D-Bus interface description 1164s # * it was derived from. Note that it links to GLib, so must comply with the 1164s # * LGPL linking clauses. 1164s # */ 1164s # 1164s # #ifdef HAVE_CONFIG_H 1164s # # include "config.h" 1164s # #endif 1164s # 1164s # #include 1164s # #ifdef G_OS_UNIX 1164s # # include 1164s # #endif 1164s # 1164s # #ifdef G_ENABLE_DEBUG 1164s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1164s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1164s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1164s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1164s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1164s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1164s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1164s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1164s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1164s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1164s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1164s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1164s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1164s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1164s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1164s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1164s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1164s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1164s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1164s # #else /* !G_ENABLE_DEBUG */ 1164s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1164s # * Do not access GValues directly in your code. Instead, use the 1164s # * g_value_get_*() functions 1164s # */ 1164s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1164s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1164s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1164s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1164s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1164s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1164s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1164s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1164s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1164s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1164s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1164s # #endif /* !G_ENABLE_DEBUG */ 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusArgInfo parent_struct; 1164s # gboolean use_gvariant; 1164s # } _ExtendedGDBusArgInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusMethodInfo parent_struct; 1164s # const gchar *signal_name; 1164s # gboolean pass_fdlist; 1164s # } _ExtendedGDBusMethodInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusSignalInfo parent_struct; 1164s # const gchar *signal_name; 1164s # } _ExtendedGDBusSignalInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusPropertyInfo parent_struct; 1164s # const gchar *hyphen_name; 1164s # guint use_gvariant : 1; 1164s # guint emits_changed_signal : 1; 1164s # } _ExtendedGDBusPropertyInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusInterfaceInfo parent_struct; 1164s # const gchar *hyphen_name; 1164s # } _ExtendedGDBusInterfaceInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # const _ExtendedGDBusPropertyInfo *info; 1164s # guint prop_id; 1164s # GValue orig_value; /* the value before the change */ 1164s # } ChangedProperty; 1164s # 1164s # static void 1164s # _changed_property_free (ChangedProperty *data) 1164s # { 1164s # g_value_unset (&data->orig_value); 1164s # g_free (data); 1164s # } 1164s # 1164s # static gboolean 1164s # _g_strv_equal0 (gchar **a, gchar **b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # guint n; 1164s # if (a == NULL && b == NULL) 1164s # { 1164s # ret = TRUE; 1164s # goto out; 1164s # } 1164s # if (a == NULL || b == NULL) 1164s # goto out; 1164s # if (g_strv_length (a) != g_strv_length (b)) 1164s # goto out; 1164s # for (n = 0; a[n] != NULL; n++) 1164s # if (g_strcmp0 (a[n], b[n]) != 0) 1164s # goto out; 1164s # ret = TRUE; 1164s # out: 1164s # return ret; 1164s # } 1164s # 1164s # static gboolean 1164s # _g_variant_equal0 (GVariant *a, GVariant *b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # if (a == NULL && b == NULL) 1164s # { 1164s # ret = TRUE; 1164s # goto out; 1164s # } 1164s # if (a == NULL || b == NULL) 1164s # goto out; 1164s # ret = g_variant_equal (a, b); 1164s # out: 1164s # return ret; 1164s # } 1164s # 1164s # G_GNUC_UNUSED static gboolean 1164s # _g_value_equal (const GValue *a, const GValue *b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1164s # switch (G_VALUE_TYPE (a)) 1164s # { 1164s # case G_TYPE_BOOLEAN: 1164s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1164s # break; 1164s # case G_TYPE_UCHAR: 1164s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1164s # break; 1164s # case G_TYPE_INT: 1164s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1164s # break; 1164s # case G_TYPE_UINT: 1164s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1164s # break; 1164s # case G_TYPE_INT64: 1164s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1164s # break; 1164s # case G_TYPE_UINT64: 1164s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1164s # break; 1164s # case G_TYPE_DOUBLE: 1164s # { 1164s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1164s # gdouble da = g_value_get_double (a); 1164s # gdouble db = g_value_get_double (b); 1164s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1164s # } 1164s # break; 1164s # case G_TYPE_STRING: 1164s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1164s # break; 1164s # case G_TYPE_VARIANT: 1164s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1164s # break; 1164s # default: 1164s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1164s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1164s # else 1164s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1164s # break; 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static void 1164s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR ( 1164s # GClosure *closure, 1164s # GValue *return_value, 1164s # unsigned int n_param_values, 1164s # const GValue *param_values, 1164s # void *invocation_hint G_GNUC_UNUSED, 1164s # void *marshal_data) 1164s # { 1164s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUcharFunc) 1164s # (void *data1, 1164s # GDBusMethodInvocation *arg_method_invocation, 1164s # guchar arg_arg_y, 1164s # void *data2); 1164s # _GDbusCodegenMarshalBoolean_ObjectUcharFunc callback; 1164s # GCClosure *cc = (GCClosure*) closure; 1164s # void *data1, *data2; 1164s # gboolean v_return; 1164s # 1164s # g_return_if_fail (return_value != NULL); 1164s # g_return_if_fail (n_param_values == 3); 1164s # 1164s # if (G_CCLOSURE_SWAP_DATA (closure)) 1164s # { 1164s # data1 = closure->data; 1164s # data2 = g_value_peek_pointer (param_values + 0); 1164s # } 1164s # else 1164s # { 1164s # data1 = g_value_peek_pointer (param_values + 0); 1164s # data2 = closure->data; 1164s # } 1164s # 1164s # callback = (_GDbusCodegenMarshalBoolean_ObjectUcharFunc) 1164s # (marshal_data ? marshal_data : cc->callback); 1164s # 1164s # v_return = 1164s # callback (data1, 1164s # g_marshal_value_peek_object (param_values + 1), 1164s # g_marshal_value_peek_uchar (param_values + 2), 1164s # data2); 1164s # 1164s # g_value_set_boolean (return_value, v_return); 1164s # } 1164s # 1164s # /* ------------------------------------------------------------------------ 1164s # * Code for interface org.project.UsefulInterface 1164s # * ------------------------------------------------------------------------ 1164s # */ 1164s # 1164s # /** 1164s # * SECTION:OrgProjectUsefulInterface 1164s # * @title: OrgProjectUsefulInterface 1164s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1164s # * 1164s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1164s # */ 1164s # 1164s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "arg_y", 1164s # (gchar *) "y", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers[] = 1164s # { 1164s # &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y.parent_struct, 1164s # NULL 1164s # }; 1164s # 1164s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "SingleArgMethodY", 1164s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers, 1164s # NULL, 1164s # NULL 1164s # }, 1164s # "handle-single-arg-method-y", 1164s # FALSE 1164s # }; 1164s # 1164s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1164s # { 1164s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct, 1164s # NULL 1164s # }; 1164s # 1164s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "org.project.UsefulInterface", 1164s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1164s # NULL, 1164s # NULL, 1164s # NULL 1164s # }, 1164s # "org-project-useful-interface", 1164s # }; 1164s # 1164s # 1164s # /** 1164s # * org_project_useful_interface_interface_info: 1164s # * 1164s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1164s # * 1164s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1164s # */ 1164s # GDBusInterfaceInfo * 1164s # org_project_useful_interface_interface_info (void) 1164s # { 1164s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_override_properties: 1164s # * @klass: The class structure for a #GObject derived class. 1164s # * @property_id_begin: The property id to assign to the first overridden property. 1164s # * 1164s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1164s # * The properties are overridden in the order they are defined. 1164s # * 1164s # * Returns: The last property id. 1164s # */ 1164s # guint 1164s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1164s # { 1164s # return property_id_begin - 1; 1164s # } 1164s # 1164s # 1164s # inline static void 1164s # org_project_useful_interface_method_marshal_single_arg_method_y ( 1164s # GClosure *closure, 1164s # GValue *return_value, 1164s # unsigned int n_param_values, 1164s # const GValue *param_values, 1164s # void *invocation_hint, 1164s # void *marshal_data) 1164s # { 1164s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR (closure, 1164s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1164s # } 1164s # 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterface: 1164s # * 1164s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceIface: 1164s # * @parent_iface: The parent interface. 1164s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal. 1164s # * 1164s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1164s # */ 1164s # 1164s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1164s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1164s # 1164s # static void 1164s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1164s # { 1164s # /* GObject signals for incoming D-Bus method calls: */ 1164s # /** 1164s # * OrgProjectUsefulInterface::handle-single-arg-method-y: 1164s # * @object: A #OrgProjectUsefulInterface. 1164s # * @invocation: A #GDBusMethodInvocation. 1164s # * @arg_arg_y: Argument passed by remote caller. 1164s # * 1164s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method. 1164s # * 1164s # * 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. 1164s # * 1164s # * 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. 1164s # */ 1164s # g_signal_new ("handle-single-arg-method-y", 1164s # G_TYPE_FROM_INTERFACE (iface), 1164s # G_SIGNAL_RUN_LAST, 1164s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y), 1164s # g_signal_accumulator_true_handled, 1164s # NULL, 1164s # org_project_useful_interface_method_marshal_single_arg_method_y, 1164s # G_TYPE_BOOLEAN, 1164s # 2, 1164s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UCHAR); 1164s # 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_call_single_arg_method_y: 1164s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1164s # * @arg_arg_y: Argument to pass with the method invocation. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy. 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method. 1164s # */ 1164s # void 1164s # org_project_useful_interface_call_single_arg_method_y ( 1164s # OrgProjectUsefulInterface *proxy, 1164s # guchar arg_arg_y, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1164s # "SingleArgMethodY", 1164s # g_variant_new ("(y)", 1164s # arg_arg_y), 1164s # G_DBUS_CALL_FLAGS_NONE, 1164s # -1, 1164s # cancellable, 1164s # callback, 1164s # user_data); 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_call_single_arg_method_y_finish: 1164s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y(). 1164s # * @error: Return location for error or %NULL. 1164s # * 1164s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y(). 1164s # * 1164s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1164s # */ 1164s # gboolean 1164s # org_project_useful_interface_call_single_arg_method_y_finish ( 1164s # OrgProjectUsefulInterface *proxy, 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GVariant *_ret; 1164s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1164s # if (_ret == NULL) 1164s # goto _out; 1164s # g_variant_get (_ret, 1164s # "()"); 1164s # g_variant_unref (_ret); 1164s # _out: 1164s # return _ret != NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_call_single_arg_method_y_sync: 1164s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1164s # * @arg_arg_y: Argument to pass with the method invocation. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL. 1164s # * 1164s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method. 1164s # * 1164s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1164s # */ 1164s # gboolean 1164s # org_project_useful_interface_call_single_arg_method_y_sync ( 1164s # OrgProjectUsefulInterface *proxy, 1164s # guchar arg_arg_y, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GVariant *_ret; 1164s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1164s # "SingleArgMethodY", 1164s # g_variant_new ("(y)", 1164s # arg_arg_y), 1164s # G_DBUS_CALL_FLAGS_NONE, 1164s # -1, 1164s # cancellable, 1164s # error); 1164s # if (_ret == NULL) 1164s # goto _out; 1164s # g_variant_get (_ret, 1164s # "()"); 1164s # g_variant_unref (_ret); 1164s # _out: 1164s # return _ret != NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_complete_single_arg_method_y: 1164s # * @object: A #OrgProjectUsefulInterface. 1164s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1164s # * 1164s # * 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. 1164s # * 1164s # * This method will free @invocation, you cannot use it afterwards. 1164s # */ 1164s # void 1164s # org_project_useful_interface_complete_single_arg_method_y ( 1164s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1164s # GDBusMethodInvocation *invocation) 1164s # { 1164s # g_dbus_method_invocation_return_value (invocation, 1164s # g_variant_new ("()")); 1164s # } 1164s # 1164s # /* ------------------------------------------------------------------------ */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceProxy: 1164s # * 1164s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceProxyClass: 1164s # * @parent_class: The parent class. 1164s # * 1164s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1164s # */ 1164s # 1164s # struct _OrgProjectUsefulInterfaceProxyPrivate 1164s # { 1164s # GData *qdata; 1164s # }; 1164s # 1164s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1164s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1164s # 1164s # #else 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1164s # 1164s # #endif 1164s # static void 1164s # org_project_useful_interface_proxy_finalize (GObject *object) 1164s # { 1164s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1164s # g_datalist_clear (&proxy->priv->qdata); 1164s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1164s # guint prop_id G_GNUC_UNUSED, 1164s # GValue *value G_GNUC_UNUSED, 1164s # GParamSpec *pspec G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1164s # guint prop_id G_GNUC_UNUSED, 1164s # const GValue *value G_GNUC_UNUSED, 1164s # GParamSpec *pspec G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1164s # const gchar *sender_name G_GNUC_UNUSED, 1164s # const gchar *signal_name, 1164s # GVariant *parameters) 1164s # { 1164s # _ExtendedGDBusSignalInfo *info; 1164s # GVariantIter iter; 1164s # GVariant *child; 1164s # GValue *paramv; 1164s # gsize num_params; 1164s # gsize n; 1164s # guint signal_id; 1164s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1164s # if (info == NULL) 1164s # return; 1164s # num_params = g_variant_n_children (parameters); 1164s # paramv = g_new0 (GValue, num_params + 1); 1164s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_value_set_object (¶mv[0], proxy); 1164s # g_variant_iter_init (&iter, parameters); 1164s # n = 1; 1164s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1164s # { 1164s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1164s # if (arg_info->use_gvariant) 1164s # { 1164s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1164s # g_value_set_variant (¶mv[n], child); 1164s # n++; 1164s # } 1164s # else 1164s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1164s # g_variant_unref (child); 1164s # } 1164s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_signal_emitv (paramv, signal_id, 0, NULL); 1164s # for (n = 0; n < num_params + 1; n++) 1164s # g_value_unset (¶mv[n]); 1164s # g_free (paramv); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1164s # GVariant *changed_properties, 1164s # const gchar *const *invalidated_properties) 1164s # { 1164s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1164s # guint n; 1164s # const gchar *key; 1164s # GVariantIter *iter; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # g_variant_get (changed_properties, "a{sv}", &iter); 1164s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1164s # { 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1164s # g_datalist_remove_data (&proxy->priv->qdata, key); 1164s # if (info != NULL) 1164s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1164s # } 1164s # g_variant_iter_free (iter); 1164s # for (n = 0; invalidated_properties[n] != NULL; n++) 1164s # { 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1164s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1164s # if (info != NULL) 1164s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1164s # } 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1164s # { 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1164s # #else 1164s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1164s # #endif 1164s # 1164s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1164s # { 1164s # GObjectClass *gobject_class; 1164s # GDBusProxyClass *proxy_class; 1164s # 1164s # gobject_class = G_OBJECT_CLASS (klass); 1164s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1164s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1164s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1164s # 1164s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1164s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1164s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1164s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1164s # #endif 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new: 1164s # * @connection: A #GDBusConnection. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1164s # * 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1164s # */ 1164s # void 1164s # org_project_useful_interface_proxy_new ( 1164s # GDBusConnection *connection, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # g_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); 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_finish: 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_finish ( 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GObject *ret; 1164s # GObject *source_object; 1164s # source_object = g_async_result_get_source_object (res); 1164s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1164s # g_object_unref (source_object); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_sync: 1164s # * @connection: A #GDBusConnection. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1164s # * 1164s # * The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_sync ( 1164s # GDBusConnection *connection, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GInitable *ret; 1164s # 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); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_for_bus: 1164s # * @bus_type: A #GBusType. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: A bus name (well-known or unique). 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1164s # * 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1164s # */ 1164s # void 1164s # org_project_useful_interface_proxy_new_for_bus ( 1164s # GBusType bus_type, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # g_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); 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_for_bus_finish: 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_for_bus_finish ( 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GObject *ret; 1164s # GObject *source_object; 1164s # source_object = g_async_result_get_source_object (res); 1164s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1164s # g_object_unref (source_object); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_for_bus_sync: 1164s # * @bus_type: A #GBusType. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: A bus name (well-known or unique). 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1164s # * 1164s # * The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_for_bus_sync ( 1164s # GBusType bus_type, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GInitable *ret; 1164s # 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); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # 1164s # /* ------------------------------------------------------------------------ */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceSkeleton: 1164s # * 1164s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceSkeletonClass: 1164s # * @parent_class: The parent class. 1164s # * 1164s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1164s # */ 1164s # 1164s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1164s # { 1164s # GValue *properties; 1164s # GList *changed_properties; 1164s # GSource *changed_properties_idle_source; 1164s # GMainContext *context; 1164s # GMutex lock; 1164s # }; 1164s # 1164s # static void 1164s # _org_project_useful_interface_skeleton_handle_method_call ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name, 1164s # const gchar *method_name, 1164s # GVariant *parameters, 1164s # GDBusMethodInvocation *invocation, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1164s # _ExtendedGDBusMethodInfo *info; 1164s # GVariantIter iter; 1164s # GVariant *child; 1164s # GValue *paramv; 1164s # gsize num_params; 1164s # guint num_extra; 1164s # gsize n; 1164s # guint signal_id; 1164s # GValue return_value = G_VALUE_INIT; 1164s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1164s # g_assert (info != NULL); 1164s # num_params = g_variant_n_children (parameters); 1164s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1164s # n = 0; 1164s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_value_set_object (¶mv[n++], skeleton); 1164s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1164s # g_value_set_object (¶mv[n++], invocation); 1164s # if (info->pass_fdlist) 1164s # { 1164s # #ifdef G_OS_UNIX 1164s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1164s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1164s # #else 1164s # g_assert_not_reached (); 1164s # #endif 1164s # } 1164s # g_variant_iter_init (&iter, parameters); 1164s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1164s # { 1164s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1164s # if (arg_info->use_gvariant) 1164s # { 1164s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1164s # g_value_set_variant (¶mv[n], child); 1164s # n++; 1164s # } 1164s # else 1164s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1164s # g_variant_unref (child); 1164s # } 1164s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1164s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1164s # if (!g_value_get_boolean (&return_value)) 1164s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1164s # g_value_unset (&return_value); 1164s # for (n = 0; n < num_params + num_extra; n++) 1164s # g_value_unset (¶mv[n]); 1164s # g_free (paramv); 1164s # } 1164s # 1164s # static GVariant * 1164s # _org_project_useful_interface_skeleton_handle_get_property ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name G_GNUC_UNUSED, 1164s # const gchar *property_name, 1164s # GError **error, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1164s # GValue value = G_VALUE_INIT; 1164s # GParamSpec *pspec; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # GVariant *ret; 1164s # ret = NULL; 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1164s # g_assert (info != NULL); 1164s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1164s # if (pspec == NULL) 1164s # { 1164s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1164s # } 1164s # else 1164s # { 1164s # g_value_init (&value, pspec->value_type); 1164s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1164s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1164s # g_value_unset (&value); 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static gboolean 1164s # _org_project_useful_interface_skeleton_handle_set_property ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name G_GNUC_UNUSED, 1164s # const gchar *property_name, 1164s # GVariant *variant, 1164s # GError **error, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1164s # GValue value = G_VALUE_INIT; 1164s # GParamSpec *pspec; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # gboolean ret; 1164s # ret = FALSE; 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1164s # g_assert (info != NULL); 1164s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1164s # if (pspec == NULL) 1164s # { 1164s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1164s # } 1164s # else 1164s # { 1164s # if (info->use_gvariant) 1164s # g_value_set_variant (&value, variant); 1164s # else 1164s # g_dbus_gvariant_to_gvalue (variant, &value); 1164s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1164s # g_value_unset (&value); 1164s # ret = TRUE; 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1164s # { 1164s # _org_project_useful_interface_skeleton_handle_method_call, 1164s # _org_project_useful_interface_skeleton_handle_get_property, 1164s # _org_project_useful_interface_skeleton_handle_set_property, 1164s # {NULL} 1164s # }; 1164s # 1164s # static GDBusInterfaceInfo * 1164s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1164s # { 1164s # return org_project_useful_interface_interface_info (); 1164s # } 1164s # 1164s # static GDBusInterfaceVTable * 1164s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1164s # { 1164s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1164s # } 1164s # 1164s # static GVariant * 1164s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1164s # 1164s # GVariantBuilder builder; 1164s # guint n; 1164s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1164s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1164s # goto out; 1164s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1164s # { 1164s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1164s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1164s # { 1164s # GVariant *value; 1164s # 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); 1164s # if (value != NULL) 1164s # { 1164s # g_variant_take_ref (value); 1164s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1164s # g_variant_unref (value); 1164s # } 1164s # } 1164s # } 1164s # out: 1164s # return g_variant_builder_end (&builder); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1164s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1164s # 1164s # #else 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1164s # 1164s # #endif 1164s # static void 1164s # org_project_useful_interface_skeleton_finalize (GObject *object) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1164s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1164s # if (skeleton->priv->changed_properties_idle_source != NULL) 1164s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1164s # g_main_context_unref (skeleton->priv->context); 1164s # g_mutex_clear (&skeleton->priv->lock); 1164s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1164s # { 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1164s # #else 1164s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1164s # #endif 1164s # 1164s # g_mutex_init (&skeleton->priv->lock); 1164s # skeleton->priv->context = g_main_context_ref_thread_default (); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1164s # { 1164s # GObjectClass *gobject_class; 1164s # GDBusInterfaceSkeletonClass *skeleton_class; 1164s # 1164s # gobject_class = G_OBJECT_CLASS (klass); 1164s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1164s # 1164s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1164s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1164s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1164s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1164s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1164s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1164s # #endif 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_skeleton_new: 1164s # * 1164s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_skeleton_new (void) 1164s # { 1164s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1164s # } 1164s # /tmp/tmp0hh_d_fb/tmph311fgcb.xml: 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0hh_d_fb/tmph311fgcb.xml', '--output', '-', '--body'] 1164s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1164s # Output: /* 1164s # * This file is generated by gdbus-codegen, do not modify it. 1164s # * 1164s # * The license of this code is the same as for the D-Bus interface description 1164s # * it was derived from. Note that it links to GLib, so must comply with the 1164s # * LGPL linking clauses. 1164s # */ 1164s # 1164s # #ifdef HAVE_CONFIG_H 1164s # # include "config.h" 1164s # #endif 1164s # 1164s # #include 1164s # #ifdef G_OS_UNIX 1164s # # include 1164s # #endif 1164s # 1164s # #ifdef G_ENABLE_DEBUG 1164s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1164s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1164s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1164s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1164s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1164s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1164s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1164s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1164s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1164s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1164s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1164s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1164s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1164s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1164s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1164s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1164s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1164s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1164s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1164s # #else /* !G_ENABLE_DEBUG */ 1164s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1164s # * Do not access GValues directly in your code. Instead, use the 1164s # * g_value_get_*() functions 1164s # */ 1164s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1164s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1164s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1164s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1164s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1164s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1164s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1164s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1164s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1164s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1164s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1164s # #endif /* !G_ENABLE_DEBUG */ 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusArgInfo parent_struct; 1164s # gboolean use_gvariant; 1164s # } _ExtendedGDBusArgInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusMethodInfo parent_struct; 1164s # const gchar *signal_name; 1164s # gboolean pass_fdlist; 1164s # } _ExtendedGDBusMethodInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusSignalInfo parent_struct; 1164s # const gchar *signal_name; 1164s # } _ExtendedGDBusSignalInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusPropertyInfo parent_struct; 1164s # const gchar *hyphen_name; 1164s # guint use_gvariant : 1; 1164s # guint emits_changed_signal : 1; 1164s # } _ExtendedGDBusPropertyInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusInterfaceInfo parent_struct; 1164s # const gchar *hyphen_name; 1164s # } _ExtendedGDBusInterfaceInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # const _ExtendedGDBusPropertyInfo *info; 1164s # guint prop_id; 1164s # GValue orig_value; /* the value before the change */ 1164s # } ChangedProperty; 1164s # 1164s # static void 1164s # _changed_property_free (ChangedProperty *data) 1164s # { 1164s # g_value_unset (&data->orig_value); 1164s # g_free (data); 1164s # } 1164s # 1164s # static gboolean 1164s # _g_strv_equal0 (gchar **a, gchar **b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # guint n; 1164s # if (a == NULL && b == NULL) 1164s # { 1164s # ret = TRUE; 1164s # goto out; 1164s # } 1164s # if (a == NULL || b == NULL) 1164s # goto out; 1164s # if (g_strv_length (a) != g_strv_length (b)) 1164s # goto out; 1164s # for (n = 0; a[n] != NULL; n++) 1164s # if (g_strcmp0 (a[n], b[n]) != 0) 1164s # goto out; 1164s # ret = TRUE; 1164s # out: 1164s # return ret; 1164s # } 1164s # 1164s # static gboolean 1164s # _g_variant_equal0 (GVariant *a, GVariant *b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # if (a == NULL && b == NULL) 1164s # { 1164s # ret = TRUE; 1164s # goto out; 1164s # } 1164s # if (a == NULL || b == NULL) 1164s # goto out; 1164s # ret = g_variant_equal (a, b); 1164s # out: 1164s # return ret; 1164s # } 1164s # 1164s # G_GNUC_UNUSED static gboolean 1164s # _g_value_equal (const GValue *a, const GValue *b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1164s # switch (G_VALUE_TYPE (a)) 1164s # { 1164s # case G_TYPE_BOOLEAN: 1164s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1164s # break; 1164s # case G_TYPE_UCHAR: 1164s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1164s # break; 1164s # case G_TYPE_INT: 1164s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1164s # break; 1164s # case G_TYPE_UINT: 1164s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1164s # break; 1164s # case G_TYPE_INT64: 1164s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1164s # break; 1164s # case G_TYPE_UINT64: 1164s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1164s # break; 1164s # case G_TYPE_DOUBLE: 1164s # { 1164s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1164s # gdouble da = g_value_get_double (a); 1164s # gdouble db = g_value_get_double (b); 1164s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1164s # } 1164s # break; 1164s # case G_TYPE_STRING: 1164s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1164s # break; 1164s # case G_TYPE_VARIANT: 1164s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1164s # break; 1164s # default: 1164s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1164s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1164s # else 1164s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1164s # break; 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static void 1164s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT ( 1164s # GClosure *closure, 1164s # GValue *return_value, 1164s # unsigned int n_param_values, 1164s # const GValue *param_values, 1164s # void *invocation_hint G_GNUC_UNUSED, 1164s # void *marshal_data) 1164s # { 1164s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc) 1164s # (void *data1, 1164s # GDBusMethodInvocation *arg_method_invocation, 1164s # gint16 arg_arg_n, 1164s # void *data2); 1164s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback; 1164s # GCClosure *cc = (GCClosure*) closure; 1164s # void *data1, *data2; 1164s # gboolean v_return; 1164s # 1164s # g_return_if_fail (return_value != NULL); 1164s # g_return_if_fail (n_param_values == 3); 1164s # 1164s # if (G_CCLOSURE_SWAP_DATA (closure)) 1164s # { 1164s # data1 = closure->data; 1164s # data2 = g_value_peek_pointer (param_values + 0); 1164s # } 1164s # else 1164s # { 1164s # data1 = g_value_peek_pointer (param_values + 0); 1164s # data2 = closure->data; 1164s # } 1164s # 1164s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc) 1164s # (marshal_data ? marshal_data : cc->callback); 1164s # 1164s # v_return = 1164s # callback (data1, 1164s # g_marshal_value_peek_object (param_values + 1), 1164s # g_marshal_value_peek_int (param_values + 2), 1164s # data2); 1164s # 1164s # g_value_set_boolean (return_value, v_return); 1164s # } 1164s # 1164s # /* ------------------------------------------------------------------------ 1164s # * Code for interface org.project.UsefulInterface 1164s # * ------------------------------------------------------------------------ 1164s # */ 1164s # 1164s # /** 1164s # * SECTION:OrgProjectUsefulInterface 1164s # * @title: OrgProjectUsefulInterface 1164s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1164s # * 1164s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1164s # */ 1164s # 1164s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "arg_n", 1164s # (gchar *) "n", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers[] = 1164s # { 1164s # &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n.parent_struct, 1164s # NULL 1164s # }; 1164s # 1164s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "SingleArgMethodN", 1164s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers, 1164s # NULL, 1164s # NULL 1164s # }, 1164s # "handle-single-arg-method-n", 1164s # FALSE 1164s # }; 1164s # 1164s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1164s # { 1164s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct, 1164s # NULL 1164s # }; 1164s # 1164s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "org.project.UsefulInterface", 1164s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1164s # NULL, 1164s # NULL, 1164s # NULL 1164s # }, 1164s # "org-project-useful-interface", 1164s # }; 1164s # 1164s # 1164s # /** 1164s # * org_project_useful_interface_interface_info: 1164s # * 1164s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1164s # * 1164s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1164s # */ 1164s # GDBusInterfaceInfo * 1164s # org_project_useful_interface_interface_info (void) 1164s # { 1164s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_override_properties: 1164s # * @klass: The class structure for a #GObject derived class. 1164s # * @property_id_begin: The property id to assign to the first overridden property. 1164s # * 1164s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1164s # * The properties are overridden in the order they are defined. 1164s # * 1164s # * Returns: The last property id. 1164s # */ 1164s # guint 1164s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1164s # { 1164s # return property_id_begin - 1; 1164s # } 1164s # 1164s # 1164s # inline static void 1164s # org_project_useful_interface_method_marshal_single_arg_method_n ( 1164s # GClosure *closure, 1164s # GValue *return_value, 1164s # unsigned int n_param_values, 1164s # const GValue *param_values, 1164s # void *invocation_hint, 1164s # void *marshal_data) 1164s # { 1164s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure, 1164s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1164s # } 1164s # 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterface: 1164s # * 1164s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceIface: 1164s # * @parent_iface: The parent interface. 1164s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal. 1164s # * 1164s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1164s # */ 1164s # 1164s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1164s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1164s # 1164s # static void 1164s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1164s # { 1164s # /* GObject signals for incoming D-Bus method calls: */ 1164s # /** 1164s # * OrgProjectUsefulInterface::handle-single-arg-method-n: 1164s # * @object: A #OrgProjectUsefulInterface. 1164s # * @invocation: A #GDBusMethodInvocation. 1164s # * @arg_arg_n: Argument passed by remote caller. 1164s # * 1164s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method. 1164s # * 1164s # * 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. 1164s # * 1164s # * 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. 1164s # */ 1164s # g_signal_new ("handle-single-arg-method-n", 1164s # G_TYPE_FROM_INTERFACE (iface), 1164s # G_SIGNAL_RUN_LAST, 1164s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n), 1164s # g_signal_accumulator_true_handled, 1164s # NULL, 1164s # org_project_useful_interface_method_marshal_single_arg_method_n, 1164s # G_TYPE_BOOLEAN, 1164s # 2, 1164s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT); 1164s # 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_call_single_arg_method_n: 1164s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1164s # * @arg_arg_n: Argument to pass with the method invocation. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy. 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method. 1164s # */ 1164s # void 1164s # org_project_useful_interface_call_single_arg_method_n ( 1164s # OrgProjectUsefulInterface *proxy, 1164s # gint16 arg_arg_n, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1164s # "SingleArgMethodN", 1164s # g_variant_new ("(n)", 1164s # arg_arg_n), 1164s # G_DBUS_CALL_FLAGS_NONE, 1164s # -1, 1164s # cancellable, 1164s # callback, 1164s # user_data); 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_call_single_arg_method_n_finish: 1164s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n(). 1164s # * @error: Return location for error or %NULL. 1164s # * 1164s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n(). 1164s # * 1164s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1164s # */ 1164s # gboolean 1164s # org_project_useful_interface_call_single_arg_method_n_finish ( 1164s # OrgProjectUsefulInterface *proxy, 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GVariant *_ret; 1164s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1164s # if (_ret == NULL) 1164s # goto _out; 1164s # g_variant_get (_ret, 1164s # "()"); 1164s # g_variant_unref (_ret); 1164s # _out: 1164s # return _ret != NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_call_single_arg_method_n_sync: 1164s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1164s # * @arg_arg_n: Argument to pass with the method invocation. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL. 1164s # * 1164s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method. 1164s # * 1164s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1164s # */ 1164s # gboolean 1164s # org_project_useful_interface_call_single_arg_method_n_sync ( 1164s # OrgProjectUsefulInterface *proxy, 1164s # gint16 arg_arg_n, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GVariant *_ret; 1164s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1164s # "SingleArgMethodN", 1164s # g_variant_new ("(n)", 1164s # arg_arg_n), 1164s # G_DBUS_CALL_FLAGS_NONE, 1164s # -1, 1164s # cancellable, 1164s # error); 1164s # if (_ret == NULL) 1164s # goto _out; 1164s # g_variant_get (_ret, 1164s # "()"); 1164s # g_variant_unref (_ret); 1164s # _out: 1164s # return _ret != NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_complete_single_arg_method_n: 1164s # * @object: A #OrgProjectUsefulInterface. 1164s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1164s # * 1164s # * 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. 1164s # * 1164s # * This method will free @invocation, you cannot use it afterwards. 1164s # */ 1164s # void 1164s # org_project_useful_interface_complete_single_arg_method_n ( 1164s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1164s # GDBusMethodInvocation *invocation) 1164s # { 1164s # g_dbus_method_invocation_return_value (invocation, 1164s # g_variant_new ("()")); 1164s # } 1164s # 1164s # /* ------------------------------------------------------------------------ */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceProxy: 1164s # * 1164s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceProxyClass: 1164s # * @parent_class: The parent class. 1164s # * 1164s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1164s # */ 1164s # 1164s # struct _OrgProjectUsefulInterfaceProxyPrivate 1164s # { 1164s # GData *qdata; 1164s # }; 1164s # 1164s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1164s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1164s # 1164s # #else 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1164s # 1164s # #endif 1164s # static void 1164s # org_project_useful_interface_proxy_finalize (GObject *object) 1164s # { 1164s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1164s # g_datalist_clear (&proxy->priv->qdata); 1164s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1164s # guint prop_id G_GNUC_UNUSED, 1164s # GValue *value G_GNUC_UNUSED, 1164s # GParamSpec *pspec G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1164s # guint prop_id G_GNUC_UNUSED, 1164s # const GValue *value G_GNUC_UNUSED, 1164s # GParamSpec *pspec G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1164s # const gchar *sender_name G_GNUC_UNUSED, 1164s # const gchar *signal_name, 1164s # GVariant *parameters) 1164s # { 1164s # _ExtendedGDBusSignalInfo *info; 1164s # GVariantIter iter; 1164s # GVariant *child; 1164s # GValue *paramv; 1164s # gsize num_params; 1164s # gsize n; 1164s # guint signal_id; 1164s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1164s # if (info == NULL) 1164s # return; 1164s # num_params = g_variant_n_children (parameters); 1164s # paramv = g_new0 (GValue, num_params + 1); 1164s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_value_set_object (¶mv[0], proxy); 1164s # g_variant_iter_init (&iter, parameters); 1164s # n = 1; 1164s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1164s # { 1164s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1164s # if (arg_info->use_gvariant) 1164s # { 1164s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1164s # g_value_set_variant (¶mv[n], child); 1164s # n++; 1164s # } 1164s # else 1164s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1164s # g_variant_unref (child); 1164s # } 1164s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_signal_emitv (paramv, signal_id, 0, NULL); 1164s # for (n = 0; n < num_params + 1; n++) 1164s # g_value_unset (¶mv[n]); 1164s # g_free (paramv); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1164s # GVariant *changed_properties, 1164s # const gchar *const *invalidated_properties) 1164s # { 1164s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1164s # guint n; 1164s # const gchar *key; 1164s # GVariantIter *iter; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # g_variant_get (changed_properties, "a{sv}", &iter); 1164s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1164s # { 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1164s # g_datalist_remove_data (&proxy->priv->qdata, key); 1164s # if (info != NULL) 1164s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1164s # } 1164s # g_variant_iter_free (iter); 1164s # for (n = 0; invalidated_properties[n] != NULL; n++) 1164s # { 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1164s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1164s # if (info != NULL) 1164s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1164s # } 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1164s # { 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1164s # #else 1164s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1164s # #endif 1164s # 1164s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1164s # { 1164s # GObjectClass *gobject_class; 1164s # GDBusProxyClass *proxy_class; 1164s # 1164s # gobject_class = G_OBJECT_CLASS (klass); 1164s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1164s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1164s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1164s # 1164s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1164s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1164s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1164s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1164s # #endif 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new: 1164s # * @connection: A #GDBusConnection. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1164s # * 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1164s # */ 1164s # void 1164s # org_project_useful_interface_proxy_new ( 1164s # GDBusConnection *connection, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # g_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); 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_finish: 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_finish ( 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GObject *ret; 1164s # GObject *source_object; 1164s # source_object = g_async_result_get_source_object (res); 1164s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1164s # g_object_unref (source_object); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_sync: 1164s # * @connection: A #GDBusConnection. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1164s # * 1164s # * The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_sync ( 1164s # GDBusConnection *connection, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GInitable *ret; 1164s # 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); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_for_bus: 1164s # * @bus_type: A #GBusType. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: A bus name (well-known or unique). 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1164s # * 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1164s # */ 1164s # void 1164s # org_project_useful_interface_proxy_new_for_bus ( 1164s # GBusType bus_type, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # g_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); 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_for_bus_finish: 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_for_bus_finish ( 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GObject *ret; 1164s # GObject *source_object; 1164s # source_object = g_async_result_get_source_object (res); 1164s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1164s # g_object_unref (source_object); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_for_bus_sync: 1164s # * @bus_type: A #GBusType. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: A bus name (well-known or unique). 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1164s # * 1164s # * The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_for_bus_sync ( 1164s # GBusType bus_type, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GInitable *ret; 1164s # 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); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # 1164s # /* ------------------------------------------------------------------------ */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceSkeleton: 1164s # * 1164s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceSkeletonClass: 1164s # * @parent_class: The parent class. 1164s # * 1164s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1164s # */ 1164s # 1164s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1164s # { 1164s # GValue *properties; 1164s # GList *changed_properties; 1164s # GSource *changed_properties_idle_source; 1164s # GMainContext *context; 1164s # GMutex lock; 1164s # }; 1164s # 1164s # static void 1164s # _org_project_useful_interface_skeleton_handle_method_call ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name, 1164s # const gchar *method_name, 1164s # GVariant *parameters, 1164s # GDBusMethodInvocation *invocation, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1164s # _ExtendedGDBusMethodInfo *info; 1164s # GVariantIter iter; 1164s # GVariant *child; 1164s # GValue *paramv; 1164s # gsize num_params; 1164s # guint num_extra; 1164s # gsize n; 1164s # guint signal_id; 1164s # GValue return_value = G_VALUE_INIT; 1164s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1164s # g_assert (info != NULL); 1164s # num_params = g_variant_n_children (parameters); 1164s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1164s # n = 0; 1164s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_value_set_object (¶mv[n++], skeleton); 1164s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1164s # g_value_set_object (¶mv[n++], invocation); 1164s # if (info->pass_fdlist) 1164s # { 1164s # #ifdef G_OS_UNIX 1164s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1164s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1164s # #else 1164s # g_assert_not_reached (); 1164s # #endif 1164s # } 1164s # g_variant_iter_init (&iter, parameters); 1164s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1164s # { 1164s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1164s # if (arg_info->use_gvariant) 1164s # { 1164s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1164s # g_value_set_variant (¶mv[n], child); 1164s # n++; 1164s # } 1164s # else 1164s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1164s # g_variant_unref (child); 1164s # } 1164s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1164s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1164s # if (!g_value_get_boolean (&return_value)) 1164s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1164s # g_value_unset (&return_value); 1164s # for (n = 0; n < num_params + num_extra; n++) 1164s # g_value_unset (¶mv[n]); 1164s # g_free (paramv); 1164s # } 1164s # 1164s # static GVariant * 1164s # _org_project_useful_interface_skeleton_handle_get_property ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name G_GNUC_UNUSED, 1164s # const gchar *property_name, 1164s # GError **error, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1164s # GValue value = G_VALUE_INIT; 1164s # GParamSpec *pspec; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # GVariant *ret; 1164s # ret = NULL; 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1164s # g_assert (info != NULL); 1164s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1164s # if (pspec == NULL) 1164s # { 1164s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1164s # } 1164s # else 1164s # { 1164s # g_value_init (&value, pspec->value_type); 1164s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1164s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1164s # g_value_unset (&value); 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static gboolean 1164s # _org_project_useful_interface_skeleton_handle_set_property ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name G_GNUC_UNUSED, 1164s # const gchar *property_name, 1164s # GVariant *variant, 1164s # GError **error, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1164s # GValue value = G_VALUE_INIT; 1164s # GParamSpec *pspec; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # gboolean ret; 1164s # ret = FALSE; 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1164s # g_assert (info != NULL); 1164s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1164s # if (pspec == NULL) 1164s # { 1164s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1164s # } 1164s # else 1164s # { 1164s # if (info->use_gvariant) 1164s # g_value_set_variant (&value, variant); 1164s # else 1164s # g_dbus_gvariant_to_gvalue (variant, &value); 1164s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1164s # g_value_unset (&value); 1164s # ret = TRUE; 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1164s # { 1164s # _org_project_useful_interface_skeleton_handle_method_call, 1164s # _org_project_useful_interface_skeleton_handle_get_property, 1164s # _org_project_useful_interface_skeleton_handle_set_property, 1164s # {NULL} 1164s # }; 1164s # 1164s # static GDBusInterfaceInfo * 1164s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1164s # { 1164s # return org_project_useful_interface_interface_info (); 1164s # } 1164s # 1164s # static GDBusInterfaceVTable * 1164s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1164s # { 1164s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1164s # } 1164s # 1164s # static GVariant * 1164s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1164s # 1164s # GVariantBuilder builder; 1164s # guint n; 1164s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1164s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1164s # goto out; 1164s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1164s # { 1164s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1164s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1164s # { 1164s # GVariant *value; 1164s # 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); 1164s # if (value != NULL) 1164s # { 1164s # g_variant_take_ref (value); 1164s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1164s # g_variant_unref (value); 1164s # } 1164s # } 1164s # } 1164s # out: 1164s # return g_variant_builder_end (&builder); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1164s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1164s # 1164s # #else 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1164s # 1164s # #endif 1164s # static void 1164s # org_project_useful_interface_skeleton_finalize (GObject *object) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1164s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1164s # if (skeleton->priv->changed_properties_idle_source != NULL) 1164s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1164s # g_main_context_unref (skeleton->priv->context); 1164s # g_mutex_clear (&skeleton->priv->lock); 1164s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1164s # { 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1164s # #else 1164s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1164s # #endif 1164s # 1164s # g_mutex_init (&skeleton->priv->lock); 1164s # skeleton->priv->context = g_main_context_ref_thread_default (); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1164s # { 1164s # GObjectClass *gobject_class; 1164s # GDBusInterfaceSkeletonClass *skeleton_class; 1164s # 1164s # gobject_class = G_OBJECT_CLASS (klass); 1164s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1164s # 1164s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1164s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1164s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1164s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1164s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1164s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1164s # #endif 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_skeleton_new: 1164s # * 1164s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_skeleton_new (void) 1164s # { 1164s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1164s # } 1164s # /tmp/tmp0hh_d_fb/tmp_pff88ue.xml: 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0hh_d_fb/tmp_pff88ue.xml', '--output', '-', '--body'] 1164s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1164s # Output: /* 1164s # * This file is generated by gdbus-codegen, do not modify it. 1164s # * 1164s # * The license of this code is the same as for the D-Bus interface description 1164s # * it was derived from. Note that it links to GLib, so must comply with the 1164s # * LGPL linking clauses. 1164s # */ 1164s # 1164s # #ifdef HAVE_CONFIG_H 1164s # # include "config.h" 1164s # #endif 1164s # 1164s # #include 1164s # #ifdef G_OS_UNIX 1164s # # include 1164s # #endif 1164s # 1164s # #ifdef G_ENABLE_DEBUG 1164s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1164s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1164s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1164s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1164s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1164s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1164s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1164s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1164s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1164s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1164s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1164s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1164s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1164s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1164s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1164s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1164s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1164s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1164s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1164s # #else /* !G_ENABLE_DEBUG */ 1164s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1164s # * Do not access GValues directly in your code. Instead, use the 1164s # * g_value_get_*() functions 1164s # */ 1164s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1164s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1164s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1164s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1164s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1164s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1164s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1164s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1164s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1164s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1164s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1164s # #endif /* !G_ENABLE_DEBUG */ 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusArgInfo parent_struct; 1164s # gboolean use_gvariant; 1164s # } _ExtendedGDBusArgInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusMethodInfo parent_struct; 1164s # const gchar *signal_name; 1164s # gboolean pass_fdlist; 1164s # } _ExtendedGDBusMethodInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusSignalInfo parent_struct; 1164s # const gchar *signal_name; 1164s # } _ExtendedGDBusSignalInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusPropertyInfo parent_struct; 1164s # const gchar *hyphen_name; 1164s # guint use_gvariant : 1; 1164s # guint emits_changed_signal : 1; 1164s # } _ExtendedGDBusPropertyInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusInterfaceInfo parent_struct; 1164s # const gchar *hyphen_name; 1164s # } _ExtendedGDBusInterfaceInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # const _ExtendedGDBusPropertyInfo *info; 1164s # guint prop_id; 1164s # GValue orig_value; /* the value before the change */ 1164s # } ChangedProperty; 1164s # 1164s # static void 1164s # _changed_property_free (ChangedProperty *data) 1164s # { 1164s # g_value_unset (&data->orig_value); 1164s # g_free (data); 1164s # } 1164s # 1164s # static gboolean 1164s # _g_strv_equal0 (gchar **a, gchar **b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # guint n; 1164s # if (a == NULL && b == NULL) 1164s # { 1164s # ret = TRUE; 1164s # goto out; 1164s # } 1164s # if (a == NULL || b == NULL) 1164s # goto out; 1164s # if (g_strv_length (a) != g_strv_length (b)) 1164s # goto out; 1164s # for (n = 0; a[n] != NULL; n++) 1164s # if (g_strcmp0 (a[n], b[n]) != 0) 1164s # goto out; 1164s # ret = TRUE; 1164s # out: 1164s # return ret; 1164s # } 1164s # 1164s # static gboolean 1164s # _g_variant_equal0 (GVariant *a, GVariant *b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # if (a == NULL && b == NULL) 1164s # { 1164s # ret = TRUE; 1164s # goto out; 1164s # } 1164s # if (a == NULL || b == NULL) 1164s # goto out; 1164s # ret = g_variant_equal (a, b); 1164s # out: 1164s # return ret; 1164s # } 1164s # 1164s # G_GNUC_UNUSED static gboolean 1164s # _g_value_equal (const GValue *a, const GValue *b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1164s # switch (G_VALUE_TYPE (a)) 1164s # { 1164s # case G_TYPE_BOOLEAN: 1164s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1164s # break; 1164s # case G_TYPE_UCHAR: 1164s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1164s # break; 1164s # case G_TYPE_INT: 1164s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1164s # break; 1164s # case G_TYPE_UINT: 1164s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1164s # break; 1164s # case G_TYPE_INT64: 1164s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1164s # break; 1164s # case G_TYPE_UINT64: 1164s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1164s # break; 1164s # case G_TYPE_DOUBLE: 1164s # { 1164s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1164s # gdouble da = g_value_get_double (a); 1164s # gdouble db = g_value_get_double (b); 1164s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1164s # } 1164s # break; 1164s # case G_TYPE_STRING: 1164s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1164s # break; 1164s # case G_TYPE_VARIANT: 1164s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1164s # break; 1164s # default: 1164s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1164s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1164s # else 1164s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1164s # break; 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static void 1164s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT ( 1164s # GClosure *closure, 1164s # GValue *return_value, 1164s # unsigned int n_param_values, 1164s # const GValue *param_values, 1164s # void *invocation_hint G_GNUC_UNUSED, 1164s # void *marshal_data) 1164s # { 1164s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc) 1164s # (void *data1, 1164s # GDBusMethodInvocation *arg_method_invocation, 1164s # guint16 arg_arg_q, 1164s # void *data2); 1164s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback; 1164s # GCClosure *cc = (GCClosure*) closure; 1164s # void *data1, *data2; 1164s # gboolean v_return; 1164s # 1164s # g_return_if_fail (return_value != NULL); 1164s # g_return_if_fail (n_param_values == 3); 1164s # 1164s # if (G_CCLOSURE_SWAP_DATA (closure)) 1164s # { 1164s # data1 = closure->data; 1164s # data2 = g_value_peek_pointer (param_values + 0); 1164s # } 1164s # else 1164s # { 1164s # data1 = g_value_peek_pointer (param_values + 0); 1164s # data2 = closure->data; 1164s # } 1164s # 1164s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc) 1164s # (marshal_data ? marshal_data : cc->callback); 1164s # 1164s # v_return = 1164s # callback (data1, 1164s # g_marshal_value_peek_object (param_values + 1), 1164s # g_marshal_value_peek_uint (param_values + 2), 1164s # data2); 1164s # 1164s # g_value_set_boolean (return_value, v_return); 1164s # } 1164s # 1164s # /* ------------------------------------------------------------------------ 1164s # * Code for interface org.project.UsefulInterface 1164s # * ------------------------------------------------------------------------ 1164s # */ 1164s # 1164s # /** 1164s # * SECTION:OrgProjectUsefulInterface 1164s # * @title: OrgProjectUsefulInterface 1164s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1164s # * 1164s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1164s # */ 1164s # 1164s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "arg_q", 1164s # (gchar *) "q", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers[] = 1164s # { 1164s # &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q.parent_struct, 1164s # NULL 1164s # }; 1164s # 1164s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "SingleArgMethodQ", 1164s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers, 1164s # NULL, 1164s # NULL 1164s # }, 1164s # "handle-single-arg-method-q", 1164s # FALSE 1164s # }; 1164s # 1164s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1164s # { 1164s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct, 1164s # NULL 1164s # }; 1164s # 1164s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "org.project.UsefulInterface", 1164s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1164s # NULL, 1164s # NULL, 1164s # NULL 1164s # }, 1164s # "org-project-useful-interface", 1164s # }; 1164s # 1164s # 1164s # /** 1164s # * org_project_useful_interface_interface_info: 1164s # * 1164s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1164s # * 1164s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1164s # */ 1164s # GDBusInterfaceInfo * 1164s # org_project_useful_interface_interface_info (void) 1164s # { 1164s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_override_properties: 1164s # * @klass: The class structure for a #GObject derived class. 1164s # * @property_id_begin: The property id to assign to the first overridden property. 1164s # * 1164s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1164s # * The properties are overridden in the order they are defined. 1164s # * 1164s # * Returns: The last property id. 1164s # */ 1164s # guint 1164s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1164s # { 1164s # return property_id_begin - 1; 1164s # } 1164s # 1164s # 1164s # inline static void 1164s # org_project_useful_interface_method_marshal_single_arg_method_q ( 1164s # GClosure *closure, 1164s # GValue *return_value, 1164s # unsigned int n_param_values, 1164s # const GValue *param_values, 1164s # void *invocation_hint, 1164s # void *marshal_data) 1164s # { 1164s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure, 1164s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1164s # } 1164s # 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterface: 1164s # * 1164s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceIface: 1164s # * @parent_iface: The parent interface. 1164s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal. 1164s # * 1164s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1164s # */ 1164s # 1164s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1164s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1164s # 1164s # static void 1164s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1164s # { 1164s # /* GObject signals for incoming D-Bus method calls: */ 1164s # /** 1164s # * OrgProjectUsefulInterface::handle-single-arg-method-q: 1164s # * @object: A #OrgProjectUsefulInterface. 1164s # * @invocation: A #GDBusMethodInvocation. 1164s # * @arg_arg_q: Argument passed by remote caller. 1164s # * 1164s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method. 1164s # * 1164s # * 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. 1164s # * 1164s # * 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. 1164s # */ 1164s # g_signal_new ("handle-single-arg-method-q", 1164s # G_TYPE_FROM_INTERFACE (iface), 1164s # G_SIGNAL_RUN_LAST, 1164s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q), 1164s # g_signal_accumulator_true_handled, 1164s # NULL, 1164s # org_project_useful_interface_method_marshal_single_arg_method_q, 1164s # G_TYPE_BOOLEAN, 1164s # 2, 1164s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); 1164s # 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_call_single_arg_method_q: 1164s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1164s # * @arg_arg_q: Argument to pass with the method invocation. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method. 1164s # */ 1164s # void 1164s # org_project_useful_interface_call_single_arg_method_q ( 1164s # OrgProjectUsefulInterface *proxy, 1164s # guint16 arg_arg_q, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1164s # "SingleArgMethodQ", 1164s # g_variant_new ("(q)", 1164s # arg_arg_q), 1164s # G_DBUS_CALL_FLAGS_NONE, 1164s # -1, 1164s # cancellable, 1164s # callback, 1164s # user_data); 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_call_single_arg_method_q_finish: 1164s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q(). 1164s # * @error: Return location for error or %NULL. 1164s # * 1164s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q(). 1164s # * 1164s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1164s # */ 1164s # gboolean 1164s # org_project_useful_interface_call_single_arg_method_q_finish ( 1164s # OrgProjectUsefulInterface *proxy, 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GVariant *_ret; 1164s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1164s # if (_ret == NULL) 1164s # goto _out; 1164s # g_variant_get (_ret, 1164s # "()"); 1164s # g_variant_unref (_ret); 1164s # _out: 1164s # return _ret != NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_call_single_arg_method_q_sync: 1164s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1164s # * @arg_arg_q: Argument to pass with the method invocation. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL. 1164s # * 1164s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method. 1164s # * 1164s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1164s # */ 1164s # gboolean 1164s # org_project_useful_interface_call_single_arg_method_q_sync ( 1164s # OrgProjectUsefulInterface *proxy, 1164s # guint16 arg_arg_q, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GVariant *_ret; 1164s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1164s # "SingleArgMethodQ", 1164s # g_variant_new ("(q)", 1164s # arg_arg_q), 1164s # G_DBUS_CALL_FLAGS_NONE, 1164s # -1, 1164s # cancellable, 1164s # error); 1164s # if (_ret == NULL) 1164s # goto _out; 1164s # g_variant_get (_ret, 1164s # "()"); 1164s # g_variant_unref (_ret); 1164s # _out: 1164s # return _ret != NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_complete_single_arg_method_q: 1164s # * @object: A #OrgProjectUsefulInterface. 1164s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1164s # * 1164s # * 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. 1164s # * 1164s # * This method will free @invocation, you cannot use it afterwards. 1164s # */ 1164s # void 1164s # org_project_useful_interface_complete_single_arg_method_q ( 1164s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1164s # GDBusMethodInvocation *invocation) 1164s # { 1164s # g_dbus_method_invocation_return_value (invocation, 1164s # g_variant_new ("()")); 1164s # } 1164s # 1164s # /* ------------------------------------------------------------------------ */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceProxy: 1164s # * 1164s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceProxyClass: 1164s # * @parent_class: The parent class. 1164s # * 1164s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1164s # */ 1164s # 1164s # struct _OrgProjectUsefulInterfaceProxyPrivate 1164s # { 1164s # GData *qdata; 1164s # }; 1164s # 1164s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1164s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1164s # 1164s # #else 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1164s # 1164s # #endif 1164s # static void 1164s # org_project_useful_interface_proxy_finalize (GObject *object) 1164s # { 1164s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1164s # g_datalist_clear (&proxy->priv->qdata); 1164s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1164s # guint prop_id G_GNUC_UNUSED, 1164s # GValue *value G_GNUC_UNUSED, 1164s # GParamSpec *pspec G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1164s # guint prop_id G_GNUC_UNUSED, 1164s # const GValue *value G_GNUC_UNUSED, 1164s # GParamSpec *pspec G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1164s # const gchar *sender_name G_GNUC_UNUSED, 1164s # const gchar *signal_name, 1164s # GVariant *parameters) 1164s # { 1164s # _ExtendedGDBusSignalInfo *info; 1164s # GVariantIter iter; 1164s # GVariant *child; 1164s # GValue *paramv; 1164s # gsize num_params; 1164s # gsize n; 1164s # guint signal_id; 1164s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1164s # if (info == NULL) 1164s # return; 1164s # num_params = g_variant_n_children (parameters); 1164s # paramv = g_new0 (GValue, num_params + 1); 1164s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_value_set_object (¶mv[0], proxy); 1164s # g_variant_iter_init (&iter, parameters); 1164s # n = 1; 1164s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1164s # { 1164s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1164s # if (arg_info->use_gvariant) 1164s # { 1164s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1164s # g_value_set_variant (¶mv[n], child); 1164s # n++; 1164s # } 1164s # else 1164s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1164s # g_variant_unref (child); 1164s # } 1164s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_signal_emitv (paramv, signal_id, 0, NULL); 1164s # for (n = 0; n < num_params + 1; n++) 1164s # g_value_unset (¶mv[n]); 1164s # g_free (paramv); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1164s # GVariant *changed_properties, 1164s # const gchar *const *invalidated_properties) 1164s # { 1164s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1164s # guint n; 1164s # const gchar *key; 1164s # GVariantIter *iter; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # g_variant_get (changed_properties, "a{sv}", &iter); 1164s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1164s # { 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1164s # g_datalist_remove_data (&proxy->priv->qdata, key); 1164s # if (info != NULL) 1164s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1164s # } 1164s # g_variant_iter_free (iter); 1164s # for (n = 0; invalidated_properties[n] != NULL; n++) 1164s # { 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1164s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1164s # if (info != NULL) 1164s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1164s # } 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1164s # { 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1164s # #else 1164s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1164s # #endif 1164s # 1164s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1164s # { 1164s # GObjectClass *gobject_class; 1164s # GDBusProxyClass *proxy_class; 1164s # 1164s # gobject_class = G_OBJECT_CLASS (klass); 1164s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1164s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1164s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1164s # 1164s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1164s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1164s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1164s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1164s # #endif 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new: 1164s # * @connection: A #GDBusConnection. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1164s # * 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1164s # */ 1164s # void 1164s # org_project_useful_interface_proxy_new ( 1164s # GDBusConnection *connection, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # g_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); 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_finish: 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_finish ( 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GObject *ret; 1164s # GObject *source_object; 1164s # source_object = g_async_result_get_source_object (res); 1164s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1164s # g_object_unref (source_object); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_sync: 1164s # * @connection: A #GDBusConnection. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1164s # * 1164s # * The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_sync ( 1164s # GDBusConnection *connection, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GInitable *ret; 1164s # 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); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_for_bus: 1164s # * @bus_type: A #GBusType. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: A bus name (well-known or unique). 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1164s # * 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1164s # */ 1164s # void 1164s # org_project_useful_interface_proxy_new_for_bus ( 1164s # GBusType bus_type, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # g_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); 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_for_bus_finish: 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_for_bus_finish ( 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GObject *ret; 1164s # GObject *source_object; 1164s # source_object = g_async_result_get_source_object (res); 1164s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1164s # g_object_unref (source_object); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_for_bus_sync: 1164s # * @bus_type: A #GBusType. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: A bus name (well-known or unique). 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1164s # * 1164s # * The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_for_bus_sync ( 1164s # GBusType bus_type, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GInitable *ret; 1164s # 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); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # 1164s # /* ------------------------------------------------------------------------ */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceSkeleton: 1164s # * 1164s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceSkeletonClass: 1164s # * @parent_class: The parent class. 1164s # * 1164s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1164s # */ 1164s # 1164s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1164s # { 1164s # GValue *properties; 1164s # GList *changed_properties; 1164s # GSource *changed_properties_idle_source; 1164s # GMainContext *context; 1164s # GMutex lock; 1164s # }; 1164s # 1164s # static void 1164s # _org_project_useful_interface_skeleton_handle_method_call ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name, 1164s # const gchar *method_name, 1164s # GVariant *parameters, 1164s # GDBusMethodInvocation *invocation, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1164s # _ExtendedGDBusMethodInfo *info; 1164s # GVariantIter iter; 1164s # GVariant *child; 1164s # GValue *paramv; 1164s # gsize num_params; 1164s # guint num_extra; 1164s # gsize n; 1164s # guint signal_id; 1164s # GValue return_value = G_VALUE_INIT; 1164s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1164s # g_assert (info != NULL); 1164s # num_params = g_variant_n_children (parameters); 1164s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1164s # n = 0; 1164s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_value_set_object (¶mv[n++], skeleton); 1164s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1164s # g_value_set_object (¶mv[n++], invocation); 1164s # if (info->pass_fdlist) 1164s # { 1164s # #ifdef G_OS_UNIX 1164s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1164s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1164s # #else 1164s # g_assert_not_reached (); 1164s # #endif 1164s # } 1164s # g_variant_iter_init (&iter, parameters); 1164s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1164s # { 1164s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1164s # if (arg_info->use_gvariant) 1164s # { 1164s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1164s # g_value_set_variant (¶mv[n], child); 1164s # n++; 1164s # } 1164s # else 1164s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1164s # g_variant_unref (child); 1164s # } 1164s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1164s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1164s # if (!g_value_get_boolean (&return_value)) 1164s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1164s # g_value_unset (&return_value); 1164s # for (n = 0; n < num_params + num_extra; n++) 1164s # g_value_unset (¶mv[n]); 1164s # g_free (paramv); 1164s # } 1164s # 1164s # static GVariant * 1164s # _org_project_useful_interface_skeleton_handle_get_property ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name G_GNUC_UNUSED, 1164s # const gchar *property_name, 1164s # GError **error, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1164s # GValue value = G_VALUE_INIT; 1164s # GParamSpec *pspec; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # GVariant *ret; 1164s # ret = NULL; 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1164s # g_assert (info != NULL); 1164s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1164s # if (pspec == NULL) 1164s # { 1164s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1164s # } 1164s # else 1164s # { 1164s # g_value_init (&value, pspec->value_type); 1164s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1164s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1164s # g_value_unset (&value); 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static gboolean 1164s # _org_project_useful_interface_skeleton_handle_set_property ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name G_GNUC_UNUSED, 1164s # const gchar *property_name, 1164s # GVariant *variant, 1164s # GError **error, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1164s # GValue value = G_VALUE_INIT; 1164s # GParamSpec *pspec; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # gboolean ret; 1164s # ret = FALSE; 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1164s # g_assert (info != NULL); 1164s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1164s # if (pspec == NULL) 1164s # { 1164s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1164s # } 1164s # else 1164s # { 1164s # if (info->use_gvariant) 1164s # g_value_set_variant (&value, variant); 1164s # else 1164s # g_dbus_gvariant_to_gvalue (variant, &value); 1164s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1164s # g_value_unset (&value); 1164s # ret = TRUE; 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1164s # { 1164s # _org_project_useful_interface_skeleton_handle_method_call, 1164s # _org_project_useful_interface_skeleton_handle_get_property, 1164s # _org_project_useful_interface_skeleton_handle_set_property, 1164s # {NULL} 1164s # }; 1164s # 1164s # static GDBusInterfaceInfo * 1164s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1164s # { 1164s # return org_project_useful_interface_interface_info (); 1164s # } 1164s # 1164s # static GDBusInterfaceVTable * 1164s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1164s # { 1164s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1164s # } 1164s # 1164s # static GVariant * 1164s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1164s # 1164s # GVariantBuilder builder; 1164s # guint n; 1164s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1164s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1164s # goto out; 1164s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1164s # { 1164s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1164s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1164s # { 1164s # GVariant *value; 1164s # 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); 1164s # if (value != NULL) 1164s # { 1164s # g_variant_take_ref (value); 1164s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1164s # g_variant_unref (value); 1164s # } 1164s # } 1164s # } 1164s # out: 1164s # return g_variant_builder_end (&builder); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1164s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1164s # 1164s # #else 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1164s # 1164s # #endif 1164s # static void 1164s # org_project_useful_interface_skeleton_finalize (GObject *object) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1164s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1164s # if (skeleton->priv->changed_properties_idle_source != NULL) 1164s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1164s # g_main_context_unref (skeleton->priv->context); 1164s # g_mutex_clear (&skeleton->priv->lock); 1164s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1164s # { 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1164s # #else 1164s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1164s # #endif 1164s # 1164s # g_mutex_init (&skeleton->priv->lock); 1164s # skeleton->priv->context = g_main_context_ref_thread_default (); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1164s # { 1164s # GObjectClass *gobject_class; 1164s # GDBusInterfaceSkeletonClass *skeleton_class; 1164s # 1164s # gobject_class = G_OBJECT_CLASS (klass); 1164s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1164s # 1164s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1164s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1164s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1164s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1164s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1164s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1164s # #endif 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_skeleton_new: 1164s # * 1164s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_skeleton_new (void) 1164s # { 1164s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1164s # } 1164s # /tmp/tmp0hh_d_fb/tmp2tnmka_d.xml: 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0hh_d_fb/tmp2tnmka_d.xml', '--output', '-', '--body'] 1164s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1164s # Output: /* 1164s # * This file is generated by gdbus-codegen, do not modify it. 1164s # * 1164s # * The license of this code is the same as for the D-Bus interface description 1164s # * it was derived from. Note that it links to GLib, so must comply with the 1164s # * LGPL linking clauses. 1164s # */ 1164s # 1164s # #ifdef HAVE_CONFIG_H 1164s # # include "config.h" 1164s # #endif 1164s # 1164s # #include 1164s # #ifdef G_OS_UNIX 1164s # # include 1164s # #endif 1164s # 1164s # #ifdef G_ENABLE_DEBUG 1164s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1164s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1164s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1164s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1164s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1164s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1164s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1164s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1164s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1164s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1164s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1164s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1164s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1164s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1164s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1164s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1164s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1164s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1164s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1164s # #else /* !G_ENABLE_DEBUG */ 1164s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1164s # * Do not access GValues directly in your code. Instead, use the 1164s # * g_value_get_*() functions 1164s # */ 1164s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1164s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1164s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1164s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1164s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1164s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1164s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1164s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1164s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1164s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1164s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1164s # #endif /* !G_ENABLE_DEBUG */ 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusArgInfo parent_struct; 1164s # gboolean use_gvariant; 1164s # } _ExtendedGDBusArgInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusMethodInfo parent_struct; 1164s # const gchar *signal_name; 1164s # gboolean pass_fdlist; 1164s # } _ExtendedGDBusMethodInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusSignalInfo parent_struct; 1164s # const gchar *signal_name; 1164s # } _ExtendedGDBusSignalInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusPropertyInfo parent_struct; 1164s # const gchar *hyphen_name; 1164s # guint use_gvariant : 1; 1164s # guint emits_changed_signal : 1; 1164s # } _ExtendedGDBusPropertyInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusInterfaceInfo parent_struct; 1164s # const gchar *hyphen_name; 1164s # } _ExtendedGDBusInterfaceInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # const _ExtendedGDBusPropertyInfo *info; 1164s # guint prop_id; 1164s # GValue orig_value; /* the value before the change */ 1164s # } ChangedProperty; 1164s # 1164s # static void 1164s # _changed_property_free (ChangedProperty *data) 1164s # { 1164s # g_value_unset (&data->orig_value); 1164s # g_free (data); 1164s # } 1164s # 1164s # static gboolean 1164s # _g_strv_equal0 (gchar **a, gchar **b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # guint n; 1164s # if (a == NULL && b == NULL) 1164s # { 1164s # ret = TRUE; 1164s # goto out; 1164s # } 1164s # if (a == NULL || b == NULL) 1164s # goto out; 1164s # if (g_strv_length (a) != g_strv_length (b)) 1164s # goto out; 1164s # for (n = 0; a[n] != NULL; n++) 1164s # if (g_strcmp0 (a[n], b[n]) != 0) 1164s # goto out; 1164s # ret = TRUE; 1164s # out: 1164s # return ret; 1164s # } 1164s # 1164s # static gboolean 1164s # _g_variant_equal0 (GVariant *a, GVariant *b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # if (a == NULL && b == NULL) 1164s # { 1164s # ret = TRUE; 1164s # goto out; 1164s # } 1164s # if (a == NULL || b == NULL) 1164s # goto out; 1164s # ret = g_variant_equal (a, b); 1164s # out: 1164s # return ret; 1164s # } 1164s # 1164s # G_GNUC_UNUSED static gboolean 1164s # _g_value_equal (const GValue *a, const GValue *b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1164s # switch (G_VALUE_TYPE (a)) 1164s # { 1164s # case G_TYPE_BOOLEAN: 1164s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1164s # break; 1164s # case G_TYPE_UCHAR: 1164s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1164s # break; 1164s # case G_TYPE_INT: 1164s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1164s # break; 1164s # case G_TYPE_UINT: 1164s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1164s # break; 1164s # case G_TYPE_INT64: 1164s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1164s # break; 1164s # case G_TYPE_UINT64: 1164s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1164s # break; 1164s # case G_TYPE_DOUBLE: 1164s # { 1164s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1164s # gdouble da = g_value_get_double (a); 1164s # gdouble db = g_value_get_double (b); 1164s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1164s # } 1164s # break; 1164s # case G_TYPE_STRING: 1164s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1164s # break; 1164s # case G_TYPE_VARIANT: 1164s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1164s # break; 1164s # default: 1164s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1164s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1164s # else 1164s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1164s # break; 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static void 1164s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT ( 1164s # GClosure *closure, 1164s # GValue *return_value, 1164s # unsigned int n_param_values, 1164s # const GValue *param_values, 1164s # void *invocation_hint G_GNUC_UNUSED, 1164s # void *marshal_data) 1164s # { 1164s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc) 1164s # (void *data1, 1164s # GDBusMethodInvocation *arg_method_invocation, 1164s # gint arg_arg_i, 1164s # void *data2); 1164s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback; 1164s # GCClosure *cc = (GCClosure*) closure; 1164s # void *data1, *data2; 1164s # gboolean v_return; 1164s # 1164s # g_return_if_fail (return_value != NULL); 1164s # g_return_if_fail (n_param_values == 3); 1164s # 1164s # if (G_CCLOSURE_SWAP_DATA (closure)) 1164s # { 1164s # data1 = closure->data; 1164s # data2 = g_value_peek_pointer (param_values + 0); 1164s # } 1164s # else 1164s # { 1164s # data1 = g_value_peek_pointer (param_values + 0); 1164s # data2 = closure->data; 1164s # } 1164s # 1164s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc) 1164s # (marshal_data ? marshal_data : cc->callback); 1164s # 1164s # v_return = 1164s # callback (data1, 1164s # g_marshal_value_peek_object (param_values + 1), 1164s # g_marshal_value_peek_int (param_values + 2), 1164s # data2); 1164s # 1164s # g_value_set_boolean (return_value, v_return); 1164s # } 1164s # 1164s # /* ------------------------------------------------------------------------ 1164s # * Code for interface org.project.UsefulInterface 1164s # * ------------------------------------------------------------------------ 1164s # */ 1164s # 1164s # /** 1164s # * SECTION:OrgProjectUsefulInterface 1164s # * @title: OrgProjectUsefulInterface 1164s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1164s # * 1164s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1164s # */ 1164s # 1164s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "arg_i", 1164s # (gchar *) "i", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers[] = 1164s # { 1164s # &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i.parent_struct, 1164s # NULL 1164s # }; 1164s # 1164s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "SingleArgMethodI", 1164s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers, 1164s # NULL, 1164s # NULL 1164s # }, 1164s # "handle-single-arg-method-i", 1164s # FALSE 1164s # }; 1164s # 1164s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1164s # { 1164s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct, 1164s # NULL 1164s # }; 1164s # 1164s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "org.project.UsefulInterface", 1164s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1164s # NULL, 1164s # NULL, 1164s # NULL 1164s # }, 1164s # "org-project-useful-interface", 1164s # }; 1164s # 1164s # 1164s # /** 1164s # * org_project_useful_interface_interface_info: 1164s # * 1164s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1164s # * 1164s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1164s # */ 1164s # GDBusInterfaceInfo * 1164s # org_project_useful_interface_interface_info (void) 1164s # { 1164s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_override_properties: 1164s # * @klass: The class structure for a #GObject derived class. 1164s # * @property_id_begin: The property id to assign to the first overridden property. 1164s # * 1164s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1164s # * The properties are overridden in the order they are defined. 1164s # * 1164s # * Returns: The last property id. 1164s # */ 1164s # guint 1164s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1164s # { 1164s # return property_id_begin - 1; 1164s # } 1164s # 1164s # 1164s # inline static void 1164s # org_project_useful_interface_method_marshal_single_arg_method_i ( 1164s # GClosure *closure, 1164s # GValue *return_value, 1164s # unsigned int n_param_values, 1164s # const GValue *param_values, 1164s # void *invocation_hint, 1164s # void *marshal_data) 1164s # { 1164s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure, 1164s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1164s # } 1164s # 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterface: 1164s # * 1164s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceIface: 1164s # * @parent_iface: The parent interface. 1164s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal. 1164s # * 1164s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1164s # */ 1164s # 1164s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1164s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1164s # 1164s # static void 1164s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1164s # { 1164s # /* GObject signals for incoming D-Bus method calls: */ 1164s # /** 1164s # * OrgProjectUsefulInterface::handle-single-arg-method-i: 1164s # * @object: A #OrgProjectUsefulInterface. 1164s # * @invocation: A #GDBusMethodInvocation. 1164s # * @arg_arg_i: Argument passed by remote caller. 1164s # * 1164s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method. 1164s # * 1164s # * 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. 1164s # * 1164s # * 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. 1164s # */ 1164s # g_signal_new ("handle-single-arg-method-i", 1164s # G_TYPE_FROM_INTERFACE (iface), 1164s # G_SIGNAL_RUN_LAST, 1164s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i), 1164s # g_signal_accumulator_true_handled, 1164s # NULL, 1164s # org_project_useful_interface_method_marshal_single_arg_method_i, 1164s # G_TYPE_BOOLEAN, 1164s # 2, 1164s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT); 1164s # 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_call_single_arg_method_i: 1164s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1164s # * @arg_arg_i: Argument to pass with the method invocation. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy. 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method. 1164s # */ 1164s # void 1164s # org_project_useful_interface_call_single_arg_method_i ( 1164s # OrgProjectUsefulInterface *proxy, 1164s # gint arg_arg_i, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1164s # "SingleArgMethodI", 1164s # g_variant_new ("(i)", 1164s # arg_arg_i), 1164s # G_DBUS_CALL_FLAGS_NONE, 1164s # -1, 1164s # cancellable, 1164s # callback, 1164s # user_data); 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_call_single_arg_method_i_finish: 1164s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i(). 1164s # * @error: Return location for error or %NULL. 1164s # * 1164s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i(). 1164s # * 1164s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1164s # */ 1164s # gboolean 1164s # org_project_useful_interface_call_single_arg_method_i_finish ( 1164s # OrgProjectUsefulInterface *proxy, 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GVariant *_ret; 1164s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1164s # if (_ret == NULL) 1164s # goto _out; 1164s # g_variant_get (_ret, 1164s # "()"); 1164s # g_variant_unref (_ret); 1164s # _out: 1164s # return _ret != NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_call_single_arg_method_i_sync: 1164s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1164s # * @arg_arg_i: Argument to pass with the method invocation. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL. 1164s # * 1164s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method. 1164s # * 1164s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1164s # */ 1164s # gboolean 1164s # org_project_useful_interface_call_single_arg_method_i_sync ( 1164s # OrgProjectUsefulInterface *proxy, 1164s # gint arg_arg_i, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GVariant *_ret; 1164s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1164s # "SingleArgMethodI", 1164s # g_variant_new ("(i)", 1164s # arg_arg_i), 1164s # G_DBUS_CALL_FLAGS_NONE, 1164s # -1, 1164s # cancellable, 1164s # error); 1164s # if (_ret == NULL) 1164s # goto _out; 1164s # g_variant_get (_ret, 1164s # "()"); 1164s # g_variant_unref (_ret); 1164s # _out: 1164s # return _ret != NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_complete_single_arg_method_i: 1164s # * @object: A #OrgProjectUsefulInterface. 1164s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1164s # * 1164s # * 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. 1164s # * 1164s # * This method will free @invocation, you cannot use it afterwards. 1164s # */ 1164s # void 1164s # org_project_useful_interface_complete_single_arg_method_i ( 1164s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1164s # GDBusMethodInvocation *invocation) 1164s # { 1164s # g_dbus_method_invocation_return_value (invocation, 1164s # g_variant_new ("()")); 1164s # } 1164s # 1164s # /* ------------------------------------------------------------------------ */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceProxy: 1164s # * 1164s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceProxyClass: 1164s # * @parent_class: The parent class. 1164s # * 1164s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1164s # */ 1164s # 1164s # struct _OrgProjectUsefulInterfaceProxyPrivate 1164s # { 1164s # GData *qdata; 1164s # }; 1164s # 1164s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1164s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1164s # 1164s # #else 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1164s # 1164s # #endif 1164s # static void 1164s # org_project_useful_interface_proxy_finalize (GObject *object) 1164s # { 1164s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1164s # g_datalist_clear (&proxy->priv->qdata); 1164s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1164s # guint prop_id G_GNUC_UNUSED, 1164s # GValue *value G_GNUC_UNUSED, 1164s # GParamSpec *pspec G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1164s # guint prop_id G_GNUC_UNUSED, 1164s # const GValue *value G_GNUC_UNUSED, 1164s # GParamSpec *pspec G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1164s # const gchar *sender_name G_GNUC_UNUSED, 1164s # const gchar *signal_name, 1164s # GVariant *parameters) 1164s # { 1164s # _ExtendedGDBusSignalInfo *info; 1164s # GVariantIter iter; 1164s # GVariant *child; 1164s # GValue *paramv; 1164s # gsize num_params; 1164s # gsize n; 1164s # guint signal_id; 1164s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1164s # if (info == NULL) 1164s # return; 1164s # num_params = g_variant_n_children (parameters); 1164s # paramv = g_new0 (GValue, num_params + 1); 1164s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_value_set_object (¶mv[0], proxy); 1164s # g_variant_iter_init (&iter, parameters); 1164s # n = 1; 1164s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1164s # { 1164s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1164s # if (arg_info->use_gvariant) 1164s # { 1164s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1164s # g_value_set_variant (¶mv[n], child); 1164s # n++; 1164s # } 1164s # else 1164s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1164s # g_variant_unref (child); 1164s # } 1164s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_signal_emitv (paramv, signal_id, 0, NULL); 1164s # for (n = 0; n < num_params + 1; n++) 1164s # g_value_unset (¶mv[n]); 1164s # g_free (paramv); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1164s # GVariant *changed_properties, 1164s # const gchar *const *invalidated_properties) 1164s # { 1164s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1164s # guint n; 1164s # const gchar *key; 1164s # GVariantIter *iter; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # g_variant_get (changed_properties, "a{sv}", &iter); 1164s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1164s # { 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1164s # g_datalist_remove_data (&proxy->priv->qdata, key); 1164s # if (info != NULL) 1164s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1164s # } 1164s # g_variant_iter_free (iter); 1164s # for (n = 0; invalidated_properties[n] != NULL; n++) 1164s # { 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1164s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1164s # if (info != NULL) 1164s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1164s # } 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1164s # { 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1164s # #else 1164s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1164s # #endif 1164s # 1164s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1164s # { 1164s # GObjectClass *gobject_class; 1164s # GDBusProxyClass *proxy_class; 1164s # 1164s # gobject_class = G_OBJECT_CLASS (klass); 1164s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1164s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1164s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1164s # 1164s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1164s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1164s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1164s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1164s # #endif 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new: 1164s # * @connection: A #GDBusConnection. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1164s # * 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1164s # */ 1164s # void 1164s # org_project_useful_interface_proxy_new ( 1164s # GDBusConnection *connection, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # g_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); 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_finish: 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_finish ( 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GObject *ret; 1164s # GObject *source_object; 1164s # source_object = g_async_result_get_source_object (res); 1164s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1164s # g_object_unref (source_object); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_sync: 1164s # * @connection: A #GDBusConnection. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1164s # * 1164s # * The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_sync ( 1164s # GDBusConnection *connection, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GInitable *ret; 1164s # 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); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_for_bus: 1164s # * @bus_type: A #GBusType. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: A bus name (well-known or unique). 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1164s # * 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1164s # */ 1164s # void 1164s # org_project_useful_interface_proxy_new_for_bus ( 1164s # GBusType bus_type, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # g_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); 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_for_bus_finish: 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_for_bus_finish ( 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GObject *ret; 1164s # GObject *source_object; 1164s # source_object = g_async_result_get_source_object (res); 1164s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1164s # g_object_unref (source_object); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_for_bus_sync: 1164s # * @bus_type: A #GBusType. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: A bus name (well-known or unique). 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1164s # * 1164s # * The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_for_bus_sync ( 1164s # GBusType bus_type, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GInitable *ret; 1164s # 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); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # 1164s # /* ------------------------------------------------------------------------ */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceSkeleton: 1164s # * 1164s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceSkeletonClass: 1164s # * @parent_class: The parent class. 1164s # * 1164s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1164s # */ 1164s # 1164s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1164s # { 1164s # GValue *properties; 1164s # GList *changed_properties; 1164s # GSource *changed_properties_idle_source; 1164s # GMainContext *context; 1164s # GMutex lock; 1164s # }; 1164s # 1164s # static void 1164s # _org_project_useful_interface_skeleton_handle_method_call ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name, 1164s # const gchar *method_name, 1164s # GVariant *parameters, 1164s # GDBusMethodInvocation *invocation, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1164s # _ExtendedGDBusMethodInfo *info; 1164s # GVariantIter iter; 1164s # GVariant *child; 1164s # GValue *paramv; 1164s # gsize num_params; 1164s # guint num_extra; 1164s # gsize n; 1164s # guint signal_id; 1164s # GValue return_value = G_VALUE_INIT; 1164s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1164s # g_assert (info != NULL); 1164s # num_params = g_variant_n_children (parameters); 1164s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1164s # n = 0; 1164s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_value_set_object (¶mv[n++], skeleton); 1164s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1164s # g_value_set_object (¶mv[n++], invocation); 1164s # if (info->pass_fdlist) 1164s # { 1164s # #ifdef G_OS_UNIX 1164s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1164s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1164s # #else 1164s # g_assert_not_reached (); 1164s # #endif 1164s # } 1164s # g_variant_iter_init (&iter, parameters); 1164s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1164s # { 1164s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1164s # if (arg_info->use_gvariant) 1164s # { 1164s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1164s # g_value_set_variant (¶mv[n], child); 1164s # n++; 1164s # } 1164s # else 1164s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1164s # g_variant_unref (child); 1164s # } 1164s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1164s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1164s # if (!g_value_get_boolean (&return_value)) 1164s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1164s # g_value_unset (&return_value); 1164s # for (n = 0; n < num_params + num_extra; n++) 1164s # g_value_unset (¶mv[n]); 1164s # g_free (paramv); 1164s # } 1164s # 1164s # static GVariant * 1164s # _org_project_useful_interface_skeleton_handle_get_property ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name G_GNUC_UNUSED, 1164s # const gchar *property_name, 1164s # GError **error, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1164s # GValue value = G_VALUE_INIT; 1164s # GParamSpec *pspec; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # GVariant *ret; 1164s # ret = NULL; 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1164s # g_assert (info != NULL); 1164s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1164s # if (pspec == NULL) 1164s # { 1164s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1164s # } 1164s # else 1164s # { 1164s # g_value_init (&value, pspec->value_type); 1164s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1164s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1164s # g_value_unset (&value); 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static gboolean 1164s # _org_project_useful_interface_skeleton_handle_set_property ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name G_GNUC_UNUSED, 1164s # const gchar *property_name, 1164s # GVariant *variant, 1164s # GError **error, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1164s # GValue value = G_VALUE_INIT; 1164s # GParamSpec *pspec; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # gboolean ret; 1164s # ret = FALSE; 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1164s # g_assert (info != NULL); 1164s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1164s # if (pspec == NULL) 1164s # { 1164s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1164s # } 1164s # else 1164s # { 1164s # if (info->use_gvariant) 1164s # g_value_set_variant (&value, variant); 1164s # else 1164s # g_dbus_gvariant_to_gvalue (variant, &value); 1164s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1164s # g_value_unset (&value); 1164s # ret = TRUE; 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1164s # { 1164s # _org_project_useful_interface_skeleton_handle_method_call, 1164s # _org_project_useful_interface_skeleton_handle_get_property, 1164s # _org_project_useful_interface_skeleton_handle_set_property, 1164s # {NULL} 1164s # }; 1164s # 1164s # static GDBusInterfaceInfo * 1164s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1164s # { 1164s # return org_project_useful_interface_interface_info (); 1164s # } 1164s # 1164s # static GDBusInterfaceVTable * 1164s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1164s # { 1164s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1164s # } 1164s # 1164s # static GVariant * 1164s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1164s # 1164s # GVariantBuilder builder; 1164s # guint n; 1164s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1164s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1164s # goto out; 1164s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1164s # { 1164s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1164s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1164s # { 1164s # GVariant *value; 1164s # 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); 1164s # if (value != NULL) 1164s # { 1164s # g_variant_take_ref (value); 1164s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1164s # g_variant_unref (value); 1164s # } 1164s # } 1164s # } 1164s # out: 1164s # return g_variant_builder_end (&builder); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1164s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1164s # 1164s # #else 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1164s # 1164s # #endif 1164s # static void 1164s # org_project_useful_interface_skeleton_finalize (GObject *object) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1164s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1164s # if (skeleton->priv->changed_properties_idle_source != NULL) 1164s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1164s # g_main_context_unref (skeleton->priv->context); 1164s # g_mutex_clear (&skeleton->priv->lock); 1164s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1164s # { 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1164s # #else 1164s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1164s # #endif 1164s # 1164s # g_mutex_init (&skeleton->priv->lock); 1164s # skeleton->priv->context = g_main_context_ref_thread_default (); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1164s # { 1164s # GObjectClass *gobject_class; 1164s # GDBusInterfaceSkeletonClass *skeleton_class; 1164s # 1164s # gobject_class = G_OBJECT_CLASS (klass); 1164s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1164s # 1164s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1164s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1164s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1164s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1164s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1164s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1164s # #endif 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_skeleton_new: 1164s # * 1164s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_skeleton_new (void) 1164s # { 1164s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1164s # } 1164s # /tmp/tmp0hh_d_fb/tmphx46ruwo.xml: 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0hh_d_fb/tmphx46ruwo.xml', '--output', '-', '--body'] 1164s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1164s # Output: /* 1164s # * This file is generated by gdbus-codegen, do not modify it. 1164s # * 1164s # * The license of this code is the same as for the D-Bus interface description 1164s # * it was derived from. Note that it links to GLib, so must comply with the 1164s # * LGPL linking clauses. 1164s # */ 1164s # 1164s # #ifdef HAVE_CONFIG_H 1164s # # include "config.h" 1164s # #endif 1164s # 1164s # #include 1164s # #ifdef G_OS_UNIX 1164s # # include 1164s # #endif 1164s # 1164s # #ifdef G_ENABLE_DEBUG 1164s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1164s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1164s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1164s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1164s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1164s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1164s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1164s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1164s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1164s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1164s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1164s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1164s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1164s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1164s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1164s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1164s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1164s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1164s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1164s # #else /* !G_ENABLE_DEBUG */ 1164s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1164s # * Do not access GValues directly in your code. Instead, use the 1164s # * g_value_get_*() functions 1164s # */ 1164s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1164s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1164s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1164s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1164s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1164s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1164s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1164s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1164s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1164s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1164s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1164s # #endif /* !G_ENABLE_DEBUG */ 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusArgInfo parent_struct; 1164s # gboolean use_gvariant; 1164s # } _ExtendedGDBusArgInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusMethodInfo parent_struct; 1164s # const gchar *signal_name; 1164s # gboolean pass_fdlist; 1164s # } _ExtendedGDBusMethodInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusSignalInfo parent_struct; 1164s # const gchar *signal_name; 1164s # } _ExtendedGDBusSignalInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusPropertyInfo parent_struct; 1164s # const gchar *hyphen_name; 1164s # guint use_gvariant : 1; 1164s # guint emits_changed_signal : 1; 1164s # } _ExtendedGDBusPropertyInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusInterfaceInfo parent_struct; 1164s # const gchar *hyphen_name; 1164s # } _ExtendedGDBusInterfaceInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # const _ExtendedGDBusPropertyInfo *info; 1164s # guint prop_id; 1164s # GValue orig_value; /* the value before the change */ 1164s # } ChangedProperty; 1164s # 1164s # static void 1164s # _changed_property_free (ChangedProperty *data) 1164s # { 1164s # g_value_unset (&data->orig_value); 1164s # g_free (data); 1164s # } 1164s # 1164s # static gboolean 1164s # _g_strv_equal0 (gchar **a, gchar **b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # guint n; 1164s # if (a == NULL && b == NULL) 1164s # { 1164s # ret = TRUE; 1164s # goto out; 1164s # } 1164s # if (a == NULL || b == NULL) 1164s # goto out; 1164s # if (g_strv_length (a) != g_strv_length (b)) 1164s # goto out; 1164s # for (n = 0; a[n] != NULL; n++) 1164s # if (g_strcmp0 (a[n], b[n]) != 0) 1164s # goto out; 1164s # ret = TRUE; 1164s # out: 1164s # return ret; 1164s # } 1164s # 1164s # static gboolean 1164s # _g_variant_equal0 (GVariant *a, GVariant *b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # if (a == NULL && b == NULL) 1164s # { 1164s # ret = TRUE; 1164s # goto out; 1164s # } 1164s # if (a == NULL || b == NULL) 1164s # goto out; 1164s # ret = g_variant_equal (a, b); 1164s # out: 1164s # return ret; 1164s # } 1164s # 1164s # G_GNUC_UNUSED static gboolean 1164s # _g_value_equal (const GValue *a, const GValue *b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1164s # switch (G_VALUE_TYPE (a)) 1164s # { 1164s # case G_TYPE_BOOLEAN: 1164s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1164s # break; 1164s # case G_TYPE_UCHAR: 1164s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1164s # break; 1164s # case G_TYPE_INT: 1164s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1164s # break; 1164s # case G_TYPE_UINT: 1164s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1164s # break; 1164s # case G_TYPE_INT64: 1164s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1164s # break; 1164s # case G_TYPE_UINT64: 1164s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1164s # break; 1164s # case G_TYPE_DOUBLE: 1164s # { 1164s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1164s # gdouble da = g_value_get_double (a); 1164s # gdouble db = g_value_get_double (b); 1164s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1164s # } 1164s # break; 1164s # case G_TYPE_STRING: 1164s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1164s # break; 1164s # case G_TYPE_VARIANT: 1164s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1164s # break; 1164s # default: 1164s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1164s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1164s # else 1164s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1164s # break; 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static void 1164s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT ( 1164s # GClosure *closure, 1164s # GValue *return_value, 1164s # unsigned int n_param_values, 1164s # const GValue *param_values, 1164s # void *invocation_hint G_GNUC_UNUSED, 1164s # void *marshal_data) 1164s # { 1164s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc) 1164s # (void *data1, 1164s # GDBusMethodInvocation *arg_method_invocation, 1164s # guint arg_arg_u, 1164s # void *data2); 1164s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback; 1164s # GCClosure *cc = (GCClosure*) closure; 1164s # void *data1, *data2; 1164s # gboolean v_return; 1164s # 1164s # g_return_if_fail (return_value != NULL); 1164s # g_return_if_fail (n_param_values == 3); 1164s # 1164s # if (G_CCLOSURE_SWAP_DATA (closure)) 1164s # { 1164s # data1 = closure->data; 1164s # data2 = g_value_peek_pointer (param_values + 0); 1164s # } 1164s # else 1164s # { 1164s # data1 = g_value_peek_pointer (param_values + 0); 1164s # data2 = closure->data; 1164s # } 1164s # 1164s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc) 1164s # (marshal_data ? marshal_data : cc->callback); 1164s # 1164s # v_return = 1164s # callback (data1, 1164s # g_marshal_value_peek_object (param_values + 1), 1164s # g_marshal_value_peek_uint (param_values + 2), 1164s # data2); 1164s # 1164s # g_value_set_boolean (return_value, v_return); 1164s # } 1164s # 1164s # /* ------------------------------------------------------------------------ 1164s # * Code for interface org.project.UsefulInterface 1164s # * ------------------------------------------------------------------------ 1164s # */ 1164s # 1164s # /** 1164s # * SECTION:OrgProjectUsefulInterface 1164s # * @title: OrgProjectUsefulInterface 1164s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1164s # * 1164s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1164s # */ 1164s # 1164s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "arg_u", 1164s # (gchar *) "u", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers[] = 1164s # { 1164s # &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u.parent_struct, 1164s # NULL 1164s # }; 1164s # 1164s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "SingleArgMethodU", 1164s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers, 1164s # NULL, 1164s # NULL 1164s # }, 1164s # "handle-single-arg-method-u", 1164s # FALSE 1164s # }; 1164s # 1164s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1164s # { 1164s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct, 1164s # NULL 1164s # }; 1164s # 1164s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "org.project.UsefulInterface", 1164s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1164s # NULL, 1164s # NULL, 1164s # NULL 1164s # }, 1164s # "org-project-useful-interface", 1164s # }; 1164s # 1164s # 1164s # /** 1164s # * org_project_useful_interface_interface_info: 1164s # * 1164s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1164s # * 1164s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1164s # */ 1164s # GDBusInterfaceInfo * 1164s # org_project_useful_interface_interface_info (void) 1164s # { 1164s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_override_properties: 1164s # * @klass: The class structure for a #GObject derived class. 1164s # * @property_id_begin: The property id to assign to the first overridden property. 1164s # * 1164s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1164s # * The properties are overridden in the order they are defined. 1164s # * 1164s # * Returns: The last property id. 1164s # */ 1164s # guint 1164s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1164s # { 1164s # return property_id_begin - 1; 1164s # } 1164s # 1164s # 1164s # inline static void 1164s # org_project_useful_interface_method_marshal_single_arg_method_u ( 1164s # GClosure *closure, 1164s # GValue *return_value, 1164s # unsigned int n_param_values, 1164s # const GValue *param_values, 1164s # void *invocation_hint, 1164s # void *marshal_data) 1164s # { 1164s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure, 1164s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1164s # } 1164s # 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterface: 1164s # * 1164s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceIface: 1164s # * @parent_iface: The parent interface. 1164s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal. 1164s # * 1164s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1164s # */ 1164s # 1164s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1164s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1164s # 1164s # static void 1164s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1164s # { 1164s # /* GObject signals for incoming D-Bus method calls: */ 1164s # /** 1164s # * OrgProjectUsefulInterface::handle-single-arg-method-u: 1164s # * @object: A #OrgProjectUsefulInterface. 1164s # * @invocation: A #GDBusMethodInvocation. 1164s # * @arg_arg_u: Argument passed by remote caller. 1164s # * 1164s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method. 1164s # * 1164s # * 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. 1164s # * 1164s # * 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. 1164s # */ 1164s # g_signal_new ("handle-single-arg-method-u", 1164s # G_TYPE_FROM_INTERFACE (iface), 1164s # G_SIGNAL_RUN_LAST, 1164s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u), 1164s # g_signal_accumulator_true_handled, 1164s # NULL, 1164s # org_project_useful_interface_method_marshal_single_arg_method_u, 1164s # G_TYPE_BOOLEAN, 1164s # 2, 1164s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); 1164s # 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_call_single_arg_method_u: 1164s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1164s # * @arg_arg_u: Argument to pass with the method invocation. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy. 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method. 1164s # */ 1164s # void 1164s # org_project_useful_interface_call_single_arg_method_u ( 1164s # OrgProjectUsefulInterface *proxy, 1164s # guint arg_arg_u, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1164s # "SingleArgMethodU", 1164s # g_variant_new ("(u)", 1164s # arg_arg_u), 1164s # G_DBUS_CALL_FLAGS_NONE, 1164s # -1, 1164s # cancellable, 1164s # callback, 1164s # user_data); 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_call_single_arg_method_u_finish: 1164s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u(). 1164s # * @error: Return location for error or %NULL. 1164s # * 1164s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u(). 1164s # * 1164s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1164s # */ 1164s # gboolean 1164s # org_project_useful_interface_call_single_arg_method_u_finish ( 1164s # OrgProjectUsefulInterface *proxy, 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GVariant *_ret; 1164s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1164s # if (_ret == NULL) 1164s # goto _out; 1164s # g_variant_get (_ret, 1164s # "()"); 1164s # g_variant_unref (_ret); 1164s # _out: 1164s # return _ret != NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_call_single_arg_method_u_sync: 1164s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1164s # * @arg_arg_u: Argument to pass with the method invocation. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL. 1164s # * 1164s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method. 1164s # * 1164s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1164s # */ 1164s # gboolean 1164s # org_project_useful_interface_call_single_arg_method_u_sync ( 1164s # OrgProjectUsefulInterface *proxy, 1164s # guint arg_arg_u, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GVariant *_ret; 1164s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1164s # "SingleArgMethodU", 1164s # g_variant_new ("(u)", 1164s # arg_arg_u), 1164s # G_DBUS_CALL_FLAGS_NONE, 1164s # -1, 1164s # cancellable, 1164s # error); 1164s # if (_ret == NULL) 1164s # goto _out; 1164s # g_variant_get (_ret, 1164s # "()"); 1164s # g_variant_unref (_ret); 1164s # _out: 1164s # return _ret != NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_complete_single_arg_method_u: 1164s # * @object: A #OrgProjectUsefulInterface. 1164s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1164s # * 1164s # * 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. 1164s # * 1164s # * This method will free @invocation, you cannot use it afterwards. 1164s # */ 1164s # void 1164s # org_project_useful_interface_complete_single_arg_method_u ( 1164s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1164s # GDBusMethodInvocation *invocation) 1164s # { 1164s # g_dbus_method_invocation_return_value (invocation, 1164s # g_variant_new ("()")); 1164s # } 1164s # 1164s # /* ------------------------------------------------------------------------ */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceProxy: 1164s # * 1164s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceProxyClass: 1164s # * @parent_class: The parent class. 1164s # * 1164s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1164s # */ 1164s # 1164s # struct _OrgProjectUsefulInterfaceProxyPrivate 1164s # { 1164s # GData *qdata; 1164s # }; 1164s # 1164s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1164s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1164s # 1164s # #else 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1164s # 1164s # #endif 1164s # static void 1164s # org_project_useful_interface_proxy_finalize (GObject *object) 1164s # { 1164s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1164s # g_datalist_clear (&proxy->priv->qdata); 1164s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1164s # guint prop_id G_GNUC_UNUSED, 1164s # GValue *value G_GNUC_UNUSED, 1164s # GParamSpec *pspec G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1164s # guint prop_id G_GNUC_UNUSED, 1164s # const GValue *value G_GNUC_UNUSED, 1164s # GParamSpec *pspec G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1164s # const gchar *sender_name G_GNUC_UNUSED, 1164s # const gchar *signal_name, 1164s # GVariant *parameters) 1164s # { 1164s # _ExtendedGDBusSignalInfo *info; 1164s # GVariantIter iter; 1164s # GVariant *child; 1164s # GValue *paramv; 1164s # gsize num_params; 1164s # gsize n; 1164s # guint signal_id; 1164s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1164s # if (info == NULL) 1164s # return; 1164s # num_params = g_variant_n_children (parameters); 1164s # paramv = g_new0 (GValue, num_params + 1); 1164s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_value_set_object (¶mv[0], proxy); 1164s # g_variant_iter_init (&iter, parameters); 1164s # n = 1; 1164s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1164s # { 1164s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1164s # if (arg_info->use_gvariant) 1164s # { 1164s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1164s # g_value_set_variant (¶mv[n], child); 1164s # n++; 1164s # } 1164s # else 1164s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1164s # g_variant_unref (child); 1164s # } 1164s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_signal_emitv (paramv, signal_id, 0, NULL); 1164s # for (n = 0; n < num_params + 1; n++) 1164s # g_value_unset (¶mv[n]); 1164s # g_free (paramv); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1164s # GVariant *changed_properties, 1164s # const gchar *const *invalidated_properties) 1164s # { 1164s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1164s # guint n; 1164s # const gchar *key; 1164s # GVariantIter *iter; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # g_variant_get (changed_properties, "a{sv}", &iter); 1164s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1164s # { 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1164s # g_datalist_remove_data (&proxy->priv->qdata, key); 1164s # if (info != NULL) 1164s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1164s # } 1164s # g_variant_iter_free (iter); 1164s # for (n = 0; invalidated_properties[n] != NULL; n++) 1164s # { 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1164s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1164s # if (info != NULL) 1164s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1164s # } 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1164s # { 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1164s # #else 1164s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1164s # #endif 1164s # 1164s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1164s # { 1164s # GObjectClass *gobject_class; 1164s # GDBusProxyClass *proxy_class; 1164s # 1164s # gobject_class = G_OBJECT_CLASS (klass); 1164s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1164s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1164s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1164s # 1164s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1164s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1164s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1164s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1164s # #endif 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new: 1164s # * @connection: A #GDBusConnection. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1164s # * 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1164s # */ 1164s # void 1164s # org_project_useful_interface_proxy_new ( 1164s # GDBusConnection *connection, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # g_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); 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_finish: 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_finish ( 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GObject *ret; 1164s # GObject *source_object; 1164s # source_object = g_async_result_get_source_object (res); 1164s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1164s # g_object_unref (source_object); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_sync: 1164s # * @connection: A #GDBusConnection. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1164s # * 1164s # * The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_sync ( 1164s # GDBusConnection *connection, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GInitable *ret; 1164s # 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); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_for_bus: 1164s # * @bus_type: A #GBusType. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: A bus name (well-known or unique). 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1164s # * 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1164s # */ 1164s # void 1164s # org_project_useful_interface_proxy_new_for_bus ( 1164s # GBusType bus_type, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # g_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); 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_for_bus_finish: 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_for_bus_finish ( 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GObject *ret; 1164s # GObject *source_object; 1164s # source_object = g_async_result_get_source_object (res); 1164s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1164s # g_object_unref (source_object); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_for_bus_sync: 1164s # * @bus_type: A #GBusType. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: A bus name (well-known or unique). 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1164s # * 1164s # * The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_for_bus_sync ( 1164s # GBusType bus_type, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GInitable *ret; 1164s # 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); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # 1164s # /* ------------------------------------------------------------------------ */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceSkeleton: 1164s # * 1164s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceSkeletonClass: 1164s # * @parent_class: The parent class. 1164s # * 1164s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1164s # */ 1164s # 1164s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1164s # { 1164s # GValue *properties; 1164s # GList *changed_properties; 1164s # GSource *changed_properties_idle_source; 1164s # GMainContext *context; 1164s # GMutex lock; 1164s # }; 1164s # 1164s # static void 1164s # _org_project_useful_interface_skeleton_handle_method_call ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name, 1164s # const gchar *method_name, 1164s # GVariant *parameters, 1164s # GDBusMethodInvocation *invocation, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1164s # _ExtendedGDBusMethodInfo *info; 1164s # GVariantIter iter; 1164s # GVariant *child; 1164s # GValue *paramv; 1164s # gsize num_params; 1164s # guint num_extra; 1164s # gsize n; 1164s # guint signal_id; 1164s # GValue return_value = G_VALUE_INIT; 1164s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1164s # g_assert (info != NULL); 1164s # num_params = g_variant_n_children (parameters); 1164s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1164s # n = 0; 1164s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_value_set_object (¶mv[n++], skeleton); 1164s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1164s # g_value_set_object (¶mv[n++], invocation); 1164s # if (info->pass_fdlist) 1164s # { 1164s # #ifdef G_OS_UNIX 1164s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1164s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1164s # #else 1164s # g_assert_not_reached (); 1164s # #endif 1164s # } 1164s # g_variant_iter_init (&iter, parameters); 1164s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1164s # { 1164s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1164s # if (arg_info->use_gvariant) 1164s # { 1164s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1164s # g_value_set_variant (¶mv[n], child); 1164s # n++; 1164s # } 1164s # else 1164s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1164s # g_variant_unref (child); 1164s # } 1164s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1164s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1164s # if (!g_value_get_boolean (&return_value)) 1164s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1164s # g_value_unset (&return_value); 1164s # for (n = 0; n < num_params + num_extra; n++) 1164s # g_value_unset (¶mv[n]); 1164s # g_free (paramv); 1164s # } 1164s # 1164s # static GVariant * 1164s # _org_project_useful_interface_skeleton_handle_get_property ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name G_GNUC_UNUSED, 1164s # const gchar *property_name, 1164s # GError **error, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1164s # GValue value = G_VALUE_INIT; 1164s # GParamSpec *pspec; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # GVariant *ret; 1164s # ret = NULL; 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1164s # g_assert (info != NULL); 1164s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1164s # if (pspec == NULL) 1164s # { 1164s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1164s # } 1164s # else 1164s # { 1164s # g_value_init (&value, pspec->value_type); 1164s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1164s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1164s # g_value_unset (&value); 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static gboolean 1164s # _org_project_useful_interface_skeleton_handle_set_property ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name G_GNUC_UNUSED, 1164s # const gchar *property_name, 1164s # GVariant *variant, 1164s # GError **error, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1164s # GValue value = G_VALUE_INIT; 1164s # GParamSpec *pspec; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # gboolean ret; 1164s # ret = FALSE; 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1164s # g_assert (info != NULL); 1164s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1164s # if (pspec == NULL) 1164s # { 1164s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1164s # } 1164s # else 1164s # { 1164s # if (info->use_gvariant) 1164s # g_value_set_variant (&value, variant); 1164s # else 1164s # g_dbus_gvariant_to_gvalue (variant, &value); 1164s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1164s # g_value_unset (&value); 1164s # ret = TRUE; 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1164s # { 1164s # _org_project_useful_interface_skeleton_handle_method_call, 1164s # _org_project_useful_interface_skeleton_handle_get_property, 1164s # _org_project_useful_interface_skeleton_handle_set_property, 1164s # {NULL} 1164s # }; 1164s # 1164s # static GDBusInterfaceInfo * 1164s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1164s # { 1164s # return org_project_useful_interface_interface_info (); 1164s # } 1164s # 1164s # static GDBusInterfaceVTable * 1164s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1164s # { 1164s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1164s # } 1164s # 1164s # static GVariant * 1164s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1164s # 1164s # GVariantBuilder builder; 1164s # guint n; 1164s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1164s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1164s # goto out; 1164s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1164s # { 1164s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1164s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1164s # { 1164s # GVariant *value; 1164s # 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); 1164s # if (value != NULL) 1164s # { 1164s # g_variant_take_ref (value); 1164s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1164s # g_variant_unref (value); 1164s # } 1164s # } 1164s # } 1164s # out: 1164s # return g_variant_builder_end (&builder); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1164s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1164s # 1164s # #else 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1164s # 1164s # #endif 1164s # static void 1164s # org_project_useful_interface_skeleton_finalize (GObject *object) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1164s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1164s # if (skeleton->priv->changed_properties_idle_source != NULL) 1164s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1164s # g_main_context_unref (skeleton->priv->context); 1164s # g_mutex_clear (&skeleton->priv->lock); 1164s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1164s # { 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1164s # #else 1164s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1164s # #endif 1164s # 1164s # g_mutex_init (&skeleton->priv->lock); 1164s # skeleton->priv->context = g_main_context_ref_thread_default (); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1164s # { 1164s # GObjectClass *gobject_class; 1164s # GDBusInterfaceSkeletonClass *skeleton_class; 1164s # 1164s # gobject_class = G_OBJECT_CLASS (klass); 1164s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1164s # 1164s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1164s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1164s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1164s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1164s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1164s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1164s # #endif 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_skeleton_new: 1164s # * 1164s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_skeleton_new (void) 1164s # { 1164s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1164s # } 1164s # /tmp/tmp0hh_d_fb/tmpnnof0knv.xml: 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0hh_d_fb/tmpnnof0knv.xml', '--output', '-', '--body'] 1164s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1164s # Output: /* 1164s # * This file is generated by gdbus-codegen, do not modify it. 1164s # * 1164s # * The license of this code is the same as for the D-Bus interface description 1164s # * it was derived from. Note that it links to GLib, so must comply with the 1164s # * LGPL linking clauses. 1164s # */ 1164s # 1164s # #ifdef HAVE_CONFIG_H 1164s # # include "config.h" 1164s # #endif 1164s # 1164s # #include 1164s # #ifdef G_OS_UNIX 1164s # # include 1164s # #endif 1164s # 1164s # #ifdef G_ENABLE_DEBUG 1164s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1164s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1164s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1164s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1164s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1164s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1164s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1164s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1164s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1164s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1164s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1164s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1164s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1164s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1164s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1164s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1164s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1164s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1164s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1164s # #else /* !G_ENABLE_DEBUG */ 1164s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1164s # * Do not access GValues directly in your code. Instead, use the 1164s # * g_value_get_*() functions 1164s # */ 1164s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1164s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1164s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1164s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1164s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1164s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1164s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1164s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1164s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1164s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1164s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1164s # #endif /* !G_ENABLE_DEBUG */ 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusArgInfo parent_struct; 1164s # gboolean use_gvariant; 1164s # } _ExtendedGDBusArgInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusMethodInfo parent_struct; 1164s # const gchar *signal_name; 1164s # gboolean pass_fdlist; 1164s # } _ExtendedGDBusMethodInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusSignalInfo parent_struct; 1164s # const gchar *signal_name; 1164s # } _ExtendedGDBusSignalInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusPropertyInfo parent_struct; 1164s # const gchar *hyphen_name; 1164s # guint use_gvariant : 1; 1164s # guint emits_changed_signal : 1; 1164s # } _ExtendedGDBusPropertyInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusInterfaceInfo parent_struct; 1164s # const gchar *hyphen_name; 1164s # } _ExtendedGDBusInterfaceInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # const _ExtendedGDBusPropertyInfo *info; 1164s # guint prop_id; 1164s # GValue orig_value; /* the value before the change */ 1164s # } ChangedProperty; 1164s # 1164s # static void 1164s # _changed_property_free (ChangedProperty *data) 1164s # { 1164s # g_value_unset (&data->orig_value); 1164s # g_free (data); 1164s # } 1164s # 1164s # static gboolean 1164s # _g_strv_equal0 (gchar **a, gchar **b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # guint n; 1164s # if (a == NULL && b == NULL) 1164s # { 1164s # ret = TRUE; 1164s # goto out; 1164s # } 1164s # if (a == NULL || b == NULL) 1164s # goto out; 1164s # if (g_strv_length (a) != g_strv_length (b)) 1164s # goto out; 1164s # for (n = 0; a[n] != NULL; n++) 1164s # if (g_strcmp0 (a[n], b[n]) != 0) 1164s # goto out; 1164s # ret = TRUE; 1164s # out: 1164s # return ret; 1164s # } 1164s # 1164s # static gboolean 1164s # _g_variant_equal0 (GVariant *a, GVariant *b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # if (a == NULL && b == NULL) 1164s # { 1164s # ret = TRUE; 1164s # goto out; 1164s # } 1164s # if (a == NULL || b == NULL) 1164s # goto out; 1164s # ret = g_variant_equal (a, b); 1164s # out: 1164s # return ret; 1164s # } 1164s # 1164s # G_GNUC_UNUSED static gboolean 1164s # _g_value_equal (const GValue *a, const GValue *b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1164s # switch (G_VALUE_TYPE (a)) 1164s # { 1164s # case G_TYPE_BOOLEAN: 1164s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1164s # break; 1164s # case G_TYPE_UCHAR: 1164s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1164s # break; 1164s # case G_TYPE_INT: 1164s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1164s # break; 1164s # case G_TYPE_UINT: 1164s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1164s # break; 1164s # case G_TYPE_INT64: 1164s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1164s # break; 1164s # case G_TYPE_UINT64: 1164s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1164s # break; 1164s # case G_TYPE_DOUBLE: 1164s # { 1164s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1164s # gdouble da = g_value_get_double (a); 1164s # gdouble db = g_value_get_double (b); 1164s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1164s # } 1164s # break; 1164s # case G_TYPE_STRING: 1164s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1164s # break; 1164s # case G_TYPE_VARIANT: 1164s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1164s # break; 1164s # default: 1164s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1164s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1164s # else 1164s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1164s # break; 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static void 1164s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 ( 1164s # GClosure *closure, 1164s # GValue *return_value, 1164s # unsigned int n_param_values, 1164s # const GValue *param_values, 1164s # void *invocation_hint G_GNUC_UNUSED, 1164s # void *marshal_data) 1164s # { 1164s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectInt64Func) 1164s # (void *data1, 1164s # GDBusMethodInvocation *arg_method_invocation, 1164s # gint64 arg_arg_x, 1164s # void *data2); 1164s # _GDbusCodegenMarshalBoolean_ObjectInt64Func callback; 1164s # GCClosure *cc = (GCClosure*) closure; 1164s # void *data1, *data2; 1164s # gboolean v_return; 1164s # 1164s # g_return_if_fail (return_value != NULL); 1164s # g_return_if_fail (n_param_values == 3); 1164s # 1164s # if (G_CCLOSURE_SWAP_DATA (closure)) 1164s # { 1164s # data1 = closure->data; 1164s # data2 = g_value_peek_pointer (param_values + 0); 1164s # } 1164s # else 1164s # { 1164s # data1 = g_value_peek_pointer (param_values + 0); 1164s # data2 = closure->data; 1164s # } 1164s # 1164s # callback = (_GDbusCodegenMarshalBoolean_ObjectInt64Func) 1164s # (marshal_data ? marshal_data : cc->callback); 1164s # 1164s # v_return = 1164s # callback (data1, 1164s # g_marshal_value_peek_object (param_values + 1), 1164s # g_marshal_value_peek_int64 (param_values + 2), 1164s # data2); 1164s # 1164s # g_value_set_boolean (return_value, v_return); 1164s # } 1164s # 1164s # /* ------------------------------------------------------------------------ 1164s # * Code for interface org.project.UsefulInterface 1164s # * ------------------------------------------------------------------------ 1164s # */ 1164s # 1164s # /** 1164s # * SECTION:OrgProjectUsefulInterface 1164s # * @title: OrgProjectUsefulInterface 1164s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1164s # * 1164s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1164s # */ 1164s # 1164s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "arg_x", 1164s # (gchar *) "x", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers[] = 1164s # { 1164s # &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x.parent_struct, 1164s # NULL 1164s # }; 1164s # 1164s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "SingleArgMethodX", 1164s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers, 1164s # NULL, 1164s # NULL 1164s # }, 1164s # "handle-single-arg-method-x", 1164s # FALSE 1164s # }; 1164s # 1164s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1164s # { 1164s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct, 1164s # NULL 1164s # }; 1164s # 1164s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "org.project.UsefulInterface", 1164s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1164s # NULL, 1164s # NULL, 1164s # NULL 1164s # }, 1164s # "org-project-useful-interface", 1164s # }; 1164s # 1164s # 1164s # /** 1164s # * org_project_useful_interface_interface_info: 1164s # * 1164s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1164s # * 1164s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1164s # */ 1164s # GDBusInterfaceInfo * 1164s # org_project_useful_interface_interface_info (void) 1164s # { 1164s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_override_properties: 1164s # * @klass: The class structure for a #GObject derived class. 1164s # * @property_id_begin: The property id to assign to the first overridden property. 1164s # * 1164s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1164s # * The properties are overridden in the order they are defined. 1164s # * 1164s # * Returns: The last property id. 1164s # */ 1164s # guint 1164s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1164s # { 1164s # return property_id_begin - 1; 1164s # } 1164s # 1164s # 1164s # inline static void 1164s # org_project_useful_interface_method_marshal_single_arg_method_x ( 1164s # GClosure *closure, 1164s # GValue *return_value, 1164s # unsigned int n_param_values, 1164s # const GValue *param_values, 1164s # void *invocation_hint, 1164s # void *marshal_data) 1164s # { 1164s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 (closure, 1164s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1164s # } 1164s # 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterface: 1164s # * 1164s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceIface: 1164s # * @parent_iface: The parent interface. 1164s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal. 1164s # * 1164s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1164s # */ 1164s # 1164s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1164s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1164s # 1164s # static void 1164s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1164s # { 1164s # /* GObject signals for incoming D-Bus method calls: */ 1164s # /** 1164s # * OrgProjectUsefulInterface::handle-single-arg-method-x: 1164s # * @object: A #OrgProjectUsefulInterface. 1164s # * @invocation: A #GDBusMethodInvocation. 1164s # * @arg_arg_x: Argument passed by remote caller. 1164s # * 1164s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method. 1164s # * 1164s # * 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. 1164s # * 1164s # * 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. 1164s # */ 1164s # g_signal_new ("handle-single-arg-method-x", 1164s # G_TYPE_FROM_INTERFACE (iface), 1164s # G_SIGNAL_RUN_LAST, 1164s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x), 1164s # g_signal_accumulator_true_handled, 1164s # NULL, 1164s # org_project_useful_interface_method_marshal_single_arg_method_x, 1164s # G_TYPE_BOOLEAN, 1164s # 2, 1164s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT64); 1164s # 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_call_single_arg_method_x: 1164s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1164s # * @arg_arg_x: Argument to pass with the method invocation. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy. 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method. 1164s # */ 1164s # void 1164s # org_project_useful_interface_call_single_arg_method_x ( 1164s # OrgProjectUsefulInterface *proxy, 1164s # gint64 arg_arg_x, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1164s # "SingleArgMethodX", 1164s # g_variant_new ("(x)", 1164s # arg_arg_x), 1164s # G_DBUS_CALL_FLAGS_NONE, 1164s # -1, 1164s # cancellable, 1164s # callback, 1164s # user_data); 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_call_single_arg_method_x_finish: 1164s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x(). 1164s # * @error: Return location for error or %NULL. 1164s # * 1164s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x(). 1164s # * 1164s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1164s # */ 1164s # gboolean 1164s # org_project_useful_interface_call_single_arg_method_x_finish ( 1164s # OrgProjectUsefulInterface *proxy, 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GVariant *_ret; 1164s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1164s # if (_ret == NULL) 1164s # goto _out; 1164s # g_variant_get (_ret, 1164s # "()"); 1164s # g_variant_unref (_ret); 1164s # _out: 1164s # return _ret != NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_call_single_arg_method_x_sync: 1164s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1164s # * @arg_arg_x: Argument to pass with the method invocation. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL. 1164s # * 1164s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method. 1164s # * 1164s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1164s # */ 1164s # gboolean 1164s # org_project_useful_interface_call_single_arg_method_x_sync ( 1164s # OrgProjectUsefulInterface *proxy, 1164s # gint64 arg_arg_x, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GVariant *_ret; 1164s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1164s # "SingleArgMethodX", 1164s # g_variant_new ("(x)", 1164s # arg_arg_x), 1164s # G_DBUS_CALL_FLAGS_NONE, 1164s # -1, 1164s # cancellable, 1164s # error); 1164s # if (_ret == NULL) 1164s # goto _out; 1164s # g_variant_get (_ret, 1164s # "()"); 1164s # g_variant_unref (_ret); 1164s # _out: 1164s # return _ret != NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_complete_single_arg_method_x: 1164s # * @object: A #OrgProjectUsefulInterface. 1164s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1164s # * 1164s # * 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. 1164s # * 1164s # * This method will free @invocation, you cannot use it afterwards. 1164s # */ 1164s # void 1164s # org_project_useful_interface_complete_single_arg_method_x ( 1164s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1164s # GDBusMethodInvocation *invocation) 1164s # { 1164s # g_dbus_method_invocation_return_value (invocation, 1164s # g_variant_new ("()")); 1164s # } 1164s # 1164s # /* ------------------------------------------------------------------------ */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceProxy: 1164s # * 1164s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceProxyClass: 1164s # * @parent_class: The parent class. 1164s # * 1164s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1164s # */ 1164s # 1164s # struct _OrgProjectUsefulInterfaceProxyPrivate 1164s # { 1164s # GData *qdata; 1164s # }; 1164s # 1164s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1164s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1164s # 1164s # #else 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1164s # 1164s # #endif 1164s # static void 1164s # org_project_useful_interface_proxy_finalize (GObject *object) 1164s # { 1164s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1164s # g_datalist_clear (&proxy->priv->qdata); 1164s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1164s # guint prop_id G_GNUC_UNUSED, 1164s # GValue *value G_GNUC_UNUSED, 1164s # GParamSpec *pspec G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1164s # guint prop_id G_GNUC_UNUSED, 1164s # const GValue *value G_GNUC_UNUSED, 1164s # GParamSpec *pspec G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1164s # const gchar *sender_name G_GNUC_UNUSED, 1164s # const gchar *signal_name, 1164s # GVariant *parameters) 1164s # { 1164s # _ExtendedGDBusSignalInfo *info; 1164s # GVariantIter iter; 1164s # GVariant *child; 1164s # GValue *paramv; 1164s # gsize num_params; 1164s # gsize n; 1164s # guint signal_id; 1164s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1164s # if (info == NULL) 1164s # return; 1164s # num_params = g_variant_n_children (parameters); 1164s # paramv = g_new0 (GValue, num_params + 1); 1164s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_value_set_object (¶mv[0], proxy); 1164s # g_variant_iter_init (&iter, parameters); 1164s # n = 1; 1164s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1164s # { 1164s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1164s # if (arg_info->use_gvariant) 1164s # { 1164s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1164s # g_value_set_variant (¶mv[n], child); 1164s # n++; 1164s # } 1164s # else 1164s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1164s # g_variant_unref (child); 1164s # } 1164s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_signal_emitv (paramv, signal_id, 0, NULL); 1164s # for (n = 0; n < num_params + 1; n++) 1164s # g_value_unset (¶mv[n]); 1164s # g_free (paramv); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1164s # GVariant *changed_properties, 1164s # const gchar *const *invalidated_properties) 1164s # { 1164s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1164s # guint n; 1164s # const gchar *key; 1164s # GVariantIter *iter; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # g_variant_get (changed_properties, "a{sv}", &iter); 1164s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1164s # { 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1164s # g_datalist_remove_data (&proxy->priv->qdata, key); 1164s # if (info != NULL) 1164s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1164s # } 1164s # g_variant_iter_free (iter); 1164s # for (n = 0; invalidated_properties[n] != NULL; n++) 1164s # { 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1164s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1164s # if (info != NULL) 1164s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1164s # } 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1164s # { 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1164s # #else 1164s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1164s # #endif 1164s # 1164s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1164s # { 1164s # GObjectClass *gobject_class; 1164s # GDBusProxyClass *proxy_class; 1164s # 1164s # gobject_class = G_OBJECT_CLASS (klass); 1164s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1164s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1164s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1164s # 1164s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1164s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1164s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1164s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1164s # #endif 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new: 1164s # * @connection: A #GDBusConnection. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1164s # * 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1164s # */ 1164s # void 1164s # org_project_useful_interface_proxy_new ( 1164s # GDBusConnection *connection, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # g_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); 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_finish: 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_finish ( 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GObject *ret; 1164s # GObject *source_object; 1164s # source_object = g_async_result_get_source_object (res); 1164s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1164s # g_object_unref (source_object); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_sync: 1164s # * @connection: A #GDBusConnection. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1164s # * 1164s # * The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_sync ( 1164s # GDBusConnection *connection, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GInitable *ret; 1164s # 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); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_for_bus: 1164s # * @bus_type: A #GBusType. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: A bus name (well-known or unique). 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1164s # * 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1164s # */ 1164s # void 1164s # org_project_useful_interface_proxy_new_for_bus ( 1164s # GBusType bus_type, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # g_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); 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_for_bus_finish: 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_for_bus_finish ( 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GObject *ret; 1164s # GObject *source_object; 1164s # source_object = g_async_result_get_source_object (res); 1164s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1164s # g_object_unref (source_object); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_for_bus_sync: 1164s # * @bus_type: A #GBusType. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: A bus name (well-known or unique). 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1164s # * 1164s # * The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_for_bus_sync ( 1164s # GBusType bus_type, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GInitable *ret; 1164s # 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); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # 1164s # /* ------------------------------------------------------------------------ */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceSkeleton: 1164s # * 1164s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceSkeletonClass: 1164s # * @parent_class: The parent class. 1164s # * 1164s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1164s # */ 1164s # 1164s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1164s # { 1164s # GValue *properties; 1164s # GList *changed_properties; 1164s # GSource *changed_properties_idle_source; 1164s # GMainContext *context; 1164s # GMutex lock; 1164s # }; 1164s # 1164s # static void 1164s # _org_project_useful_interface_skeleton_handle_method_call ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name, 1164s # const gchar *method_name, 1164s # GVariant *parameters, 1164s # GDBusMethodInvocation *invocation, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1164s # _ExtendedGDBusMethodInfo *info; 1164s # GVariantIter iter; 1164s # GVariant *child; 1164s # GValue *paramv; 1164s # gsize num_params; 1164s # guint num_extra; 1164s # gsize n; 1164s # guint signal_id; 1164s # GValue return_value = G_VALUE_INIT; 1164s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1164s # g_assert (info != NULL); 1164s # num_params = g_variant_n_children (parameters); 1164s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1164s # n = 0; 1164s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_value_set_object (¶mv[n++], skeleton); 1164s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1164s # g_value_set_object (¶mv[n++], invocation); 1164s # if (info->pass_fdlist) 1164s # { 1164s # #ifdef G_OS_UNIX 1164s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1164s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1164s # #else 1164s # g_assert_not_reached (); 1164s # #endif 1164s # } 1164s # g_variant_iter_init (&iter, parameters); 1164s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1164s # { 1164s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1164s # if (arg_info->use_gvariant) 1164s # { 1164s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1164s # g_value_set_variant (¶mv[n], child); 1164s # n++; 1164s # } 1164s # else 1164s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1164s # g_variant_unref (child); 1164s # } 1164s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1164s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1164s # if (!g_value_get_boolean (&return_value)) 1164s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1164s # g_value_unset (&return_value); 1164s # for (n = 0; n < num_params + num_extra; n++) 1164s # g_value_unset (¶mv[n]); 1164s # g_free (paramv); 1164s # } 1164s # 1164s # static GVariant * 1164s # _org_project_useful_interface_skeleton_handle_get_property ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name G_GNUC_UNUSED, 1164s # const gchar *property_name, 1164s # GError **error, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1164s # GValue value = G_VALUE_INIT; 1164s # GParamSpec *pspec; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # GVariant *ret; 1164s # ret = NULL; 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1164s # g_assert (info != NULL); 1164s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1164s # if (pspec == NULL) 1164s # { 1164s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1164s # } 1164s # else 1164s # { 1164s # g_value_init (&value, pspec->value_type); 1164s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1164s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1164s # g_value_unset (&value); 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static gboolean 1164s # _org_project_useful_interface_skeleton_handle_set_property ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name G_GNUC_UNUSED, 1164s # const gchar *property_name, 1164s # GVariant *variant, 1164s # GError **error, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1164s # GValue value = G_VALUE_INIT; 1164s # GParamSpec *pspec; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # gboolean ret; 1164s # ret = FALSE; 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1164s # g_assert (info != NULL); 1164s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1164s # if (pspec == NULL) 1164s # { 1164s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1164s # } 1164s # else 1164s # { 1164s # if (info->use_gvariant) 1164s # g_value_set_variant (&value, variant); 1164s # else 1164s # g_dbus_gvariant_to_gvalue (variant, &value); 1164s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1164s # g_value_unset (&value); 1164s # ret = TRUE; 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1164s # { 1164s # _org_project_useful_interface_skeleton_handle_method_call, 1164s # _org_project_useful_interface_skeleton_handle_get_property, 1164s # _org_project_useful_interface_skeleton_handle_set_property, 1164s # {NULL} 1164s # }; 1164s # 1164s # static GDBusInterfaceInfo * 1164s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1164s # { 1164s # return org_project_useful_interface_interface_info (); 1164s # } 1164s # 1164s # static GDBusInterfaceVTable * 1164s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1164s # { 1164s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1164s # } 1164s # 1164s # static GVariant * 1164s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1164s # 1164s # GVariantBuilder builder; 1164s # guint n; 1164s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1164s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1164s # goto out; 1164s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1164s # { 1164s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1164s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1164s # { 1164s # GVariant *value; 1164s # 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); 1164s # if (value != NULL) 1164s # { 1164s # g_variant_take_ref (value); 1164s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1164s # g_variant_unref (value); 1164s # } 1164s # } 1164s # } 1164s # out: 1164s # return g_variant_builder_end (&builder); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1164s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1164s # 1164s # #else 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1164s # 1164s # #endif 1164s # static void 1164s # org_project_useful_interface_skeleton_finalize (GObject *object) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1164s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1164s # if (skeleton->priv->changed_properties_idle_source != NULL) 1164s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1164s # g_main_context_unref (skeleton->priv->context); 1164s # g_mutex_clear (&skeleton->priv->lock); 1164s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1164s # { 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1164s # #else 1164s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1164s # #endif 1164s # 1164s # g_mutex_init (&skeleton->priv->lock); 1164s # skeleton->priv->context = g_main_context_ref_thread_default (); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1164s # { 1164s # GObjectClass *gobject_class; 1164s # GDBusInterfaceSkeletonClass *skeleton_class; 1164s # 1164s # gobject_class = G_OBJECT_CLASS (klass); 1164s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1164s # 1164s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1164s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1164s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1164s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1164s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1164s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1164s # #endif 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_skeleton_new: 1164s # * 1164s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_skeleton_new (void) 1164s # { 1164s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1164s # } 1164s # /tmp/tmp0hh_d_fb/tmphm4b6uth.xml: 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0hh_d_fb/tmphm4b6uth.xml', '--output', '-', '--body'] 1164s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1164s # Output: /* 1164s # * This file is generated by gdbus-codegen, do not modify it. 1164s # * 1164s # * The license of this code is the same as for the D-Bus interface description 1164s # * it was derived from. Note that it links to GLib, so must comply with the 1164s # * LGPL linking clauses. 1164s # */ 1164s # 1164s # #ifdef HAVE_CONFIG_H 1164s # # include "config.h" 1164s # #endif 1164s # 1164s # #include 1164s # #ifdef G_OS_UNIX 1164s # # include 1164s # #endif 1164s # 1164s # #ifdef G_ENABLE_DEBUG 1164s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1164s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1164s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1164s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1164s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1164s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1164s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1164s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1164s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1164s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1164s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1164s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1164s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1164s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1164s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1164s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1164s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1164s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1164s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1164s # #else /* !G_ENABLE_DEBUG */ 1164s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1164s # * Do not access GValues directly in your code. Instead, use the 1164s # * g_value_get_*() functions 1164s # */ 1164s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1164s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1164s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1164s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1164s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1164s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1164s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1164s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1164s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1164s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1164s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1164s # #endif /* !G_ENABLE_DEBUG */ 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusArgInfo parent_struct; 1164s # gboolean use_gvariant; 1164s # } _ExtendedGDBusArgInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusMethodInfo parent_struct; 1164s # const gchar *signal_name; 1164s # gboolean pass_fdlist; 1164s # } _ExtendedGDBusMethodInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusSignalInfo parent_struct; 1164s # const gchar *signal_name; 1164s # } _ExtendedGDBusSignalInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusPropertyInfo parent_struct; 1164s # const gchar *hyphen_name; 1164s # guint use_gvariant : 1; 1164s # guint emits_changed_signal : 1; 1164s # } _ExtendedGDBusPropertyInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusInterfaceInfo parent_struct; 1164s # const gchar *hyphen_name; 1164s # } _ExtendedGDBusInterfaceInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # const _ExtendedGDBusPropertyInfo *info; 1164s # guint prop_id; 1164s # GValue orig_value; /* the value before the change */ 1164s # } ChangedProperty; 1164s # 1164s # static void 1164s # _changed_property_free (ChangedProperty *data) 1164s # { 1164s # g_value_unset (&data->orig_value); 1164s # g_free (data); 1164s # } 1164s # 1164s # static gboolean 1164s # _g_strv_equal0 (gchar **a, gchar **b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # guint n; 1164s # if (a == NULL && b == NULL) 1164s # { 1164s # ret = TRUE; 1164s # goto out; 1164s # } 1164s # if (a == NULL || b == NULL) 1164s # goto out; 1164s # if (g_strv_length (a) != g_strv_length (b)) 1164s # goto out; 1164s # for (n = 0; a[n] != NULL; n++) 1164s # if (g_strcmp0 (a[n], b[n]) != 0) 1164s # goto out; 1164s # ret = TRUE; 1164s # out: 1164s # return ret; 1164s # } 1164s # 1164s # static gboolean 1164s # _g_variant_equal0 (GVariant *a, GVariant *b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # if (a == NULL && b == NULL) 1164s # { 1164s # ret = TRUE; 1164s # goto out; 1164s # } 1164s # if (a == NULL || b == NULL) 1164s # goto out; 1164s # ret = g_variant_equal (a, b); 1164s # out: 1164s # return ret; 1164s # } 1164s # 1164s # G_GNUC_UNUSED static gboolean 1164s # _g_value_equal (const GValue *a, const GValue *b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1164s # switch (G_VALUE_TYPE (a)) 1164s # { 1164s # case G_TYPE_BOOLEAN: 1164s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1164s # break; 1164s # case G_TYPE_UCHAR: 1164s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1164s # break; 1164s # case G_TYPE_INT: 1164s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1164s # break; 1164s # case G_TYPE_UINT: 1164s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1164s # break; 1164s # case G_TYPE_INT64: 1164s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1164s # break; 1164s # case G_TYPE_UINT64: 1164s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1164s # break; 1164s # case G_TYPE_DOUBLE: 1164s # { 1164s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1164s # gdouble da = g_value_get_double (a); 1164s # gdouble db = g_value_get_double (b); 1164s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1164s # } 1164s # break; 1164s # case G_TYPE_STRING: 1164s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1164s # break; 1164s # case G_TYPE_VARIANT: 1164s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1164s # break; 1164s # default: 1164s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1164s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1164s # else 1164s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1164s # break; 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static void 1164s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 ( 1164s # GClosure *closure, 1164s # GValue *return_value, 1164s # unsigned int n_param_values, 1164s # const GValue *param_values, 1164s # void *invocation_hint G_GNUC_UNUSED, 1164s # void *marshal_data) 1164s # { 1164s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUint64Func) 1164s # (void *data1, 1164s # GDBusMethodInvocation *arg_method_invocation, 1164s # guint64 arg_arg_t, 1164s # void *data2); 1164s # _GDbusCodegenMarshalBoolean_ObjectUint64Func callback; 1164s # GCClosure *cc = (GCClosure*) closure; 1164s # void *data1, *data2; 1164s # gboolean v_return; 1164s # 1164s # g_return_if_fail (return_value != NULL); 1164s # g_return_if_fail (n_param_values == 3); 1164s # 1164s # if (G_CCLOSURE_SWAP_DATA (closure)) 1164s # { 1164s # data1 = closure->data; 1164s # data2 = g_value_peek_pointer (param_values + 0); 1164s # } 1164s # else 1164s # { 1164s # data1 = g_value_peek_pointer (param_values + 0); 1164s # data2 = closure->data; 1164s # } 1164s # 1164s # callback = (_GDbusCodegenMarshalBoolean_ObjectUint64Func) 1164s # (marshal_data ? marshal_data : cc->callback); 1164s # 1164s # v_return = 1164s # callback (data1, 1164s # g_marshal_value_peek_object (param_values + 1), 1164s # g_marshal_value_peek_uint64 (param_values + 2), 1164s # data2); 1164s # 1164s # g_value_set_boolean (return_value, v_return); 1164s # } 1164s # 1164s # /* ------------------------------------------------------------------------ 1164s # * Code for interface org.project.UsefulInterface 1164s # * ------------------------------------------------------------------------ 1164s # */ 1164s # 1164s # /** 1164s # * SECTION:OrgProjectUsefulInterface 1164s # * @title: OrgProjectUsefulInterface 1164s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1164s # * 1164s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1164s # */ 1164s # 1164s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "arg_t", 1164s # (gchar *) "t", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers[] = 1164s # { 1164s # &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t.parent_struct, 1164s # NULL 1164s # }; 1164s # 1164s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "SingleArgMethodT", 1164s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers, 1164s # NULL, 1164s # NULL 1164s # }, 1164s # "handle-single-arg-method-t", 1164s # FALSE 1164s # }; 1164s # 1164s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1164s # { 1164s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct, 1164s # NULL 1164s # }; 1164s # 1164s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "org.project.UsefulInterface", 1164s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1164s # NULL, 1164s # NULL, 1164s # NULL 1164s # }, 1164s # "org-project-useful-interface", 1164s # }; 1164s # 1164s # 1164s # /** 1164s # * org_project_useful_interface_interface_info: 1164s # * 1164s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1164s # * 1164s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1164s # */ 1164s # GDBusInterfaceInfo * 1164s # org_project_useful_interface_interface_info (void) 1164s # { 1164s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_override_properties: 1164s # * @klass: The class structure for a #GObject derived class. 1164s # * @property_id_begin: The property id to assign to the first overridden property. 1164s # * 1164s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1164s # * The properties are overridden in the order they are defined. 1164s # * 1164s # * Returns: The last property id. 1164s # */ 1164s # guint 1164s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1164s # { 1164s # return property_id_begin - 1; 1164s # } 1164s # 1164s # 1164s # inline static void 1164s # org_project_useful_interface_method_marshal_single_arg_method_t ( 1164s # GClosure *closure, 1164s # GValue *return_value, 1164s # unsigned int n_param_values, 1164s # const GValue *param_values, 1164s # void *invocation_hint, 1164s # void *marshal_data) 1164s # { 1164s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 (closure, 1164s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1164s # } 1164s # 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterface: 1164s # * 1164s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceIface: 1164s # * @parent_iface: The parent interface. 1164s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal. 1164s # * 1164s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1164s # */ 1164s # 1164s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1164s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1164s # 1164s # static void 1164s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1164s # { 1164s # /* GObject signals for incoming D-Bus method calls: */ 1164s # /** 1164s # * OrgProjectUsefulInterface::handle-single-arg-method-t: 1164s # * @object: A #OrgProjectUsefulInterface. 1164s # * @invocation: A #GDBusMethodInvocation. 1164s # * @arg_arg_t: Argument passed by remote caller. 1164s # * 1164s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method. 1164s # * 1164s # * 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. 1164s # * 1164s # * 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. 1164s # */ 1164s # g_signal_new ("handle-single-arg-method-t", 1164s # G_TYPE_FROM_INTERFACE (iface), 1164s # G_SIGNAL_RUN_LAST, 1164s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t), 1164s # g_signal_accumulator_true_handled, 1164s # NULL, 1164s # org_project_useful_interface_method_marshal_single_arg_method_t, 1164s # G_TYPE_BOOLEAN, 1164s # 2, 1164s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT64); 1164s # 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_call_single_arg_method_t: 1164s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1164s # * @arg_arg_t: Argument to pass with the method invocation. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy. 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method. 1164s # */ 1164s # void 1164s # org_project_useful_interface_call_single_arg_method_t ( 1164s # OrgProjectUsefulInterface *proxy, 1164s # guint64 arg_arg_t, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1164s # "SingleArgMethodT", 1164s # g_variant_new ("(t)", 1164s # arg_arg_t), 1164s # G_DBUS_CALL_FLAGS_NONE, 1164s # -1, 1164s # cancellable, 1164s # callback, 1164s # user_data); 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_call_single_arg_method_t_finish: 1164s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t(). 1164s # * @error: Return location for error or %NULL. 1164s # * 1164s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t(). 1164s # * 1164s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1164s # */ 1164s # gboolean 1164s # org_project_useful_interface_call_single_arg_method_t_finish ( 1164s # OrgProjectUsefulInterface *proxy, 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GVariant *_ret; 1164s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1164s # if (_ret == NULL) 1164s # goto _out; 1164s # g_variant_get (_ret, 1164s # "()"); 1164s # g_variant_unref (_ret); 1164s # _out: 1164s # return _ret != NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_call_single_arg_method_t_sync: 1164s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1164s # * @arg_arg_t: Argument to pass with the method invocation. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL. 1164s # * 1164s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method. 1164s # * 1164s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1164s # */ 1164s # gboolean 1164s # org_project_useful_interface_call_single_arg_method_t_sync ( 1164s # OrgProjectUsefulInterface *proxy, 1164s # guint64 arg_arg_t, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GVariant *_ret; 1164s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1164s # "SingleArgMethodT", 1164s # g_variant_new ("(t)", 1164s # arg_arg_t), 1164s # G_DBUS_CALL_FLAGS_NONE, 1164s # -1, 1164s # cancellable, 1164s # error); 1164s # if (_ret == NULL) 1164s # goto _out; 1164s # g_variant_get (_ret, 1164s # "()"); 1164s # g_variant_unref (_ret); 1164s # _out: 1164s # return _ret != NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_complete_single_arg_method_t: 1164s # * @object: A #OrgProjectUsefulInterface. 1164s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1164s # * 1164s # * 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. 1164s # * 1164s # * This method will free @invocation, you cannot use it afterwards. 1164s # */ 1164s # void 1164s # org_project_useful_interface_complete_single_arg_method_t ( 1164s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1164s # GDBusMethodInvocation *invocation) 1164s # { 1164s # g_dbus_method_invocation_return_value (invocation, 1164s # g_variant_new ("()")); 1164s # } 1164s # 1164s # /* ------------------------------------------------------------------------ */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceProxy: 1164s # * 1164s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceProxyClass: 1164s # * @parent_class: The parent class. 1164s # * 1164s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1164s # */ 1164s # 1164s # struct _OrgProjectUsefulInterfaceProxyPrivate 1164s # { 1164s # GData *qdata; 1164s # }; 1164s # 1164s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1164s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1164s # 1164s # #else 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1164s # 1164s # #endif 1164s # static void 1164s # org_project_useful_interface_proxy_finalize (GObject *object) 1164s # { 1164s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1164s # g_datalist_clear (&proxy->priv->qdata); 1164s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1164s # guint prop_id G_GNUC_UNUSED, 1164s # GValue *value G_GNUC_UNUSED, 1164s # GParamSpec *pspec G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1164s # guint prop_id G_GNUC_UNUSED, 1164s # const GValue *value G_GNUC_UNUSED, 1164s # GParamSpec *pspec G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1164s # const gchar *sender_name G_GNUC_UNUSED, 1164s # const gchar *signal_name, 1164s # GVariant *parameters) 1164s # { 1164s # _ExtendedGDBusSignalInfo *info; 1164s # GVariantIter iter; 1164s # GVariant *child; 1164s # GValue *paramv; 1164s # gsize num_params; 1164s # gsize n; 1164s # guint signal_id; 1164s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1164s # if (info == NULL) 1164s # return; 1164s # num_params = g_variant_n_children (parameters); 1164s # paramv = g_new0 (GValue, num_params + 1); 1164s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_value_set_object (¶mv[0], proxy); 1164s # g_variant_iter_init (&iter, parameters); 1164s # n = 1; 1164s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1164s # { 1164s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1164s # if (arg_info->use_gvariant) 1164s # { 1164s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1164s # g_value_set_variant (¶mv[n], child); 1164s # n++; 1164s # } 1164s # else 1164s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1164s # g_variant_unref (child); 1164s # } 1164s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_signal_emitv (paramv, signal_id, 0, NULL); 1164s # for (n = 0; n < num_params + 1; n++) 1164s # g_value_unset (¶mv[n]); 1164s # g_free (paramv); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1164s # GVariant *changed_properties, 1164s # const gchar *const *invalidated_properties) 1164s # { 1164s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1164s # guint n; 1164s # const gchar *key; 1164s # GVariantIter *iter; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # g_variant_get (changed_properties, "a{sv}", &iter); 1164s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1164s # { 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1164s # g_datalist_remove_data (&proxy->priv->qdata, key); 1164s # if (info != NULL) 1164s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1164s # } 1164s # g_variant_iter_free (iter); 1164s # for (n = 0; invalidated_properties[n] != NULL; n++) 1164s # { 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1164s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1164s # if (info != NULL) 1164s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1164s # } 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1164s # { 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1164s # #else 1164s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1164s # #endif 1164s # 1164s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1164s # { 1164s # GObjectClass *gobject_class; 1164s # GDBusProxyClass *proxy_class; 1164s # 1164s # gobject_class = G_OBJECT_CLASS (klass); 1164s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1164s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1164s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1164s # 1164s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1164s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1164s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1164s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1164s # #endif 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new: 1164s # * @connection: A #GDBusConnection. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1164s # * 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1164s # */ 1164s # void 1164s # org_project_useful_interface_proxy_new ( 1164s # GDBusConnection *connection, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # g_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); 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_finish: 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_finish ( 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GObject *ret; 1164s # GObject *source_object; 1164s # source_object = g_async_result_get_source_object (res); 1164s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1164s # g_object_unref (source_object); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_sync: 1164s # * @connection: A #GDBusConnection. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1164s # * 1164s # * The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_sync ( 1164s # GDBusConnection *connection, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GInitable *ret; 1164s # 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); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_for_bus: 1164s # * @bus_type: A #GBusType. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: A bus name (well-known or unique). 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1164s # * 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1164s # */ 1164s # void 1164s # org_project_useful_interface_proxy_new_for_bus ( 1164s # GBusType bus_type, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # g_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); 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_for_bus_finish: 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_for_bus_finish ( 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GObject *ret; 1164s # GObject *source_object; 1164s # source_object = g_async_result_get_source_object (res); 1164s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1164s # g_object_unref (source_object); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_for_bus_sync: 1164s # * @bus_type: A #GBusType. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: A bus name (well-known or unique). 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1164s # * 1164s # * The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_for_bus_sync ( 1164s # GBusType bus_type, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GInitable *ret; 1164s # 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); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # 1164s # /* ------------------------------------------------------------------------ */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceSkeleton: 1164s # * 1164s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceSkeletonClass: 1164s # * @parent_class: The parent class. 1164s # * 1164s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1164s # */ 1164s # 1164s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1164s # { 1164s # GValue *properties; 1164s # GList *changed_properties; 1164s # GSource *changed_properties_idle_source; 1164s # GMainContext *context; 1164s # GMutex lock; 1164s # }; 1164s # 1164s # static void 1164s # _org_project_useful_interface_skeleton_handle_method_call ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name, 1164s # const gchar *method_name, 1164s # GVariant *parameters, 1164s # GDBusMethodInvocation *invocation, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1164s # _ExtendedGDBusMethodInfo *info; 1164s # GVariantIter iter; 1164s # GVariant *child; 1164s # GValue *paramv; 1164s # gsize num_params; 1164s # guint num_extra; 1164s # gsize n; 1164s # guint signal_id; 1164s # GValue return_value = G_VALUE_INIT; 1164s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1164s # g_assert (info != NULL); 1164s # num_params = g_variant_n_children (parameters); 1164s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1164s # n = 0; 1164s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_value_set_object (¶mv[n++], skeleton); 1164s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1164s # g_value_set_object (¶mv[n++], invocation); 1164s # if (info->pass_fdlist) 1164s # { 1164s # #ifdef G_OS_UNIX 1164s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1164s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1164s # #else 1164s # g_assert_not_reached (); 1164s # #endif 1164s # } 1164s # g_variant_iter_init (&iter, parameters); 1164s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1164s # { 1164s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1164s # if (arg_info->use_gvariant) 1164s # { 1164s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1164s # g_value_set_variant (¶mv[n], child); 1164s # n++; 1164s # } 1164s # else 1164s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1164s # g_variant_unref (child); 1164s # } 1164s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1164s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1164s # if (!g_value_get_boolean (&return_value)) 1164s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1164s # g_value_unset (&return_value); 1164s # for (n = 0; n < num_params + num_extra; n++) 1164s # g_value_unset (¶mv[n]); 1164s # g_free (paramv); 1164s # } 1164s # 1164s # static GVariant * 1164s # _org_project_useful_interface_skeleton_handle_get_property ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name G_GNUC_UNUSED, 1164s # const gchar *property_name, 1164s # GError **error, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1164s # GValue value = G_VALUE_INIT; 1164s # GParamSpec *pspec; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # GVariant *ret; 1164s # ret = NULL; 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1164s # g_assert (info != NULL); 1164s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1164s # if (pspec == NULL) 1164s # { 1164s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1164s # } 1164s # else 1164s # { 1164s # g_value_init (&value, pspec->value_type); 1164s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1164s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1164s # g_value_unset (&value); 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static gboolean 1164s # _org_project_useful_interface_skeleton_handle_set_property ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name G_GNUC_UNUSED, 1164s # const gchar *property_name, 1164s # GVariant *variant, 1164s # GError **error, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1164s # GValue value = G_VALUE_INIT; 1164s # GParamSpec *pspec; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # gboolean ret; 1164s # ret = FALSE; 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1164s # g_assert (info != NULL); 1164s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1164s # if (pspec == NULL) 1164s # { 1164s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1164s # } 1164s # else 1164s # { 1164s # if (info->use_gvariant) 1164s # g_value_set_variant (&value, variant); 1164s # else 1164s # g_dbus_gvariant_to_gvalue (variant, &value); 1164s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1164s # g_value_unset (&value); 1164s # ret = TRUE; 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1164s # { 1164s # _org_project_useful_interface_skeleton_handle_method_call, 1164s # _org_project_useful_interface_skeleton_handle_get_property, 1164s # _org_project_useful_interface_skeleton_handle_set_property, 1164s # {NULL} 1164s # }; 1164s # 1164s # static GDBusInterfaceInfo * 1164s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1164s # { 1164s # return org_project_useful_interface_interface_info (); 1164s # } 1164s # 1164s # static GDBusInterfaceVTable * 1164s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1164s # { 1164s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1164s # } 1164s # 1164s # static GVariant * 1164s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1164s # 1164s # GVariantBuilder builder; 1164s # guint n; 1164s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1164s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1164s # goto out; 1164s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1164s # { 1164s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1164s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1164s # { 1164s # GVariant *value; 1164s # 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); 1164s # if (value != NULL) 1164s # { 1164s # g_variant_take_ref (value); 1164s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1164s # g_variant_unref (value); 1164s # } 1164s # } 1164s # } 1164s # out: 1164s # return g_variant_builder_end (&builder); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1164s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1164s # 1164s # #else 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1164s # 1164s # #endif 1164s # static void 1164s # org_project_useful_interface_skeleton_finalize (GObject *object) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1164s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1164s # if (skeleton->priv->changed_properties_idle_source != NULL) 1164s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1164s # g_main_context_unref (skeleton->priv->context); 1164s # g_mutex_clear (&skeleton->priv->lock); 1164s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1164s # { 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1164s # #else 1164s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1164s # #endif 1164s # 1164s # g_mutex_init (&skeleton->priv->lock); 1164s # skeleton->priv->context = g_main_context_ref_thread_default (); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1164s # { 1164s # GObjectClass *gobject_class; 1164s # GDBusInterfaceSkeletonClass *skeleton_class; 1164s # 1164s # gobject_class = G_OBJECT_CLASS (klass); 1164s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1164s # 1164s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1164s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1164s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1164s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1164s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1164s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1164s # #endif 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_skeleton_new: 1164s # * 1164s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_skeleton_new (void) 1164s # { 1164s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1164s # } 1164s # /tmp/tmp0hh_d_fb/tmpyyhuan2c.xml: 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0hh_d_fb/tmpyyhuan2c.xml', '--output', '-', '--body'] 1164s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1164s # Output: /* 1164s # * This file is generated by gdbus-codegen, do not modify it. 1164s # * 1164s # * The license of this code is the same as for the D-Bus interface description 1164s # * it was derived from. Note that it links to GLib, so must comply with the 1164s # * LGPL linking clauses. 1164s # */ 1164s # 1164s # #ifdef HAVE_CONFIG_H 1164s # # include "config.h" 1164s # #endif 1164s # 1164s # #include 1164s # #ifdef G_OS_UNIX 1164s # # include 1164s # #endif 1164s # 1164s # #ifdef G_ENABLE_DEBUG 1164s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1164s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1164s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1164s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1164s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1164s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1164s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1164s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1164s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1164s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1164s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1164s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1164s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1164s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1164s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1164s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1164s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1164s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1164s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1164s # #else /* !G_ENABLE_DEBUG */ 1164s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1164s # * Do not access GValues directly in your code. Instead, use the 1164s # * g_value_get_*() functions 1164s # */ 1164s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1164s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1164s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1164s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1164s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1164s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1164s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1164s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1164s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1164s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1164s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1164s # #endif /* !G_ENABLE_DEBUG */ 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusArgInfo parent_struct; 1164s # gboolean use_gvariant; 1164s # } _ExtendedGDBusArgInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusMethodInfo parent_struct; 1164s # const gchar *signal_name; 1164s # gboolean pass_fdlist; 1164s # } _ExtendedGDBusMethodInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusSignalInfo parent_struct; 1164s # const gchar *signal_name; 1164s # } _ExtendedGDBusSignalInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusPropertyInfo parent_struct; 1164s # const gchar *hyphen_name; 1164s # guint use_gvariant : 1; 1164s # guint emits_changed_signal : 1; 1164s # } _ExtendedGDBusPropertyInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusInterfaceInfo parent_struct; 1164s # const gchar *hyphen_name; 1164s # } _ExtendedGDBusInterfaceInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # const _ExtendedGDBusPropertyInfo *info; 1164s # guint prop_id; 1164s # GValue orig_value; /* the value before the change */ 1164s # } ChangedProperty; 1164s # 1164s # static void 1164s # _changed_property_free (ChangedProperty *data) 1164s # { 1164s # g_value_unset (&data->orig_value); 1164s # g_free (data); 1164s # } 1164s # 1164s # static gboolean 1164s # _g_strv_equal0 (gchar **a, gchar **b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # guint n; 1164s # if (a == NULL && b == NULL) 1164s # { 1164s # ret = TRUE; 1164s # goto out; 1164s # } 1164s # if (a == NULL || b == NULL) 1164s # goto out; 1164s # if (g_strv_length (a) != g_strv_length (b)) 1164s # goto out; 1164s # for (n = 0; a[n] != NULL; n++) 1164s # if (g_strcmp0 (a[n], b[n]) != 0) 1164s # goto out; 1164s # ret = TRUE; 1164s # out: 1164s # return ret; 1164s # } 1164s # 1164s # static gboolean 1164s # _g_variant_equal0 (GVariant *a, GVariant *b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # if (a == NULL && b == NULL) 1164s # { 1164s # ret = TRUE; 1164s # goto out; 1164s # } 1164s # if (a == NULL || b == NULL) 1164s # goto out; 1164s # ret = g_variant_equal (a, b); 1164s # out: 1164s # return ret; 1164s # } 1164s # 1164s # G_GNUC_UNUSED static gboolean 1164s # _g_value_equal (const GValue *a, const GValue *b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1164s # switch (G_VALUE_TYPE (a)) 1164s # { 1164s # case G_TYPE_BOOLEAN: 1164s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1164s # break; 1164s # case G_TYPE_UCHAR: 1164s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1164s # break; 1164s # case G_TYPE_INT: 1164s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1164s # break; 1164s # case G_TYPE_UINT: 1164s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1164s # break; 1164s # case G_TYPE_INT64: 1164s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1164s # break; 1164s # case G_TYPE_UINT64: 1164s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1164s # break; 1164s # case G_TYPE_DOUBLE: 1164s # { 1164s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1164s # gdouble da = g_value_get_double (a); 1164s # gdouble db = g_value_get_double (b); 1164s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1164s # } 1164s # break; 1164s # case G_TYPE_STRING: 1164s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1164s # break; 1164s # case G_TYPE_VARIANT: 1164s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1164s # break; 1164s # default: 1164s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1164s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1164s # else 1164s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1164s # break; 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static void 1164s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE ( 1164s # GClosure *closure, 1164s # GValue *return_value, 1164s # unsigned int n_param_values, 1164s # const GValue *param_values, 1164s # void *invocation_hint G_GNUC_UNUSED, 1164s # void *marshal_data) 1164s # { 1164s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectDoubleFunc) 1164s # (void *data1, 1164s # GDBusMethodInvocation *arg_method_invocation, 1164s # gdouble arg_arg_d, 1164s # void *data2); 1164s # _GDbusCodegenMarshalBoolean_ObjectDoubleFunc callback; 1164s # GCClosure *cc = (GCClosure*) closure; 1164s # void *data1, *data2; 1164s # gboolean v_return; 1164s # 1164s # g_return_if_fail (return_value != NULL); 1164s # g_return_if_fail (n_param_values == 3); 1164s # 1164s # if (G_CCLOSURE_SWAP_DATA (closure)) 1164s # { 1164s # data1 = closure->data; 1164s # data2 = g_value_peek_pointer (param_values + 0); 1164s # } 1164s # else 1164s # { 1164s # data1 = g_value_peek_pointer (param_values + 0); 1164s # data2 = closure->data; 1164s # } 1164s # 1164s # callback = (_GDbusCodegenMarshalBoolean_ObjectDoubleFunc) 1164s # (marshal_data ? marshal_data : cc->callback); 1164s # 1164s # v_return = 1164s # callback (data1, 1164s # g_marshal_value_peek_object (param_values + 1), 1164s # g_marshal_value_peek_double (param_values + 2), 1164s # data2); 1164s # 1164s # g_value_set_boolean (return_value, v_return); 1164s # } 1164s # 1164s # /* ------------------------------------------------------------------------ 1164s # * Code for interface org.project.UsefulInterface 1164s # * ------------------------------------------------------------------------ 1164s # */ 1164s # 1164s # /** 1164s # * SECTION:OrgProjectUsefulInterface 1164s # * @title: OrgProjectUsefulInterface 1164s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1164s # * 1164s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1164s # */ 1164s # 1164s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "arg_d", 1164s # (gchar *) "d", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers[] = 1164s # { 1164s # &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d.parent_struct, 1164s # NULL 1164s # }; 1164s # 1164s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "SingleArgMethodD", 1164s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers, 1164s # NULL, 1164s # NULL 1164s # }, 1164s # "handle-single-arg-method-d", 1164s # FALSE 1164s # }; 1164s # 1164s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1164s # { 1164s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct, 1164s # NULL 1164s # }; 1164s # 1164s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "org.project.UsefulInterface", 1164s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1164s # NULL, 1164s # NULL, 1164s # NULL 1164s # }, 1164s # "org-project-useful-interface", 1164s # }; 1164s # 1164s # 1164s # /** 1164s # * org_project_useful_interface_interface_info: 1164s # * 1164s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1164s # * 1164s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1164s # */ 1164s # GDBusInterfaceInfo * 1164s # org_project_useful_interface_interface_info (void) 1164s # { 1164s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_override_properties: 1164s # * @klass: The class structure for a #GObject derived class. 1164s # * @property_id_begin: The property id to assign to the first overridden property. 1164s # * 1164s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1164s # * The properties are overridden in the order they are defined. 1164s # * 1164s # * Returns: The last property id. 1164s # */ 1164s # guint 1164s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1164s # { 1164s # return property_id_begin - 1; 1164s # } 1164s # 1164s # 1164s # inline static void 1164s # org_project_useful_interface_method_marshal_single_arg_method_d ( 1164s # GClosure *closure, 1164s # GValue *return_value, 1164s # unsigned int n_param_values, 1164s # const GValue *param_values, 1164s # void *invocation_hint, 1164s # void *marshal_data) 1164s # { 1164s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE (closure, 1164s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1164s # } 1164s # 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterface: 1164s # * 1164s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceIface: 1164s # * @parent_iface: The parent interface. 1164s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal. 1164s # * 1164s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1164s # */ 1164s # 1164s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1164s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1164s # 1164s # static void 1164s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1164s # { 1164s # /* GObject signals for incoming D-Bus method calls: */ 1164s # /** 1164s # * OrgProjectUsefulInterface::handle-single-arg-method-d: 1164s # * @object: A #OrgProjectUsefulInterface. 1164s # * @invocation: A #GDBusMethodInvocation. 1164s # * @arg_arg_d: Argument passed by remote caller. 1164s # * 1164s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method. 1164s # * 1164s # * 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. 1164s # * 1164s # * 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. 1164s # */ 1164s # g_signal_new ("handle-single-arg-method-d", 1164s # G_TYPE_FROM_INTERFACE (iface), 1164s # G_SIGNAL_RUN_LAST, 1164s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d), 1164s # g_signal_accumulator_true_handled, 1164s # NULL, 1164s # org_project_useful_interface_method_marshal_single_arg_method_d, 1164s # G_TYPE_BOOLEAN, 1164s # 2, 1164s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_DOUBLE); 1164s # 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_call_single_arg_method_d: 1164s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1164s # * @arg_arg_d: Argument to pass with the method invocation. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy. 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method. 1164s # */ 1164s # void 1164s # org_project_useful_interface_call_single_arg_method_d ( 1164s # OrgProjectUsefulInterface *proxy, 1164s # gdouble arg_arg_d, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1164s # "SingleArgMethodD", 1164s # g_variant_new ("(d)", 1164s # arg_arg_d), 1164s # G_DBUS_CALL_FLAGS_NONE, 1164s # -1, 1164s # cancellable, 1164s # callback, 1164s # user_data); 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_call_single_arg_method_d_finish: 1164s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d(). 1164s # * @error: Return location for error or %NULL. 1164s # * 1164s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d(). 1164s # * 1164s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1164s # */ 1164s # gboolean 1164s # org_project_useful_interface_call_single_arg_method_d_finish ( 1164s # OrgProjectUsefulInterface *proxy, 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GVariant *_ret; 1164s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1164s # if (_ret == NULL) 1164s # goto _out; 1164s # g_variant_get (_ret, 1164s # "()"); 1164s # g_variant_unref (_ret); 1164s # _out: 1164s # return _ret != NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_call_single_arg_method_d_sync: 1164s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1164s # * @arg_arg_d: Argument to pass with the method invocation. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL. 1164s # * 1164s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method. 1164s # * 1164s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1164s # */ 1164s # gboolean 1164s # org_project_useful_interface_call_single_arg_method_d_sync ( 1164s # OrgProjectUsefulInterface *proxy, 1164s # gdouble arg_arg_d, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GVariant *_ret; 1164s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1164s # "SingleArgMethodD", 1164s # g_variant_new ("(d)", 1164s # arg_arg_d), 1164s # G_DBUS_CALL_FLAGS_NONE, 1164s # -1, 1164s # cancellable, 1164s # error); 1164s # if (_ret == NULL) 1164s # goto _out; 1164s # g_variant_get (_ret, 1164s # "()"); 1164s # g_variant_unref (_ret); 1164s # _out: 1164s # return _ret != NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_complete_single_arg_method_d: 1164s # * @object: A #OrgProjectUsefulInterface. 1164s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1164s # * 1164s # * 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. 1164s # * 1164s # * This method will free @invocation, you cannot use it afterwards. 1164s # */ 1164s # void 1164s # org_project_useful_interface_complete_single_arg_method_d ( 1164s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1164s # GDBusMethodInvocation *invocation) 1164s # { 1164s # g_dbus_method_invocation_return_value (invocation, 1164s # g_variant_new ("()")); 1164s # } 1164s # 1164s # /* ------------------------------------------------------------------------ */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceProxy: 1164s # * 1164s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceProxyClass: 1164s # * @parent_class: The parent class. 1164s # * 1164s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1164s # */ 1164s # 1164s # struct _OrgProjectUsefulInterfaceProxyPrivate 1164s # { 1164s # GData *qdata; 1164s # }; 1164s # 1164s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1164s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1164s # 1164s # #else 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1164s # 1164s # #endif 1164s # static void 1164s # org_project_useful_interface_proxy_finalize (GObject *object) 1164s # { 1164s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1164s # g_datalist_clear (&proxy->priv->qdata); 1164s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1164s # guint prop_id G_GNUC_UNUSED, 1164s # GValue *value G_GNUC_UNUSED, 1164s # GParamSpec *pspec G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1164s # guint prop_id G_GNUC_UNUSED, 1164s # const GValue *value G_GNUC_UNUSED, 1164s # GParamSpec *pspec G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1164s # const gchar *sender_name G_GNUC_UNUSED, 1164s # const gchar *signal_name, 1164s # GVariant *parameters) 1164s # { 1164s # _ExtendedGDBusSignalInfo *info; 1164s # GVariantIter iter; 1164s # GVariant *child; 1164s # GValue *paramv; 1164s # gsize num_params; 1164s # gsize n; 1164s # guint signal_id; 1164s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1164s # if (info == NULL) 1164s # return; 1164s # num_params = g_variant_n_children (parameters); 1164s # paramv = g_new0 (GValue, num_params + 1); 1164s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_value_set_object (¶mv[0], proxy); 1164s # g_variant_iter_init (&iter, parameters); 1164s # n = 1; 1164s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1164s # { 1164s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1164s # if (arg_info->use_gvariant) 1164s # { 1164s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1164s # g_value_set_variant (¶mv[n], child); 1164s # n++; 1164s # } 1164s # else 1164s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1164s # g_variant_unref (child); 1164s # } 1164s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_signal_emitv (paramv, signal_id, 0, NULL); 1164s # for (n = 0; n < num_params + 1; n++) 1164s # g_value_unset (¶mv[n]); 1164s # g_free (paramv); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1164s # GVariant *changed_properties, 1164s # const gchar *const *invalidated_properties) 1164s # { 1164s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1164s # guint n; 1164s # const gchar *key; 1164s # GVariantIter *iter; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # g_variant_get (changed_properties, "a{sv}", &iter); 1164s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1164s # { 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1164s # g_datalist_remove_data (&proxy->priv->qdata, key); 1164s # if (info != NULL) 1164s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1164s # } 1164s # g_variant_iter_free (iter); 1164s # for (n = 0; invalidated_properties[n] != NULL; n++) 1164s # { 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1164s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1164s # if (info != NULL) 1164s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1164s # } 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1164s # { 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1164s # #else 1164s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1164s # #endif 1164s # 1164s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1164s # { 1164s # GObjectClass *gobject_class; 1164s # GDBusProxyClass *proxy_class; 1164s # 1164s # gobject_class = G_OBJECT_CLASS (klass); 1164s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1164s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1164s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1164s # 1164s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1164s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1164s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1164s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1164s # #endif 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new: 1164s # * @connection: A #GDBusConnection. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1164s # * 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1164s # */ 1164s # void 1164s # org_project_useful_interface_proxy_new ( 1164s # GDBusConnection *connection, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # g_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); 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_finish: 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_finish ( 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GObject *ret; 1164s # GObject *source_object; 1164s # source_object = g_async_result_get_source_object (res); 1164s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1164s # g_object_unref (source_object); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_sync: 1164s # * @connection: A #GDBusConnection. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1164s # * 1164s # * The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_sync ( 1164s # GDBusConnection *connection, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GInitable *ret; 1164s # 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); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_for_bus: 1164s # * @bus_type: A #GBusType. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: A bus name (well-known or unique). 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1164s # * 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1164s # */ 1164s # void 1164s # org_project_useful_interface_proxy_new_for_bus ( 1164s # GBusType bus_type, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # g_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); 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_for_bus_finish: 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_for_bus_finish ( 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GObject *ret; 1164s # GObject *source_object; 1164s # source_object = g_async_result_get_source_object (res); 1164s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1164s # g_object_unref (source_object); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_for_bus_sync: 1164s # * @bus_type: A #GBusType. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: A bus name (well-known or unique). 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1164s # * 1164s # * The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_for_bus_sync ( 1164s # GBusType bus_type, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GInitable *ret; 1164s # 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); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # 1164s # /* ------------------------------------------------------------------------ */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceSkeleton: 1164s # * 1164s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceSkeletonClass: 1164s # * @parent_class: The parent class. 1164s # * 1164s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1164s # */ 1164s # 1164s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1164s # { 1164s # GValue *properties; 1164s # GList *changed_properties; 1164s # GSource *changed_properties_idle_source; 1164s # GMainContext *context; 1164s # GMutex lock; 1164s # }; 1164s # 1164s # static void 1164s # _org_project_useful_interface_skeleton_handle_method_call ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name, 1164s # const gchar *method_name, 1164s # GVariant *parameters, 1164s # GDBusMethodInvocation *invocation, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1164s # _ExtendedGDBusMethodInfo *info; 1164s # GVariantIter iter; 1164s # GVariant *child; 1164s # GValue *paramv; 1164s # gsize num_params; 1164s # guint num_extra; 1164s # gsize n; 1164s # guint signal_id; 1164s # GValue return_value = G_VALUE_INIT; 1164s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1164s # g_assert (info != NULL); 1164s # num_params = g_variant_n_children (parameters); 1164s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1164s # n = 0; 1164s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_value_set_object (¶mv[n++], skeleton); 1164s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1164s # g_value_set_object (¶mv[n++], invocation); 1164s # if (info->pass_fdlist) 1164s # { 1164s # #ifdef G_OS_UNIX 1164s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1164s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1164s # #else 1164s # g_assert_not_reached (); 1164s # #endif 1164s # } 1164s # g_variant_iter_init (&iter, parameters); 1164s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1164s # { 1164s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1164s # if (arg_info->use_gvariant) 1164s # { 1164s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1164s # g_value_set_variant (¶mv[n], child); 1164s # n++; 1164s # } 1164s # else 1164s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1164s # g_variant_unref (child); 1164s # } 1164s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1164s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1164s # if (!g_value_get_boolean (&return_value)) 1164s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1164s # g_value_unset (&return_value); 1164s # for (n = 0; n < num_params + num_extra; n++) 1164s # g_value_unset (¶mv[n]); 1164s # g_free (paramv); 1164s # } 1164s # 1164s # static GVariant * 1164s # _org_project_useful_interface_skeleton_handle_get_property ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name G_GNUC_UNUSED, 1164s # const gchar *property_name, 1164s # GError **error, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1164s # GValue value = G_VALUE_INIT; 1164s # GParamSpec *pspec; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # GVariant *ret; 1164s # ret = NULL; 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1164s # g_assert (info != NULL); 1164s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1164s # if (pspec == NULL) 1164s # { 1164s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1164s # } 1164s # else 1164s # { 1164s # g_value_init (&value, pspec->value_type); 1164s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1164s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1164s # g_value_unset (&value); 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static gboolean 1164s # _org_project_useful_interface_skeleton_handle_set_property ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name G_GNUC_UNUSED, 1164s # const gchar *property_name, 1164s # GVariant *variant, 1164s # GError **error, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1164s # GValue value = G_VALUE_INIT; 1164s # GParamSpec *pspec; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # gboolean ret; 1164s # ret = FALSE; 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1164s # g_assert (info != NULL); 1164s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1164s # if (pspec == NULL) 1164s # { 1164s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1164s # } 1164s # else 1164s # { 1164s # if (info->use_gvariant) 1164s # g_value_set_variant (&value, variant); 1164s # else 1164s # g_dbus_gvariant_to_gvalue (variant, &value); 1164s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1164s # g_value_unset (&value); 1164s # ret = TRUE; 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1164s # { 1164s # _org_project_useful_interface_skeleton_handle_method_call, 1164s # _org_project_useful_interface_skeleton_handle_get_property, 1164s # _org_project_useful_interface_skeleton_handle_set_property, 1164s # {NULL} 1164s # }; 1164s # 1164s # static GDBusInterfaceInfo * 1164s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1164s # { 1164s # return org_project_useful_interface_interface_info (); 1164s # } 1164s # 1164s # static GDBusInterfaceVTable * 1164s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1164s # { 1164s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1164s # } 1164s # 1164s # static GVariant * 1164s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1164s # 1164s # GVariantBuilder builder; 1164s # guint n; 1164s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1164s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1164s # goto out; 1164s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1164s # { 1164s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1164s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1164s # { 1164s # GVariant *value; 1164s # 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); 1164s # if (value != NULL) 1164s # { 1164s # g_variant_take_ref (value); 1164s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1164s # g_variant_unref (value); 1164s # } 1164s # } 1164s # } 1164s # out: 1164s # return g_variant_builder_end (&builder); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1164s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1164s # 1164s # #else 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1164s # 1164s # #endif 1164s # static void 1164s # org_project_useful_interface_skeleton_finalize (GObject *object) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1164s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1164s # if (skeleton->priv->changed_properties_idle_source != NULL) 1164s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1164s # g_main_context_unref (skeleton->priv->context); 1164s # g_mutex_clear (&skeleton->priv->lock); 1164s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1164s # { 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1164s # #else 1164s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1164s # #endif 1164s # 1164s # g_mutex_init (&skeleton->priv->lock); 1164s # skeleton->priv->context = g_main_context_ref_thread_default (); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1164s # { 1164s # GObjectClass *gobject_class; 1164s # GDBusInterfaceSkeletonClass *skeleton_class; 1164s # 1164s # gobject_class = G_OBJECT_CLASS (klass); 1164s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1164s # 1164s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1164s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1164s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1164s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1164s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1164s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1164s # #endif 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_skeleton_new: 1164s # * 1164s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_skeleton_new (void) 1164s # { 1164s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1164s # } 1164s # /tmp/tmp0hh_d_fb/tmptaswd51q.xml: 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0hh_d_fb/tmptaswd51q.xml', '--output', '-', '--body'] 1164s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1164s # Output: /* 1164s # * This file is generated by gdbus-codegen, do not modify it. 1164s # * 1164s # * The license of this code is the same as for the D-Bus interface description 1164s # * it was derived from. Note that it links to GLib, so must comply with the 1164s # * LGPL linking clauses. 1164s # */ 1164s # 1164s # #ifdef HAVE_CONFIG_H 1164s # # include "config.h" 1164s # #endif 1164s # 1164s # #include 1164s # #ifdef G_OS_UNIX 1164s # # include 1164s # #endif 1164s # 1164s # #ifdef G_ENABLE_DEBUG 1164s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1164s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1164s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1164s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1164s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1164s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1164s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1164s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1164s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1164s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1164s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1164s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1164s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1164s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1164s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1164s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1164s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1164s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1164s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1164s # #else /* !G_ENABLE_DEBUG */ 1164s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1164s # * Do not access GValues directly in your code. Instead, use the 1164s # * g_value_get_*() functions 1164s # */ 1164s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1164s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1164s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1164s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1164s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1164s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1164s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1164s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1164s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1164s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1164s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1164s # #endif /* !G_ENABLE_DEBUG */ 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusArgInfo parent_struct; 1164s # gboolean use_gvariant; 1164s # } _ExtendedGDBusArgInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusMethodInfo parent_struct; 1164s # const gchar *signal_name; 1164s # gboolean pass_fdlist; 1164s # } _ExtendedGDBusMethodInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusSignalInfo parent_struct; 1164s # const gchar *signal_name; 1164s # } _ExtendedGDBusSignalInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusPropertyInfo parent_struct; 1164s # const gchar *hyphen_name; 1164s # guint use_gvariant : 1; 1164s # guint emits_changed_signal : 1; 1164s # } _ExtendedGDBusPropertyInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusInterfaceInfo parent_struct; 1164s # const gchar *hyphen_name; 1164s # } _ExtendedGDBusInterfaceInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # const _ExtendedGDBusPropertyInfo *info; 1164s # guint prop_id; 1164s # GValue orig_value; /* the value before the change */ 1164s # } ChangedProperty; 1164s # 1164s # static void 1164s # _changed_property_free (ChangedProperty *data) 1164s # { 1164s # g_value_unset (&data->orig_value); 1164s # g_free (data); 1164s # } 1164s # 1164s # static gboolean 1164s # _g_strv_equal0 (gchar **a, gchar **b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # guint n; 1164s # if (a == NULL && b == NULL) 1164s # { 1164s # ret = TRUE; 1164s # goto out; 1164s # } 1164s # if (a == NULL || b == NULL) 1164s # goto out; 1164s # if (g_strv_length (a) != g_strv_length (b)) 1164s # goto out; 1164s # for (n = 0; a[n] != NULL; n++) 1164s # if (g_strcmp0 (a[n], b[n]) != 0) 1164s # goto out; 1164s # ret = TRUE; 1164s # out: 1164s # return ret; 1164s # } 1164s # 1164s # static gboolean 1164s # _g_variant_equal0 (GVariant *a, GVariant *b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # if (a == NULL && b == NULL) 1164s # { 1164s # ret = TRUE; 1164s # goto out; 1164s # } 1164s # if (a == NULL || b == NULL) 1164s # goto out; 1164s # ret = g_variant_equal (a, b); 1164s # out: 1164s # return ret; 1164s # } 1164s # 1164s # G_GNUC_UNUSED static gboolean 1164s # _g_value_equal (const GValue *a, const GValue *b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1164s # switch (G_VALUE_TYPE (a)) 1164s # { 1164s # case G_TYPE_BOOLEAN: 1164s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1164s # break; 1164s # case G_TYPE_UCHAR: 1164s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1164s # break; 1164s # case G_TYPE_INT: 1164s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1164s # break; 1164s # case G_TYPE_UINT: 1164s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1164s # break; 1164s # case G_TYPE_INT64: 1164s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1164s # break; 1164s # case G_TYPE_UINT64: 1164s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1164s # break; 1164s # case G_TYPE_DOUBLE: 1164s # { 1164s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1164s # gdouble da = g_value_get_double (a); 1164s # gdouble db = g_value_get_double (b); 1164s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1164s # } 1164s # break; 1164s # case G_TYPE_STRING: 1164s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1164s # break; 1164s # case G_TYPE_VARIANT: 1164s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1164s # break; 1164s # default: 1164s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1164s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1164s # else 1164s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1164s # break; 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static void 1164s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 1164s # GClosure *closure, 1164s # GValue *return_value, 1164s # unsigned int n_param_values, 1164s # const GValue *param_values, 1164s # void *invocation_hint G_GNUC_UNUSED, 1164s # void *marshal_data) 1164s # { 1164s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1164s # (void *data1, 1164s # GDBusMethodInvocation *arg_method_invocation, 1164s # const gchar *arg_arg_s, 1164s # void *data2); 1164s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 1164s # GCClosure *cc = (GCClosure*) closure; 1164s # void *data1, *data2; 1164s # gboolean v_return; 1164s # 1164s # g_return_if_fail (return_value != NULL); 1164s # g_return_if_fail (n_param_values == 3); 1164s # 1164s # if (G_CCLOSURE_SWAP_DATA (closure)) 1164s # { 1164s # data1 = closure->data; 1164s # data2 = g_value_peek_pointer (param_values + 0); 1164s # } 1164s # else 1164s # { 1164s # data1 = g_value_peek_pointer (param_values + 0); 1164s # data2 = closure->data; 1164s # } 1164s # 1164s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1164s # (marshal_data ? marshal_data : cc->callback); 1164s # 1164s # v_return = 1164s # callback (data1, 1164s # g_marshal_value_peek_object (param_values + 1), 1164s # g_marshal_value_peek_string (param_values + 2), 1164s # data2); 1164s # 1164s # g_value_set_boolean (return_value, v_return); 1164s # } 1164s # 1164s # /* ------------------------------------------------------------------------ 1164s # * Code for interface org.project.UsefulInterface 1164s # * ------------------------------------------------------------------------ 1164s # */ 1164s # 1164s # /** 1164s # * SECTION:OrgProjectUsefulInterface 1164s # * @title: OrgProjectUsefulInterface 1164s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1164s # * 1164s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1164s # */ 1164s # 1164s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "arg_s", 1164s # (gchar *) "s", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers[] = 1164s # { 1164s # &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s.parent_struct, 1164s # NULL 1164s # }; 1164s # 1164s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "SingleArgMethodS", 1164s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers, 1164s # NULL, 1164s # NULL 1164s # }, 1164s # "handle-single-arg-method-s", 1164s # FALSE 1164s # }; 1164s # 1164s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1164s # { 1164s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct, 1164s # NULL 1164s # }; 1164s # 1164s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "org.project.UsefulInterface", 1164s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1164s # NULL, 1164s # NULL, 1164s # NULL 1164s # }, 1164s # "org-project-useful-interface", 1164s # }; 1164s # 1164s # 1164s # /** 1164s # * org_project_useful_interface_interface_info: 1164s # * 1164s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1164s # * 1164s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1164s # */ 1164s # GDBusInterfaceInfo * 1164s # org_project_useful_interface_interface_info (void) 1164s # { 1164s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_override_properties: 1164s # * @klass: The class structure for a #GObject derived class. 1164s # * @property_id_begin: The property id to assign to the first overridden property. 1164s # * 1164s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1164s # * The properties are overridden in the order they are defined. 1164s # * 1164s # * Returns: The last property id. 1164s # */ 1164s # guint 1164s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1164s # { 1164s # return property_id_begin - 1; 1164s # } 1164s # 1164s # 1164s # inline static void 1164s # org_project_useful_interface_method_marshal_single_arg_method_s ( 1164s # GClosure *closure, 1164s # GValue *return_value, 1164s # unsigned int n_param_values, 1164s # const GValue *param_values, 1164s # void *invocation_hint, 1164s # void *marshal_data) 1164s # { 1164s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 1164s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1164s # } 1164s # 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterface: 1164s # * 1164s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceIface: 1164s # * @parent_iface: The parent interface. 1164s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal. 1164s # * 1164s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1164s # */ 1164s # 1164s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1164s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1164s # 1164s # static void 1164s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1164s # { 1164s # /* GObject signals for incoming D-Bus method calls: */ 1164s # /** 1164s # * OrgProjectUsefulInterface::handle-single-arg-method-s: 1164s # * @object: A #OrgProjectUsefulInterface. 1164s # * @invocation: A #GDBusMethodInvocation. 1164s # * @arg_arg_s: Argument passed by remote caller. 1164s # * 1164s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method. 1164s # * 1164s # * 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. 1164s # * 1164s # * 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. 1164s # */ 1164s # g_signal_new ("handle-single-arg-method-s", 1164s # G_TYPE_FROM_INTERFACE (iface), 1164s # G_SIGNAL_RUN_LAST, 1164s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s), 1164s # g_signal_accumulator_true_handled, 1164s # NULL, 1164s # org_project_useful_interface_method_marshal_single_arg_method_s, 1164s # G_TYPE_BOOLEAN, 1164s # 2, 1164s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 1164s # 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_call_single_arg_method_s: 1164s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1164s # * @arg_arg_s: Argument to pass with the method invocation. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy. 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method. 1164s # */ 1164s # void 1164s # org_project_useful_interface_call_single_arg_method_s ( 1164s # OrgProjectUsefulInterface *proxy, 1164s # const gchar *arg_arg_s, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1164s # "SingleArgMethodS", 1164s # g_variant_new ("(s)", 1164s # arg_arg_s), 1164s # G_DBUS_CALL_FLAGS_NONE, 1164s # -1, 1164s # cancellable, 1164s # callback, 1164s # user_data); 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_call_single_arg_method_s_finish: 1164s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s(). 1164s # * @error: Return location for error or %NULL. 1164s # * 1164s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s(). 1164s # * 1164s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1164s # */ 1164s # gboolean 1164s # org_project_useful_interface_call_single_arg_method_s_finish ( 1164s # OrgProjectUsefulInterface *proxy, 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GVariant *_ret; 1164s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1164s # if (_ret == NULL) 1164s # goto _out; 1164s # g_variant_get (_ret, 1164s # "()"); 1164s # g_variant_unref (_ret); 1164s # _out: 1164s # return _ret != NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_call_single_arg_method_s_sync: 1164s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1164s # * @arg_arg_s: Argument to pass with the method invocation. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL. 1164s # * 1164s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method. 1164s # * 1164s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1164s # */ 1164s # gboolean 1164s # org_project_useful_interface_call_single_arg_method_s_sync ( 1164s # OrgProjectUsefulInterface *proxy, 1164s # const gchar *arg_arg_s, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GVariant *_ret; 1164s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1164s # "SingleArgMethodS", 1164s # g_variant_new ("(s)", 1164s # arg_arg_s), 1164s # G_DBUS_CALL_FLAGS_NONE, 1164s # -1, 1164s # cancellable, 1164s # error); 1164s # if (_ret == NULL) 1164s # goto _out; 1164s # g_variant_get (_ret, 1164s # "()"); 1164s # g_variant_unref (_ret); 1164s # _out: 1164s # return _ret != NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_complete_single_arg_method_s: 1164s # * @object: A #OrgProjectUsefulInterface. 1164s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1164s # * 1164s # * 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. 1164s # * 1164s # * This method will free @invocation, you cannot use it afterwards. 1164s # */ 1164s # void 1164s # org_project_useful_interface_complete_single_arg_method_s ( 1164s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1164s # GDBusMethodInvocation *invocation) 1164s # { 1164s # g_dbus_method_invocation_return_value (invocation, 1164s # g_variant_new ("()")); 1164s # } 1164s # 1164s # /* ------------------------------------------------------------------------ */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceProxy: 1164s # * 1164s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceProxyClass: 1164s # * @parent_class: The parent class. 1164s # * 1164s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1164s # */ 1164s # 1164s # struct _OrgProjectUsefulInterfaceProxyPrivate 1164s # { 1164s # GData *qdata; 1164s # }; 1164s # 1164s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1164s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1164s # 1164s # #else 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1164s # 1164s # #endif 1164s # static void 1164s # org_project_useful_interface_proxy_finalize (GObject *object) 1164s # { 1164s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1164s # g_datalist_clear (&proxy->priv->qdata); 1164s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1164s # guint prop_id G_GNUC_UNUSED, 1164s # GValue *value G_GNUC_UNUSED, 1164s # GParamSpec *pspec G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1164s # guint prop_id G_GNUC_UNUSED, 1164s # const GValue *value G_GNUC_UNUSED, 1164s # GParamSpec *pspec G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1164s # const gchar *sender_name G_GNUC_UNUSED, 1164s # const gchar *signal_name, 1164s # GVariant *parameters) 1164s # { 1164s # _ExtendedGDBusSignalInfo *info; 1164s # GVariantIter iter; 1164s # GVariant *child; 1164s # GValue *paramv; 1164s # gsize num_params; 1164s # gsize n; 1164s # guint signal_id; 1164s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1164s # if (info == NULL) 1164s # return; 1164s # num_params = g_variant_n_children (parameters); 1164s # paramv = g_new0 (GValue, num_params + 1); 1164s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_value_set_object (¶mv[0], proxy); 1164s # g_variant_iter_init (&iter, parameters); 1164s # n = 1; 1164s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1164s # { 1164s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1164s # if (arg_info->use_gvariant) 1164s # { 1164s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1164s # g_value_set_variant (¶mv[n], child); 1164s # n++; 1164s # } 1164s # else 1164s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1164s # g_variant_unref (child); 1164s # } 1164s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_signal_emitv (paramv, signal_id, 0, NULL); 1164s # for (n = 0; n < num_params + 1; n++) 1164s # g_value_unset (¶mv[n]); 1164s # g_free (paramv); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1164s # GVariant *changed_properties, 1164s # const gchar *const *invalidated_properties) 1164s # { 1164s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1164s # guint n; 1164s # const gchar *key; 1164s # GVariantIter *iter; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # g_variant_get (changed_properties, "a{sv}", &iter); 1164s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1164s # { 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1164s # g_datalist_remove_data (&proxy->priv->qdata, key); 1164s # if (info != NULL) 1164s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1164s # } 1164s # g_variant_iter_free (iter); 1164s # for (n = 0; invalidated_properties[n] != NULL; n++) 1164s # { 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1164s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1164s # if (info != NULL) 1164s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1164s # } 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1164s # { 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1164s # #else 1164s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1164s # #endif 1164s # 1164s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1164s # { 1164s # GObjectClass *gobject_class; 1164s # GDBusProxyClass *proxy_class; 1164s # 1164s # gobject_class = G_OBJECT_CLASS (klass); 1164s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1164s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1164s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1164s # 1164s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1164s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1164s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1164s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1164s # #endif 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new: 1164s # * @connection: A #GDBusConnection. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1164s # * 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1164s # */ 1164s # void 1164s # org_project_useful_interface_proxy_new ( 1164s # GDBusConnection *connection, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # g_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); 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_finish: 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_finish ( 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GObject *ret; 1164s # GObject *source_object; 1164s # source_object = g_async_result_get_source_object (res); 1164s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1164s # g_object_unref (source_object); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_sync: 1164s # * @connection: A #GDBusConnection. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1164s # * 1164s # * The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_sync ( 1164s # GDBusConnection *connection, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GInitable *ret; 1164s # 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); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_for_bus: 1164s # * @bus_type: A #GBusType. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: A bus name (well-known or unique). 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1164s # * 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1164s # */ 1164s # void 1164s # org_project_useful_interface_proxy_new_for_bus ( 1164s # GBusType bus_type, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # g_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); 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_for_bus_finish: 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_for_bus_finish ( 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GObject *ret; 1164s # GObject *source_object; 1164s # source_object = g_async_result_get_source_object (res); 1164s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1164s # g_object_unref (source_object); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_for_bus_sync: 1164s # * @bus_type: A #GBusType. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: A bus name (well-known or unique). 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1164s # * 1164s # * The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_for_bus_sync ( 1164s # GBusType bus_type, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GInitable *ret; 1164s # 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); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # 1164s # /* ------------------------------------------------------------------------ */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceSkeleton: 1164s # * 1164s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceSkeletonClass: 1164s # * @parent_class: The parent class. 1164s # * 1164s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1164s # */ 1164s # 1164s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1164s # { 1164s # GValue *properties; 1164s # GList *changed_properties; 1164s # GSource *changed_properties_idle_source; 1164s # GMainContext *context; 1164s # GMutex lock; 1164s # }; 1164s # 1164s # static void 1164s # _org_project_useful_interface_skeleton_handle_method_call ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name, 1164s # const gchar *method_name, 1164s # GVariant *parameters, 1164s # GDBusMethodInvocation *invocation, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1164s # _ExtendedGDBusMethodInfo *info; 1164s # GVariantIter iter; 1164s # GVariant *child; 1164s # GValue *paramv; 1164s # gsize num_params; 1164s # guint num_extra; 1164s # gsize n; 1164s # guint signal_id; 1164s # GValue return_value = G_VALUE_INIT; 1164s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1164s # g_assert (info != NULL); 1164s # num_params = g_variant_n_children (parameters); 1164s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1164s # n = 0; 1164s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_value_set_object (¶mv[n++], skeleton); 1164s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1164s # g_value_set_object (¶mv[n++], invocation); 1164s # if (info->pass_fdlist) 1164s # { 1164s # #ifdef G_OS_UNIX 1164s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1164s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1164s # #else 1164s # g_assert_not_reached (); 1164s # #endif 1164s # } 1164s # g_variant_iter_init (&iter, parameters); 1164s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1164s # { 1164s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1164s # if (arg_info->use_gvariant) 1164s # { 1164s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1164s # g_value_set_variant (¶mv[n], child); 1164s # n++; 1164s # } 1164s # else 1164s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1164s # g_variant_unref (child); 1164s # } 1164s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1164s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1164s # if (!g_value_get_boolean (&return_value)) 1164s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1164s # g_value_unset (&return_value); 1164s # for (n = 0; n < num_params + num_extra; n++) 1164s # g_value_unset (¶mv[n]); 1164s # g_free (paramv); 1164s # } 1164s # 1164s # static GVariant * 1164s # _org_project_useful_interface_skeleton_handle_get_property ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name G_GNUC_UNUSED, 1164s # const gchar *property_name, 1164s # GError **error, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1164s # GValue value = G_VALUE_INIT; 1164s # GParamSpec *pspec; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # GVariant *ret; 1164s # ret = NULL; 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1164s # g_assert (info != NULL); 1164s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1164s # if (pspec == NULL) 1164s # { 1164s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1164s # } 1164s # else 1164s # { 1164s # g_value_init (&value, pspec->value_type); 1164s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1164s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1164s # g_value_unset (&value); 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static gboolean 1164s # _org_project_useful_interface_skeleton_handle_set_property ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name G_GNUC_UNUSED, 1164s # const gchar *property_name, 1164s # GVariant *variant, 1164s # GError **error, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1164s # GValue value = G_VALUE_INIT; 1164s # GParamSpec *pspec; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # gboolean ret; 1164s # ret = FALSE; 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1164s # g_assert (info != NULL); 1164s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1164s # if (pspec == NULL) 1164s # { 1164s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1164s # } 1164s # else 1164s # { 1164s # if (info->use_gvariant) 1164s # g_value_set_variant (&value, variant); 1164s # else 1164s # g_dbus_gvariant_to_gvalue (variant, &value); 1164s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1164s # g_value_unset (&value); 1164s # ret = TRUE; 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1164s # { 1164s # _org_project_useful_interface_skeleton_handle_method_call, 1164s # _org_project_useful_interface_skeleton_handle_get_property, 1164s # _org_project_useful_interface_skeleton_handle_set_property, 1164s # {NULL} 1164s # }; 1164s # 1164s # static GDBusInterfaceInfo * 1164s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1164s # { 1164s # return org_project_useful_interface_interface_info (); 1164s # } 1164s # 1164s # static GDBusInterfaceVTable * 1164s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1164s # { 1164s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1164s # } 1164s # 1164s # static GVariant * 1164s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1164s # 1164s # GVariantBuilder builder; 1164s # guint n; 1164s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1164s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1164s # goto out; 1164s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1164s # { 1164s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1164s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1164s # { 1164s # GVariant *value; 1164s # 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); 1164s # if (value != NULL) 1164s # { 1164s # g_variant_take_ref (value); 1164s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1164s # g_variant_unref (value); 1164s # } 1164s # } 1164s # } 1164s # out: 1164s # return g_variant_builder_end (&builder); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1164s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1164s # 1164s # #else 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1164s # 1164s # #endif 1164s # static void 1164s # org_project_useful_interface_skeleton_finalize (GObject *object) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1164s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1164s # if (skeleton->priv->changed_properties_idle_source != NULL) 1164s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1164s # g_main_context_unref (skeleton->priv->context); 1164s # g_mutex_clear (&skeleton->priv->lock); 1164s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1164s # { 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1164s # #else 1164s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1164s # #endif 1164s # 1164s # g_mutex_init (&skeleton->priv->lock); 1164s # skeleton->priv->context = g_main_context_ref_thread_default (); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1164s # { 1164s # GObjectClass *gobject_class; 1164s # GDBusInterfaceSkeletonClass *skeleton_class; 1164s # 1164s # gobject_class = G_OBJECT_CLASS (klass); 1164s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1164s # 1164s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1164s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1164s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1164s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1164s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1164s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1164s # #endif 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_skeleton_new: 1164s # * 1164s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_skeleton_new (void) 1164s # { 1164s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1164s # } 1164s # /tmp/tmp0hh_d_fb/tmpgpdk4td9.xml: 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0hh_d_fb/tmpgpdk4td9.xml', '--output', '-', '--body'] 1164s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1164s # Output: /* 1164s # * This file is generated by gdbus-codegen, do not modify it. 1164s # * 1164s # * The license of this code is the same as for the D-Bus interface description 1164s # * it was derived from. Note that it links to GLib, so must comply with the 1164s # * LGPL linking clauses. 1164s # */ 1164s # 1164s # #ifdef HAVE_CONFIG_H 1164s # # include "config.h" 1164s # #endif 1164s # 1164s # #include 1164s # #ifdef G_OS_UNIX 1164s # # include 1164s # #endif 1164s # 1164s # #ifdef G_ENABLE_DEBUG 1164s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1164s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1164s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1164s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1164s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1164s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1164s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1164s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1164s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1164s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1164s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1164s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1164s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1164s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1164s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1164s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1164s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1164s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1164s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1164s # #else /* !G_ENABLE_DEBUG */ 1164s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1164s # * Do not access GValues directly in your code. Instead, use the 1164s # * g_value_get_*() functions 1164s # */ 1164s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1164s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1164s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1164s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1164s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1164s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1164s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1164s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1164s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1164s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1164s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1164s # #endif /* !G_ENABLE_DEBUG */ 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusArgInfo parent_struct; 1164s # gboolean use_gvariant; 1164s # } _ExtendedGDBusArgInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusMethodInfo parent_struct; 1164s # const gchar *signal_name; 1164s # gboolean pass_fdlist; 1164s # } _ExtendedGDBusMethodInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusSignalInfo parent_struct; 1164s # const gchar *signal_name; 1164s # } _ExtendedGDBusSignalInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusPropertyInfo parent_struct; 1164s # const gchar *hyphen_name; 1164s # guint use_gvariant : 1; 1164s # guint emits_changed_signal : 1; 1164s # } _ExtendedGDBusPropertyInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusInterfaceInfo parent_struct; 1164s # const gchar *hyphen_name; 1164s # } _ExtendedGDBusInterfaceInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # const _ExtendedGDBusPropertyInfo *info; 1164s # guint prop_id; 1164s # GValue orig_value; /* the value before the change */ 1164s # } ChangedProperty; 1164s # 1164s # static void 1164s # _changed_property_free (ChangedProperty *data) 1164s # { 1164s # g_value_unset (&data->orig_value); 1164s # g_free (data); 1164s # } 1164s # 1164s # static gboolean 1164s # _g_strv_equal0 (gchar **a, gchar **b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # guint n; 1164s # if (a == NULL && b == NULL) 1164s # { 1164s # ret = TRUE; 1164s # goto out; 1164s # } 1164s # if (a == NULL || b == NULL) 1164s # goto out; 1164s # if (g_strv_length (a) != g_strv_length (b)) 1164s # goto out; 1164s # for (n = 0; a[n] != NULL; n++) 1164s # if (g_strcmp0 (a[n], b[n]) != 0) 1164s # goto out; 1164s # ret = TRUE; 1164s # out: 1164s # return ret; 1164s # } 1164s # 1164s # static gboolean 1164s # _g_variant_equal0 (GVariant *a, GVariant *b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # if (a == NULL && b == NULL) 1164s # { 1164s # ret = TRUE; 1164s # goto out; 1164s # } 1164s # if (a == NULL || b == NULL) 1164s # goto out; 1164s # ret = g_variant_equal (a, b); 1164s # out: 1164s # return ret; 1164s # } 1164s # 1164s # G_GNUC_UNUSED static gboolean 1164s # _g_value_equal (const GValue *a, const GValue *b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1164s # switch (G_VALUE_TYPE (a)) 1164s # { 1164s # case G_TYPE_BOOLEAN: 1164s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1164s # break; 1164s # case G_TYPE_UCHAR: 1164s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1164s # break; 1164s # case G_TYPE_INT: 1164s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1164s # break; 1164s # case G_TYPE_UINT: 1164s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1164s # break; 1164s # case G_TYPE_INT64: 1164s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1164s # break; 1164s # case G_TYPE_UINT64: 1164s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1164s # break; 1164s # case G_TYPE_DOUBLE: 1164s # { 1164s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1164s # gdouble da = g_value_get_double (a); 1164s # gdouble db = g_value_get_double (b); 1164s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1164s # } 1164s # break; 1164s # case G_TYPE_STRING: 1164s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1164s # break; 1164s # case G_TYPE_VARIANT: 1164s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1164s # break; 1164s # default: 1164s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1164s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1164s # else 1164s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1164s # break; 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static void 1164s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 1164s # GClosure *closure, 1164s # GValue *return_value, 1164s # unsigned int n_param_values, 1164s # const GValue *param_values, 1164s # void *invocation_hint G_GNUC_UNUSED, 1164s # void *marshal_data) 1164s # { 1164s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1164s # (void *data1, 1164s # GDBusMethodInvocation *arg_method_invocation, 1164s # const gchar *arg_arg_o, 1164s # void *data2); 1164s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 1164s # GCClosure *cc = (GCClosure*) closure; 1164s # void *data1, *data2; 1164s # gboolean v_return; 1164s # 1164s # g_return_if_fail (return_value != NULL); 1164s # g_return_if_fail (n_param_values == 3); 1164s # 1164s # if (G_CCLOSURE_SWAP_DATA (closure)) 1164s # { 1164s # data1 = closure->data; 1164s # data2 = g_value_peek_pointer (param_values + 0); 1164s # } 1164s # else 1164s # { 1164s # data1 = g_value_peek_pointer (param_values + 0); 1164s # data2 = closure->data; 1164s # } 1164s # 1164s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1164s # (marshal_data ? marshal_data : cc->callback); 1164s # 1164s # v_return = 1164s # callback (data1, 1164s # g_marshal_value_peek_object (param_values + 1), 1164s # g_marshal_value_peek_string (param_values + 2), 1164s # data2); 1164s # 1164s # g_value_set_boolean (return_value, v_return); 1164s # } 1164s # 1164s # /* ------------------------------------------------------------------------ 1164s # * Code for interface org.project.UsefulInterface 1164s # * ------------------------------------------------------------------------ 1164s # */ 1164s # 1164s # /** 1164s # * SECTION:OrgProjectUsefulInterface 1164s # * @title: OrgProjectUsefulInterface 1164s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1164s # * 1164s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1164s # */ 1164s # 1164s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "arg_o", 1164s # (gchar *) "o", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers[] = 1164s # { 1164s # &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o.parent_struct, 1164s # NULL 1164s # }; 1164s # 1164s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "SingleArgMethodO", 1164s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers, 1164s # NULL, 1164s # NULL 1164s # }, 1164s # "handle-single-arg-method-o", 1164s # FALSE 1164s # }; 1164s # 1164s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1164s # { 1164s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct, 1164s # NULL 1164s # }; 1164s # 1164s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "org.project.UsefulInterface", 1164s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1164s # NULL, 1164s # NULL, 1164s # NULL 1164s # }, 1164s # "org-project-useful-interface", 1164s # }; 1164s # 1164s # 1164s # /** 1164s # * org_project_useful_interface_interface_info: 1164s # * 1164s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1164s # * 1164s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1164s # */ 1164s # GDBusInterfaceInfo * 1164s # org_project_useful_interface_interface_info (void) 1164s # { 1164s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_override_properties: 1164s # * @klass: The class structure for a #GObject derived class. 1164s # * @property_id_begin: The property id to assign to the first overridden property. 1164s # * 1164s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1164s # * The properties are overridden in the order they are defined. 1164s # * 1164s # * Returns: The last property id. 1164s # */ 1164s # guint 1164s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1164s # { 1164s # return property_id_begin - 1; 1164s # } 1164s # 1164s # 1164s # inline static void 1164s # org_project_useful_interface_method_marshal_single_arg_method_o ( 1164s # GClosure *closure, 1164s # GValue *return_value, 1164s # unsigned int n_param_values, 1164s # const GValue *param_values, 1164s # void *invocation_hint, 1164s # void *marshal_data) 1164s # { 1164s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 1164s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1164s # } 1164s # 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterface: 1164s # * 1164s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceIface: 1164s # * @parent_iface: The parent interface. 1164s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal. 1164s # * 1164s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1164s # */ 1164s # 1164s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1164s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1164s # 1164s # static void 1164s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1164s # { 1164s # /* GObject signals for incoming D-Bus method calls: */ 1164s # /** 1164s # * OrgProjectUsefulInterface::handle-single-arg-method-o: 1164s # * @object: A #OrgProjectUsefulInterface. 1164s # * @invocation: A #GDBusMethodInvocation. 1164s # * @arg_arg_o: Argument passed by remote caller. 1164s # * 1164s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method. 1164s # * 1164s # * 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. 1164s # * 1164s # * 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. 1164s # */ 1164s # g_signal_new ("handle-single-arg-method-o", 1164s # G_TYPE_FROM_INTERFACE (iface), 1164s # G_SIGNAL_RUN_LAST, 1164s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o), 1164s # g_signal_accumulator_true_handled, 1164s # NULL, 1164s # org_project_useful_interface_method_marshal_single_arg_method_o, 1164s # G_TYPE_BOOLEAN, 1164s # 2, 1164s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 1164s # 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_call_single_arg_method_o: 1164s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1164s # * @arg_arg_o: Argument to pass with the method invocation. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy. 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method. 1164s # */ 1164s # void 1164s # org_project_useful_interface_call_single_arg_method_o ( 1164s # OrgProjectUsefulInterface *proxy, 1164s # const gchar *arg_arg_o, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1164s # "SingleArgMethodO", 1164s # g_variant_new ("(o)", 1164s # arg_arg_o), 1164s # G_DBUS_CALL_FLAGS_NONE, 1164s # -1, 1164s # cancellable, 1164s # callback, 1164s # user_data); 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_call_single_arg_method_o_finish: 1164s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o(). 1164s # * @error: Return location for error or %NULL. 1164s # * 1164s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o(). 1164s # * 1164s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1164s # */ 1164s # gboolean 1164s # org_project_useful_interface_call_single_arg_method_o_finish ( 1164s # OrgProjectUsefulInterface *proxy, 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GVariant *_ret; 1164s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1164s # if (_ret == NULL) 1164s # goto _out; 1164s # g_variant_get (_ret, 1164s # "()"); 1164s # g_variant_unref (_ret); 1164s # _out: 1164s # return _ret != NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_call_single_arg_method_o_sync: 1164s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1164s # * @arg_arg_o: Argument to pass with the method invocation. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL. 1164s # * 1164s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method. 1164s # * 1164s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1164s # */ 1164s # gboolean 1164s # org_project_useful_interface_call_single_arg_method_o_sync ( 1164s # OrgProjectUsefulInterface *proxy, 1164s # const gchar *arg_arg_o, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GVariant *_ret; 1164s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1164s # "SingleArgMethodO", 1164s # g_variant_new ("(o)", 1164s # arg_arg_o), 1164s # G_DBUS_CALL_FLAGS_NONE, 1164s # -1, 1164s # cancellable, 1164s # error); 1164s # if (_ret == NULL) 1164s # goto _out; 1164s # g_variant_get (_ret, 1164s # "()"); 1164s # g_variant_unref (_ret); 1164s # _out: 1164s # return _ret != NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_complete_single_arg_method_o: 1164s # * @object: A #OrgProjectUsefulInterface. 1164s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1164s # * 1164s # * 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. 1164s # * 1164s # * This method will free @invocation, you cannot use it afterwards. 1164s # */ 1164s # void 1164s # org_project_useful_interface_complete_single_arg_method_o ( 1164s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1164s # GDBusMethodInvocation *invocation) 1164s # { 1164s # g_dbus_method_invocation_return_value (invocation, 1164s # g_variant_new ("()")); 1164s # } 1164s # 1164s # /* ------------------------------------------------------------------------ */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceProxy: 1164s # * 1164s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceProxyClass: 1164s # * @parent_class: The parent class. 1164s # * 1164s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1164s # */ 1164s # 1164s # struct _OrgProjectUsefulInterfaceProxyPrivate 1164s # { 1164s # GData *qdata; 1164s # }; 1164s # 1164s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1164s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1164s # 1164s # #else 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1164s # 1164s # #endif 1164s # static void 1164s # org_project_useful_interface_proxy_finalize (GObject *object) 1164s # { 1164s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1164s # g_datalist_clear (&proxy->priv->qdata); 1164s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1164s # guint prop_id G_GNUC_UNUSED, 1164s # GValue *value G_GNUC_UNUSED, 1164s # GParamSpec *pspec G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1164s # guint prop_id G_GNUC_UNUSED, 1164s # const GValue *value G_GNUC_UNUSED, 1164s # GParamSpec *pspec G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1164s # const gchar *sender_name G_GNUC_UNUSED, 1164s # const gchar *signal_name, 1164s # GVariant *parameters) 1164s # { 1164s # _ExtendedGDBusSignalInfo *info; 1164s # GVariantIter iter; 1164s # GVariant *child; 1164s # GValue *paramv; 1164s # gsize num_params; 1164s # gsize n; 1164s # guint signal_id; 1164s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1164s # if (info == NULL) 1164s # return; 1164s # num_params = g_variant_n_children (parameters); 1164s # paramv = g_new0 (GValue, num_params + 1); 1164s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_value_set_object (¶mv[0], proxy); 1164s # g_variant_iter_init (&iter, parameters); 1164s # n = 1; 1164s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1164s # { 1164s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1164s # if (arg_info->use_gvariant) 1164s # { 1164s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1164s # g_value_set_variant (¶mv[n], child); 1164s # n++; 1164s # } 1164s # else 1164s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1164s # g_variant_unref (child); 1164s # } 1164s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_signal_emitv (paramv, signal_id, 0, NULL); 1164s # for (n = 0; n < num_params + 1; n++) 1164s # g_value_unset (¶mv[n]); 1164s # g_free (paramv); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1164s # GVariant *changed_properties, 1164s # const gchar *const *invalidated_properties) 1164s # { 1164s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1164s # guint n; 1164s # const gchar *key; 1164s # GVariantIter *iter; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # g_variant_get (changed_properties, "a{sv}", &iter); 1164s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1164s # { 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1164s # g_datalist_remove_data (&proxy->priv->qdata, key); 1164s # if (info != NULL) 1164s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1164s # } 1164s # g_variant_iter_free (iter); 1164s # for (n = 0; invalidated_properties[n] != NULL; n++) 1164s # { 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1164s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1164s # if (info != NULL) 1164s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1164s # } 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1164s # { 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1164s # #else 1164s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1164s # #endif 1164s # 1164s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1164s # { 1164s # GObjectClass *gobject_class; 1164s # GDBusProxyClass *proxy_class; 1164s # 1164s # gobject_class = G_OBJECT_CLASS (klass); 1164s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1164s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1164s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1164s # 1164s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1164s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1164s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1164s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1164s # #endif 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new: 1164s # * @connection: A #GDBusConnection. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1164s # * 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1164s # */ 1164s # void 1164s # org_project_useful_interface_proxy_new ( 1164s # GDBusConnection *connection, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # g_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); 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_finish: 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_finish ( 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GObject *ret; 1164s # GObject *source_object; 1164s # source_object = g_async_result_get_source_object (res); 1164s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1164s # g_object_unref (source_object); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_sync: 1164s # * @connection: A #GDBusConnection. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1164s # * 1164s # * The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_sync ( 1164s # GDBusConnection *connection, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GInitable *ret; 1164s # 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); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_for_bus: 1164s # * @bus_type: A #GBusType. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: A bus name (well-known or unique). 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1164s # * 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1164s # */ 1164s # void 1164s # org_project_useful_interface_proxy_new_for_bus ( 1164s # GBusType bus_type, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # g_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); 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_for_bus_finish: 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_for_bus_finish ( 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GObject *ret; 1164s # GObject *source_object; 1164s # source_object = g_async_result_get_source_object (res); 1164s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1164s # g_object_unref (source_object); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_for_bus_sync: 1164s # * @bus_type: A #GBusType. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: A bus name (well-known or unique). 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1164s # * 1164s # * The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_for_bus_sync ( 1164s # GBusType bus_type, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GInitable *ret; 1164s # 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); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # 1164s # /* ------------------------------------------------------------------------ */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceSkeleton: 1164s # * 1164s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceSkeletonClass: 1164s # * @parent_class: The parent class. 1164s # * 1164s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1164s # */ 1164s # 1164s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1164s # { 1164s # GValue *properties; 1164s # GList *changed_properties; 1164s # GSource *changed_properties_idle_source; 1164s # GMainContext *context; 1164s # GMutex lock; 1164s # }; 1164s # 1164s # static void 1164s # _org_project_useful_interface_skeleton_handle_method_call ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name, 1164s # const gchar *method_name, 1164s # GVariant *parameters, 1164s # GDBusMethodInvocation *invocation, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1164s # _ExtendedGDBusMethodInfo *info; 1164s # GVariantIter iter; 1164s # GVariant *child; 1164s # GValue *paramv; 1164s # gsize num_params; 1164s # guint num_extra; 1164s # gsize n; 1164s # guint signal_id; 1164s # GValue return_value = G_VALUE_INIT; 1164s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1164s # g_assert (info != NULL); 1164s # num_params = g_variant_n_children (parameters); 1164s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1164s # n = 0; 1164s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_value_set_object (¶mv[n++], skeleton); 1164s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1164s # g_value_set_object (¶mv[n++], invocation); 1164s # if (info->pass_fdlist) 1164s # { 1164s # #ifdef G_OS_UNIX 1164s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1164s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1164s # #else 1164s # g_assert_not_reached (); 1164s # #endif 1164s # } 1164s # g_variant_iter_init (&iter, parameters); 1164s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1164s # { 1164s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1164s # if (arg_info->use_gvariant) 1164s # { 1164s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1164s # g_value_set_variant (¶mv[n], child); 1164s # n++; 1164s # } 1164s # else 1164s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1164s # g_variant_unref (child); 1164s # } 1164s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1164s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1164s # if (!g_value_get_boolean (&return_value)) 1164s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1164s # g_value_unset (&return_value); 1164s # for (n = 0; n < num_params + num_extra; n++) 1164s # g_value_unset (¶mv[n]); 1164s # g_free (paramv); 1164s # } 1164s # 1164s # static GVariant * 1164s # _org_project_useful_interface_skeleton_handle_get_property ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name G_GNUC_UNUSED, 1164s # const gchar *property_name, 1164s # GError **error, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1164s # GValue value = G_VALUE_INIT; 1164s # GParamSpec *pspec; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # GVariant *ret; 1164s # ret = NULL; 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1164s # g_assert (info != NULL); 1164s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1164s # if (pspec == NULL) 1164s # { 1164s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1164s # } 1164s # else 1164s # { 1164s # g_value_init (&value, pspec->value_type); 1164s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1164s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1164s # g_value_unset (&value); 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static gboolean 1164s # _org_project_useful_interface_skeleton_handle_set_property ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name G_GNUC_UNUSED, 1164s # const gchar *property_name, 1164s # GVariant *variant, 1164s # GError **error, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1164s # GValue value = G_VALUE_INIT; 1164s # GParamSpec *pspec; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # gboolean ret; 1164s # ret = FALSE; 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1164s # g_assert (info != NULL); 1164s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1164s # if (pspec == NULL) 1164s # { 1164s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1164s # } 1164s # else 1164s # { 1164s # if (info->use_gvariant) 1164s # g_value_set_variant (&value, variant); 1164s # else 1164s # g_dbus_gvariant_to_gvalue (variant, &value); 1164s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1164s # g_value_unset (&value); 1164s # ret = TRUE; 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1164s # { 1164s # _org_project_useful_interface_skeleton_handle_method_call, 1164s # _org_project_useful_interface_skeleton_handle_get_property, 1164s # _org_project_useful_interface_skeleton_handle_set_property, 1164s # {NULL} 1164s # }; 1164s # 1164s # static GDBusInterfaceInfo * 1164s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1164s # { 1164s # return org_project_useful_interface_interface_info (); 1164s # } 1164s # 1164s # static GDBusInterfaceVTable * 1164s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1164s # { 1164s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1164s # } 1164s # 1164s # static GVariant * 1164s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1164s # 1164s # GVariantBuilder builder; 1164s # guint n; 1164s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1164s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1164s # goto out; 1164s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1164s # { 1164s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1164s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1164s # { 1164s # GVariant *value; 1164s # 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); 1164s # if (value != NULL) 1164s # { 1164s # g_variant_take_ref (value); 1164s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1164s # g_variant_unref (value); 1164s # } 1164s # } 1164s # } 1164s # out: 1164s # return g_variant_builder_end (&builder); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1164s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1164s # 1164s # #else 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1164s # 1164s # #endif 1164s # static void 1164s # org_project_useful_interface_skeleton_finalize (GObject *object) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1164s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1164s # if (skeleton->priv->changed_properties_idle_source != NULL) 1164s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1164s # g_main_context_unref (skeleton->priv->context); 1164s # g_mutex_clear (&skeleton->priv->lock); 1164s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1164s # { 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1164s # #else 1164s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1164s # #endif 1164s # 1164s # g_mutex_init (&skeleton->priv->lock); 1164s # skeleton->priv->context = g_main_context_ref_thread_default (); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1164s # { 1164s # GObjectClass *gobject_class; 1164s # GDBusInterfaceSkeletonClass *skeleton_class; 1164s # 1164s # gobject_class = G_OBJECT_CLASS (klass); 1164s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1164s # 1164s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1164s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1164s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1164s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1164s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1164s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1164s # #endif 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_skeleton_new: 1164s # * 1164s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_skeleton_new (void) 1164s # { 1164s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1164s # } 1164s # /tmp/tmp0hh_d_fb/tmpc7kt3pod.xml: 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0hh_d_fb/tmpc7kt3pod.xml', '--output', '-', '--body'] 1164s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1164s # Output: /* 1164s # * This file is generated by gdbus-codegen, do not modify it. 1164s # * 1164s # * The license of this code is the same as for the D-Bus interface description 1164s # * it was derived from. Note that it links to GLib, so must comply with the 1164s # * LGPL linking clauses. 1164s # */ 1164s # 1164s # #ifdef HAVE_CONFIG_H 1164s # # include "config.h" 1164s # #endif 1164s # 1164s # #include 1164s # #ifdef G_OS_UNIX 1164s # # include 1164s # #endif 1164s # 1164s # #ifdef G_ENABLE_DEBUG 1164s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1164s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1164s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1164s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1164s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1164s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1164s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1164s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1164s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1164s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1164s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1164s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1164s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1164s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1164s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1164s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1164s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1164s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1164s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1164s # #else /* !G_ENABLE_DEBUG */ 1164s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1164s # * Do not access GValues directly in your code. Instead, use the 1164s # * g_value_get_*() functions 1164s # */ 1164s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1164s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1164s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1164s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1164s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1164s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1164s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1164s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1164s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1164s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1164s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1164s # #endif /* !G_ENABLE_DEBUG */ 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusArgInfo parent_struct; 1164s # gboolean use_gvariant; 1164s # } _ExtendedGDBusArgInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusMethodInfo parent_struct; 1164s # const gchar *signal_name; 1164s # gboolean pass_fdlist; 1164s # } _ExtendedGDBusMethodInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusSignalInfo parent_struct; 1164s # const gchar *signal_name; 1164s # } _ExtendedGDBusSignalInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusPropertyInfo parent_struct; 1164s # const gchar *hyphen_name; 1164s # guint use_gvariant : 1; 1164s # guint emits_changed_signal : 1; 1164s # } _ExtendedGDBusPropertyInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusInterfaceInfo parent_struct; 1164s # const gchar *hyphen_name; 1164s # } _ExtendedGDBusInterfaceInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # const _ExtendedGDBusPropertyInfo *info; 1164s # guint prop_id; 1164s # GValue orig_value; /* the value before the change */ 1164s # } ChangedProperty; 1164s # 1164s # static void 1164s # _changed_property_free (ChangedProperty *data) 1164s # { 1164s # g_value_unset (&data->orig_value); 1164s # g_free (data); 1164s # } 1164s # 1164s # static gboolean 1164s # _g_strv_equal0 (gchar **a, gchar **b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # guint n; 1164s # if (a == NULL && b == NULL) 1164s # { 1164s # ret = TRUE; 1164s # goto out; 1164s # } 1164s # if (a == NULL || b == NULL) 1164s # goto out; 1164s # if (g_strv_length (a) != g_strv_length (b)) 1164s # goto out; 1164s # for (n = 0; a[n] != NULL; n++) 1164s # if (g_strcmp0 (a[n], b[n]) != 0) 1164s # goto out; 1164s # ret = TRUE; 1164s # out: 1164s # return ret; 1164s # } 1164s # 1164s # static gboolean 1164s # _g_variant_equal0 (GVariant *a, GVariant *b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # if (a == NULL && b == NULL) 1164s # { 1164s # ret = TRUE; 1164s # goto out; 1164s # } 1164s # if (a == NULL || b == NULL) 1164s # goto out; 1164s # ret = g_variant_equal (a, b); 1164s # out: 1164s # return ret; 1164s # } 1164s # 1164s # G_GNUC_UNUSED static gboolean 1164s # _g_value_equal (const GValue *a, const GValue *b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1164s # switch (G_VALUE_TYPE (a)) 1164s # { 1164s # case G_TYPE_BOOLEAN: 1164s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1164s # break; 1164s # case G_TYPE_UCHAR: 1164s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1164s # break; 1164s # case G_TYPE_INT: 1164s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1164s # break; 1164s # case G_TYPE_UINT: 1164s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1164s # break; 1164s # case G_TYPE_INT64: 1164s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1164s # break; 1164s # case G_TYPE_UINT64: 1164s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1164s # break; 1164s # case G_TYPE_DOUBLE: 1164s # { 1164s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1164s # gdouble da = g_value_get_double (a); 1164s # gdouble db = g_value_get_double (b); 1164s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1164s # } 1164s # break; 1164s # case G_TYPE_STRING: 1164s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1164s # break; 1164s # case G_TYPE_VARIANT: 1164s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1164s # break; 1164s # default: 1164s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1164s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1164s # else 1164s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1164s # break; 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static void 1164s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 1164s # GClosure *closure, 1164s # GValue *return_value, 1164s # unsigned int n_param_values, 1164s # const GValue *param_values, 1164s # void *invocation_hint G_GNUC_UNUSED, 1164s # void *marshal_data) 1164s # { 1164s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1164s # (void *data1, 1164s # GDBusMethodInvocation *arg_method_invocation, 1164s # const gchar *arg_arg_g, 1164s # void *data2); 1164s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 1164s # GCClosure *cc = (GCClosure*) closure; 1164s # void *data1, *data2; 1164s # gboolean v_return; 1164s # 1164s # g_return_if_fail (return_value != NULL); 1164s # g_return_if_fail (n_param_values == 3); 1164s # 1164s # if (G_CCLOSURE_SWAP_DATA (closure)) 1164s # { 1164s # data1 = closure->data; 1164s # data2 = g_value_peek_pointer (param_values + 0); 1164s # } 1164s # else 1164s # { 1164s # data1 = g_value_peek_pointer (param_values + 0); 1164s # data2 = closure->data; 1164s # } 1164s # 1164s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1164s # (marshal_data ? marshal_data : cc->callback); 1164s # 1164s # v_return = 1164s # callback (data1, 1164s # g_marshal_value_peek_object (param_values + 1), 1164s # g_marshal_value_peek_string (param_values + 2), 1164s # data2); 1164s # 1164s # g_value_set_boolean (return_value, v_return); 1164s # } 1164s # 1164s # /* ------------------------------------------------------------------------ 1164s # * Code for interface org.project.UsefulInterface 1164s # * ------------------------------------------------------------------------ 1164s # */ 1164s # 1164s # /** 1164s # * SECTION:OrgProjectUsefulInterface 1164s # * @title: OrgProjectUsefulInterface 1164s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1164s # * 1164s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1164s # */ 1164s # 1164s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "arg_g", 1164s # (gchar *) "g", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers[] = 1164s # { 1164s # &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g.parent_struct, 1164s # NULL 1164s # }; 1164s # 1164s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "SingleArgMethodG", 1164s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers, 1164s # NULL, 1164s # NULL 1164s # }, 1164s # "handle-single-arg-method-g", 1164s # FALSE 1164s # }; 1164s # 1164s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1164s # { 1164s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct, 1164s # NULL 1164s # }; 1164s # 1164s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "org.project.UsefulInterface", 1164s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1164s # NULL, 1164s # NULL, 1164s # NULL 1164s # }, 1164s # "org-project-useful-interface", 1164s # }; 1164s # 1164s # 1164s # /** 1164s # * org_project_useful_interface_interface_info: 1164s # * 1164s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1164s # * 1164s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1164s # */ 1164s # GDBusInterfaceInfo * 1164s # org_project_useful_interface_interface_info (void) 1164s # { 1164s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_override_properties: 1164s # * @klass: The class structure for a #GObject derived class. 1164s # * @property_id_begin: The property id to assign to the first overridden property. 1164s # * 1164s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1164s # * The properties are overridden in the order they are defined. 1164s # * 1164s # * Returns: The last property id. 1164s # */ 1164s # guint 1164s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1164s # { 1164s # return property_id_begin - 1; 1164s # } 1164s # 1164s # 1164s # inline static void 1164s # org_project_useful_interface_method_marshal_single_arg_method_g ( 1164s # GClosure *closure, 1164s # GValue *return_value, 1164s # unsigned int n_param_values, 1164s # const GValue *param_values, 1164s # void *invocation_hint, 1164s # void *marshal_data) 1164s # { 1164s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 1164s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1164s # } 1164s # 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterface: 1164s # * 1164s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceIface: 1164s # * @parent_iface: The parent interface. 1164s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal. 1164s # * 1164s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1164s # */ 1164s # 1164s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1164s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1164s # 1164s # static void 1164s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1164s # { 1164s # /* GObject signals for incoming D-Bus method calls: */ 1164s # /** 1164s # * OrgProjectUsefulInterface::handle-single-arg-method-g: 1164s # * @object: A #OrgProjectUsefulInterface. 1164s # * @invocation: A #GDBusMethodInvocation. 1164s # * @arg_arg_g: Argument passed by remote caller. 1164s # * 1164s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method. 1164s # * 1164s # * 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. 1164s # * 1164s # * 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. 1164s # */ 1164s # g_signal_new ("handle-single-arg-method-g", 1164s # G_TYPE_FROM_INTERFACE (iface), 1164s # G_SIGNAL_RUN_LAST, 1164s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g), 1164s # g_signal_accumulator_true_handled, 1164s # NULL, 1164s # org_project_useful_interface_method_marshal_single_arg_method_g, 1164s # G_TYPE_BOOLEAN, 1164s # 2, 1164s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 1164s # 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_call_single_arg_method_g: 1164s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1164s # * @arg_arg_g: Argument to pass with the method invocation. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy. 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method. 1164s # */ 1164s # void 1164s # org_project_useful_interface_call_single_arg_method_g ( 1164s # OrgProjectUsefulInterface *proxy, 1164s # const gchar *arg_arg_g, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1164s # "SingleArgMethodG", 1164s # g_variant_new ("(g)", 1164s # arg_arg_g), 1164s # G_DBUS_CALL_FLAGS_NONE, 1164s # -1, 1164s # cancellable, 1164s # callback, 1164s # user_data); 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_call_single_arg_method_g_finish: 1164s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g(). 1164s # * @error: Return location for error or %NULL. 1164s # * 1164s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g(). 1164s # * 1164s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1164s # */ 1164s # gboolean 1164s # org_project_useful_interface_call_single_arg_method_g_finish ( 1164s # OrgProjectUsefulInterface *proxy, 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GVariant *_ret; 1164s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1164s # if (_ret == NULL) 1164s # goto _out; 1164s # g_variant_get (_ret, 1164s # "()"); 1164s # g_variant_unref (_ret); 1164s # _out: 1164s # return _ret != NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_call_single_arg_method_g_sync: 1164s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1164s # * @arg_arg_g: Argument to pass with the method invocation. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL. 1164s # * 1164s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method. 1164s # * 1164s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1164s # */ 1164s # gboolean 1164s # org_project_useful_interface_call_single_arg_method_g_sync ( 1164s # OrgProjectUsefulInterface *proxy, 1164s # const gchar *arg_arg_g, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GVariant *_ret; 1164s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1164s # "SingleArgMethodG", 1164s # g_variant_new ("(g)", 1164s # arg_arg_g), 1164s # G_DBUS_CALL_FLAGS_NONE, 1164s # -1, 1164s # cancellable, 1164s # error); 1164s # if (_ret == NULL) 1164s # goto _out; 1164s # g_variant_get (_ret, 1164s # "()"); 1164s # g_variant_unref (_ret); 1164s # _out: 1164s # return _ret != NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_complete_single_arg_method_g: 1164s # * @object: A #OrgProjectUsefulInterface. 1164s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1164s # * 1164s # * 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. 1164s # * 1164s # * This method will free @invocation, you cannot use it afterwards. 1164s # */ 1164s # void 1164s # org_project_useful_interface_complete_single_arg_method_g ( 1164s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1164s # GDBusMethodInvocation *invocation) 1164s # { 1164s # g_dbus_method_invocation_return_value (invocation, 1164s # g_variant_new ("()")); 1164s # } 1164s # 1164s # /* ------------------------------------------------------------------------ */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceProxy: 1164s # * 1164s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceProxyClass: 1164s # * @parent_class: The parent class. 1164s # * 1164s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1164s # */ 1164s # 1164s # struct _OrgProjectUsefulInterfaceProxyPrivate 1164s # { 1164s # GData *qdata; 1164s # }; 1164s # 1164s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1164s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1164s # 1164s # #else 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1164s # 1164s # #endif 1164s # static void 1164s # org_project_useful_interface_proxy_finalize (GObject *object) 1164s # { 1164s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1164s # g_datalist_clear (&proxy->priv->qdata); 1164s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1164s # guint prop_id G_GNUC_UNUSED, 1164s # GValue *value G_GNUC_UNUSED, 1164s # GParamSpec *pspec G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1164s # guint prop_id G_GNUC_UNUSED, 1164s # const GValue *value G_GNUC_UNUSED, 1164s # GParamSpec *pspec G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1164s # const gchar *sender_name G_GNUC_UNUSED, 1164s # const gchar *signal_name, 1164s # GVariant *parameters) 1164s # { 1164s # _ExtendedGDBusSignalInfo *info; 1164s # GVariantIter iter; 1164s # GVariant *child; 1164s # GValue *paramv; 1164s # gsize num_params; 1164s # gsize n; 1164s # guint signal_id; 1164s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1164s # if (info == NULL) 1164s # return; 1164s # num_params = g_variant_n_children (parameters); 1164s # paramv = g_new0 (GValue, num_params + 1); 1164s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_value_set_object (¶mv[0], proxy); 1164s # g_variant_iter_init (&iter, parameters); 1164s # n = 1; 1164s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1164s # { 1164s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1164s # if (arg_info->use_gvariant) 1164s # { 1164s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1164s # g_value_set_variant (¶mv[n], child); 1164s # n++; 1164s # } 1164s # else 1164s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1164s # g_variant_unref (child); 1164s # } 1164s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_signal_emitv (paramv, signal_id, 0, NULL); 1164s # for (n = 0; n < num_params + 1; n++) 1164s # g_value_unset (¶mv[n]); 1164s # g_free (paramv); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1164s # GVariant *changed_properties, 1164s # const gchar *const *invalidated_properties) 1164s # { 1164s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1164s # guint n; 1164s # const gchar *key; 1164s # GVariantIter *iter; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # g_variant_get (changed_properties, "a{sv}", &iter); 1164s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1164s # { 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1164s # g_datalist_remove_data (&proxy->priv->qdata, key); 1164s # if (info != NULL) 1164s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1164s # } 1164s # g_variant_iter_free (iter); 1164s # for (n = 0; invalidated_properties[n] != NULL; n++) 1164s # { 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1164s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1164s # if (info != NULL) 1164s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1164s # } 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1164s # { 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1164s # #else 1164s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1164s # #endif 1164s # 1164s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1164s # { 1164s # GObjectClass *gobject_class; 1164s # GDBusProxyClass *proxy_class; 1164s # 1164s # gobject_class = G_OBJECT_CLASS (klass); 1164s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1164s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1164s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1164s # 1164s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1164s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1164s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1164s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1164s # #endif 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new: 1164s # * @connection: A #GDBusConnection. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1164s # * 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1164s # */ 1164s # void 1164s # org_project_useful_interface_proxy_new ( 1164s # GDBusConnection *connection, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # g_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); 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_finish: 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_finish ( 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GObject *ret; 1164s # GObject *source_object; 1164s # source_object = g_async_result_get_source_object (res); 1164s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1164s # g_object_unref (source_object); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_sync: 1164s # * @connection: A #GDBusConnection. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1164s # * 1164s # * The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_sync ( 1164s # GDBusConnection *connection, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GInitable *ret; 1164s # 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); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_for_bus: 1164s # * @bus_type: A #GBusType. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: A bus name (well-known or unique). 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1164s # * 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1164s # */ 1164s # void 1164s # org_project_useful_interface_proxy_new_for_bus ( 1164s # GBusType bus_type, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # g_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); 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_for_bus_finish: 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_for_bus_finish ( 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GObject *ret; 1164s # GObject *source_object; 1164s # source_object = g_async_result_get_source_object (res); 1164s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1164s # g_object_unref (source_object); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_for_bus_sync: 1164s # * @bus_type: A #GBusType. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: A bus name (well-known or unique). 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1164s # * 1164s # * The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_for_bus_sync ( 1164s # GBusType bus_type, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GInitable *ret; 1164s # 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); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # 1164s # /* ------------------------------------------------------------------------ */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceSkeleton: 1164s # * 1164s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceSkeletonClass: 1164s # * @parent_class: The parent class. 1164s # * 1164s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1164s # */ 1164s # 1164s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1164s # { 1164s # GValue *properties; 1164s # GList *changed_properties; 1164s # GSource *changed_properties_idle_source; 1164s # GMainContext *context; 1164s # GMutex lock; 1164s # }; 1164s # 1164s # static void 1164s # _org_project_useful_interface_skeleton_handle_method_call ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name, 1164s # const gchar *method_name, 1164s # GVariant *parameters, 1164s # GDBusMethodInvocation *invocation, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1164s # _ExtendedGDBusMethodInfo *info; 1164s # GVariantIter iter; 1164s # GVariant *child; 1164s # GValue *paramv; 1164s # gsize num_params; 1164s # guint num_extra; 1164s # gsize n; 1164s # guint signal_id; 1164s # GValue return_value = G_VALUE_INIT; 1164s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1164s # g_assert (info != NULL); 1164s # num_params = g_variant_n_children (parameters); 1164s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1164s # n = 0; 1164s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_value_set_object (¶mv[n++], skeleton); 1164s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1164s # g_value_set_object (¶mv[n++], invocation); 1164s # if (info->pass_fdlist) 1164s # { 1164s # #ifdef G_OS_UNIX 1164s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1164s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1164s # #else 1164s # g_assert_not_reached (); 1164s # #endif 1164s # } 1164s # g_variant_iter_init (&iter, parameters); 1164s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1164s # { 1164s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1164s # if (arg_info->use_gvariant) 1164s # { 1164s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1164s # g_value_set_variant (¶mv[n], child); 1164s # n++; 1164s # } 1164s # else 1164s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1164s # g_variant_unref (child); 1164s # } 1164s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1164s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1164s # if (!g_value_get_boolean (&return_value)) 1164s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1164s # g_value_unset (&return_value); 1164s # for (n = 0; n < num_params + num_extra; n++) 1164s # g_value_unset (¶mv[n]); 1164s # g_free (paramv); 1164s # } 1164s # 1164s # static GVariant * 1164s # _org_project_useful_interface_skeleton_handle_get_property ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name G_GNUC_UNUSED, 1164s # const gchar *property_name, 1164s # GError **error, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1164s # GValue value = G_VALUE_INIT; 1164s # GParamSpec *pspec; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # GVariant *ret; 1164s # ret = NULL; 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1164s # g_assert (info != NULL); 1164s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1164s # if (pspec == NULL) 1164s # { 1164s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1164s # } 1164s # else 1164s # { 1164s # g_value_init (&value, pspec->value_type); 1164s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1164s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1164s # g_value_unset (&value); 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static gboolean 1164s # _org_project_useful_interface_skeleton_handle_set_property ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name G_GNUC_UNUSED, 1164s # const gchar *property_name, 1164s # GVariant *variant, 1164s # GError **error, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1164s # GValue value = G_VALUE_INIT; 1164s # GParamSpec *pspec; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # gboolean ret; 1164s # ret = FALSE; 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1164s # g_assert (info != NULL); 1164s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1164s # if (pspec == NULL) 1164s # { 1164s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1164s # } 1164s # else 1164s # { 1164s # if (info->use_gvariant) 1164s # g_value_set_variant (&value, variant); 1164s # else 1164s # g_dbus_gvariant_to_gvalue (variant, &value); 1164s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1164s # g_value_unset (&value); 1164s # ret = TRUE; 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1164s # { 1164s # _org_project_useful_interface_skeleton_handle_method_call, 1164s # _org_project_useful_interface_skeleton_handle_get_property, 1164s # _org_project_useful_interface_skeleton_handle_set_property, 1164s # {NULL} 1164s # }; 1164s # 1164s # static GDBusInterfaceInfo * 1164s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1164s # { 1164s # return org_project_useful_interface_interface_info (); 1164s # } 1164s # 1164s # static GDBusInterfaceVTable * 1164s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1164s # { 1164s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1164s # } 1164s # 1164s # static GVariant * 1164s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1164s # 1164s # GVariantBuilder builder; 1164s # guint n; 1164s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1164s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1164s # goto out; 1164s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1164s # { 1164s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1164s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1164s # { 1164s # GVariant *value; 1164s # 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); 1164s # if (value != NULL) 1164s # { 1164s # g_variant_take_ref (value); 1164s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1164s # g_variant_unref (value); 1164s # } 1164s # } 1164s # } 1164s # out: 1164s # return g_variant_builder_end (&builder); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1164s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1164s # 1164s # #else 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1164s # 1164s # #endif 1164s # static void 1164s # org_project_useful_interface_skeleton_finalize (GObject *object) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1164s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1164s # if (skeleton->priv->changed_properties_idle_source != NULL) 1164s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1164s # g_main_context_unref (skeleton->priv->context); 1164s # g_mutex_clear (&skeleton->priv->lock); 1164s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1164s # { 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1164s # #else 1164s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1164s # #endif 1164s # 1164s # g_mutex_init (&skeleton->priv->lock); 1164s # skeleton->priv->context = g_main_context_ref_thread_default (); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1164s # { 1164s # GObjectClass *gobject_class; 1164s # GDBusInterfaceSkeletonClass *skeleton_class; 1164s # 1164s # gobject_class = G_OBJECT_CLASS (klass); 1164s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1164s # 1164s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1164s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1164s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1164s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1164s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1164s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1164s # #endif 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_skeleton_new: 1164s # * 1164s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_skeleton_new (void) 1164s # { 1164s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1164s # } 1164s # /tmp/tmp0hh_d_fb/tmp3gvs6cq1.xml: 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0hh_d_fb/tmp3gvs6cq1.xml', '--output', '-', '--body'] 1164s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1164s # Output: /* 1164s # * This file is generated by gdbus-codegen, do not modify it. 1164s # * 1164s # * The license of this code is the same as for the D-Bus interface description 1164s # * it was derived from. Note that it links to GLib, so must comply with the 1164s # * LGPL linking clauses. 1164s # */ 1164s # 1164s # #ifdef HAVE_CONFIG_H 1164s # # include "config.h" 1164s # #endif 1164s # 1164s # #include 1164s # #ifdef G_OS_UNIX 1164s # # include 1164s # #endif 1164s # 1164s # #ifdef G_ENABLE_DEBUG 1164s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1164s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1164s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1164s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1164s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1164s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1164s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1164s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1164s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1164s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1164s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1164s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1164s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1164s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1164s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1164s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1164s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1164s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1164s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1164s # #else /* !G_ENABLE_DEBUG */ 1164s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1164s # * Do not access GValues directly in your code. Instead, use the 1164s # * g_value_get_*() functions 1164s # */ 1164s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1164s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1164s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1164s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1164s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1164s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1164s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1164s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1164s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1164s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1164s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1164s # #endif /* !G_ENABLE_DEBUG */ 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusArgInfo parent_struct; 1164s # gboolean use_gvariant; 1164s # } _ExtendedGDBusArgInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusMethodInfo parent_struct; 1164s # const gchar *signal_name; 1164s # gboolean pass_fdlist; 1164s # } _ExtendedGDBusMethodInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusSignalInfo parent_struct; 1164s # const gchar *signal_name; 1164s # } _ExtendedGDBusSignalInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusPropertyInfo parent_struct; 1164s # const gchar *hyphen_name; 1164s # guint use_gvariant : 1; 1164s # guint emits_changed_signal : 1; 1164s # } _ExtendedGDBusPropertyInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusInterfaceInfo parent_struct; 1164s # const gchar *hyphen_name; 1164s # } _ExtendedGDBusInterfaceInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # const _ExtendedGDBusPropertyInfo *info; 1164s # guint prop_id; 1164s # GValue orig_value; /* the value before the change */ 1164s # } ChangedProperty; 1164s # 1164s # static void 1164s # _changed_property_free (ChangedProperty *data) 1164s # { 1164s # g_value_unset (&data->orig_value); 1164s # g_free (data); 1164s # } 1164s # 1164s # static gboolean 1164s # _g_strv_equal0 (gchar **a, gchar **b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # guint n; 1164s # if (a == NULL && b == NULL) 1164s # { 1164s # ret = TRUE; 1164s # goto out; 1164s # } 1164s # if (a == NULL || b == NULL) 1164s # goto out; 1164s # if (g_strv_length (a) != g_strv_length (b)) 1164s # goto out; 1164s # for (n = 0; a[n] != NULL; n++) 1164s # if (g_strcmp0 (a[n], b[n]) != 0) 1164s # goto out; 1164s # ret = TRUE; 1164s # out: 1164s # return ret; 1164s # } 1164s # 1164s # static gboolean 1164s # _g_variant_equal0 (GVariant *a, GVariant *b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # if (a == NULL && b == NULL) 1164s # { 1164s # ret = TRUE; 1164s # goto out; 1164s # } 1164s # if (a == NULL || b == NULL) 1164s # goto out; 1164s # ret = g_variant_equal (a, b); 1164s # out: 1164s # return ret; 1164s # } 1164s # 1164s # G_GNUC_UNUSED static gboolean 1164s # _g_value_equal (const GValue *a, const GValue *b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1164s # switch (G_VALUE_TYPE (a)) 1164s # { 1164s # case G_TYPE_BOOLEAN: 1164s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1164s # break; 1164s # case G_TYPE_UCHAR: 1164s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1164s # break; 1164s # case G_TYPE_INT: 1164s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1164s # break; 1164s # case G_TYPE_UINT: 1164s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1164s # break; 1164s # case G_TYPE_INT64: 1164s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1164s # break; 1164s # case G_TYPE_UINT64: 1164s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1164s # break; 1164s # case G_TYPE_DOUBLE: 1164s # { 1164s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1164s # gdouble da = g_value_get_double (a); 1164s # gdouble db = g_value_get_double (b); 1164s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1164s # } 1164s # break; 1164s # case G_TYPE_STRING: 1164s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1164s # break; 1164s # case G_TYPE_VARIANT: 1164s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1164s # break; 1164s # default: 1164s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1164s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1164s # else 1164s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1164s # break; 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static void 1164s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT ( 1164s # GClosure *closure, 1164s # GValue *return_value, 1164s # unsigned int n_param_values, 1164s # const GValue *param_values, 1164s # void *invocation_hint G_GNUC_UNUSED, 1164s # void *marshal_data) 1164s # { 1164s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 1164s # (void *data1, 1164s # GDBusMethodInvocation *arg_method_invocation, 1164s # GVariant *arg_arg_h, 1164s # void *data2); 1164s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback; 1164s # GCClosure *cc = (GCClosure*) closure; 1164s # void *data1, *data2; 1164s # gboolean v_return; 1164s # 1164s # g_return_if_fail (return_value != NULL); 1164s # g_return_if_fail (n_param_values == 3); 1164s # 1164s # if (G_CCLOSURE_SWAP_DATA (closure)) 1164s # { 1164s # data1 = closure->data; 1164s # data2 = g_value_peek_pointer (param_values + 0); 1164s # } 1164s # else 1164s # { 1164s # data1 = g_value_peek_pointer (param_values + 0); 1164s # data2 = closure->data; 1164s # } 1164s # 1164s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 1164s # (marshal_data ? marshal_data : cc->callback); 1164s # 1164s # v_return = 1164s # callback (data1, 1164s # g_marshal_value_peek_object (param_values + 1), 1164s # g_marshal_value_peek_variant (param_values + 2), 1164s # data2); 1164s # 1164s # g_value_set_boolean (return_value, v_return); 1164s # } 1164s # 1164s # /* ------------------------------------------------------------------------ 1164s # * Code for interface org.project.UsefulInterface 1164s # * ------------------------------------------------------------------------ 1164s # */ 1164s # 1164s # /** 1164s # * SECTION:OrgProjectUsefulInterface 1164s # * @title: OrgProjectUsefulInterface 1164s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1164s # * 1164s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1164s # */ 1164s # 1164s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "arg_h", 1164s # (gchar *) "h", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers[] = 1164s # { 1164s # &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h.parent_struct, 1164s # NULL 1164s # }; 1164s # 1164s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "SingleArgMethodH", 1164s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers, 1164s # NULL, 1164s # NULL 1164s # }, 1164s # "handle-single-arg-method-h", 1164s # FALSE 1164s # }; 1164s # 1164s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1164s # { 1164s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct, 1164s # NULL 1164s # }; 1164s # 1164s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "org.project.UsefulInterface", 1164s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1164s # NULL, 1164s # NULL, 1164s # NULL 1164s # }, 1164s # "org-project-useful-interface", 1164s # }; 1164s # 1164s # 1164s # /** 1164s # * org_project_useful_interface_interface_info: 1164s # * 1164s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1164s # * 1164s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1164s # */ 1164s # GDBusInterfaceInfo * 1164s # org_project_useful_interface_interface_info (void) 1164s # { 1164s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_override_properties: 1164s # * @klass: The class structure for a #GObject derived class. 1164s # * @property_id_begin: The property id to assign to the first overridden property. 1164s # * 1164s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1164s # * The properties are overridden in the order they are defined. 1164s # * 1164s # * Returns: The last property id. 1164s # */ 1164s # guint 1164s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1164s # { 1164s # return property_id_begin - 1; 1164s # } 1164s # 1164s # 1164s # inline static void 1164s # org_project_useful_interface_method_marshal_single_arg_method_h ( 1164s # GClosure *closure, 1164s # GValue *return_value, 1164s # unsigned int n_param_values, 1164s # const GValue *param_values, 1164s # void *invocation_hint, 1164s # void *marshal_data) 1164s # { 1164s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure, 1164s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1164s # } 1164s # 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterface: 1164s # * 1164s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceIface: 1164s # * @parent_iface: The parent interface. 1164s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal. 1164s # * 1164s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1164s # */ 1164s # 1164s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1164s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1164s # 1164s # static void 1164s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1164s # { 1164s # /* GObject signals for incoming D-Bus method calls: */ 1164s # /** 1164s # * OrgProjectUsefulInterface::handle-single-arg-method-h: 1164s # * @object: A #OrgProjectUsefulInterface. 1164s # * @invocation: A #GDBusMethodInvocation. 1164s # * @arg_arg_h: Argument passed by remote caller. 1164s # * 1164s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method. 1164s # * 1164s # * 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. 1164s # * 1164s # * 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. 1164s # */ 1164s # g_signal_new ("handle-single-arg-method-h", 1164s # G_TYPE_FROM_INTERFACE (iface), 1164s # G_SIGNAL_RUN_LAST, 1164s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h), 1164s # g_signal_accumulator_true_handled, 1164s # NULL, 1164s # org_project_useful_interface_method_marshal_single_arg_method_h, 1164s # G_TYPE_BOOLEAN, 1164s # 2, 1164s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT); 1164s # 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_call_single_arg_method_h: 1164s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1164s # * @arg_arg_h: Argument to pass with the method invocation. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy. 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method. 1164s # */ 1164s # void 1164s # org_project_useful_interface_call_single_arg_method_h ( 1164s # OrgProjectUsefulInterface *proxy, 1164s # GVariant *arg_arg_h, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1164s # "SingleArgMethodH", 1164s # g_variant_new ("(@h)", 1164s # arg_arg_h), 1164s # G_DBUS_CALL_FLAGS_NONE, 1164s # -1, 1164s # cancellable, 1164s # callback, 1164s # user_data); 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_call_single_arg_method_h_finish: 1164s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h(). 1164s # * @error: Return location for error or %NULL. 1164s # * 1164s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h(). 1164s # * 1164s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1164s # */ 1164s # gboolean 1164s # org_project_useful_interface_call_single_arg_method_h_finish ( 1164s # OrgProjectUsefulInterface *proxy, 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GVariant *_ret; 1164s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1164s # if (_ret == NULL) 1164s # goto _out; 1164s # g_variant_get (_ret, 1164s # "()"); 1164s # g_variant_unref (_ret); 1164s # _out: 1164s # return _ret != NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_call_single_arg_method_h_sync: 1164s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1164s # * @arg_arg_h: Argument to pass with the method invocation. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL. 1164s # * 1164s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method. 1164s # * 1164s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1164s # */ 1164s # gboolean 1164s # org_project_useful_interface_call_single_arg_method_h_sync ( 1164s # OrgProjectUsefulInterface *proxy, 1164s # GVariant *arg_arg_h, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GVariant *_ret; 1164s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1164s # "SingleArgMethodH", 1164s # g_variant_new ("(@h)", 1164s # arg_arg_h), 1164s # G_DBUS_CALL_FLAGS_NONE, 1164s # -1, 1164s # cancellable, 1164s # error); 1164s # if (_ret == NULL) 1164s # goto _out; 1164s # g_variant_get (_ret, 1164s # "()"); 1164s # g_variant_unref (_ret); 1164s # _out: 1164s # return _ret != NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_complete_single_arg_method_h: 1164s # * @object: A #OrgProjectUsefulInterface. 1164s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1164s # * 1164s # * 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. 1164s # * 1164s # * This method will free @invocation, you cannot use it afterwards. 1164s # */ 1164s # void 1164s # org_project_useful_interface_complete_single_arg_method_h ( 1164s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1164s # GDBusMethodInvocation *invocation) 1164s # { 1164s # g_dbus_method_invocation_return_value (invocation, 1164s # g_variant_new ("()")); 1164s # } 1164s # 1164s # /* ------------------------------------------------------------------------ */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceProxy: 1164s # * 1164s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceProxyClass: 1164s # * @parent_class: The parent class. 1164s # * 1164s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1164s # */ 1164s # 1164s # struct _OrgProjectUsefulInterfaceProxyPrivate 1164s # { 1164s # GData *qdata; 1164s # }; 1164s # 1164s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1164s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1164s # 1164s # #else 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1164s # 1164s # #endif 1164s # static void 1164s # org_project_useful_interface_proxy_finalize (GObject *object) 1164s # { 1164s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1164s # g_datalist_clear (&proxy->priv->qdata); 1164s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1164s # guint prop_id G_GNUC_UNUSED, 1164s # GValue *value G_GNUC_UNUSED, 1164s # GParamSpec *pspec G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1164s # guint prop_id G_GNUC_UNUSED, 1164s # const GValue *value G_GNUC_UNUSED, 1164s # GParamSpec *pspec G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1164s # const gchar *sender_name G_GNUC_UNUSED, 1164s # const gchar *signal_name, 1164s # GVariant *parameters) 1164s # { 1164s # _ExtendedGDBusSignalInfo *info; 1164s # GVariantIter iter; 1164s # GVariant *child; 1164s # GValue *paramv; 1164s # gsize num_params; 1164s # gsize n; 1164s # guint signal_id; 1164s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1164s # if (info == NULL) 1164s # return; 1164s # num_params = g_variant_n_children (parameters); 1164s # paramv = g_new0 (GValue, num_params + 1); 1164s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_value_set_object (¶mv[0], proxy); 1164s # g_variant_iter_init (&iter, parameters); 1164s # n = 1; 1164s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1164s # { 1164s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1164s # if (arg_info->use_gvariant) 1164s # { 1164s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1164s # g_value_set_variant (¶mv[n], child); 1164s # n++; 1164s # } 1164s # else 1164s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1164s # g_variant_unref (child); 1164s # } 1164s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_signal_emitv (paramv, signal_id, 0, NULL); 1164s # for (n = 0; n < num_params + 1; n++) 1164s # g_value_unset (¶mv[n]); 1164s # g_free (paramv); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1164s # GVariant *changed_properties, 1164s # const gchar *const *invalidated_properties) 1164s # { 1164s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1164s # guint n; 1164s # const gchar *key; 1164s # GVariantIter *iter; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # g_variant_get (changed_properties, "a{sv}", &iter); 1164s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1164s # { 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1164s # g_datalist_remove_data (&proxy->priv->qdata, key); 1164s # if (info != NULL) 1164s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1164s # } 1164s # g_variant_iter_free (iter); 1164s # for (n = 0; invalidated_properties[n] != NULL; n++) 1164s # { 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1164s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1164s # if (info != NULL) 1164s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1164s # } 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1164s # { 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1164s # #else 1164s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1164s # #endif 1164s # 1164s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1164s # { 1164s # GObjectClass *gobject_class; 1164s # GDBusProxyClass *proxy_class; 1164s # 1164s # gobject_class = G_OBJECT_CLASS (klass); 1164s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1164s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1164s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1164s # 1164s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1164s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1164s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1164s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1164s # #endif 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new: 1164s # * @connection: A #GDBusConnection. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1164s # * 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1164s # */ 1164s # void 1164s # org_project_useful_interface_proxy_new ( 1164s # GDBusConnection *connection, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # g_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); 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_finish: 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_finish ( 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GObject *ret; 1164s # GObject *source_object; 1164s # source_object = g_async_result_get_source_object (res); 1164s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1164s # g_object_unref (source_object); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_sync: 1164s # * @connection: A #GDBusConnection. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1164s # * 1164s # * The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_sync ( 1164s # GDBusConnection *connection, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GInitable *ret; 1164s # 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); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_for_bus: 1164s # * @bus_type: A #GBusType. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: A bus name (well-known or unique). 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1164s # * 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1164s # */ 1164s # void 1164s # org_project_useful_interface_proxy_new_for_bus ( 1164s # GBusType bus_type, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # g_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); 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_for_bus_finish: 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_for_bus_finish ( 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GObject *ret; 1164s # GObject *source_object; 1164s # source_object = g_async_result_get_source_object (res); 1164s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1164s # g_object_unref (source_object); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_for_bus_sync: 1164s # * @bus_type: A #GBusType. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: A bus name (well-known or unique). 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1164s # * 1164s # * The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_for_bus_sync ( 1164s # GBusType bus_type, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GInitable *ret; 1164s # 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); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # 1164s # /* ------------------------------------------------------------------------ */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceSkeleton: 1164s # * 1164s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceSkeletonClass: 1164s # * @parent_class: The parent class. 1164s # * 1164s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1164s # */ 1164s # 1164s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1164s # { 1164s # GValue *properties; 1164s # GList *changed_properties; 1164s # GSource *changed_properties_idle_source; 1164s # GMainContext *context; 1164s # GMutex lock; 1164s # }; 1164s # 1164s # static void 1164s # _org_project_useful_interface_skeleton_handle_method_call ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name, 1164s # const gchar *method_name, 1164s # GVariant *parameters, 1164s # GDBusMethodInvocation *invocation, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1164s # _ExtendedGDBusMethodInfo *info; 1164s # GVariantIter iter; 1164s # GVariant *child; 1164s # GValue *paramv; 1164s # gsize num_params; 1164s # guint num_extra; 1164s # gsize n; 1164s # guint signal_id; 1164s # GValue return_value = G_VALUE_INIT; 1164s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1164s # g_assert (info != NULL); 1164s # num_params = g_variant_n_children (parameters); 1164s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1164s # n = 0; 1164s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_value_set_object (¶mv[n++], skeleton); 1164s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1164s # g_value_set_object (¶mv[n++], invocation); 1164s # if (info->pass_fdlist) 1164s # { 1164s # #ifdef G_OS_UNIX 1164s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1164s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1164s # #else 1164s # g_assert_not_reached (); 1164s # #endif 1164s # } 1164s # g_variant_iter_init (&iter, parameters); 1164s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1164s # { 1164s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1164s # if (arg_info->use_gvariant) 1164s # { 1164s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1164s # g_value_set_variant (¶mv[n], child); 1164s # n++; 1164s # } 1164s # else 1164s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1164s # g_variant_unref (child); 1164s # } 1164s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1164s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1164s # if (!g_value_get_boolean (&return_value)) 1164s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1164s # g_value_unset (&return_value); 1164s # for (n = 0; n < num_params + num_extra; n++) 1164s # g_value_unset (¶mv[n]); 1164s # g_free (paramv); 1164s # } 1164s # 1164s # static GVariant * 1164s # _org_project_useful_interface_skeleton_handle_get_property ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name G_GNUC_UNUSED, 1164s # const gchar *property_name, 1164s # GError **error, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1164s # GValue value = G_VALUE_INIT; 1164s # GParamSpec *pspec; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # GVariant *ret; 1164s # ret = NULL; 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1164s # g_assert (info != NULL); 1164s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1164s # if (pspec == NULL) 1164s # { 1164s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1164s # } 1164s # else 1164s # { 1164s # g_value_init (&value, pspec->value_type); 1164s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1164s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1164s # g_value_unset (&value); 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static gboolean 1164s # _org_project_useful_interface_skeleton_handle_set_property ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name G_GNUC_UNUSED, 1164s # const gchar *property_name, 1164s # GVariant *variant, 1164s # GError **error, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1164s # GValue value = G_VALUE_INIT; 1164s # GParamSpec *pspec; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # gboolean ret; 1164s # ret = FALSE; 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1164s # g_assert (info != NULL); 1164s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1164s # if (pspec == NULL) 1164s # { 1164s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1164s # } 1164s # else 1164s # { 1164s # if (info->use_gvariant) 1164s # g_value_set_variant (&value, variant); 1164s # else 1164s # g_dbus_gvariant_to_gvalue (variant, &value); 1164s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1164s # g_value_unset (&value); 1164s # ret = TRUE; 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1164s # { 1164s # _org_project_useful_interface_skeleton_handle_method_call, 1164s # _org_project_useful_interface_skeleton_handle_get_property, 1164s # _org_project_useful_interface_skeleton_handle_set_property, 1164s # {NULL} 1164s # }; 1164s # 1164s # static GDBusInterfaceInfo * 1164s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1164s # { 1164s # return org_project_useful_interface_interface_info (); 1164s # } 1164s # 1164s # static GDBusInterfaceVTable * 1164s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1164s # { 1164s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1164s # } 1164s # 1164s # static GVariant * 1164s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1164s # 1164s # GVariantBuilder builder; 1164s # guint n; 1164s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1164s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1164s # goto out; 1164s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1164s # { 1164s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1164s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1164s # { 1164s # GVariant *value; 1164s # 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); 1164s # if (value != NULL) 1164s # { 1164s # g_variant_take_ref (value); 1164s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1164s # g_variant_unref (value); 1164s # } 1164s # } 1164s # } 1164s # out: 1164s # return g_variant_builder_end (&builder); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1164s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1164s # 1164s # #else 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1164s # 1164s # #endif 1164s # static void 1164s # org_project_useful_interface_skeleton_finalize (GObject *object) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1164s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1164s # if (skeleton->priv->changed_properties_idle_source != NULL) 1164s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1164s # g_main_context_unref (skeleton->priv->context); 1164s # g_mutex_clear (&skeleton->priv->lock); 1164s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1164s # { 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1164s # #else 1164s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1164s # #endif 1164s # 1164s # g_mutex_init (&skeleton->priv->lock); 1164s # skeleton->priv->context = g_main_context_ref_thread_default (); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1164s # { 1164s # GObjectClass *gobject_class; 1164s # GDBusInterfaceSkeletonClass *skeleton_class; 1164s # 1164s # gobject_class = G_OBJECT_CLASS (klass); 1164s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1164s # 1164s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1164s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1164s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1164s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1164s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1164s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1164s # #endif 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_skeleton_new: 1164s # * 1164s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_skeleton_new (void) 1164s # { 1164s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1164s # } 1164s # /tmp/tmp0hh_d_fb/tmpf49v_s60.xml: 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0hh_d_fb/tmpf49v_s60.xml', '--output', '-', '--body'] 1164s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1164s # Output: /* 1164s # * This file is generated by gdbus-codegen, do not modify it. 1164s # * 1164s # * The license of this code is the same as for the D-Bus interface description 1164s # * it was derived from. Note that it links to GLib, so must comply with the 1164s # * LGPL linking clauses. 1164s # */ 1164s # 1164s # #ifdef HAVE_CONFIG_H 1164s # # include "config.h" 1164s # #endif 1164s # 1164s # #include 1164s # #ifdef G_OS_UNIX 1164s # # include 1164s # #endif 1164s # 1164s # #ifdef G_ENABLE_DEBUG 1164s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1164s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1164s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1164s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1164s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1164s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1164s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1164s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1164s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1164s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1164s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1164s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1164s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1164s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1164s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1164s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1164s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1164s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1164s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1164s # #else /* !G_ENABLE_DEBUG */ 1164s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1164s # * Do not access GValues directly in your code. Instead, use the 1164s # * g_value_get_*() functions 1164s # */ 1164s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1164s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1164s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1164s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1164s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1164s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1164s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1164s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1164s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1164s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1164s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1164s # #endif /* !G_ENABLE_DEBUG */ 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusArgInfo parent_struct; 1164s # gboolean use_gvariant; 1164s # } _ExtendedGDBusArgInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusMethodInfo parent_struct; 1164s # const gchar *signal_name; 1164s # gboolean pass_fdlist; 1164s # } _ExtendedGDBusMethodInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusSignalInfo parent_struct; 1164s # const gchar *signal_name; 1164s # } _ExtendedGDBusSignalInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusPropertyInfo parent_struct; 1164s # const gchar *hyphen_name; 1164s # guint use_gvariant : 1; 1164s # guint emits_changed_signal : 1; 1164s # } _ExtendedGDBusPropertyInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusInterfaceInfo parent_struct; 1164s # const gchar *hyphen_name; 1164s # } _ExtendedGDBusInterfaceInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # const _ExtendedGDBusPropertyInfo *info; 1164s # guint prop_id; 1164s # GValue orig_value; /* the value before the change */ 1164s # } ChangedProperty; 1164s # 1164s # static void 1164s # _changed_property_free (ChangedProperty *data) 1164s # { 1164s # g_value_unset (&data->orig_value); 1164s # g_free (data); 1164s # } 1164s # 1164s # static gboolean 1164s # _g_strv_equal0 (gchar **a, gchar **b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # guint n; 1164s # if (a == NULL && b == NULL) 1164s # { 1164s # ret = TRUE; 1164s # goto out; 1164s # } 1164s # if (a == NULL || b == NULL) 1164s # goto out; 1164s # if (g_strv_length (a) != g_strv_length (b)) 1164s # goto out; 1164s # for (n = 0; a[n] != NULL; n++) 1164s # if (g_strcmp0 (a[n], b[n]) != 0) 1164s # goto out; 1164s # ret = TRUE; 1164s # out: 1164s # return ret; 1164s # } 1164s # 1164s # static gboolean 1164s # _g_variant_equal0 (GVariant *a, GVariant *b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # if (a == NULL && b == NULL) 1164s # { 1164s # ret = TRUE; 1164s # goto out; 1164s # } 1164s # if (a == NULL || b == NULL) 1164s # goto out; 1164s # ret = g_variant_equal (a, b); 1164s # out: 1164s # return ret; 1164s # } 1164s # 1164s # G_GNUC_UNUSED static gboolean 1164s # _g_value_equal (const GValue *a, const GValue *b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1164s # switch (G_VALUE_TYPE (a)) 1164s # { 1164s # case G_TYPE_BOOLEAN: 1164s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1164s # break; 1164s # case G_TYPE_UCHAR: 1164s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1164s # break; 1164s # case G_TYPE_INT: 1164s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1164s # break; 1164s # case G_TYPE_UINT: 1164s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1164s # break; 1164s # case G_TYPE_INT64: 1164s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1164s # break; 1164s # case G_TYPE_UINT64: 1164s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1164s # break; 1164s # case G_TYPE_DOUBLE: 1164s # { 1164s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1164s # gdouble da = g_value_get_double (a); 1164s # gdouble db = g_value_get_double (b); 1164s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1164s # } 1164s # break; 1164s # case G_TYPE_STRING: 1164s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1164s # break; 1164s # case G_TYPE_VARIANT: 1164s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1164s # break; 1164s # default: 1164s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1164s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1164s # else 1164s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1164s # break; 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static void 1164s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 1164s # GClosure *closure, 1164s # GValue *return_value, 1164s # unsigned int n_param_values, 1164s # const GValue *param_values, 1164s # void *invocation_hint G_GNUC_UNUSED, 1164s # void *marshal_data) 1164s # { 1164s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1164s # (void *data1, 1164s # GDBusMethodInvocation *arg_method_invocation, 1164s # const gchar *arg_arg_ay, 1164s # void *data2); 1164s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 1164s # GCClosure *cc = (GCClosure*) closure; 1164s # void *data1, *data2; 1164s # gboolean v_return; 1164s # 1164s # g_return_if_fail (return_value != NULL); 1164s # g_return_if_fail (n_param_values == 3); 1164s # 1164s # if (G_CCLOSURE_SWAP_DATA (closure)) 1164s # { 1164s # data1 = closure->data; 1164s # data2 = g_value_peek_pointer (param_values + 0); 1164s # } 1164s # else 1164s # { 1164s # data1 = g_value_peek_pointer (param_values + 0); 1164s # data2 = closure->data; 1164s # } 1164s # 1164s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1164s # (marshal_data ? marshal_data : cc->callback); 1164s # 1164s # v_return = 1164s # callback (data1, 1164s # g_marshal_value_peek_object (param_values + 1), 1164s # g_marshal_value_peek_string (param_values + 2), 1164s # data2); 1164s # 1164s # g_value_set_boolean (return_value, v_return); 1164s # } 1164s # 1164s # /* ------------------------------------------------------------------------ 1164s # * Code for interface org.project.UsefulInterface 1164s # * ------------------------------------------------------------------------ 1164s # */ 1164s # 1164s # /** 1164s # * SECTION:OrgProjectUsefulInterface 1164s # * @title: OrgProjectUsefulInterface 1164s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1164s # * 1164s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1164s # */ 1164s # 1164s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "arg_ay", 1164s # (gchar *) "ay", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers[] = 1164s # { 1164s # &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay.parent_struct, 1164s # NULL 1164s # }; 1164s # 1164s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "SingleArgMethodAy", 1164s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers, 1164s # NULL, 1164s # NULL 1164s # }, 1164s # "handle-single-arg-method-ay", 1164s # FALSE 1164s # }; 1164s # 1164s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1164s # { 1164s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct, 1164s # NULL 1164s # }; 1164s # 1164s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "org.project.UsefulInterface", 1164s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1164s # NULL, 1164s # NULL, 1164s # NULL 1164s # }, 1164s # "org-project-useful-interface", 1164s # }; 1164s # 1164s # 1164s # /** 1164s # * org_project_useful_interface_interface_info: 1164s # * 1164s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1164s # * 1164s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1164s # */ 1164s # GDBusInterfaceInfo * 1164s # org_project_useful_interface_interface_info (void) 1164s # { 1164s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_override_properties: 1164s # * @klass: The class structure for a #GObject derived class. 1164s # * @property_id_begin: The property id to assign to the first overridden property. 1164s # * 1164s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1164s # * The properties are overridden in the order they are defined. 1164s # * 1164s # * Returns: The last property id. 1164s # */ 1164s # guint 1164s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1164s # { 1164s # return property_id_begin - 1; 1164s # } 1164s # 1164s # 1164s # inline static void 1164s # org_project_useful_interface_method_marshal_single_arg_method_ay ( 1164s # GClosure *closure, 1164s # GValue *return_value, 1164s # unsigned int n_param_values, 1164s # const GValue *param_values, 1164s # void *invocation_hint, 1164s # void *marshal_data) 1164s # { 1164s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 1164s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1164s # } 1164s # 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterface: 1164s # * 1164s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceIface: 1164s # * @parent_iface: The parent interface. 1164s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal. 1164s # * 1164s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1164s # */ 1164s # 1164s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1164s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1164s # 1164s # static void 1164s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1164s # { 1164s # /* GObject signals for incoming D-Bus method calls: */ 1164s # /** 1164s # * OrgProjectUsefulInterface::handle-single-arg-method-ay: 1164s # * @object: A #OrgProjectUsefulInterface. 1164s # * @invocation: A #GDBusMethodInvocation. 1164s # * @arg_arg_ay: Argument passed by remote caller. 1164s # * 1164s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method. 1164s # * 1164s # * 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. 1164s # * 1164s # * 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. 1164s # */ 1164s # g_signal_new ("handle-single-arg-method-ay", 1164s # G_TYPE_FROM_INTERFACE (iface), 1164s # G_SIGNAL_RUN_LAST, 1164s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay), 1164s # g_signal_accumulator_true_handled, 1164s # NULL, 1164s # org_project_useful_interface_method_marshal_single_arg_method_ay, 1164s # G_TYPE_BOOLEAN, 1164s # 2, 1164s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 1164s # 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_call_single_arg_method_ay: 1164s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1164s # * @arg_arg_ay: Argument to pass with the method invocation. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method. 1164s # */ 1164s # void 1164s # org_project_useful_interface_call_single_arg_method_ay ( 1164s # OrgProjectUsefulInterface *proxy, 1164s # const gchar *arg_arg_ay, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1164s # "SingleArgMethodAy", 1164s # g_variant_new ("(^ay)", 1164s # arg_arg_ay), 1164s # G_DBUS_CALL_FLAGS_NONE, 1164s # -1, 1164s # cancellable, 1164s # callback, 1164s # user_data); 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_call_single_arg_method_ay_finish: 1164s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay(). 1164s # * @error: Return location for error or %NULL. 1164s # * 1164s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay(). 1164s # * 1164s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1164s # */ 1164s # gboolean 1164s # org_project_useful_interface_call_single_arg_method_ay_finish ( 1164s # OrgProjectUsefulInterface *proxy, 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GVariant *_ret; 1164s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1164s # if (_ret == NULL) 1164s # goto _out; 1164s # g_variant_get (_ret, 1164s # "()"); 1164s # g_variant_unref (_ret); 1164s # _out: 1164s # return _ret != NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_call_single_arg_method_ay_sync: 1164s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1164s # * @arg_arg_ay: Argument to pass with the method invocation. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL. 1164s # * 1164s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method. 1164s # * 1164s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1164s # */ 1164s # gboolean 1164s # org_project_useful_interface_call_single_arg_method_ay_sync ( 1164s # OrgProjectUsefulInterface *proxy, 1164s # const gchar *arg_arg_ay, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GVariant *_ret; 1164s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1164s # "SingleArgMethodAy", 1164s # g_variant_new ("(^ay)", 1164s # arg_arg_ay), 1164s # G_DBUS_CALL_FLAGS_NONE, 1164s # -1, 1164s # cancellable, 1164s # error); 1164s # if (_ret == NULL) 1164s # goto _out; 1164s # g_variant_get (_ret, 1164s # "()"); 1164s # g_variant_unref (_ret); 1164s # _out: 1164s # return _ret != NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_complete_single_arg_method_ay: 1164s # * @object: A #OrgProjectUsefulInterface. 1164s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1164s # * 1164s # * 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. 1164s # * 1164s # * This method will free @invocation, you cannot use it afterwards. 1164s # */ 1164s # void 1164s # org_project_useful_interface_complete_single_arg_method_ay ( 1164s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1164s # GDBusMethodInvocation *invocation) 1164s # { 1164s # g_dbus_method_invocation_return_value (invocation, 1164s # g_variant_new ("()")); 1164s # } 1164s # 1164s # /* ------------------------------------------------------------------------ */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceProxy: 1164s # * 1164s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceProxyClass: 1164s # * @parent_class: The parent class. 1164s # * 1164s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1164s # */ 1164s # 1164s # struct _OrgProjectUsefulInterfaceProxyPrivate 1164s # { 1164s # GData *qdata; 1164s # }; 1164s # 1164s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1164s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1164s # 1164s # #else 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1164s # 1164s # #endif 1164s # static void 1164s # org_project_useful_interface_proxy_finalize (GObject *object) 1164s # { 1164s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1164s # g_datalist_clear (&proxy->priv->qdata); 1164s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1164s # guint prop_id G_GNUC_UNUSED, 1164s # GValue *value G_GNUC_UNUSED, 1164s # GParamSpec *pspec G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1164s # guint prop_id G_GNUC_UNUSED, 1164s # const GValue *value G_GNUC_UNUSED, 1164s # GParamSpec *pspec G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1164s # const gchar *sender_name G_GNUC_UNUSED, 1164s # const gchar *signal_name, 1164s # GVariant *parameters) 1164s # { 1164s # _ExtendedGDBusSignalInfo *info; 1164s # GVariantIter iter; 1164s # GVariant *child; 1164s # GValue *paramv; 1164s # gsize num_params; 1164s # gsize n; 1164s # guint signal_id; 1164s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1164s # if (info == NULL) 1164s # return; 1164s # num_params = g_variant_n_children (parameters); 1164s # paramv = g_new0 (GValue, num_params + 1); 1164s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_value_set_object (¶mv[0], proxy); 1164s # g_variant_iter_init (&iter, parameters); 1164s # n = 1; 1164s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1164s # { 1164s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1164s # if (arg_info->use_gvariant) 1164s # { 1164s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1164s # g_value_set_variant (¶mv[n], child); 1164s # n++; 1164s # } 1164s # else 1164s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1164s # g_variant_unref (child); 1164s # } 1164s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_signal_emitv (paramv, signal_id, 0, NULL); 1164s # for (n = 0; n < num_params + 1; n++) 1164s # g_value_unset (¶mv[n]); 1164s # g_free (paramv); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1164s # GVariant *changed_properties, 1164s # const gchar *const *invalidated_properties) 1164s # { 1164s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1164s # guint n; 1164s # const gchar *key; 1164s # GVariantIter *iter; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # g_variant_get (changed_properties, "a{sv}", &iter); 1164s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1164s # { 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1164s # g_datalist_remove_data (&proxy->priv->qdata, key); 1164s # if (info != NULL) 1164s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1164s # } 1164s # g_variant_iter_free (iter); 1164s # for (n = 0; invalidated_properties[n] != NULL; n++) 1164s # { 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1164s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1164s # if (info != NULL) 1164s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1164s # } 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1164s # { 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1164s # #else 1164s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1164s # #endif 1164s # 1164s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1164s # { 1164s # GObjectClass *gobject_class; 1164s # GDBusProxyClass *proxy_class; 1164s # 1164s # gobject_class = G_OBJECT_CLASS (klass); 1164s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1164s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1164s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1164s # 1164s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1164s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1164s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1164s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1164s # #endif 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new: 1164s # * @connection: A #GDBusConnection. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1164s # * 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1164s # */ 1164s # void 1164s # org_project_useful_interface_proxy_new ( 1164s # GDBusConnection *connection, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # g_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); 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_finish: 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_finish ( 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GObject *ret; 1164s # GObject *source_object; 1164s # source_object = g_async_result_get_source_object (res); 1164s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1164s # g_object_unref (source_object); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_sync: 1164s # * @connection: A #GDBusConnection. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1164s # * 1164s # * The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_sync ( 1164s # GDBusConnection *connection, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GInitable *ret; 1164s # 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); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_for_bus: 1164s # * @bus_type: A #GBusType. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: A bus name (well-known or unique). 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1164s # * 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1164s # */ 1164s # void 1164s # org_project_useful_interface_proxy_new_for_bus ( 1164s # GBusType bus_type, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # g_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); 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_for_bus_finish: 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_for_bus_finish ( 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GObject *ret; 1164s # GObject *source_object; 1164s # source_object = g_async_result_get_source_object (res); 1164s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1164s # g_object_unref (source_object); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_for_bus_sync: 1164s # * @bus_type: A #GBusType. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: A bus name (well-known or unique). 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1164s # * 1164s # * The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_for_bus_sync ( 1164s # GBusType bus_type, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GInitable *ret; 1164s # 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); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # 1164s # /* ------------------------------------------------------------------------ */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceSkeleton: 1164s # * 1164s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceSkeletonClass: 1164s # * @parent_class: The parent class. 1164s # * 1164s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1164s # */ 1164s # 1164s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1164s # { 1164s # GValue *properties; 1164s # GList *changed_properties; 1164s # GSource *changed_properties_idle_source; 1164s # GMainContext *context; 1164s # GMutex lock; 1164s # }; 1164s # 1164s # static void 1164s # _org_project_useful_interface_skeleton_handle_method_call ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name, 1164s # const gchar *method_name, 1164s # GVariant *parameters, 1164s # GDBusMethodInvocation *invocation, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1164s # _ExtendedGDBusMethodInfo *info; 1164s # GVariantIter iter; 1164s # GVariant *child; 1164s # GValue *paramv; 1164s # gsize num_params; 1164s # guint num_extra; 1164s # gsize n; 1164s # guint signal_id; 1164s # GValue return_value = G_VALUE_INIT; 1164s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1164s # g_assert (info != NULL); 1164s # num_params = g_variant_n_children (parameters); 1164s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1164s # n = 0; 1164s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_value_set_object (¶mv[n++], skeleton); 1164s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1164s # g_value_set_object (¶mv[n++], invocation); 1164s # if (info->pass_fdlist) 1164s # { 1164s # #ifdef G_OS_UNIX 1164s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1164s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1164s # #else 1164s # g_assert_not_reached (); 1164s # #endif 1164s # } 1164s # g_variant_iter_init (&iter, parameters); 1164s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1164s # { 1164s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1164s # if (arg_info->use_gvariant) 1164s # { 1164s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1164s # g_value_set_variant (¶mv[n], child); 1164s # n++; 1164s # } 1164s # else 1164s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1164s # g_variant_unref (child); 1164s # } 1164s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1164s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1164s # if (!g_value_get_boolean (&return_value)) 1164s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1164s # g_value_unset (&return_value); 1164s # for (n = 0; n < num_params + num_extra; n++) 1164s # g_value_unset (¶mv[n]); 1164s # g_free (paramv); 1164s # } 1164s # 1164s # static GVariant * 1164s # _org_project_useful_interface_skeleton_handle_get_property ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name G_GNUC_UNUSED, 1164s # const gchar *property_name, 1164s # GError **error, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1164s # GValue value = G_VALUE_INIT; 1164s # GParamSpec *pspec; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # GVariant *ret; 1164s # ret = NULL; 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1164s # g_assert (info != NULL); 1164s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1164s # if (pspec == NULL) 1164s # { 1164s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1164s # } 1164s # else 1164s # { 1164s # g_value_init (&value, pspec->value_type); 1164s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1164s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1164s # g_value_unset (&value); 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static gboolean 1164s # _org_project_useful_interface_skeleton_handle_set_property ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name G_GNUC_UNUSED, 1164s # const gchar *property_name, 1164s # GVariant *variant, 1164s # GError **error, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1164s # GValue value = G_VALUE_INIT; 1164s # GParamSpec *pspec; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # gboolean ret; 1164s # ret = FALSE; 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1164s # g_assert (info != NULL); 1164s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1164s # if (pspec == NULL) 1164s # { 1164s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1164s # } 1164s # else 1164s # { 1164s # if (info->use_gvariant) 1164s # g_value_set_variant (&value, variant); 1164s # else 1164s # g_dbus_gvariant_to_gvalue (variant, &value); 1164s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1164s # g_value_unset (&value); 1164s # ret = TRUE; 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1164s # { 1164s # _org_project_useful_interface_skeleton_handle_method_call, 1164s # _org_project_useful_interface_skeleton_handle_get_property, 1164s # _org_project_useful_interface_skeleton_handle_set_property, 1164s # {NULL} 1164s # }; 1164s # 1164s # static GDBusInterfaceInfo * 1164s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1164s # { 1164s # return org_project_useful_interface_interface_info (); 1164s # } 1164s # 1164s # static GDBusInterfaceVTable * 1164s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1164s # { 1164s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1164s # } 1164s # 1164s # static GVariant * 1164s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1164s # 1164s # GVariantBuilder builder; 1164s # guint n; 1164s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1164s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1164s # goto out; 1164s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1164s # { 1164s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1164s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1164s # { 1164s # GVariant *value; 1164s # 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); 1164s # if (value != NULL) 1164s # { 1164s # g_variant_take_ref (value); 1164s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1164s # g_variant_unref (value); 1164s # } 1164s # } 1164s # } 1164s # out: 1164s # return g_variant_builder_end (&builder); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1164s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1164s # 1164s # #else 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1164s # 1164s # #endif 1164s # static void 1164s # org_project_useful_interface_skeleton_finalize (GObject *object) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1164s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1164s # if (skeleton->priv->changed_properties_idle_source != NULL) 1164s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1164s # g_main_context_unref (skeleton->priv->context); 1164s # g_mutex_clear (&skeleton->priv->lock); 1164s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1164s # { 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1164s # #else 1164s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1164s # #endif 1164s # 1164s # g_mutex_init (&skeleton->priv->lock); 1164s # skeleton->priv->context = g_main_context_ref_thread_default (); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1164s # { 1164s # GObjectClass *gobject_class; 1164s # GDBusInterfaceSkeletonClass *skeleton_class; 1164s # 1164s # gobject_class = G_OBJECT_CLASS (klass); 1164s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1164s # 1164s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1164s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1164s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1164s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1164s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1164s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1164s # #endif 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_skeleton_new: 1164s # * 1164s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_skeleton_new (void) 1164s # { 1164s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1164s # } 1164s # /tmp/tmp0hh_d_fb/tmpotvh8blg.xml: 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0hh_d_fb/tmpotvh8blg.xml', '--output', '-', '--body'] 1164s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1164s # Output: /* 1164s # * This file is generated by gdbus-codegen, do not modify it. 1164s # * 1164s # * The license of this code is the same as for the D-Bus interface description 1164s # * it was derived from. Note that it links to GLib, so must comply with the 1164s # * LGPL linking clauses. 1164s # */ 1164s # 1164s # #ifdef HAVE_CONFIG_H 1164s # # include "config.h" 1164s # #endif 1164s # 1164s # #include 1164s # #ifdef G_OS_UNIX 1164s # # include 1164s # #endif 1164s # 1164s # #ifdef G_ENABLE_DEBUG 1164s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1164s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1164s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1164s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1164s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1164s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1164s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1164s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1164s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1164s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1164s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1164s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1164s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1164s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1164s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1164s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1164s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1164s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1164s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1164s # #else /* !G_ENABLE_DEBUG */ 1164s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1164s # * Do not access GValues directly in your code. Instead, use the 1164s # * g_value_get_*() functions 1164s # */ 1164s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1164s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1164s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1164s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1164s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1164s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1164s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1164s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1164s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1164s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1164s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1164s # #endif /* !G_ENABLE_DEBUG */ 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusArgInfo parent_struct; 1164s # gboolean use_gvariant; 1164s # } _ExtendedGDBusArgInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusMethodInfo parent_struct; 1164s # const gchar *signal_name; 1164s # gboolean pass_fdlist; 1164s # } _ExtendedGDBusMethodInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusSignalInfo parent_struct; 1164s # const gchar *signal_name; 1164s # } _ExtendedGDBusSignalInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusPropertyInfo parent_struct; 1164s # const gchar *hyphen_name; 1164s # guint use_gvariant : 1; 1164s # guint emits_changed_signal : 1; 1164s # } _ExtendedGDBusPropertyInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusInterfaceInfo parent_struct; 1164s # const gchar *hyphen_name; 1164s # } _ExtendedGDBusInterfaceInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # const _ExtendedGDBusPropertyInfo *info; 1164s # guint prop_id; 1164s # GValue orig_value; /* the value before the change */ 1164s # } ChangedProperty; 1164s # 1164s # static void 1164s # _changed_property_free (ChangedProperty *data) 1164s # { 1164s # g_value_unset (&data->orig_value); 1164s # g_free (data); 1164s # } 1164s # 1164s # static gboolean 1164s # _g_strv_equal0 (gchar **a, gchar **b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # guint n; 1164s # if (a == NULL && b == NULL) 1164s # { 1164s # ret = TRUE; 1164s # goto out; 1164s # } 1164s # if (a == NULL || b == NULL) 1164s # goto out; 1164s # if (g_strv_length (a) != g_strv_length (b)) 1164s # goto out; 1164s # for (n = 0; a[n] != NULL; n++) 1164s # if (g_strcmp0 (a[n], b[n]) != 0) 1164s # goto out; 1164s # ret = TRUE; 1164s # out: 1164s # return ret; 1164s # } 1164s # 1164s # static gboolean 1164s # _g_variant_equal0 (GVariant *a, GVariant *b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # if (a == NULL && b == NULL) 1164s # { 1164s # ret = TRUE; 1164s # goto out; 1164s # } 1164s # if (a == NULL || b == NULL) 1164s # goto out; 1164s # ret = g_variant_equal (a, b); 1164s # out: 1164s # return ret; 1164s # } 1164s # 1164s # G_GNUC_UNUSED static gboolean 1164s # _g_value_equal (const GValue *a, const GValue *b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1164s # switch (G_VALUE_TYPE (a)) 1164s # { 1164s # case G_TYPE_BOOLEAN: 1164s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1164s # break; 1164s # case G_TYPE_UCHAR: 1164s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1164s # break; 1164s # case G_TYPE_INT: 1164s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1164s # break; 1164s # case G_TYPE_UINT: 1164s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1164s # break; 1164s # case G_TYPE_INT64: 1164s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1164s # break; 1164s # case G_TYPE_UINT64: 1164s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1164s # break; 1164s # case G_TYPE_DOUBLE: 1164s # { 1164s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1164s # gdouble da = g_value_get_double (a); 1164s # gdouble db = g_value_get_double (b); 1164s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1164s # } 1164s # break; 1164s # case G_TYPE_STRING: 1164s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1164s # break; 1164s # case G_TYPE_VARIANT: 1164s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1164s # break; 1164s # default: 1164s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1164s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1164s # else 1164s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1164s # break; 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static void 1164s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 1164s # GClosure *closure, 1164s # GValue *return_value, 1164s # unsigned int n_param_values, 1164s # const GValue *param_values, 1164s # void *invocation_hint G_GNUC_UNUSED, 1164s # void *marshal_data) 1164s # { 1164s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1164s # (void *data1, 1164s # GDBusMethodInvocation *arg_method_invocation, 1164s # const gchar *const *arg_arg_as, 1164s # void *data2); 1164s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 1164s # GCClosure *cc = (GCClosure*) closure; 1164s # void *data1, *data2; 1164s # gboolean v_return; 1164s # 1164s # g_return_if_fail (return_value != NULL); 1164s # g_return_if_fail (n_param_values == 3); 1164s # 1164s # if (G_CCLOSURE_SWAP_DATA (closure)) 1164s # { 1164s # data1 = closure->data; 1164s # data2 = g_value_peek_pointer (param_values + 0); 1164s # } 1164s # else 1164s # { 1164s # data1 = g_value_peek_pointer (param_values + 0); 1164s # data2 = closure->data; 1164s # } 1164s # 1164s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1164s # (marshal_data ? marshal_data : cc->callback); 1164s # 1164s # v_return = 1164s # callback (data1, 1164s # g_marshal_value_peek_object (param_values + 1), 1164s # g_marshal_value_peek_boxed (param_values + 2), 1164s # data2); 1164s # 1164s # g_value_set_boolean (return_value, v_return); 1164s # } 1164s # 1164s # /* ------------------------------------------------------------------------ 1164s # * Code for interface org.project.UsefulInterface 1164s # * ------------------------------------------------------------------------ 1164s # */ 1164s # 1164s # /** 1164s # * SECTION:OrgProjectUsefulInterface 1164s # * @title: OrgProjectUsefulInterface 1164s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1164s # * 1164s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1164s # */ 1164s # 1164s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "arg_as", 1164s # (gchar *) "as", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers[] = 1164s # { 1164s # &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as.parent_struct, 1164s # NULL 1164s # }; 1164s # 1164s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "SingleArgMethodAs", 1164s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers, 1164s # NULL, 1164s # NULL 1164s # }, 1164s # "handle-single-arg-method-as", 1164s # FALSE 1164s # }; 1164s # 1164s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1164s # { 1164s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct, 1164s # NULL 1164s # }; 1164s # 1164s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "org.project.UsefulInterface", 1164s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1164s # NULL, 1164s # NULL, 1164s # NULL 1164s # }, 1164s # "org-project-useful-interface", 1164s # }; 1164s # 1164s # 1164s # /** 1164s # * org_project_useful_interface_interface_info: 1164s # * 1164s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1164s # * 1164s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1164s # */ 1164s # GDBusInterfaceInfo * 1164s # org_project_useful_interface_interface_info (void) 1164s # { 1164s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_override_properties: 1164s # * @klass: The class structure for a #GObject derived class. 1164s # * @property_id_begin: The property id to assign to the first overridden property. 1164s # * 1164s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1164s # * The properties are overridden in the order they are defined. 1164s # * 1164s # * Returns: The last property id. 1164s # */ 1164s # guint 1164s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1164s # { 1164s # return property_id_begin - 1; 1164s # } 1164s # 1164s # 1164s # inline static void 1164s # org_project_useful_interface_method_marshal_single_arg_method_as ( 1164s # GClosure *closure, 1164s # GValue *return_value, 1164s # unsigned int n_param_values, 1164s # const GValue *param_values, 1164s # void *invocation_hint, 1164s # void *marshal_data) 1164s # { 1164s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 1164s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1164s # } 1164s # 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterface: 1164s # * 1164s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceIface: 1164s # * @parent_iface: The parent interface. 1164s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal. 1164s # * 1164s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1164s # */ 1164s # 1164s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1164s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1164s # 1164s # static void 1164s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1164s # { 1164s # /* GObject signals for incoming D-Bus method calls: */ 1164s # /** 1164s # * OrgProjectUsefulInterface::handle-single-arg-method-as: 1164s # * @object: A #OrgProjectUsefulInterface. 1164s # * @invocation: A #GDBusMethodInvocation. 1164s # * @arg_arg_as: Argument passed by remote caller. 1164s # * 1164s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method. 1164s # * 1164s # * 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. 1164s # * 1164s # * 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. 1164s # */ 1164s # g_signal_new ("handle-single-arg-method-as", 1164s # G_TYPE_FROM_INTERFACE (iface), 1164s # G_SIGNAL_RUN_LAST, 1164s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as), 1164s # g_signal_accumulator_true_handled, 1164s # NULL, 1164s # org_project_useful_interface_method_marshal_single_arg_method_as, 1164s # G_TYPE_BOOLEAN, 1164s # 2, 1164s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 1164s # 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_call_single_arg_method_as: 1164s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1164s # * @arg_arg_as: Argument to pass with the method invocation. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method. 1164s # */ 1164s # void 1164s # org_project_useful_interface_call_single_arg_method_as ( 1164s # OrgProjectUsefulInterface *proxy, 1164s # const gchar *const *arg_arg_as, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1164s # "SingleArgMethodAs", 1164s # g_variant_new ("(^as)", 1164s # arg_arg_as), 1164s # G_DBUS_CALL_FLAGS_NONE, 1164s # -1, 1164s # cancellable, 1164s # callback, 1164s # user_data); 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_call_single_arg_method_as_finish: 1164s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as(). 1164s # * @error: Return location for error or %NULL. 1164s # * 1164s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as(). 1164s # * 1164s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1164s # */ 1164s # gboolean 1164s # org_project_useful_interface_call_single_arg_method_as_finish ( 1164s # OrgProjectUsefulInterface *proxy, 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GVariant *_ret; 1164s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1164s # if (_ret == NULL) 1164s # goto _out; 1164s # g_variant_get (_ret, 1164s # "()"); 1164s # g_variant_unref (_ret); 1164s # _out: 1164s # return _ret != NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_call_single_arg_method_as_sync: 1164s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1164s # * @arg_arg_as: Argument to pass with the method invocation. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL. 1164s # * 1164s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method. 1164s # * 1164s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1164s # */ 1164s # gboolean 1164s # org_project_useful_interface_call_single_arg_method_as_sync ( 1164s # OrgProjectUsefulInterface *proxy, 1164s # const gchar *const *arg_arg_as, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GVariant *_ret; 1164s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1164s # "SingleArgMethodAs", 1164s # g_variant_new ("(^as)", 1164s # arg_arg_as), 1164s # G_DBUS_CALL_FLAGS_NONE, 1164s # -1, 1164s # cancellable, 1164s # error); 1164s # if (_ret == NULL) 1164s # goto _out; 1164s # g_variant_get (_ret, 1164s # "()"); 1164s # g_variant_unref (_ret); 1164s # _out: 1164s # return _ret != NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_complete_single_arg_method_as: 1164s # * @object: A #OrgProjectUsefulInterface. 1164s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1164s # * 1164s # * 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. 1164s # * 1164s # * This method will free @invocation, you cannot use it afterwards. 1164s # */ 1164s # void 1164s # org_project_useful_interface_complete_single_arg_method_as ( 1164s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1164s # GDBusMethodInvocation *invocation) 1164s # { 1164s # g_dbus_method_invocation_return_value (invocation, 1164s # g_variant_new ("()")); 1164s # } 1164s # 1164s # /* ------------------------------------------------------------------------ */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceProxy: 1164s # * 1164s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceProxyClass: 1164s # * @parent_class: The parent class. 1164s # * 1164s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1164s # */ 1164s # 1164s # struct _OrgProjectUsefulInterfaceProxyPrivate 1164s # { 1164s # GData *qdata; 1164s # }; 1164s # 1164s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1164s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1164s # 1164s # #else 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1164s # 1164s # #endif 1164s # static void 1164s # org_project_useful_interface_proxy_finalize (GObject *object) 1164s # { 1164s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1164s # g_datalist_clear (&proxy->priv->qdata); 1164s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1164s # guint prop_id G_GNUC_UNUSED, 1164s # GValue *value G_GNUC_UNUSED, 1164s # GParamSpec *pspec G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1164s # guint prop_id G_GNUC_UNUSED, 1164s # const GValue *value G_GNUC_UNUSED, 1164s # GParamSpec *pspec G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1164s # const gchar *sender_name G_GNUC_UNUSED, 1164s # const gchar *signal_name, 1164s # GVariant *parameters) 1164s # { 1164s # _ExtendedGDBusSignalInfo *info; 1164s # GVariantIter iter; 1164s # GVariant *child; 1164s # GValue *paramv; 1164s # gsize num_params; 1164s # gsize n; 1164s # guint signal_id; 1164s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1164s # if (info == NULL) 1164s # return; 1164s # num_params = g_variant_n_children (parameters); 1164s # paramv = g_new0 (GValue, num_params + 1); 1164s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_value_set_object (¶mv[0], proxy); 1164s # g_variant_iter_init (&iter, parameters); 1164s # n = 1; 1164s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1164s # { 1164s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1164s # if (arg_info->use_gvariant) 1164s # { 1164s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1164s # g_value_set_variant (¶mv[n], child); 1164s # n++; 1164s # } 1164s # else 1164s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1164s # g_variant_unref (child); 1164s # } 1164s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_signal_emitv (paramv, signal_id, 0, NULL); 1164s # for (n = 0; n < num_params + 1; n++) 1164s # g_value_unset (¶mv[n]); 1164s # g_free (paramv); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1164s # GVariant *changed_properties, 1164s # const gchar *const *invalidated_properties) 1164s # { 1164s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1164s # guint n; 1164s # const gchar *key; 1164s # GVariantIter *iter; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # g_variant_get (changed_properties, "a{sv}", &iter); 1164s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1164s # { 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1164s # g_datalist_remove_data (&proxy->priv->qdata, key); 1164s # if (info != NULL) 1164s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1164s # } 1164s # g_variant_iter_free (iter); 1164s # for (n = 0; invalidated_properties[n] != NULL; n++) 1164s # { 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1164s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1164s # if (info != NULL) 1164s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1164s # } 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1164s # { 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1164s # #else 1164s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1164s # #endif 1164s # 1164s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1164s # { 1164s # GObjectClass *gobject_class; 1164s # GDBusProxyClass *proxy_class; 1164s # 1164s # gobject_class = G_OBJECT_CLASS (klass); 1164s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1164s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1164s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1164s # 1164s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1164s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1164s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1164s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1164s # #endif 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new: 1164s # * @connection: A #GDBusConnection. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1164s # * 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1164s # */ 1164s # void 1164s # org_project_useful_interface_proxy_new ( 1164s # GDBusConnection *connection, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # g_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); 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_finish: 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_finish ( 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GObject *ret; 1164s # GObject *source_object; 1164s # source_object = g_async_result_get_source_object (res); 1164s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1164s # g_object_unref (source_object); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_sync: 1164s # * @connection: A #GDBusConnection. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1164s # * 1164s # * The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_sync ( 1164s # GDBusConnection *connection, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GInitable *ret; 1164s # 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); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_for_bus: 1164s # * @bus_type: A #GBusType. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: A bus name (well-known or unique). 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1164s # * 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1164s # */ 1164s # void 1164s # org_project_useful_interface_proxy_new_for_bus ( 1164s # GBusType bus_type, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # g_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); 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_for_bus_finish: 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_for_bus_finish ( 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GObject *ret; 1164s # GObject *source_object; 1164s # source_object = g_async_result_get_source_object (res); 1164s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1164s # g_object_unref (source_object); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_for_bus_sync: 1164s # * @bus_type: A #GBusType. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: A bus name (well-known or unique). 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1164s # * 1164s # * The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_for_bus_sync ( 1164s # GBusType bus_type, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GInitable *ret; 1164s # 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); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # 1164s # /* ------------------------------------------------------------------------ */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceSkeleton: 1164s # * 1164s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceSkeletonClass: 1164s # * @parent_class: The parent class. 1164s # * 1164s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1164s # */ 1164s # 1164s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1164s # { 1164s # GValue *properties; 1164s # GList *changed_properties; 1164s # GSource *changed_properties_idle_source; 1164s # GMainContext *context; 1164s # GMutex lock; 1164s # }; 1164s # 1164s # static void 1164s # _org_project_useful_interface_skeleton_handle_method_call ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name, 1164s # const gchar *method_name, 1164s # GVariant *parameters, 1164s # GDBusMethodInvocation *invocation, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1164s # _ExtendedGDBusMethodInfo *info; 1164s # GVariantIter iter; 1164s # GVariant *child; 1164s # GValue *paramv; 1164s # gsize num_params; 1164s # guint num_extra; 1164s # gsize n; 1164s # guint signal_id; 1164s # GValue return_value = G_VALUE_INIT; 1164s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1164s # g_assert (info != NULL); 1164s # num_params = g_variant_n_children (parameters); 1164s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1164s # n = 0; 1164s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_value_set_object (¶mv[n++], skeleton); 1164s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1164s # g_value_set_object (¶mv[n++], invocation); 1164s # if (info->pass_fdlist) 1164s # { 1164s # #ifdef G_OS_UNIX 1164s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1164s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1164s # #else 1164s # g_assert_not_reached (); 1164s # #endif 1164s # } 1164s # g_variant_iter_init (&iter, parameters); 1164s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1164s # { 1164s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1164s # if (arg_info->use_gvariant) 1164s # { 1164s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1164s # g_value_set_variant (¶mv[n], child); 1164s # n++; 1164s # } 1164s # else 1164s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1164s # g_variant_unref (child); 1164s # } 1164s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1164s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1164s # if (!g_value_get_boolean (&return_value)) 1164s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1164s # g_value_unset (&return_value); 1164s # for (n = 0; n < num_params + num_extra; n++) 1164s # g_value_unset (¶mv[n]); 1164s # g_free (paramv); 1164s # } 1164s # 1164s # static GVariant * 1164s # _org_project_useful_interface_skeleton_handle_get_property ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name G_GNUC_UNUSED, 1164s # const gchar *property_name, 1164s # GError **error, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1164s # GValue value = G_VALUE_INIT; 1164s # GParamSpec *pspec; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # GVariant *ret; 1164s # ret = NULL; 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1164s # g_assert (info != NULL); 1164s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1164s # if (pspec == NULL) 1164s # { 1164s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1164s # } 1164s # else 1164s # { 1164s # g_value_init (&value, pspec->value_type); 1164s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1164s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1164s # g_value_unset (&value); 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static gboolean 1164s # _org_project_useful_interface_skeleton_handle_set_property ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name G_GNUC_UNUSED, 1164s # const gchar *property_name, 1164s # GVariant *variant, 1164s # GError **error, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1164s # GValue value = G_VALUE_INIT; 1164s # GParamSpec *pspec; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # gboolean ret; 1164s # ret = FALSE; 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1164s # g_assert (info != NULL); 1164s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1164s # if (pspec == NULL) 1164s # { 1164s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1164s # } 1164s # else 1164s # { 1164s # if (info->use_gvariant) 1164s # g_value_set_variant (&value, variant); 1164s # else 1164s # g_dbus_gvariant_to_gvalue (variant, &value); 1164s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1164s # g_value_unset (&value); 1164s # ret = TRUE; 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1164s # { 1164s # _org_project_useful_interface_skeleton_handle_method_call, 1164s # _org_project_useful_interface_skeleton_handle_get_property, 1164s # _org_project_useful_interface_skeleton_handle_set_property, 1164s # {NULL} 1164s # }; 1164s # 1164s # static GDBusInterfaceInfo * 1164s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1164s # { 1164s # return org_project_useful_interface_interface_info (); 1164s # } 1164s # 1164s # static GDBusInterfaceVTable * 1164s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1164s # { 1164s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1164s # } 1164s # 1164s # static GVariant * 1164s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1164s # 1164s # GVariantBuilder builder; 1164s # guint n; 1164s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1164s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1164s # goto out; 1164s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1164s # { 1164s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1164s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1164s # { 1164s # GVariant *value; 1164s # 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); 1164s # if (value != NULL) 1164s # { 1164s # g_variant_take_ref (value); 1164s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1164s # g_variant_unref (value); 1164s # } 1164s # } 1164s # } 1164s # out: 1164s # return g_variant_builder_end (&builder); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1164s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1164s # 1164s # #else 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1164s # 1164s # #endif 1164s # static void 1164s # org_project_useful_interface_skeleton_finalize (GObject *object) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1164s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1164s # if (skeleton->priv->changed_properties_idle_source != NULL) 1164s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1164s # g_main_context_unref (skeleton->priv->context); 1164s # g_mutex_clear (&skeleton->priv->lock); 1164s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1164s # { 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1164s # #else 1164s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1164s # #endif 1164s # 1164s # g_mutex_init (&skeleton->priv->lock); 1164s # skeleton->priv->context = g_main_context_ref_thread_default (); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1164s # { 1164s # GObjectClass *gobject_class; 1164s # GDBusInterfaceSkeletonClass *skeleton_class; 1164s # 1164s # gobject_class = G_OBJECT_CLASS (klass); 1164s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1164s # 1164s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1164s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1164s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1164s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1164s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1164s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1164s # #endif 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_skeleton_new: 1164s # * 1164s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_skeleton_new (void) 1164s # { 1164s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1164s # } 1164s # /tmp/tmp0hh_d_fb/tmpxhvkua8n.xml: 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0hh_d_fb/tmpxhvkua8n.xml', '--output', '-', '--body'] 1164s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1164s # Output: /* 1164s # * This file is generated by gdbus-codegen, do not modify it. 1164s # * 1164s # * The license of this code is the same as for the D-Bus interface description 1164s # * it was derived from. Note that it links to GLib, so must comply with the 1164s # * LGPL linking clauses. 1164s # */ 1164s # 1164s # #ifdef HAVE_CONFIG_H 1164s # # include "config.h" 1164s # #endif 1164s # 1164s # #include 1164s # #ifdef G_OS_UNIX 1164s # # include 1164s # #endif 1164s # 1164s # #ifdef G_ENABLE_DEBUG 1164s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1164s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1164s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1164s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1164s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1164s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1164s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1164s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1164s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1164s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1164s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1164s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1164s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1164s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1164s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1164s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1164s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1164s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1164s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1164s # #else /* !G_ENABLE_DEBUG */ 1164s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1164s # * Do not access GValues directly in your code. Instead, use the 1164s # * g_value_get_*() functions 1164s # */ 1164s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1164s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1164s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1164s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1164s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1164s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1164s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1164s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1164s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1164s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1164s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1164s # #endif /* !G_ENABLE_DEBUG */ 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusArgInfo parent_struct; 1164s # gboolean use_gvariant; 1164s # } _ExtendedGDBusArgInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusMethodInfo parent_struct; 1164s # const gchar *signal_name; 1164s # gboolean pass_fdlist; 1164s # } _ExtendedGDBusMethodInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusSignalInfo parent_struct; 1164s # const gchar *signal_name; 1164s # } _ExtendedGDBusSignalInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusPropertyInfo parent_struct; 1164s # const gchar *hyphen_name; 1164s # guint use_gvariant : 1; 1164s # guint emits_changed_signal : 1; 1164s # } _ExtendedGDBusPropertyInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusInterfaceInfo parent_struct; 1164s # const gchar *hyphen_name; 1164s # } _ExtendedGDBusInterfaceInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # const _ExtendedGDBusPropertyInfo *info; 1164s # guint prop_id; 1164s # GValue orig_value; /* the value before the change */ 1164s # } ChangedProperty; 1164s # 1164s # static void 1164s # _changed_property_free (ChangedProperty *data) 1164s # { 1164s # g_value_unset (&data->orig_value); 1164s # g_free (data); 1164s # } 1164s # 1164s # static gboolean 1164s # _g_strv_equal0 (gchar **a, gchar **b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # guint n; 1164s # if (a == NULL && b == NULL) 1164s # { 1164s # ret = TRUE; 1164s # goto out; 1164s # } 1164s # if (a == NULL || b == NULL) 1164s # goto out; 1164s # if (g_strv_length (a) != g_strv_length (b)) 1164s # goto out; 1164s # for (n = 0; a[n] != NULL; n++) 1164s # if (g_strcmp0 (a[n], b[n]) != 0) 1164s # goto out; 1164s # ret = TRUE; 1164s # out: 1164s # return ret; 1164s # } 1164s # 1164s # static gboolean 1164s # _g_variant_equal0 (GVariant *a, GVariant *b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # if (a == NULL && b == NULL) 1164s # { 1164s # ret = TRUE; 1164s # goto out; 1164s # } 1164s # if (a == NULL || b == NULL) 1164s # goto out; 1164s # ret = g_variant_equal (a, b); 1164s # out: 1164s # return ret; 1164s # } 1164s # 1164s # G_GNUC_UNUSED static gboolean 1164s # _g_value_equal (const GValue *a, const GValue *b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1164s # switch (G_VALUE_TYPE (a)) 1164s # { 1164s # case G_TYPE_BOOLEAN: 1164s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1164s # break; 1164s # case G_TYPE_UCHAR: 1164s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1164s # break; 1164s # case G_TYPE_INT: 1164s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1164s # break; 1164s # case G_TYPE_UINT: 1164s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1164s # break; 1164s # case G_TYPE_INT64: 1164s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1164s # break; 1164s # case G_TYPE_UINT64: 1164s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1164s # break; 1164s # case G_TYPE_DOUBLE: 1164s # { 1164s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1164s # gdouble da = g_value_get_double (a); 1164s # gdouble db = g_value_get_double (b); 1164s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1164s # } 1164s # break; 1164s # case G_TYPE_STRING: 1164s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1164s # break; 1164s # case G_TYPE_VARIANT: 1164s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1164s # break; 1164s # default: 1164s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1164s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1164s # else 1164s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1164s # break; 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static void 1164s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 1164s # GClosure *closure, 1164s # GValue *return_value, 1164s # unsigned int n_param_values, 1164s # const GValue *param_values, 1164s # void *invocation_hint G_GNUC_UNUSED, 1164s # void *marshal_data) 1164s # { 1164s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1164s # (void *data1, 1164s # GDBusMethodInvocation *arg_method_invocation, 1164s # const gchar *const *arg_arg_ao, 1164s # void *data2); 1164s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 1164s # GCClosure *cc = (GCClosure*) closure; 1164s # void *data1, *data2; 1164s # gboolean v_return; 1164s # 1164s # g_return_if_fail (return_value != NULL); 1164s # g_return_if_fail (n_param_values == 3); 1164s # 1164s # if (G_CCLOSURE_SWAP_DATA (closure)) 1164s # { 1164s # data1 = closure->data; 1164s # data2 = g_value_peek_pointer (param_values + 0); 1164s # } 1164s # else 1164s # { 1164s # data1 = g_value_peek_pointer (param_values + 0); 1164s # data2 = closure->data; 1164s # } 1164s # 1164s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1164s # (marshal_data ? marshal_data : cc->callback); 1164s # 1164s # v_return = 1164s # callback (data1, 1164s # g_marshal_value_peek_object (param_values + 1), 1164s # g_marshal_value_peek_boxed (param_values + 2), 1164s # data2); 1164s # 1164s # g_value_set_boolean (return_value, v_return); 1164s # } 1164s # 1164s # /* ------------------------------------------------------------------------ 1164s # * Code for interface org.project.UsefulInterface 1164s # * ------------------------------------------------------------------------ 1164s # */ 1164s # 1164s # /** 1164s # * SECTION:OrgProjectUsefulInterface 1164s # * @title: OrgProjectUsefulInterface 1164s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1164s # * 1164s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1164s # */ 1164s # 1164s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "arg_ao", 1164s # (gchar *) "ao", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers[] = 1164s # { 1164s # &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao.parent_struct, 1164s # NULL 1164s # }; 1164s # 1164s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "SingleArgMethodAo", 1164s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers, 1164s # NULL, 1164s # NULL 1164s # }, 1164s # "handle-single-arg-method-ao", 1164s # FALSE 1164s # }; 1164s # 1164s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1164s # { 1164s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct, 1164s # NULL 1164s # }; 1164s # 1164s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "org.project.UsefulInterface", 1164s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1164s # NULL, 1164s # NULL, 1164s # NULL 1164s # }, 1164s # "org-project-useful-interface", 1164s # }; 1164s # 1164s # 1164s # /** 1164s # * org_project_useful_interface_interface_info: 1164s # * 1164s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1164s # * 1164s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1164s # */ 1164s # GDBusInterfaceInfo * 1164s # org_project_useful_interface_interface_info (void) 1164s # { 1164s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_override_properties: 1164s # * @klass: The class structure for a #GObject derived class. 1164s # * @property_id_begin: The property id to assign to the first overridden property. 1164s # * 1164s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1164s # * The properties are overridden in the order they are defined. 1164s # * 1164s # * Returns: The last property id. 1164s # */ 1164s # guint 1164s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1164s # { 1164s # return property_id_begin - 1; 1164s # } 1164s # 1164s # 1164s # inline static void 1164s # org_project_useful_interface_method_marshal_single_arg_method_ao ( 1164s # GClosure *closure, 1164s # GValue *return_value, 1164s # unsigned int n_param_values, 1164s # const GValue *param_values, 1164s # void *invocation_hint, 1164s # void *marshal_data) 1164s # { 1164s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 1164s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1164s # } 1164s # 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterface: 1164s # * 1164s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceIface: 1164s # * @parent_iface: The parent interface. 1164s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal. 1164s # * 1164s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1164s # */ 1164s # 1164s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1164s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1164s # 1164s # static void 1164s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1164s # { 1164s # /* GObject signals for incoming D-Bus method calls: */ 1164s # /** 1164s # * OrgProjectUsefulInterface::handle-single-arg-method-ao: 1164s # * @object: A #OrgProjectUsefulInterface. 1164s # * @invocation: A #GDBusMethodInvocation. 1164s # * @arg_arg_ao: Argument passed by remote caller. 1164s # * 1164s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method. 1164s # * 1164s # * 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. 1164s # * 1164s # * 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. 1164s # */ 1164s # g_signal_new ("handle-single-arg-method-ao", 1164s # G_TYPE_FROM_INTERFACE (iface), 1164s # G_SIGNAL_RUN_LAST, 1164s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao), 1164s # g_signal_accumulator_true_handled, 1164s # NULL, 1164s # org_project_useful_interface_method_marshal_single_arg_method_ao, 1164s # G_TYPE_BOOLEAN, 1164s # 2, 1164s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 1164s # 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_call_single_arg_method_ao: 1164s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1164s # * @arg_arg_ao: Argument to pass with the method invocation. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method. 1164s # */ 1164s # void 1164s # org_project_useful_interface_call_single_arg_method_ao ( 1164s # OrgProjectUsefulInterface *proxy, 1164s # const gchar *const *arg_arg_ao, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1164s # "SingleArgMethodAo", 1164s # g_variant_new ("(^ao)", 1164s # arg_arg_ao), 1164s # G_DBUS_CALL_FLAGS_NONE, 1164s # -1, 1164s # cancellable, 1164s # callback, 1164s # user_data); 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_call_single_arg_method_ao_finish: 1164s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao(). 1164s # * @error: Return location for error or %NULL. 1164s # * 1164s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao(). 1164s # * 1164s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1164s # */ 1164s # gboolean 1164s # org_project_useful_interface_call_single_arg_method_ao_finish ( 1164s # OrgProjectUsefulInterface *proxy, 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GVariant *_ret; 1164s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1164s # if (_ret == NULL) 1164s # goto _out; 1164s # g_variant_get (_ret, 1164s # "()"); 1164s # g_variant_unref (_ret); 1164s # _out: 1164s # return _ret != NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_call_single_arg_method_ao_sync: 1164s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1164s # * @arg_arg_ao: Argument to pass with the method invocation. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL. 1164s # * 1164s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method. 1164s # * 1164s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1164s # */ 1164s # gboolean 1164s # org_project_useful_interface_call_single_arg_method_ao_sync ( 1164s # OrgProjectUsefulInterface *proxy, 1164s # const gchar *const *arg_arg_ao, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GVariant *_ret; 1164s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1164s # "SingleArgMethodAo", 1164s # g_variant_new ("(^ao)", 1164s # arg_arg_ao), 1164s # G_DBUS_CALL_FLAGS_NONE, 1164s # -1, 1164s # cancellable, 1164s # error); 1164s # if (_ret == NULL) 1164s # goto _out; 1164s # g_variant_get (_ret, 1164s # "()"); 1164s # g_variant_unref (_ret); 1164s # _out: 1164s # return _ret != NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_complete_single_arg_method_ao: 1164s # * @object: A #OrgProjectUsefulInterface. 1164s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1164s # * 1164s # * 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. 1164s # * 1164s # * This method will free @invocation, you cannot use it afterwards. 1164s # */ 1164s # void 1164s # org_project_useful_interface_complete_single_arg_method_ao ( 1164s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1164s # GDBusMethodInvocation *invocation) 1164s # { 1164s # g_dbus_method_invocation_return_value (invocation, 1164s # g_variant_new ("()")); 1164s # } 1164s # 1164s # /* ------------------------------------------------------------------------ */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceProxy: 1164s # * 1164s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceProxyClass: 1164s # * @parent_class: The parent class. 1164s # * 1164s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1164s # */ 1164s # 1164s # struct _OrgProjectUsefulInterfaceProxyPrivate 1164s # { 1164s # GData *qdata; 1164s # }; 1164s # 1164s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1164s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1164s # 1164s # #else 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1164s # 1164s # #endif 1164s # static void 1164s # org_project_useful_interface_proxy_finalize (GObject *object) 1164s # { 1164s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1164s # g_datalist_clear (&proxy->priv->qdata); 1164s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1164s # guint prop_id G_GNUC_UNUSED, 1164s # GValue *value G_GNUC_UNUSED, 1164s # GParamSpec *pspec G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1164s # guint prop_id G_GNUC_UNUSED, 1164s # const GValue *value G_GNUC_UNUSED, 1164s # GParamSpec *pspec G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1164s # const gchar *sender_name G_GNUC_UNUSED, 1164s # const gchar *signal_name, 1164s # GVariant *parameters) 1164s # { 1164s # _ExtendedGDBusSignalInfo *info; 1164s # GVariantIter iter; 1164s # GVariant *child; 1164s # GValue *paramv; 1164s # gsize num_params; 1164s # gsize n; 1164s # guint signal_id; 1164s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1164s # if (info == NULL) 1164s # return; 1164s # num_params = g_variant_n_children (parameters); 1164s # paramv = g_new0 (GValue, num_params + 1); 1164s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_value_set_object (¶mv[0], proxy); 1164s # g_variant_iter_init (&iter, parameters); 1164s # n = 1; 1164s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1164s # { 1164s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1164s # if (arg_info->use_gvariant) 1164s # { 1164s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1164s # g_value_set_variant (¶mv[n], child); 1164s # n++; 1164s # } 1164s # else 1164s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1164s # g_variant_unref (child); 1164s # } 1164s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_signal_emitv (paramv, signal_id, 0, NULL); 1164s # for (n = 0; n < num_params + 1; n++) 1164s # g_value_unset (¶mv[n]); 1164s # g_free (paramv); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1164s # GVariant *changed_properties, 1164s # const gchar *const *invalidated_properties) 1164s # { 1164s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1164s # guint n; 1164s # const gchar *key; 1164s # GVariantIter *iter; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # g_variant_get (changed_properties, "a{sv}", &iter); 1164s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1164s # { 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1164s # g_datalist_remove_data (&proxy->priv->qdata, key); 1164s # if (info != NULL) 1164s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1164s # } 1164s # g_variant_iter_free (iter); 1164s # for (n = 0; invalidated_properties[n] != NULL; n++) 1164s # { 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1164s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1164s # if (info != NULL) 1164s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1164s # } 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1164s # { 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1164s # #else 1164s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1164s # #endif 1164s # 1164s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1164s # { 1164s # GObjectClass *gobject_class; 1164s # GDBusProxyClass *proxy_class; 1164s # 1164s # gobject_class = G_OBJECT_CLASS (klass); 1164s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1164s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1164s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1164s # 1164s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1164s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1164s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1164s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1164s # #endif 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new: 1164s # * @connection: A #GDBusConnection. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1164s # * 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1164s # */ 1164s # void 1164s # org_project_useful_interface_proxy_new ( 1164s # GDBusConnection *connection, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # g_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); 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_finish: 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_finish ( 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GObject *ret; 1164s # GObject *source_object; 1164s # source_object = g_async_result_get_source_object (res); 1164s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1164s # g_object_unref (source_object); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_sync: 1164s # * @connection: A #GDBusConnection. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1164s # * 1164s # * The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_sync ( 1164s # GDBusConnection *connection, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GInitable *ret; 1164s # 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); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_for_bus: 1164s # * @bus_type: A #GBusType. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: A bus name (well-known or unique). 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1164s # * 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1164s # */ 1164s # void 1164s # org_project_useful_interface_proxy_new_for_bus ( 1164s # GBusType bus_type, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # g_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); 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_for_bus_finish: 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_for_bus_finish ( 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GObject *ret; 1164s # GObject *source_object; 1164s # source_object = g_async_result_get_source_object (res); 1164s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1164s # g_object_unref (source_object); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_for_bus_sync: 1164s # * @bus_type: A #GBusType. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: A bus name (well-known or unique). 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1164s # * 1164s # * The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_for_bus_sync ( 1164s # GBusType bus_type, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GInitable *ret; 1164s # 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); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # 1164s # /* ------------------------------------------------------------------------ */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceSkeleton: 1164s # * 1164s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceSkeletonClass: 1164s # * @parent_class: The parent class. 1164s # * 1164s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1164s # */ 1164s # 1164s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1164s # { 1164s # GValue *properties; 1164s # GList *changed_properties; 1164s # GSource *changed_properties_idle_source; 1164s # GMainContext *context; 1164s # GMutex lock; 1164s # }; 1164s # 1164s # static void 1164s # _org_project_useful_interface_skeleton_handle_method_call ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name, 1164s # const gchar *method_name, 1164s # GVariant *parameters, 1164s # GDBusMethodInvocation *invocation, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1164s # _ExtendedGDBusMethodInfo *info; 1164s # GVariantIter iter; 1164s # GVariant *child; 1164s # GValue *paramv; 1164s # gsize num_params; 1164s # guint num_extra; 1164s # gsize n; 1164s # guint signal_id; 1164s # GValue return_value = G_VALUE_INIT; 1164s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1164s # g_assert (info != NULL); 1164s # num_params = g_variant_n_children (parameters); 1164s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1164s # n = 0; 1164s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_value_set_object (¶mv[n++], skeleton); 1164s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1164s # g_value_set_object (¶mv[n++], invocation); 1164s # if (info->pass_fdlist) 1164s # { 1164s # #ifdef G_OS_UNIX 1164s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1164s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1164s # #else 1164s # g_assert_not_reached (); 1164s # #endif 1164s # } 1164s # g_variant_iter_init (&iter, parameters); 1164s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1164s # { 1164s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1164s # if (arg_info->use_gvariant) 1164s # { 1164s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1164s # g_value_set_variant (¶mv[n], child); 1164s # n++; 1164s # } 1164s # else 1164s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1164s # g_variant_unref (child); 1164s # } 1164s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1164s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1164s # if (!g_value_get_boolean (&return_value)) 1164s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1164s # g_value_unset (&return_value); 1164s # for (n = 0; n < num_params + num_extra; n++) 1164s # g_value_unset (¶mv[n]); 1164s # g_free (paramv); 1164s # } 1164s # 1164s # static GVariant * 1164s # _org_project_useful_interface_skeleton_handle_get_property ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name G_GNUC_UNUSED, 1164s # const gchar *property_name, 1164s # GError **error, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1164s # GValue value = G_VALUE_INIT; 1164s # GParamSpec *pspec; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # GVariant *ret; 1164s # ret = NULL; 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1164s # g_assert (info != NULL); 1164s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1164s # if (pspec == NULL) 1164s # { 1164s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1164s # } 1164s # else 1164s # { 1164s # g_value_init (&value, pspec->value_type); 1164s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1164s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1164s # g_value_unset (&value); 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static gboolean 1164s # _org_project_useful_interface_skeleton_handle_set_property ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name G_GNUC_UNUSED, 1164s # const gchar *property_name, 1164s # GVariant *variant, 1164s # GError **error, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1164s # GValue value = G_VALUE_INIT; 1164s # GParamSpec *pspec; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # gboolean ret; 1164s # ret = FALSE; 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1164s # g_assert (info != NULL); 1164s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1164s # if (pspec == NULL) 1164s # { 1164s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1164s # } 1164s # else 1164s # { 1164s # if (info->use_gvariant) 1164s # g_value_set_variant (&value, variant); 1164s # else 1164s # g_dbus_gvariant_to_gvalue (variant, &value); 1164s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1164s # g_value_unset (&value); 1164s # ret = TRUE; 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1164s # { 1164s # _org_project_useful_interface_skeleton_handle_method_call, 1164s # _org_project_useful_interface_skeleton_handle_get_property, 1164s # _org_project_useful_interface_skeleton_handle_set_property, 1164s # {NULL} 1164s # }; 1164s # 1164s # static GDBusInterfaceInfo * 1164s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1164s # { 1164s # return org_project_useful_interface_interface_info (); 1164s # } 1164s # 1164s # static GDBusInterfaceVTable * 1164s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1164s # { 1164s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1164s # } 1164s # 1164s # static GVariant * 1164s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1164s # 1164s # GVariantBuilder builder; 1164s # guint n; 1164s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1164s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1164s # goto out; 1164s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1164s # { 1164s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1164s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1164s # { 1164s # GVariant *value; 1164s # 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); 1164s # if (value != NULL) 1164s # { 1164s # g_variant_take_ref (value); 1164s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1164s # g_variant_unref (value); 1164s # } 1164s # } 1164s # } 1164s # out: 1164s # return g_variant_builder_end (&builder); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1164s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1164s # 1164s # #else 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1164s # 1164s # #endif 1164s # static void 1164s # org_project_useful_interface_skeleton_finalize (GObject *object) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1164s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1164s # if (skeleton->priv->changed_properties_idle_source != NULL) 1164s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1164s # g_main_context_unref (skeleton->priv->context); 1164s # g_mutex_clear (&skeleton->priv->lock); 1164s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1164s # { 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1164s # #else 1164s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1164s # #endif 1164s # 1164s # g_mutex_init (&skeleton->priv->lock); 1164s # skeleton->priv->context = g_main_context_ref_thread_default (); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1164s # { 1164s # GObjectClass *gobject_class; 1164s # GDBusInterfaceSkeletonClass *skeleton_class; 1164s # 1164s # gobject_class = G_OBJECT_CLASS (klass); 1164s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1164s # 1164s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1164s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1164s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1164s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1164s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1164s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1164s # #endif 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_skeleton_new: 1164s # * 1164s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_skeleton_new (void) 1164s # { 1164s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1164s # } 1164s # /tmp/tmp0hh_d_fb/tmpuxpu5d3u.xml: 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0hh_d_fb/tmpuxpu5d3u.xml', '--output', '-', '--body'] 1164s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1164s # Output: /* 1164s # * This file is generated by gdbus-codegen, do not modify it. 1164s # * 1164s # * The license of this code is the same as for the D-Bus interface description 1164s # * it was derived from. Note that it links to GLib, so must comply with the 1164s # * LGPL linking clauses. 1164s # */ 1164s # 1164s # #ifdef HAVE_CONFIG_H 1164s # # include "config.h" 1164s # #endif 1164s # 1164s # #include 1164s # #ifdef G_OS_UNIX 1164s # # include 1164s # #endif 1164s # 1164s # #ifdef G_ENABLE_DEBUG 1164s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1164s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1164s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1164s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1164s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1164s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1164s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1164s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1164s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1164s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1164s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1164s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1164s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1164s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1164s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1164s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1164s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1164s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1164s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1164s # #else /* !G_ENABLE_DEBUG */ 1164s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1164s # * Do not access GValues directly in your code. Instead, use the 1164s # * g_value_get_*() functions 1164s # */ 1164s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1164s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1164s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1164s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1164s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1164s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1164s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1164s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1164s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1164s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1164s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1164s # #endif /* !G_ENABLE_DEBUG */ 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusArgInfo parent_struct; 1164s # gboolean use_gvariant; 1164s # } _ExtendedGDBusArgInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusMethodInfo parent_struct; 1164s # const gchar *signal_name; 1164s # gboolean pass_fdlist; 1164s # } _ExtendedGDBusMethodInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusSignalInfo parent_struct; 1164s # const gchar *signal_name; 1164s # } _ExtendedGDBusSignalInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusPropertyInfo parent_struct; 1164s # const gchar *hyphen_name; 1164s # guint use_gvariant : 1; 1164s # guint emits_changed_signal : 1; 1164s # } _ExtendedGDBusPropertyInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusInterfaceInfo parent_struct; 1164s # const gchar *hyphen_name; 1164s # } _ExtendedGDBusInterfaceInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # const _ExtendedGDBusPropertyInfo *info; 1164s # guint prop_id; 1164s # GValue orig_value; /* the value before the change */ 1164s # } ChangedProperty; 1164s # 1164s # static void 1164s # _changed_property_free (ChangedProperty *data) 1164s # { 1164s # g_value_unset (&data->orig_value); 1164s # g_free (data); 1164s # } 1164s # 1164s # static gboolean 1164s # _g_strv_equal0 (gchar **a, gchar **b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # guint n; 1164s # if (a == NULL && b == NULL) 1164s # { 1164s # ret = TRUE; 1164s # goto out; 1164s # } 1164s # if (a == NULL || b == NULL) 1164s # goto out; 1164s # if (g_strv_length (a) != g_strv_length (b)) 1164s # goto out; 1164s # for (n = 0; a[n] != NULL; n++) 1164s # if (g_strcmp0 (a[n], b[n]) != 0) 1164s # goto out; 1164s # ret = TRUE; 1164s # out: 1164s # return ret; 1164s # } 1164s # 1164s # static gboolean 1164s # _g_variant_equal0 (GVariant *a, GVariant *b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # if (a == NULL && b == NULL) 1164s # { 1164s # ret = TRUE; 1164s # goto out; 1164s # } 1164s # if (a == NULL || b == NULL) 1164s # goto out; 1164s # ret = g_variant_equal (a, b); 1164s # out: 1164s # return ret; 1164s # } 1164s # 1164s # G_GNUC_UNUSED static gboolean 1164s # _g_value_equal (const GValue *a, const GValue *b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1164s # switch (G_VALUE_TYPE (a)) 1164s # { 1164s # case G_TYPE_BOOLEAN: 1164s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1164s # break; 1164s # case G_TYPE_UCHAR: 1164s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1164s # break; 1164s # case G_TYPE_INT: 1164s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1164s # break; 1164s # case G_TYPE_UINT: 1164s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1164s # break; 1164s # case G_TYPE_INT64: 1164s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1164s # break; 1164s # case G_TYPE_UINT64: 1164s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1164s # break; 1164s # case G_TYPE_DOUBLE: 1164s # { 1164s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1164s # gdouble da = g_value_get_double (a); 1164s # gdouble db = g_value_get_double (b); 1164s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1164s # } 1164s # break; 1164s # case G_TYPE_STRING: 1164s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1164s # break; 1164s # case G_TYPE_VARIANT: 1164s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1164s # break; 1164s # default: 1164s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1164s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1164s # else 1164s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1164s # break; 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static void 1164s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 1164s # GClosure *closure, 1164s # GValue *return_value, 1164s # unsigned int n_param_values, 1164s # const GValue *param_values, 1164s # void *invocation_hint G_GNUC_UNUSED, 1164s # void *marshal_data) 1164s # { 1164s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1164s # (void *data1, 1164s # GDBusMethodInvocation *arg_method_invocation, 1164s # const gchar *const *arg_arg_aay, 1164s # void *data2); 1164s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 1164s # GCClosure *cc = (GCClosure*) closure; 1164s # void *data1, *data2; 1164s # gboolean v_return; 1164s # 1164s # g_return_if_fail (return_value != NULL); 1164s # g_return_if_fail (n_param_values == 3); 1164s # 1164s # if (G_CCLOSURE_SWAP_DATA (closure)) 1164s # { 1164s # data1 = closure->data; 1164s # data2 = g_value_peek_pointer (param_values + 0); 1164s # } 1164s # else 1164s # { 1164s # data1 = g_value_peek_pointer (param_values + 0); 1164s # data2 = closure->data; 1164s # } 1164s # 1164s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1164s # (marshal_data ? marshal_data : cc->callback); 1164s # 1164s # v_return = 1164s # callback (data1, 1164s # g_marshal_value_peek_object (param_values + 1), 1164s # g_marshal_value_peek_boxed (param_values + 2), 1164s # data2); 1164s # 1164s # g_value_set_boolean (return_value, v_return); 1164s # } 1164s # 1164s # /* ------------------------------------------------------------------------ 1164s # * Code for interface org.project.UsefulInterface 1164s # * ------------------------------------------------------------------------ 1164s # */ 1164s # 1164s # /** 1164s # * SECTION:OrgProjectUsefulInterface 1164s # * @title: OrgProjectUsefulInterface 1164s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1164s # * 1164s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1164s # */ 1164s # 1164s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "arg_aay", 1164s # (gchar *) "aay", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers[] = 1164s # { 1164s # &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay.parent_struct, 1164s # NULL 1164s # }; 1164s # 1164s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "SingleArgMethodAay", 1164s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers, 1164s # NULL, 1164s # NULL 1164s # }, 1164s # "handle-single-arg-method-aay", 1164s # FALSE 1164s # }; 1164s # 1164s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1164s # { 1164s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct, 1164s # NULL 1164s # }; 1164s # 1164s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "org.project.UsefulInterface", 1164s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1164s # NULL, 1164s # NULL, 1164s # NULL 1164s # }, 1164s # "org-project-useful-interface", 1164s # }; 1164s # 1164s # 1164s # /** 1164s # * org_project_useful_interface_interface_info: 1164s # * 1164s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1164s # * 1164s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1164s # */ 1164s # GDBusInterfaceInfo * 1164s # org_project_useful_interface_interface_info (void) 1164s # { 1164s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_override_properties: 1164s # * @klass: The class structure for a #GObject derived class. 1164s # * @property_id_begin: The property id to assign to the first overridden property. 1164s # * 1164s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1164s # * The properties are overridden in the order they are defined. 1164s # * 1164s # * Returns: The last property id. 1164s # */ 1164s # guint 1164s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1164s # { 1164s # return property_id_begin - 1; 1164s # } 1164s # 1164s # 1164s # inline static void 1164s # org_project_useful_interface_method_marshal_single_arg_method_aay ( 1164s # GClosure *closure, 1164s # GValue *return_value, 1164s # unsigned int n_param_values, 1164s # const GValue *param_values, 1164s # void *invocation_hint, 1164s # void *marshal_data) 1164s # { 1164s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 1164s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1164s # } 1164s # 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterface: 1164s # * 1164s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceIface: 1164s # * @parent_iface: The parent interface. 1164s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal. 1164s # * 1164s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1164s # */ 1164s # 1164s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1164s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1164s # 1164s # static void 1164s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1164s # { 1164s # /* GObject signals for incoming D-Bus method calls: */ 1164s # /** 1164s # * OrgProjectUsefulInterface::handle-single-arg-method-aay: 1164s # * @object: A #OrgProjectUsefulInterface. 1164s # * @invocation: A #GDBusMethodInvocation. 1164s # * @arg_arg_aay: Argument passed by remote caller. 1164s # * 1164s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method. 1164s # * 1164s # * 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. 1164s # * 1164s # * 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. 1164s # */ 1164s # g_signal_new ("handle-single-arg-method-aay", 1164s # G_TYPE_FROM_INTERFACE (iface), 1164s # G_SIGNAL_RUN_LAST, 1164s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay), 1164s # g_signal_accumulator_true_handled, 1164s # NULL, 1164s # org_project_useful_interface_method_marshal_single_arg_method_aay, 1164s # G_TYPE_BOOLEAN, 1164s # 2, 1164s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 1164s # 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_call_single_arg_method_aay: 1164s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1164s # * @arg_arg_aay: Argument to pass with the method invocation. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method. 1164s # */ 1164s # void 1164s # org_project_useful_interface_call_single_arg_method_aay ( 1164s # OrgProjectUsefulInterface *proxy, 1164s # const gchar *const *arg_arg_aay, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1164s # "SingleArgMethodAay", 1164s # g_variant_new ("(^aay)", 1164s # arg_arg_aay), 1164s # G_DBUS_CALL_FLAGS_NONE, 1164s # -1, 1164s # cancellable, 1164s # callback, 1164s # user_data); 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_call_single_arg_method_aay_finish: 1164s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay(). 1164s # * @error: Return location for error or %NULL. 1164s # * 1164s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay(). 1164s # * 1164s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1164s # */ 1164s # gboolean 1164s # org_project_useful_interface_call_single_arg_method_aay_finish ( 1164s # OrgProjectUsefulInterface *proxy, 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GVariant *_ret; 1164s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1164s # if (_ret == NULL) 1164s # goto _out; 1164s # g_variant_get (_ret, 1164s # "()"); 1164s # g_variant_unref (_ret); 1164s # _out: 1164s # return _ret != NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_call_single_arg_method_aay_sync: 1164s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1164s # * @arg_arg_aay: Argument to pass with the method invocation. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL. 1164s # * 1164s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method. 1164s # * 1164s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1164s # */ 1164s # gboolean 1164s # org_project_useful_interface_call_single_arg_method_aay_sync ( 1164s # OrgProjectUsefulInterface *proxy, 1164s # const gchar *const *arg_arg_aay, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GVariant *_ret; 1164s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1164s # "SingleArgMethodAay", 1164s # g_variant_new ("(^aay)", 1164s # arg_arg_aay), 1164s # G_DBUS_CALL_FLAGS_NONE, 1164s # -1, 1164s # cancellable, 1164s # error); 1164s # if (_ret == NULL) 1164s # goto _out; 1164s # g_variant_get (_ret, 1164s # "()"); 1164s # g_variant_unref (_ret); 1164s # _out: 1164s # return _ret != NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_complete_single_arg_method_aay: 1164s # * @object: A #OrgProjectUsefulInterface. 1164s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1164s # * 1164s # * 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. 1164s # * 1164s # * This method will free @invocation, you cannot use it afterwards. 1164s # */ 1164s # void 1164s # org_project_useful_interface_complete_single_arg_method_aay ( 1164s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1164s # GDBusMethodInvocation *invocation) 1164s # { 1164s # g_dbus_method_invocation_return_value (invocation, 1164s # g_variant_new ("()")); 1164s # } 1164s # 1164s # /* ------------------------------------------------------------------------ */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceProxy: 1164s # * 1164s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceProxyClass: 1164s # * @parent_class: The parent class. 1164s # * 1164s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1164s # */ 1164s # 1164s # struct _OrgProjectUsefulInterfaceProxyPrivate 1164s # { 1164s # GData *qdata; 1164s # }; 1164s # 1164s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1164s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1164s # 1164s # #else 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1164s # 1164s # #endif 1164s # static void 1164s # org_project_useful_interface_proxy_finalize (GObject *object) 1164s # { 1164s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1164s # g_datalist_clear (&proxy->priv->qdata); 1164s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1164s # guint prop_id G_GNUC_UNUSED, 1164s # GValue *value G_GNUC_UNUSED, 1164s # GParamSpec *pspec G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1164s # guint prop_id G_GNUC_UNUSED, 1164s # const GValue *value G_GNUC_UNUSED, 1164s # GParamSpec *pspec G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1164s # const gchar *sender_name G_GNUC_UNUSED, 1164s # const gchar *signal_name, 1164s # GVariant *parameters) 1164s # { 1164s # _ExtendedGDBusSignalInfo *info; 1164s # GVariantIter iter; 1164s # GVariant *child; 1164s # GValue *paramv; 1164s # gsize num_params; 1164s # gsize n; 1164s # guint signal_id; 1164s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1164s # if (info == NULL) 1164s # return; 1164s # num_params = g_variant_n_children (parameters); 1164s # paramv = g_new0 (GValue, num_params + 1); 1164s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_value_set_object (¶mv[0], proxy); 1164s # g_variant_iter_init (&iter, parameters); 1164s # n = 1; 1164s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1164s # { 1164s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1164s # if (arg_info->use_gvariant) 1164s # { 1164s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1164s # g_value_set_variant (¶mv[n], child); 1164s # n++; 1164s # } 1164s # else 1164s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1164s # g_variant_unref (child); 1164s # } 1164s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_signal_emitv (paramv, signal_id, 0, NULL); 1164s # for (n = 0; n < num_params + 1; n++) 1164s # g_value_unset (¶mv[n]); 1164s # g_free (paramv); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1164s # GVariant *changed_properties, 1164s # const gchar *const *invalidated_properties) 1164s # { 1164s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1164s # guint n; 1164s # const gchar *key; 1164s # GVariantIter *iter; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # g_variant_get (changed_properties, "a{sv}", &iter); 1164s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1164s # { 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1164s # g_datalist_remove_data (&proxy->priv->qdata, key); 1164s # if (info != NULL) 1164s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1164s # } 1164s # g_variant_iter_free (iter); 1164s # for (n = 0; invalidated_properties[n] != NULL; n++) 1164s # { 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1164s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1164s # if (info != NULL) 1164s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1164s # } 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1164s # { 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1164s # #else 1164s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1164s # #endif 1164s # 1164s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1164s # { 1164s # GObjectClass *gobject_class; 1164s # GDBusProxyClass *proxy_class; 1164s # 1164s # gobject_class = G_OBJECT_CLASS (klass); 1164s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1164s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1164s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1164s # 1164s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1164s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1164s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1164s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1164s # #endif 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new: 1164s # * @connection: A #GDBusConnection. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1164s # * 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1164s # */ 1164s # void 1164s # org_project_useful_interface_proxy_new ( 1164s # GDBusConnection *connection, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # g_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); 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_finish: 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_finish ( 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GObject *ret; 1164s # GObject *source_object; 1164s # source_object = g_async_result_get_source_object (res); 1164s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1164s # g_object_unref (source_object); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_sync: 1164s # * @connection: A #GDBusConnection. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1164s # * 1164s # * The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_sync ( 1164s # GDBusConnection *connection, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GInitable *ret; 1164s # 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); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_for_bus: 1164s # * @bus_type: A #GBusType. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: A bus name (well-known or unique). 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1164s # * 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1164s # */ 1164s # void 1164s # org_project_useful_interface_proxy_new_for_bus ( 1164s # GBusType bus_type, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # g_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); 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_for_bus_finish: 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_for_bus_finish ( 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GObject *ret; 1164s # GObject *source_object; 1164s # source_object = g_async_result_get_source_object (res); 1164s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1164s # g_object_unref (source_object); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_for_bus_sync: 1164s # * @bus_type: A #GBusType. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: A bus name (well-known or unique). 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1164s # * 1164s # * The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_for_bus_sync ( 1164s # GBusType bus_type, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GInitable *ret; 1164s # 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); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # 1164s # /* ------------------------------------------------------------------------ */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceSkeleton: 1164s # * 1164s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceSkeletonClass: 1164s # * @parent_class: The parent class. 1164s # * 1164s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1164s # */ 1164s # 1164s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1164s # { 1164s # GValue *properties; 1164s # GList *changed_properties; 1164s # GSource *changed_properties_idle_source; 1164s # GMainContext *context; 1164s # GMutex lock; 1164s # }; 1164s # 1164s # static void 1164s # _org_project_useful_interface_skeleton_handle_method_call ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name, 1164s # const gchar *method_name, 1164s # GVariant *parameters, 1164s # GDBusMethodInvocation *invocation, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1164s # _ExtendedGDBusMethodInfo *info; 1164s # GVariantIter iter; 1164s # GVariant *child; 1164s # GValue *paramv; 1164s # gsize num_params; 1164s # guint num_extra; 1164s # gsize n; 1164s # guint signal_id; 1164s # GValue return_value = G_VALUE_INIT; 1164s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1164s # g_assert (info != NULL); 1164s # num_params = g_variant_n_children (parameters); 1164s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1164s # n = 0; 1164s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_value_set_object (¶mv[n++], skeleton); 1164s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1164s # g_value_set_object (¶mv[n++], invocation); 1164s # if (info->pass_fdlist) 1164s # { 1164s # #ifdef G_OS_UNIX 1164s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1164s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1164s # #else 1164s # g_assert_not_reached (); 1164s # #endif 1164s # } 1164s # g_variant_iter_init (&iter, parameters); 1164s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1164s # { 1164s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1164s # if (arg_info->use_gvariant) 1164s # { 1164s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1164s # g_value_set_variant (¶mv[n], child); 1164s # n++; 1164s # } 1164s # else 1164s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1164s # g_variant_unref (child); 1164s # } 1164s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1164s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1164s # if (!g_value_get_boolean (&return_value)) 1164s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1164s # g_value_unset (&return_value); 1164s # for (n = 0; n < num_params + num_extra; n++) 1164s # g_value_unset (¶mv[n]); 1164s # g_free (paramv); 1164s # } 1164s # 1164s # static GVariant * 1164s # _org_project_useful_interface_skeleton_handle_get_property ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name G_GNUC_UNUSED, 1164s # const gchar *property_name, 1164s # GError **error, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1164s # GValue value = G_VALUE_INIT; 1164s # GParamSpec *pspec; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # GVariant *ret; 1164s # ret = NULL; 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1164s # g_assert (info != NULL); 1164s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1164s # if (pspec == NULL) 1164s # { 1164s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1164s # } 1164s # else 1164s # { 1164s # g_value_init (&value, pspec->value_type); 1164s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1164s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1164s # g_value_unset (&value); 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static gboolean 1164s # _org_project_useful_interface_skeleton_handle_set_property ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name G_GNUC_UNUSED, 1164s # const gchar *property_name, 1164s # GVariant *variant, 1164s # GError **error, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1164s # GValue value = G_VALUE_INIT; 1164s # GParamSpec *pspec; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # gboolean ret; 1164s # ret = FALSE; 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1164s # g_assert (info != NULL); 1164s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1164s # if (pspec == NULL) 1164s # { 1164s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1164s # } 1164s # else 1164s # { 1164s # if (info->use_gvariant) 1164s # g_value_set_variant (&value, variant); 1164s # else 1164s # g_dbus_gvariant_to_gvalue (variant, &value); 1164s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1164s # g_value_unset (&value); 1164s # ret = TRUE; 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1164s # { 1164s # _org_project_useful_interface_skeleton_handle_method_call, 1164s # _org_project_useful_interface_skeleton_handle_get_property, 1164s # _org_project_useful_interface_skeleton_handle_set_property, 1164s # {NULL} 1164s # }; 1164s # 1164s # static GDBusInterfaceInfo * 1164s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1164s # { 1164s # return org_project_useful_interface_interface_info (); 1164s # } 1164s # 1164s # static GDBusInterfaceVTable * 1164s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1164s # { 1164s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1164s # } 1164s # 1164s # static GVariant * 1164s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1164s # 1164s # GVariantBuilder builder; 1164s # guint n; 1164s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1164s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1164s # goto out; 1164s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1164s # { 1164s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1164s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1164s # { 1164s # GVariant *value; 1164s # 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); 1164s # if (value != NULL) 1164s # { 1164s # g_variant_take_ref (value); 1164s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1164s # g_variant_unref (value); 1164s # } 1164s # } 1164s # } 1164s # out: 1164s # return g_variant_builder_end (&builder); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1164s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1164s # 1164s # #else 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1164s # 1164s # #endif 1164s # static void 1164s # org_project_useful_interface_skeleton_finalize (GObject *object) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1164s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1164s # if (skeleton->priv->changed_properties_idle_source != NULL) 1164s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1164s # g_main_context_unref (skeleton->priv->context); 1164s # g_mutex_clear (&skeleton->priv->lock); 1164s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1164s # { 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1164s # #else 1164s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1164s # #endif 1164s # 1164s # g_mutex_init (&skeleton->priv->lock); 1164s # skeleton->priv->context = g_main_context_ref_thread_default (); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1164s # { 1164s # GObjectClass *gobject_class; 1164s # GDBusInterfaceSkeletonClass *skeleton_class; 1164s # 1164s # gobject_class = G_OBJECT_CLASS (klass); 1164s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1164s # 1164s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1164s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1164s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1164s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1164s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1164s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1164s # #endif 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_skeleton_new: 1164s # * 1164s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_skeleton_new (void) 1164s # { 1164s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1164s # } 1164s # /tmp/tmp0hh_d_fb/tmpb11olnge.xml: 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0hh_d_fb/tmpb11olnge.xml', '--output', '-', '--body'] 1164s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1164s # Output: /* 1164s # * This file is generated by gdbus-codegen, do not modify it. 1164s # * 1164s # * The license of this code is the same as for the D-Bus interface description 1164s # * it was derived from. Note that it links to GLib, so must comply with the 1164s # * LGPL linking clauses. 1164s # */ 1164s # 1164s # #ifdef HAVE_CONFIG_H 1164s # # include "config.h" 1164s # #endif 1164s # 1164s # #include 1164s # #ifdef G_OS_UNIX 1164s # # include 1164s # #endif 1164s # 1164s # #ifdef G_ENABLE_DEBUG 1164s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1164s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1164s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1164s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1164s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1164s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1164s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1164s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1164s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1164s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1164s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1164s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1164s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1164s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1164s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1164s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1164s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1164s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1164s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1164s # #else /* !G_ENABLE_DEBUG */ 1164s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1164s # * Do not access GValues directly in your code. Instead, use the 1164s # * g_value_get_*() functions 1164s # */ 1164s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1164s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1164s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1164s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1164s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1164s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1164s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1164s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1164s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1164s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1164s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1164s # #endif /* !G_ENABLE_DEBUG */ 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusArgInfo parent_struct; 1164s # gboolean use_gvariant; 1164s # } _ExtendedGDBusArgInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusMethodInfo parent_struct; 1164s # const gchar *signal_name; 1164s # gboolean pass_fdlist; 1164s # } _ExtendedGDBusMethodInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusSignalInfo parent_struct; 1164s # const gchar *signal_name; 1164s # } _ExtendedGDBusSignalInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusPropertyInfo parent_struct; 1164s # const gchar *hyphen_name; 1164s # guint use_gvariant : 1; 1164s # guint emits_changed_signal : 1; 1164s # } _ExtendedGDBusPropertyInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusInterfaceInfo parent_struct; 1164s # const gchar *hyphen_name; 1164s # } _ExtendedGDBusInterfaceInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # const _ExtendedGDBusPropertyInfo *info; 1164s # guint prop_id; 1164s # GValue orig_value; /* the value before the change */ 1164s # } ChangedProperty; 1164s # 1164s # static void 1164s # _changed_property_free (ChangedProperty *data) 1164s # { 1164s # g_value_unset (&data->orig_value); 1164s # g_free (data); 1164s # } 1164s # 1164s # static gboolean 1164s # _g_strv_equal0 (gchar **a, gchar **b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # guint n; 1164s # if (a == NULL && b == NULL) 1164s # { 1164s # ret = TRUE; 1164s # goto out; 1164s # } 1164s # if (a == NULL || b == NULL) 1164s # goto out; 1164s # if (g_strv_length (a) != g_strv_length (b)) 1164s # goto out; 1164s # for (n = 0; a[n] != NULL; n++) 1164s # if (g_strcmp0 (a[n], b[n]) != 0) 1164s # goto out; 1164s # ret = TRUE; 1164s # out: 1164s # return ret; 1164s # } 1164s # 1164s # static gboolean 1164s # _g_variant_equal0 (GVariant *a, GVariant *b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # if (a == NULL && b == NULL) 1164s # { 1164s # ret = TRUE; 1164s # goto out; 1164s # } 1164s # if (a == NULL || b == NULL) 1164s # goto out; 1164s # ret = g_variant_equal (a, b); 1164s # out: 1164s # return ret; 1164s # } 1164s # 1164s # G_GNUC_UNUSED static gboolean 1164s # _g_value_equal (const GValue *a, const GValue *b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1164s # switch (G_VALUE_TYPE (a)) 1164s # { 1164s # case G_TYPE_BOOLEAN: 1164s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1164s # break; 1164s # case G_TYPE_UCHAR: 1164s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1164s # break; 1164s # case G_TYPE_INT: 1164s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1164s # break; 1164s # case G_TYPE_UINT: 1164s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1164s # break; 1164s # case G_TYPE_INT64: 1164s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1164s # break; 1164s # case G_TYPE_UINT64: 1164s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1164s # break; 1164s # case G_TYPE_DOUBLE: 1164s # { 1164s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1164s # gdouble da = g_value_get_double (a); 1164s # gdouble db = g_value_get_double (b); 1164s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1164s # } 1164s # break; 1164s # case G_TYPE_STRING: 1164s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1164s # break; 1164s # case G_TYPE_VARIANT: 1164s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1164s # break; 1164s # default: 1164s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1164s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1164s # else 1164s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1164s # break; 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static void 1164s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT ( 1164s # GClosure *closure, 1164s # GValue *return_value, 1164s # unsigned int n_param_values, 1164s # const GValue *param_values, 1164s # void *invocation_hint G_GNUC_UNUSED, 1164s # void *marshal_data) 1164s # { 1164s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 1164s # (void *data1, 1164s # GDBusMethodInvocation *arg_method_invocation, 1164s # GVariant *arg_arg_asv, 1164s # void *data2); 1164s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback; 1164s # GCClosure *cc = (GCClosure*) closure; 1164s # void *data1, *data2; 1164s # gboolean v_return; 1164s # 1164s # g_return_if_fail (return_value != NULL); 1164s # g_return_if_fail (n_param_values == 3); 1164s # 1164s # if (G_CCLOSURE_SWAP_DATA (closure)) 1164s # { 1164s # data1 = closure->data; 1164s # data2 = g_value_peek_pointer (param_values + 0); 1164s # } 1164s # else 1164s # { 1164s # data1 = g_value_peek_pointer (param_values + 0); 1164s # data2 = closure->data; 1164s # } 1164s # 1164s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 1164s # (marshal_data ? marshal_data : cc->callback); 1164s # 1164s # v_return = 1164s # callback (data1, 1164s # g_marshal_value_peek_object (param_values + 1), 1164s # g_marshal_value_peek_variant (param_values + 2), 1164s # data2); 1164s # 1164s # g_value_set_boolean (return_value, v_return); 1164s # } 1164s # 1164s # /* ------------------------------------------------------------------------ 1164s # * Code for interface org.project.UsefulInterface 1164s # * ------------------------------------------------------------------------ 1164s # */ 1164s # 1164s # /** 1164s # * SECTION:OrgProjectUsefulInterface 1164s # * @title: OrgProjectUsefulInterface 1164s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1164s # * 1164s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1164s # */ 1164s # 1164s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "arg_asv", 1164s # (gchar *) "a{sv}", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers[] = 1164s # { 1164s # &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv.parent_struct, 1164s # NULL 1164s # }; 1164s # 1164s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "SingleArgMethodAsv", 1164s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers, 1164s # NULL, 1164s # NULL 1164s # }, 1164s # "handle-single-arg-method-asv", 1164s # FALSE 1164s # }; 1164s # 1164s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1164s # { 1164s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct, 1164s # NULL 1164s # }; 1164s # 1164s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "org.project.UsefulInterface", 1164s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1164s # NULL, 1164s # NULL, 1164s # NULL 1164s # }, 1164s # "org-project-useful-interface", 1164s # }; 1164s # 1164s # 1164s # /** 1164s # * org_project_useful_interface_interface_info: 1164s # * 1164s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1164s # * 1164s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1164s # */ 1164s # GDBusInterfaceInfo * 1164s # org_project_useful_interface_interface_info (void) 1164s # { 1164s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_override_properties: 1164s # * @klass: The class structure for a #GObject derived class. 1164s # * @property_id_begin: The property id to assign to the first overridden property. 1164s # * 1164s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1164s # * The properties are overridden in the order they are defined. 1164s # * 1164s # * Returns: The last property id. 1164s # */ 1164s # guint 1164s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1164s # { 1164s # return property_id_begin - 1; 1164s # } 1164s # 1164s # 1164s # inline static void 1164s # org_project_useful_interface_method_marshal_single_arg_method_asv ( 1164s # GClosure *closure, 1164s # GValue *return_value, 1164s # unsigned int n_param_values, 1164s # const GValue *param_values, 1164s # void *invocation_hint, 1164s # void *marshal_data) 1164s # { 1164s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure, 1164s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1164s # } 1164s # 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterface: 1164s # * 1164s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceIface: 1164s # * @parent_iface: The parent interface. 1164s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal. 1164s # * 1164s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1164s # */ 1164s # 1164s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1164s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1164s # 1164s # static void 1164s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1164s # { 1164s # /* GObject signals for incoming D-Bus method calls: */ 1164s # /** 1164s # * OrgProjectUsefulInterface::handle-single-arg-method-asv: 1164s # * @object: A #OrgProjectUsefulInterface. 1164s # * @invocation: A #GDBusMethodInvocation. 1164s # * @arg_arg_asv: Argument passed by remote caller. 1164s # * 1164s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method. 1164s # * 1164s # * 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. 1164s # * 1164s # * 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. 1164s # */ 1164s # g_signal_new ("handle-single-arg-method-asv", 1164s # G_TYPE_FROM_INTERFACE (iface), 1164s # G_SIGNAL_RUN_LAST, 1164s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv), 1164s # g_signal_accumulator_true_handled, 1164s # NULL, 1164s # org_project_useful_interface_method_marshal_single_arg_method_asv, 1164s # G_TYPE_BOOLEAN, 1164s # 2, 1164s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT); 1164s # 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_call_single_arg_method_asv: 1164s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1164s # * @arg_arg_asv: Argument to pass with the method invocation. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method. 1164s # */ 1164s # void 1164s # org_project_useful_interface_call_single_arg_method_asv ( 1164s # OrgProjectUsefulInterface *proxy, 1164s # GVariant *arg_arg_asv, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1164s # "SingleArgMethodAsv", 1164s # g_variant_new ("(@a{sv})", 1164s # arg_arg_asv), 1164s # G_DBUS_CALL_FLAGS_NONE, 1164s # -1, 1164s # cancellable, 1164s # callback, 1164s # user_data); 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_call_single_arg_method_asv_finish: 1164s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv(). 1164s # * @error: Return location for error or %NULL. 1164s # * 1164s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv(). 1164s # * 1164s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1164s # */ 1164s # gboolean 1164s # org_project_useful_interface_call_single_arg_method_asv_finish ( 1164s # OrgProjectUsefulInterface *proxy, 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GVariant *_ret; 1164s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1164s # if (_ret == NULL) 1164s # goto _out; 1164s # g_variant_get (_ret, 1164s # "()"); 1164s # g_variant_unref (_ret); 1164s # _out: 1164s # return _ret != NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_call_single_arg_method_asv_sync: 1164s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1164s # * @arg_arg_asv: Argument to pass with the method invocation. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL. 1164s # * 1164s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method. 1164s # * 1164s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1164s # */ 1164s # gboolean 1164s # org_project_useful_interface_call_single_arg_method_asv_sync ( 1164s # OrgProjectUsefulInterface *proxy, 1164s # GVariant *arg_arg_asv, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GVariant *_ret; 1164s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1164s # "SingleArgMethodAsv", 1164s # g_variant_new ("(@a{sv})", 1164s # arg_arg_asv), 1164s # G_DBUS_CALL_FLAGS_NONE, 1164s # -1, 1164s # cancellable, 1164s # error); 1164s # if (_ret == NULL) 1164s # goto _out; 1164s # g_variant_get (_ret, 1164s # "()"); 1164s # g_variant_unref (_ret); 1164s # _out: 1164s # return _ret != NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_complete_single_arg_method_asv: 1164s # * @object: A #OrgProjectUsefulInterface. 1164s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1164s # * 1164s # * 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. 1164s # * 1164s # * This method will free @invocation, you cannot use it afterwards. 1164s # */ 1164s # void 1164s # org_project_useful_interface_complete_single_arg_method_asv ( 1164s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1164s # GDBusMethodInvocation *invocation) 1164s # { 1164s # g_dbus_method_invocation_return_value (invocation, 1164s # g_variant_new ("()")); 1164s # } 1164s # 1164s # /* ------------------------------------------------------------------------ */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceProxy: 1164s # * 1164s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceProxyClass: 1164s # * @parent_class: The parent class. 1164s # * 1164s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1164s # */ 1164s # 1164s # struct _OrgProjectUsefulInterfaceProxyPrivate 1164s # { 1164s # GData *qdata; 1164s # }; 1164s # 1164s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1164s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1164s # 1164s # #else 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1164s # 1164s # #endif 1164s # static void 1164s # org_project_useful_interface_proxy_finalize (GObject *object) 1164s # { 1164s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1164s # g_datalist_clear (&proxy->priv->qdata); 1164s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1164s # guint prop_id G_GNUC_UNUSED, 1164s # GValue *value G_GNUC_UNUSED, 1164s # GParamSpec *pspec G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1164s # guint prop_id G_GNUC_UNUSED, 1164s # const GValue *value G_GNUC_UNUSED, 1164s # GParamSpec *pspec G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1164s # const gchar *sender_name G_GNUC_UNUSED, 1164s # const gchar *signal_name, 1164s # GVariant *parameters) 1164s # { 1164s # _ExtendedGDBusSignalInfo *info; 1164s # GVariantIter iter; 1164s # GVariant *child; 1164s # GValue *paramv; 1164s # gsize num_params; 1164s # gsize n; 1164s # guint signal_id; 1164s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1164s # if (info == NULL) 1164s # return; 1164s # num_params = g_variant_n_children (parameters); 1164s # paramv = g_new0 (GValue, num_params + 1); 1164s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_value_set_object (¶mv[0], proxy); 1164s # g_variant_iter_init (&iter, parameters); 1164s # n = 1; 1164s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1164s # { 1164s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1164s # if (arg_info->use_gvariant) 1164s # { 1164s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1164s # g_value_set_variant (¶mv[n], child); 1164s # n++; 1164s # } 1164s # else 1164s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1164s # g_variant_unref (child); 1164s # } 1164s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_signal_emitv (paramv, signal_id, 0, NULL); 1164s # for (n = 0; n < num_params + 1; n++) 1164s # g_value_unset (¶mv[n]); 1164s # g_free (paramv); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1164s # GVariant *changed_properties, 1164s # const gchar *const *invalidated_properties) 1164s # { 1164s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1164s # guint n; 1164s # const gchar *key; 1164s # GVariantIter *iter; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # g_variant_get (changed_properties, "a{sv}", &iter); 1164s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1164s # { 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1164s # g_datalist_remove_data (&proxy->priv->qdata, key); 1164s # if (info != NULL) 1164s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1164s # } 1164s # g_variant_iter_free (iter); 1164s # for (n = 0; invalidated_properties[n] != NULL; n++) 1164s # { 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1164s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1164s # if (info != NULL) 1164s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1164s # } 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1164s # { 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1164s # #else 1164s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1164s # #endif 1164s # 1164s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1164s # { 1164s # GObjectClass *gobject_class; 1164s # GDBusProxyClass *proxy_class; 1164s # 1164s # gobject_class = G_OBJECT_CLASS (klass); 1164s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1164s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1164s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1164s # 1164s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1164s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1164s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1164s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1164s # #endif 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new: 1164s # * @connection: A #GDBusConnection. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1164s # * 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1164s # */ 1164s # void 1164s # org_project_useful_interface_proxy_new ( 1164s # GDBusConnection *connection, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # g_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); 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_finish: 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_finish ( 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GObject *ret; 1164s # GObject *source_object; 1164s # source_object = g_async_result_get_source_object (res); 1164s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1164s # g_object_unref (source_object); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_sync: 1164s # * @connection: A #GDBusConnection. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1164s # * 1164s # * The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_sync ( 1164s # GDBusConnection *connection, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GInitable *ret; 1164s # 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); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_for_bus: 1164s # * @bus_type: A #GBusType. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: A bus name (well-known or unique). 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1164s # * 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1164s # */ 1164s # void 1164s # org_project_useful_interface_proxy_new_for_bus ( 1164s # GBusType bus_type, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # g_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); 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_for_bus_finish: 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_for_bus_finish ( 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GObject *ret; 1164s # GObject *source_object; 1164s # source_object = g_async_result_get_source_object (res); 1164s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1164s # g_object_unref (source_object); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_for_bus_sync: 1164s # * @bus_type: A #GBusType. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: A bus name (well-known or unique). 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1164s # * 1164s # * The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_for_bus_sync ( 1164s # GBusType bus_type, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GInitable *ret; 1164s # 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); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # 1164s # /* ------------------------------------------------------------------------ */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceSkeleton: 1164s # * 1164s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceSkeletonClass: 1164s # * @parent_class: The parent class. 1164s # * 1164s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1164s # */ 1164s # 1164s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1164s # { 1164s # GValue *properties; 1164s # GList *changed_properties; 1164s # GSource *changed_properties_idle_source; 1164s # GMainContext *context; 1164s # GMutex lock; 1164s # }; 1164s # 1164s # static void 1164s # _org_project_useful_interface_skeleton_handle_method_call ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name, 1164s # const gchar *method_name, 1164s # GVariant *parameters, 1164s # GDBusMethodInvocation *invocation, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1164s # _ExtendedGDBusMethodInfo *info; 1164s # GVariantIter iter; 1164s # GVariant *child; 1164s # GValue *paramv; 1164s # gsize num_params; 1164s # guint num_extra; 1164s # gsize n; 1164s # guint signal_id; 1164s # GValue return_value = G_VALUE_INIT; 1164s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1164s # g_assert (info != NULL); 1164s # num_params = g_variant_n_children (parameters); 1164s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1164s # n = 0; 1164s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_value_set_object (¶mv[n++], skeleton); 1164s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1164s # g_value_set_object (¶mv[n++], invocation); 1164s # if (info->pass_fdlist) 1164s # { 1164s # #ifdef G_OS_UNIX 1164s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1164s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1164s # #else 1164s # g_assert_not_reached (); 1164s # #endif 1164s # } 1164s # g_variant_iter_init (&iter, parameters); 1164s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1164s # { 1164s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1164s # if (arg_info->use_gvariant) 1164s # { 1164s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1164s # g_value_set_variant (¶mv[n], child); 1164s # n++; 1164s # } 1164s # else 1164s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1164s # g_variant_unref (child); 1164s # } 1164s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1164s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1164s # if (!g_value_get_boolean (&return_value)) 1164s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1164s # g_value_unset (&return_value); 1164s # for (n = 0; n < num_params + num_extra; n++) 1164s # g_value_unset (¶mv[n]); 1164s # g_free (paramv); 1164s # } 1164s # 1164s # static GVariant * 1164s # _org_project_useful_interface_skeleton_handle_get_property ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name G_GNUC_UNUSED, 1164s # const gchar *property_name, 1164s # GError **error, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1164s # GValue value = G_VALUE_INIT; 1164s # GParamSpec *pspec; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # GVariant *ret; 1164s # ret = NULL; 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1164s # g_assert (info != NULL); 1164s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1164s # if (pspec == NULL) 1164s # { 1164s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1164s # } 1164s # else 1164s # { 1164s # g_value_init (&value, pspec->value_type); 1164s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1164s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1164s # g_value_unset (&value); 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static gboolean 1164s # _org_project_useful_interface_skeleton_handle_set_property ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name G_GNUC_UNUSED, 1164s # const gchar *property_name, 1164s # GVariant *variant, 1164s # GError **error, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1164s # GValue value = G_VALUE_INIT; 1164s # GParamSpec *pspec; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # gboolean ret; 1164s # ret = FALSE; 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1164s # g_assert (info != NULL); 1164s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1164s # if (pspec == NULL) 1164s # { 1164s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1164s # } 1164s # else 1164s # { 1164s # if (info->use_gvariant) 1164s # g_value_set_variant (&value, variant); 1164s # else 1164s # g_dbus_gvariant_to_gvalue (variant, &value); 1164s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1164s # g_value_unset (&value); 1164s # ret = TRUE; 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1164s # { 1164s # _org_project_useful_interface_skeleton_handle_method_call, 1164s # _org_project_useful_interface_skeleton_handle_get_property, 1164s # _org_project_useful_interface_skeleton_handle_set_property, 1164s # {NULL} 1164s # }; 1164s # 1164s # static GDBusInterfaceInfo * 1164s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1164s # { 1164s # return org_project_useful_interface_interface_info (); 1164s # } 1164s # 1164s # static GDBusInterfaceVTable * 1164s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1164s # { 1164s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1164s # } 1164s # 1164s # static GVariant * 1164s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1164s # 1164s # GVariantBuilder builder; 1164s # guint n; 1164s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1164s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1164s # goto out; 1164s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1164s # { 1164s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1164s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1164s # { 1164s # GVariant *value; 1164s # 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); 1164s # if (value != NULL) 1164s # { 1164s # g_variant_take_ref (value); 1164s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1164s # g_variant_unref (value); 1164s # } 1164s # } 1164s # } 1164s # out: 1164s # return g_variant_builder_end (&builder); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1164s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1164s # 1164s # #else 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1164s # 1164s # #endif 1164s # static void 1164s # org_project_useful_interface_skeleton_finalize (GObject *object) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1164s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1164s # if (skeleton->priv->changed_properties_idle_source != NULL) 1164s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1164s # g_main_context_unref (skeleton->priv->context); 1164s # g_mutex_clear (&skeleton->priv->lock); 1164s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1164s # { 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1164s # #else 1164s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1164s # #endif 1164s # 1164s # g_mutex_init (&skeleton->priv->lock); 1164s # skeleton->priv->context = g_main_context_ref_thread_default (); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1164s # { 1164s # GObjectClass *gobject_class; 1164s # GDBusInterfaceSkeletonClass *skeleton_class; 1164s # 1164s # gobject_class = G_OBJECT_CLASS (klass); 1164s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1164s # 1164s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1164s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1164s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1164s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1164s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1164s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1164s # #endif 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_skeleton_new: 1164s # * 1164s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_skeleton_new (void) 1164s # { 1164s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1164s # } 1164s # Executing: glib/codegen.py.test 1164s ok 11 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_out_args 1164s # tmpdir: /tmp/tmpr495yaem 1164s # codegen: /usr/bin/gdbus-codegen 1164s # /tmp/tmpr495yaem/tmpwmdg2lyp.xml: 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpr495yaem/tmpwmdg2lyp.xml', '--output', '-', '--body'] 1164s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1164s # Output: /* 1164s # * This file is generated by gdbus-codegen, do not modify it. 1164s # * 1164s # * The license of this code is the same as for the D-Bus interface description 1164s # * it was derived from. Note that it links to GLib, so must comply with the 1164s # * LGPL linking clauses. 1164s # */ 1164s # 1164s # #ifdef HAVE_CONFIG_H 1164s # # include "config.h" 1164s # #endif 1164s # 1164s # #include 1164s # #ifdef G_OS_UNIX 1164s # # include 1164s # #endif 1164s # 1164s # #ifdef G_ENABLE_DEBUG 1164s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1164s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1164s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1164s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1164s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1164s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1164s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1164s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1164s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1164s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1164s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1164s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1164s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1164s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1164s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1164s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1164s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1164s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1164s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1164s # #else /* !G_ENABLE_DEBUG */ 1164s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1164s # * Do not access GValues directly in your code. Instead, use the 1164s # * g_value_get_*() functions 1164s # */ 1164s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1164s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1164s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1164s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1164s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1164s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1164s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1164s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1164s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1164s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1164s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1164s # #endif /* !G_ENABLE_DEBUG */ 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusArgInfo parent_struct; 1164s # gboolean use_gvariant; 1164s # } _ExtendedGDBusArgInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusMethodInfo parent_struct; 1164s # const gchar *signal_name; 1164s # gboolean pass_fdlist; 1164s # } _ExtendedGDBusMethodInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusSignalInfo parent_struct; 1164s # const gchar *signal_name; 1164s # } _ExtendedGDBusSignalInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusPropertyInfo parent_struct; 1164s # const gchar *hyphen_name; 1164s # guint use_gvariant : 1; 1164s # guint emits_changed_signal : 1; 1164s # } _ExtendedGDBusPropertyInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusInterfaceInfo parent_struct; 1164s # const gchar *hyphen_name; 1164s # } _ExtendedGDBusInterfaceInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # const _ExtendedGDBusPropertyInfo *info; 1164s # guint prop_id; 1164s # GValue orig_value; /* the value before the change */ 1164s # } ChangedProperty; 1164s # 1164s # static void 1164s # _changed_property_free (ChangedProperty *data) 1164s # { 1164s # g_value_unset (&data->orig_value); 1164s # g_free (data); 1164s # } 1164s # 1164s # static gboolean 1164s # _g_strv_equal0 (gchar **a, gchar **b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # guint n; 1164s # if (a == NULL && b == NULL) 1164s # { 1164s # ret = TRUE; 1164s # goto out; 1164s # } 1164s # if (a == NULL || b == NULL) 1164s # goto out; 1164s # if (g_strv_length (a) != g_strv_length (b)) 1164s # goto out; 1164s # for (n = 0; a[n] != NULL; n++) 1164s # if (g_strcmp0 (a[n], b[n]) != 0) 1164s # goto out; 1164s # ret = TRUE; 1164s # out: 1164s # return ret; 1164s # } 1164s # 1164s # static gboolean 1164s # _g_variant_equal0 (GVariant *a, GVariant *b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # if (a == NULL && b == NULL) 1164s # { 1164s # ret = TRUE; 1164s # goto out; 1164s # } 1164s # if (a == NULL || b == NULL) 1164s # goto out; 1164s # ret = g_variant_equal (a, b); 1164s # out: 1164s # return ret; 1164s # } 1164s # 1164s # G_GNUC_UNUSED static gboolean 1164s # _g_value_equal (const GValue *a, const GValue *b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1164s # switch (G_VALUE_TYPE (a)) 1164s # { 1164s # case G_TYPE_BOOLEAN: 1164s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1164s # break; 1164s # case G_TYPE_UCHAR: 1164s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1164s # break; 1164s # case G_TYPE_INT: 1164s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1164s # break; 1164s # case G_TYPE_UINT: 1164s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1164s # break; 1164s # case G_TYPE_INT64: 1164s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1164s # break; 1164s # case G_TYPE_UINT64: 1164s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1164s # break; 1164s # case G_TYPE_DOUBLE: 1164s # { 1164s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1164s # gdouble da = g_value_get_double (a); 1164s # gdouble db = g_value_get_double (b); 1164s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1164s # } 1164s # break; 1164s # case G_TYPE_STRING: 1164s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1164s # break; 1164s # case G_TYPE_VARIANT: 1164s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1164s # break; 1164s # default: 1164s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1164s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1164s # else 1164s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1164s # break; 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static void 1164s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1164s # GClosure *closure, 1164s # GValue *return_value, 1164s # unsigned int n_param_values, 1164s # const GValue *param_values, 1164s # void *invocation_hint G_GNUC_UNUSED, 1164s # void *marshal_data) 1164s # { 1164s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1164s # (void *data1, 1164s # GDBusMethodInvocation *arg_method_invocation, 1164s # void *data2); 1164s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1164s # GCClosure *cc = (GCClosure*) closure; 1164s # void *data1, *data2; 1164s # gboolean v_return; 1164s # 1164s # g_return_if_fail (return_value != NULL); 1164s # g_return_if_fail (n_param_values == 2); 1164s # 1164s # if (G_CCLOSURE_SWAP_DATA (closure)) 1164s # { 1164s # data1 = closure->data; 1164s # data2 = g_value_peek_pointer (param_values + 0); 1164s # } 1164s # else 1164s # { 1164s # data1 = g_value_peek_pointer (param_values + 0); 1164s # data2 = closure->data; 1164s # } 1164s # 1164s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1164s # (marshal_data ? marshal_data : cc->callback); 1164s # 1164s # v_return = 1164s # callback (data1, 1164s # g_marshal_value_peek_object (param_values + 1), 1164s # data2); 1164s # 1164s # g_value_set_boolean (return_value, v_return); 1164s # } 1164s # 1164s # /* ------------------------------------------------------------------------ 1164s # * Code for interface org.project.UsefulInterface 1164s # * ------------------------------------------------------------------------ 1164s # */ 1164s # 1164s # /** 1164s # * SECTION:OrgProjectUsefulInterface 1164s # * @title: OrgProjectUsefulInterface 1164s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1164s # * 1164s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1164s # */ 1164s # 1164s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "arg_b", 1164s # (gchar *) "b", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers[] = 1164s # { 1164s # &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b.parent_struct, 1164s # NULL 1164s # }; 1164s # 1164s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "SingleArgMethodB", 1164s # NULL, 1164s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers, 1164s # NULL 1164s # }, 1164s # "handle-single-arg-method-b", 1164s # FALSE 1164s # }; 1164s # 1164s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1164s # { 1164s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct, 1164s # NULL 1164s # }; 1164s # 1164s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "org.project.UsefulInterface", 1164s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1164s # NULL, 1164s # NULL, 1164s # NULL 1164s # }, 1164s # "org-project-useful-interface", 1164s # }; 1164s # 1164s # 1164s # /** 1164s # * org_project_useful_interface_interface_info: 1164s # * 1164s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1164s # * 1164s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1164s # */ 1164s # GDBusInterfaceInfo * 1164s # org_project_useful_interface_interface_info (void) 1164s # { 1164s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_override_properties: 1164s # * @klass: The class structure for a #GObject derived class. 1164s # * @property_id_begin: The property id to assign to the first overridden property. 1164s # * 1164s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1164s # * The properties are overridden in the order they are defined. 1164s # * 1164s # * Returns: The last property id. 1164s # */ 1164s # guint 1164s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1164s # { 1164s # return property_id_begin - 1; 1164s # } 1164s # 1164s # 1164s # inline static void 1164s # org_project_useful_interface_method_marshal_single_arg_method_b ( 1164s # GClosure *closure, 1164s # GValue *return_value, 1164s # unsigned int n_param_values, 1164s # const GValue *param_values, 1164s # void *invocation_hint, 1164s # void *marshal_data) 1164s # { 1164s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1164s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1164s # } 1164s # 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterface: 1164s # * 1164s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceIface: 1164s # * @parent_iface: The parent interface. 1164s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal. 1164s # * 1164s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1164s # */ 1164s # 1164s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1164s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1164s # 1164s # static void 1164s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1164s # { 1164s # /* GObject signals for incoming D-Bus method calls: */ 1164s # /** 1164s # * OrgProjectUsefulInterface::handle-single-arg-method-b: 1164s # * @object: A #OrgProjectUsefulInterface. 1164s # * @invocation: A #GDBusMethodInvocation. 1164s # * 1164s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method. 1164s # * 1164s # * 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. 1164s # * 1164s # * 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. 1164s # */ 1164s # g_signal_new ("handle-single-arg-method-b", 1164s # G_TYPE_FROM_INTERFACE (iface), 1164s # G_SIGNAL_RUN_LAST, 1164s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b), 1164s # g_signal_accumulator_true_handled, 1164s # NULL, 1164s # org_project_useful_interface_method_marshal_single_arg_method_b, 1164s # G_TYPE_BOOLEAN, 1164s # 1, 1164s # G_TYPE_DBUS_METHOD_INVOCATION); 1164s # 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_call_single_arg_method_b: 1164s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy. 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method. 1164s # */ 1164s # void 1164s # org_project_useful_interface_call_single_arg_method_b ( 1164s # OrgProjectUsefulInterface *proxy, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1164s # "SingleArgMethodB", 1164s # g_variant_new ("()"), 1164s # G_DBUS_CALL_FLAGS_NONE, 1164s # -1, 1164s # cancellable, 1164s # callback, 1164s # user_data); 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_call_single_arg_method_b_finish: 1164s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1164s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore. 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b(). 1164s # * @error: Return location for error or %NULL. 1164s # * 1164s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b(). 1164s # * 1164s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1164s # */ 1164s # gboolean 1164s # org_project_useful_interface_call_single_arg_method_b_finish ( 1164s # OrgProjectUsefulInterface *proxy, 1164s # gboolean *out_arg_b, 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GVariant *_ret; 1164s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1164s # if (_ret == NULL) 1164s # goto _out; 1164s # g_variant_get (_ret, 1164s # "(b)", 1164s # out_arg_b); 1164s # g_variant_unref (_ret); 1164s # _out: 1164s # return _ret != NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_call_single_arg_method_b_sync: 1164s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1164s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL. 1164s # * 1164s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method. 1164s # * 1164s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1164s # */ 1164s # gboolean 1164s # org_project_useful_interface_call_single_arg_method_b_sync ( 1164s # OrgProjectUsefulInterface *proxy, 1164s # gboolean *out_arg_b, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GVariant *_ret; 1164s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1164s # "SingleArgMethodB", 1164s # g_variant_new ("()"), 1164s # G_DBUS_CALL_FLAGS_NONE, 1164s # -1, 1164s # cancellable, 1164s # error); 1164s # if (_ret == NULL) 1164s # goto _out; 1164s # g_variant_get (_ret, 1164s # "(b)", 1164s # out_arg_b); 1164s # g_variant_unref (_ret); 1164s # _out: 1164s # return _ret != NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_complete_single_arg_method_b: 1164s # * @object: A #OrgProjectUsefulInterface. 1164s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1164s # * @arg_b: Parameter to return. 1164s # * 1164s # * 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. 1164s # * 1164s # * This method will free @invocation, you cannot use it afterwards. 1164s # */ 1164s # void 1164s # org_project_useful_interface_complete_single_arg_method_b ( 1164s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1164s # GDBusMethodInvocation *invocation, 1164s # gboolean arg_b) 1164s # { 1164s # g_dbus_method_invocation_return_value (invocation, 1164s # g_variant_new ("(b)", 1164s # arg_b)); 1164s # } 1164s # 1164s # /* ------------------------------------------------------------------------ */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceProxy: 1164s # * 1164s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceProxyClass: 1164s # * @parent_class: The parent class. 1164s # * 1164s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1164s # */ 1164s # 1164s # struct _OrgProjectUsefulInterfaceProxyPrivate 1164s # { 1164s # GData *qdata; 1164s # }; 1164s # 1164s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1164s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1164s # 1164s # #else 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1164s # 1164s # #endif 1164s # static void 1164s # org_project_useful_interface_proxy_finalize (GObject *object) 1164s # { 1164s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1164s # g_datalist_clear (&proxy->priv->qdata); 1164s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1164s # guint prop_id G_GNUC_UNUSED, 1164s # GValue *value G_GNUC_UNUSED, 1164s # GParamSpec *pspec G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1164s # guint prop_id G_GNUC_UNUSED, 1164s # const GValue *value G_GNUC_UNUSED, 1164s # GParamSpec *pspec G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1164s # const gchar *sender_name G_GNUC_UNUSED, 1164s # const gchar *signal_name, 1164s # GVariant *parameters) 1164s # { 1164s # _ExtendedGDBusSignalInfo *info; 1164s # GVariantIter iter; 1164s # GVariant *child; 1164s # GValue *paramv; 1164s # gsize num_params; 1164s # gsize n; 1164s # guint signal_id; 1164s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1164s # if (info == NULL) 1164s # return; 1164s # num_params = g_variant_n_children (parameters); 1164s # paramv = g_new0 (GValue, num_params + 1); 1164s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_value_set_object (¶mv[0], proxy); 1164s # g_variant_iter_init (&iter, parameters); 1164s # n = 1; 1164s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1164s # { 1164s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1164s # if (arg_info->use_gvariant) 1164s # { 1164s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1164s # g_value_set_variant (¶mv[n], child); 1164s # n++; 1164s # } 1164s # else 1164s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1164s # g_variant_unref (child); 1164s # } 1164s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_signal_emitv (paramv, signal_id, 0, NULL); 1164s # for (n = 0; n < num_params + 1; n++) 1164s # g_value_unset (¶mv[n]); 1164s # g_free (paramv); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1164s # GVariant *changed_properties, 1164s # const gchar *const *invalidated_properties) 1164s # { 1164s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1164s # guint n; 1164s # const gchar *key; 1164s # GVariantIter *iter; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # g_variant_get (changed_properties, "a{sv}", &iter); 1164s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1164s # { 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1164s # g_datalist_remove_data (&proxy->priv->qdata, key); 1164s # if (info != NULL) 1164s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1164s # } 1164s # g_variant_iter_free (iter); 1164s # for (n = 0; invalidated_properties[n] != NULL; n++) 1164s # { 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1164s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1164s # if (info != NULL) 1164s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1164s # } 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1164s # { 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1164s # #else 1164s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1164s # #endif 1164s # 1164s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1164s # { 1164s # GObjectClass *gobject_class; 1164s # GDBusProxyClass *proxy_class; 1164s # 1164s # gobject_class = G_OBJECT_CLASS (klass); 1164s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1164s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1164s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1164s # 1164s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1164s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1164s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1164s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1164s # #endif 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new: 1164s # * @connection: A #GDBusConnection. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1164s # * 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1164s # */ 1164s # void 1164s # org_project_useful_interface_proxy_new ( 1164s # GDBusConnection *connection, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # g_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); 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_finish: 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_finish ( 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GObject *ret; 1164s # GObject *source_object; 1164s # source_object = g_async_result_get_source_object (res); 1164s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1164s # g_object_unref (source_object); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_sync: 1164s # * @connection: A #GDBusConnection. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1164s # * 1164s # * The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_sync ( 1164s # GDBusConnection *connection, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GInitable *ret; 1164s # 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); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_for_bus: 1164s # * @bus_type: A #GBusType. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: A bus name (well-known or unique). 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1164s # * 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1164s # */ 1164s # void 1164s # org_project_useful_interface_proxy_new_for_bus ( 1164s # GBusType bus_type, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # g_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); 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_for_bus_finish: 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_for_bus_finish ( 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GObject *ret; 1164s # GObject *source_object; 1164s # source_object = g_async_result_get_source_object (res); 1164s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1164s # g_object_unref (source_object); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_for_bus_sync: 1164s # * @bus_type: A #GBusType. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: A bus name (well-known or unique). 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1164s # * 1164s # * The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_for_bus_sync ( 1164s # GBusType bus_type, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GInitable *ret; 1164s # 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); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # 1164s # /* ------------------------------------------------------------------------ */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceSkeleton: 1164s # * 1164s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceSkeletonClass: 1164s # * @parent_class: The parent class. 1164s # * 1164s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1164s # */ 1164s # 1164s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1164s # { 1164s # GValue *properties; 1164s # GList *changed_properties; 1164s # GSource *changed_properties_idle_source; 1164s # GMainContext *context; 1164s # GMutex lock; 1164s # }; 1164s # 1164s # static void 1164s # _org_project_useful_interface_skeleton_handle_method_call ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name, 1164s # const gchar *method_name, 1164s # GVariant *parameters, 1164s # GDBusMethodInvocation *invocation, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1164s # _ExtendedGDBusMethodInfo *info; 1164s # GVariantIter iter; 1164s # GVariant *child; 1164s # GValue *paramv; 1164s # gsize num_params; 1164s # guint num_extra; 1164s # gsize n; 1164s # guint signal_id; 1164s # GValue return_value = G_VALUE_INIT; 1164s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1164s # g_assert (info != NULL); 1164s # num_params = g_variant_n_children (parameters); 1164s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1164s # n = 0; 1164s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_value_set_object (¶mv[n++], skeleton); 1164s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1164s # g_value_set_object (¶mv[n++], invocation); 1164s # if (info->pass_fdlist) 1164s # { 1164s # #ifdef G_OS_UNIX 1164s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1164s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1164s # #else 1164s # g_assert_not_reached (); 1164s # #endif 1164s # } 1164s # g_variant_iter_init (&iter, parameters); 1164s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1164s # { 1164s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1164s # if (arg_info->use_gvariant) 1164s # { 1164s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1164s # g_value_set_variant (¶mv[n], child); 1164s # n++; 1164s # } 1164s # else 1164s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1164s # g_variant_unref (child); 1164s # } 1164s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1164s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1164s # if (!g_value_get_boolean (&return_value)) 1164s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1164s # g_value_unset (&return_value); 1164s # for (n = 0; n < num_params + num_extra; n++) 1164s # g_value_unset (¶mv[n]); 1164s # g_free (paramv); 1164s # } 1164s # 1164s # static GVariant * 1164s # _org_project_useful_interface_skeleton_handle_get_property ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name G_GNUC_UNUSED, 1164s # const gchar *property_name, 1164s # GError **error, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1164s # GValue value = G_VALUE_INIT; 1164s # GParamSpec *pspec; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # GVariant *ret; 1164s # ret = NULL; 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1164s # g_assert (info != NULL); 1164s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1164s # if (pspec == NULL) 1164s # { 1164s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1164s # } 1164s # else 1164s # { 1164s # g_value_init (&value, pspec->value_type); 1164s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1164s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1164s # g_value_unset (&value); 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static gboolean 1164s # _org_project_useful_interface_skeleton_handle_set_property ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name G_GNUC_UNUSED, 1164s # const gchar *property_name, 1164s # GVariant *variant, 1164s # GError **error, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1164s # GValue value = G_VALUE_INIT; 1164s # GParamSpec *pspec; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # gboolean ret; 1164s # ret = FALSE; 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1164s # g_assert (info != NULL); 1164s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1164s # if (pspec == NULL) 1164s # { 1164s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1164s # } 1164s # else 1164s # { 1164s # if (info->use_gvariant) 1164s # g_value_set_variant (&value, variant); 1164s # else 1164s # g_dbus_gvariant_to_gvalue (variant, &value); 1164s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1164s # g_value_unset (&value); 1164s # ret = TRUE; 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1164s # { 1164s # _org_project_useful_interface_skeleton_handle_method_call, 1164s # _org_project_useful_interface_skeleton_handle_get_property, 1164s # _org_project_useful_interface_skeleton_handle_set_property, 1164s # {NULL} 1164s # }; 1164s # 1164s # static GDBusInterfaceInfo * 1164s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1164s # { 1164s # return org_project_useful_interface_interface_info (); 1164s # } 1164s # 1164s # static GDBusInterfaceVTable * 1164s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1164s # { 1164s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1164s # } 1164s # 1164s # static GVariant * 1164s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1164s # 1164s # GVariantBuilder builder; 1164s # guint n; 1164s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1164s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1164s # goto out; 1164s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1164s # { 1164s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1164s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1164s # { 1164s # GVariant *value; 1164s # 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); 1164s # if (value != NULL) 1164s # { 1164s # g_variant_take_ref (value); 1164s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1164s # g_variant_unref (value); 1164s # } 1164s # } 1164s # } 1164s # out: 1164s # return g_variant_builder_end (&builder); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1164s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1164s # 1164s # #else 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1164s # 1164s # #endif 1164s # static void 1164s # org_project_useful_interface_skeleton_finalize (GObject *object) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1164s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1164s # if (skeleton->priv->changed_properties_idle_source != NULL) 1164s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1164s # g_main_context_unref (skeleton->priv->context); 1164s # g_mutex_clear (&skeleton->priv->lock); 1164s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1164s # { 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1164s # #else 1164s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1164s # #endif 1164s # 1164s # g_mutex_init (&skeleton->priv->lock); 1164s # skeleton->priv->context = g_main_context_ref_thread_default (); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1164s # { 1164s # GObjectClass *gobject_class; 1164s # GDBusInterfaceSkeletonClass *skeleton_class; 1164s # 1164s # gobject_class = G_OBJECT_CLASS (klass); 1164s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1164s # 1164s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1164s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1164s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1164s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1164s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1164s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1164s # #endif 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_skeleton_new: 1164s # * 1164s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_skeleton_new (void) 1164s # { 1164s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1164s # } 1164s # /tmp/tmpr495yaem/tmpoywv97m5.xml: 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpr495yaem/tmpoywv97m5.xml', '--output', '-', '--body'] 1164s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1164s # Output: /* 1164s # * This file is generated by gdbus-codegen, do not modify it. 1164s # * 1164s # * The license of this code is the same as for the D-Bus interface description 1164s # * it was derived from. Note that it links to GLib, so must comply with the 1164s # * LGPL linking clauses. 1164s # */ 1164s # 1164s # #ifdef HAVE_CONFIG_H 1164s # # include "config.h" 1164s # #endif 1164s # 1164s # #include 1164s # #ifdef G_OS_UNIX 1164s # # include 1164s # #endif 1164s # 1164s # #ifdef G_ENABLE_DEBUG 1164s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1164s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1164s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1164s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1164s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1164s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1164s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1164s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1164s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1164s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1164s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1164s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1164s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1164s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1164s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1164s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1164s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1164s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1164s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1164s # #else /* !G_ENABLE_DEBUG */ 1164s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1164s # * Do not access GValues directly in your code. Instead, use the 1164s # * g_value_get_*() functions 1164s # */ 1164s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1164s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1164s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1164s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1164s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1164s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1164s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1164s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1164s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1164s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1164s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1164s # #endif /* !G_ENABLE_DEBUG */ 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusArgInfo parent_struct; 1164s # gboolean use_gvariant; 1164s # } _ExtendedGDBusArgInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusMethodInfo parent_struct; 1164s # const gchar *signal_name; 1164s # gboolean pass_fdlist; 1164s # } _ExtendedGDBusMethodInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusSignalInfo parent_struct; 1164s # const gchar *signal_name; 1164s # } _ExtendedGDBusSignalInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusPropertyInfo parent_struct; 1164s # const gchar *hyphen_name; 1164s # guint use_gvariant : 1; 1164s # guint emits_changed_signal : 1; 1164s # } _ExtendedGDBusPropertyInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusInterfaceInfo parent_struct; 1164s # const gchar *hyphen_name; 1164s # } _ExtendedGDBusInterfaceInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # const _ExtendedGDBusPropertyInfo *info; 1164s # guint prop_id; 1164s # GValue orig_value; /* the value before the change */ 1164s # } ChangedProperty; 1164s # 1164s # static void 1164s # _changed_property_free (ChangedProperty *data) 1164s # { 1164s # g_value_unset (&data->orig_value); 1164s # g_free (data); 1164s # } 1164s # 1164s # static gboolean 1164s # _g_strv_equal0 (gchar **a, gchar **b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # guint n; 1164s # if (a == NULL && b == NULL) 1164s # { 1164s # ret = TRUE; 1164s # goto out; 1164s # } 1164s # if (a == NULL || b == NULL) 1164s # goto out; 1164s # if (g_strv_length (a) != g_strv_length (b)) 1164s # goto out; 1164s # for (n = 0; a[n] != NULL; n++) 1164s # if (g_strcmp0 (a[n], b[n]) != 0) 1164s # goto out; 1164s # ret = TRUE; 1164s # out: 1164s # return ret; 1164s # } 1164s # 1164s # static gboolean 1164s # _g_variant_equal0 (GVariant *a, GVariant *b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # if (a == NULL && b == NULL) 1164s # { 1164s # ret = TRUE; 1164s # goto out; 1164s # } 1164s # if (a == NULL || b == NULL) 1164s # goto out; 1164s # ret = g_variant_equal (a, b); 1164s # out: 1164s # return ret; 1164s # } 1164s # 1164s # G_GNUC_UNUSED static gboolean 1164s # _g_value_equal (const GValue *a, const GValue *b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1164s # switch (G_VALUE_TYPE (a)) 1164s # { 1164s # case G_TYPE_BOOLEAN: 1164s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1164s # break; 1164s # case G_TYPE_UCHAR: 1164s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1164s # break; 1164s # case G_TYPE_INT: 1164s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1164s # break; 1164s # case G_TYPE_UINT: 1164s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1164s # break; 1164s # case G_TYPE_INT64: 1164s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1164s # break; 1164s # case G_TYPE_UINT64: 1164s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1164s # break; 1164s # case G_TYPE_DOUBLE: 1164s # { 1164s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1164s # gdouble da = g_value_get_double (a); 1164s # gdouble db = g_value_get_double (b); 1164s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1164s # } 1164s # break; 1164s # case G_TYPE_STRING: 1164s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1164s # break; 1164s # case G_TYPE_VARIANT: 1164s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1164s # break; 1164s # default: 1164s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1164s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1164s # else 1164s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1164s # break; 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static void 1164s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1164s # GClosure *closure, 1164s # GValue *return_value, 1164s # unsigned int n_param_values, 1164s # const GValue *param_values, 1164s # void *invocation_hint G_GNUC_UNUSED, 1164s # void *marshal_data) 1164s # { 1164s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1164s # (void *data1, 1164s # GDBusMethodInvocation *arg_method_invocation, 1164s # void *data2); 1164s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1164s # GCClosure *cc = (GCClosure*) closure; 1164s # void *data1, *data2; 1164s # gboolean v_return; 1164s # 1164s # g_return_if_fail (return_value != NULL); 1164s # g_return_if_fail (n_param_values == 2); 1164s # 1164s # if (G_CCLOSURE_SWAP_DATA (closure)) 1164s # { 1164s # data1 = closure->data; 1164s # data2 = g_value_peek_pointer (param_values + 0); 1164s # } 1164s # else 1164s # { 1164s # data1 = g_value_peek_pointer (param_values + 0); 1164s # data2 = closure->data; 1164s # } 1164s # 1164s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1164s # (marshal_data ? marshal_data : cc->callback); 1164s # 1164s # v_return = 1164s # callback (data1, 1164s # g_marshal_value_peek_object (param_values + 1), 1164s # data2); 1164s # 1164s # g_value_set_boolean (return_value, v_return); 1164s # } 1164s # 1164s # /* ------------------------------------------------------------------------ 1164s # * Code for interface org.project.UsefulInterface 1164s # * ------------------------------------------------------------------------ 1164s # */ 1164s # 1164s # /** 1164s # * SECTION:OrgProjectUsefulInterface 1164s # * @title: OrgProjectUsefulInterface 1164s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1164s # * 1164s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1164s # */ 1164s # 1164s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "arg_y", 1164s # (gchar *) "y", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers[] = 1164s # { 1164s # &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y.parent_struct, 1164s # NULL 1164s # }; 1164s # 1164s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "SingleArgMethodY", 1164s # NULL, 1164s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers, 1164s # NULL 1164s # }, 1164s # "handle-single-arg-method-y", 1164s # FALSE 1164s # }; 1164s # 1164s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1164s # { 1164s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct, 1164s # NULL 1164s # }; 1164s # 1164s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "org.project.UsefulInterface", 1164s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1164s # NULL, 1164s # NULL, 1164s # NULL 1164s # }, 1164s # "org-project-useful-interface", 1164s # }; 1164s # 1164s # 1164s # /** 1164s # * org_project_useful_interface_interface_info: 1164s # * 1164s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1164s # * 1164s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1164s # */ 1164s # GDBusInterfaceInfo * 1164s # org_project_useful_interface_interface_info (void) 1164s # { 1164s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_override_properties: 1164s # * @klass: The class structure for a #GObject derived class. 1164s # * @property_id_begin: The property id to assign to the first overridden property. 1164s # * 1164s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1164s # * The properties are overridden in the order they are defined. 1164s # * 1164s # * Returns: The last property id. 1164s # */ 1164s # guint 1164s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1164s # { 1164s # return property_id_begin - 1; 1164s # } 1164s # 1164s # 1164s # inline static void 1164s # org_project_useful_interface_method_marshal_single_arg_method_y ( 1164s # GClosure *closure, 1164s # GValue *return_value, 1164s # unsigned int n_param_values, 1164s # const GValue *param_values, 1164s # void *invocation_hint, 1164s # void *marshal_data) 1164s # { 1164s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1164s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1164s # } 1164s # 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterface: 1164s # * 1164s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceIface: 1164s # * @parent_iface: The parent interface. 1164s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal. 1164s # * 1164s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1164s # */ 1164s # 1164s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1164s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1164s # 1164s # static void 1164s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1164s # { 1164s # /* GObject signals for incoming D-Bus method calls: */ 1164s # /** 1164s # * OrgProjectUsefulInterface::handle-single-arg-method-y: 1164s # * @object: A #OrgProjectUsefulInterface. 1164s # * @invocation: A #GDBusMethodInvocation. 1164s # * 1164s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method. 1164s # * 1164s # * 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. 1164s # * 1164s # * 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. 1164s # */ 1164s # g_signal_new ("handle-single-arg-method-y", 1164s # G_TYPE_FROM_INTERFACE (iface), 1164s # G_SIGNAL_RUN_LAST, 1164s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y), 1164s # g_signal_accumulator_true_handled, 1164s # NULL, 1164s # org_project_useful_interface_method_marshal_single_arg_method_y, 1164s # G_TYPE_BOOLEAN, 1164s # 1, 1164s # G_TYPE_DBUS_METHOD_INVOCATION); 1164s # 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_call_single_arg_method_y: 1164s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy. 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method. 1164s # */ 1164s # void 1164s # org_project_useful_interface_call_single_arg_method_y ( 1164s # OrgProjectUsefulInterface *proxy, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1164s # "SingleArgMethodY", 1164s # g_variant_new ("()"), 1164s # G_DBUS_CALL_FLAGS_NONE, 1164s # -1, 1164s # cancellable, 1164s # callback, 1164s # user_data); 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_call_single_arg_method_y_finish: 1164s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1164s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore. 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y(). 1164s # * @error: Return location for error or %NULL. 1164s # * 1164s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y(). 1164s # * 1164s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1164s # */ 1164s # gboolean 1164s # org_project_useful_interface_call_single_arg_method_y_finish ( 1164s # OrgProjectUsefulInterface *proxy, 1164s # guchar *out_arg_y, 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GVariant *_ret; 1164s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1164s # if (_ret == NULL) 1164s # goto _out; 1164s # g_variant_get (_ret, 1164s # "(y)", 1164s # out_arg_y); 1164s # g_variant_unref (_ret); 1164s # _out: 1164s # return _ret != NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_call_single_arg_method_y_sync: 1164s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1164s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL. 1164s # * 1164s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method. 1164s # * 1164s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1164s # */ 1164s # gboolean 1164s # org_project_useful_interface_call_single_arg_method_y_sync ( 1164s # OrgProjectUsefulInterface *proxy, 1164s # guchar *out_arg_y, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GVariant *_ret; 1164s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1164s # "SingleArgMethodY", 1164s # g_variant_new ("()"), 1164s # G_DBUS_CALL_FLAGS_NONE, 1164s # -1, 1164s # cancellable, 1164s # error); 1164s # if (_ret == NULL) 1164s # goto _out; 1164s # g_variant_get (_ret, 1164s # "(y)", 1164s # out_arg_y); 1164s # g_variant_unref (_ret); 1164s # _out: 1164s # return _ret != NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_complete_single_arg_method_y: 1164s # * @object: A #OrgProjectUsefulInterface. 1164s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1164s # * @arg_y: Parameter to return. 1164s # * 1164s # * 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. 1164s # * 1164s # * This method will free @invocation, you cannot use it afterwards. 1164s # */ 1164s # void 1164s # org_project_useful_interface_complete_single_arg_method_y ( 1164s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1164s # GDBusMethodInvocation *invocation, 1164s # guchar arg_y) 1164s # { 1164s # g_dbus_method_invocation_return_value (invocation, 1164s # g_variant_new ("(y)", 1164s # arg_y)); 1164s # } 1164s # 1164s # /* ------------------------------------------------------------------------ */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceProxy: 1164s # * 1164s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceProxyClass: 1164s # * @parent_class: The parent class. 1164s # * 1164s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1164s # */ 1164s # 1164s # struct _OrgProjectUsefulInterfaceProxyPrivate 1164s # { 1164s # GData *qdata; 1164s # }; 1164s # 1164s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1164s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1164s # 1164s # #else 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1164s # 1164s # #endif 1164s # static void 1164s # org_project_useful_interface_proxy_finalize (GObject *object) 1164s # { 1164s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1164s # g_datalist_clear (&proxy->priv->qdata); 1164s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1164s # guint prop_id G_GNUC_UNUSED, 1164s # GValue *value G_GNUC_UNUSED, 1164s # GParamSpec *pspec G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1164s # guint prop_id G_GNUC_UNUSED, 1164s # const GValue *value G_GNUC_UNUSED, 1164s # GParamSpec *pspec G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1164s # const gchar *sender_name G_GNUC_UNUSED, 1164s # const gchar *signal_name, 1164s # GVariant *parameters) 1164s # { 1164s # _ExtendedGDBusSignalInfo *info; 1164s # GVariantIter iter; 1164s # GVariant *child; 1164s # GValue *paramv; 1164s # gsize num_params; 1164s # gsize n; 1164s # guint signal_id; 1164s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1164s # if (info == NULL) 1164s # return; 1164s # num_params = g_variant_n_children (parameters); 1164s # paramv = g_new0 (GValue, num_params + 1); 1164s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_value_set_object (¶mv[0], proxy); 1164s # g_variant_iter_init (&iter, parameters); 1164s # n = 1; 1164s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1164s # { 1164s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1164s # if (arg_info->use_gvariant) 1164s # { 1164s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1164s # g_value_set_variant (¶mv[n], child); 1164s # n++; 1164s # } 1164s # else 1164s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1164s # g_variant_unref (child); 1164s # } 1164s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_signal_emitv (paramv, signal_id, 0, NULL); 1164s # for (n = 0; n < num_params + 1; n++) 1164s # g_value_unset (¶mv[n]); 1164s # g_free (paramv); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1164s # GVariant *changed_properties, 1164s # const gchar *const *invalidated_properties) 1164s # { 1164s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1164s # guint n; 1164s # const gchar *key; 1164s # GVariantIter *iter; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # g_variant_get (changed_properties, "a{sv}", &iter); 1164s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1164s # { 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1164s # g_datalist_remove_data (&proxy->priv->qdata, key); 1164s # if (info != NULL) 1164s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1164s # } 1164s # g_variant_iter_free (iter); 1164s # for (n = 0; invalidated_properties[n] != NULL; n++) 1164s # { 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1164s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1164s # if (info != NULL) 1164s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1164s # } 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1164s # { 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1164s # #else 1164s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1164s # #endif 1164s # 1164s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1164s # { 1164s # GObjectClass *gobject_class; 1164s # GDBusProxyClass *proxy_class; 1164s # 1164s # gobject_class = G_OBJECT_CLASS (klass); 1164s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1164s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1164s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1164s # 1164s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1164s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1164s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1164s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1164s # #endif 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new: 1164s # * @connection: A #GDBusConnection. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1164s # * 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1164s # */ 1164s # void 1164s # org_project_useful_interface_proxy_new ( 1164s # GDBusConnection *connection, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # g_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); 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_finish: 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_finish ( 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GObject *ret; 1164s # GObject *source_object; 1164s # source_object = g_async_result_get_source_object (res); 1164s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1164s # g_object_unref (source_object); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_sync: 1164s # * @connection: A #GDBusConnection. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1164s # * 1164s # * The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_sync ( 1164s # GDBusConnection *connection, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GInitable *ret; 1164s # 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); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_for_bus: 1164s # * @bus_type: A #GBusType. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: A bus name (well-known or unique). 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1164s # * 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1164s # */ 1164s # void 1164s # org_project_useful_interface_proxy_new_for_bus ( 1164s # GBusType bus_type, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # g_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); 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_for_bus_finish: 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_for_bus_finish ( 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GObject *ret; 1164s # GObject *source_object; 1164s # source_object = g_async_result_get_source_object (res); 1164s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1164s # g_object_unref (source_object); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_for_bus_sync: 1164s # * @bus_type: A #GBusType. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: A bus name (well-known or unique). 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1164s # * 1164s # * The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_for_bus_sync ( 1164s # GBusType bus_type, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GInitable *ret; 1164s # 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); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # 1164s # /* ------------------------------------------------------------------------ */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceSkeleton: 1164s # * 1164s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceSkeletonClass: 1164s # * @parent_class: The parent class. 1164s # * 1164s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1164s # */ 1164s # 1164s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1164s # { 1164s # GValue *properties; 1164s # GList *changed_properties; 1164s # GSource *changed_properties_idle_source; 1164s # GMainContext *context; 1164s # GMutex lock; 1164s # }; 1164s # 1164s # static void 1164s # _org_project_useful_interface_skeleton_handle_method_call ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name, 1164s # const gchar *method_name, 1164s # GVariant *parameters, 1164s # GDBusMethodInvocation *invocation, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1164s # _ExtendedGDBusMethodInfo *info; 1164s # GVariantIter iter; 1164s # GVariant *child; 1164s # GValue *paramv; 1164s # gsize num_params; 1164s # guint num_extra; 1164s # gsize n; 1164s # guint signal_id; 1164s # GValue return_value = G_VALUE_INIT; 1164s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1164s # g_assert (info != NULL); 1164s # num_params = g_variant_n_children (parameters); 1164s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1164s # n = 0; 1164s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_value_set_object (¶mv[n++], skeleton); 1164s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1164s # g_value_set_object (¶mv[n++], invocation); 1164s # if (info->pass_fdlist) 1164s # { 1164s # #ifdef G_OS_UNIX 1164s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1164s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1164s # #else 1164s # g_assert_not_reached (); 1164s # #endif 1164s # } 1164s # g_variant_iter_init (&iter, parameters); 1164s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1164s # { 1164s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1164s # if (arg_info->use_gvariant) 1164s # { 1164s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1164s # g_value_set_variant (¶mv[n], child); 1164s # n++; 1164s # } 1164s # else 1164s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1164s # g_variant_unref (child); 1164s # } 1164s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1164s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1164s # if (!g_value_get_boolean (&return_value)) 1164s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1164s # g_value_unset (&return_value); 1164s # for (n = 0; n < num_params + num_extra; n++) 1164s # g_value_unset (¶mv[n]); 1164s # g_free (paramv); 1164s # } 1164s # 1164s # static GVariant * 1164s # _org_project_useful_interface_skeleton_handle_get_property ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name G_GNUC_UNUSED, 1164s # const gchar *property_name, 1164s # GError **error, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1164s # GValue value = G_VALUE_INIT; 1164s # GParamSpec *pspec; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # GVariant *ret; 1164s # ret = NULL; 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1164s # g_assert (info != NULL); 1164s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1164s # if (pspec == NULL) 1164s # { 1164s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1164s # } 1164s # else 1164s # { 1164s # g_value_init (&value, pspec->value_type); 1164s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1164s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1164s # g_value_unset (&value); 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static gboolean 1164s # _org_project_useful_interface_skeleton_handle_set_property ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name G_GNUC_UNUSED, 1164s # const gchar *property_name, 1164s # GVariant *variant, 1164s # GError **error, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1164s # GValue value = G_VALUE_INIT; 1164s # GParamSpec *pspec; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # gboolean ret; 1164s # ret = FALSE; 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1164s # g_assert (info != NULL); 1164s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1164s # if (pspec == NULL) 1164s # { 1164s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1164s # } 1164s # else 1164s # { 1164s # if (info->use_gvariant) 1164s # g_value_set_variant (&value, variant); 1164s # else 1164s # g_dbus_gvariant_to_gvalue (variant, &value); 1164s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1164s # g_value_unset (&value); 1164s # ret = TRUE; 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1164s # { 1164s # _org_project_useful_interface_skeleton_handle_method_call, 1164s # _org_project_useful_interface_skeleton_handle_get_property, 1164s # _org_project_useful_interface_skeleton_handle_set_property, 1164s # {NULL} 1164s # }; 1164s # 1164s # static GDBusInterfaceInfo * 1164s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1164s # { 1164s # return org_project_useful_interface_interface_info (); 1164s # } 1164s # 1164s # static GDBusInterfaceVTable * 1164s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1164s # { 1164s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1164s # } 1164s # 1164s # static GVariant * 1164s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1164s # 1164s # GVariantBuilder builder; 1164s # guint n; 1164s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1164s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1164s # goto out; 1164s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1164s # { 1164s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1164s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1164s # { 1164s # GVariant *value; 1164s # 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); 1164s # if (value != NULL) 1164s # { 1164s # g_variant_take_ref (value); 1164s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1164s # g_variant_unref (value); 1164s # } 1164s # } 1164s # } 1164s # out: 1164s # return g_variant_builder_end (&builder); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1164s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1164s # 1164s # #else 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1164s # 1164s # #endif 1164s # static void 1164s # org_project_useful_interface_skeleton_finalize (GObject *object) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1164s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1164s # if (skeleton->priv->changed_properties_idle_source != NULL) 1164s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1164s # g_main_context_unref (skeleton->priv->context); 1164s # g_mutex_clear (&skeleton->priv->lock); 1164s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1164s # { 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1164s # #else 1164s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1164s # #endif 1164s # 1164s # g_mutex_init (&skeleton->priv->lock); 1164s # skeleton->priv->context = g_main_context_ref_thread_default (); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1164s # { 1164s # GObjectClass *gobject_class; 1164s # GDBusInterfaceSkeletonClass *skeleton_class; 1164s # 1164s # gobject_class = G_OBJECT_CLASS (klass); 1164s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1164s # 1164s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1164s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1164s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1164s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1164s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1164s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1164s # #endif 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_skeleton_new: 1164s # * 1164s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_skeleton_new (void) 1164s # { 1164s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1164s # } 1164s # /tmp/tmpr495yaem/tmp6i8akzwt.xml: 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpr495yaem/tmp6i8akzwt.xml', '--output', '-', '--body'] 1164s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1164s # Output: /* 1164s # * This file is generated by gdbus-codegen, do not modify it. 1164s # * 1164s # * The license of this code is the same as for the D-Bus interface description 1164s # * it was derived from. Note that it links to GLib, so must comply with the 1164s # * LGPL linking clauses. 1164s # */ 1164s # 1164s # #ifdef HAVE_CONFIG_H 1164s # # include "config.h" 1164s # #endif 1164s # 1164s # #include 1164s # #ifdef G_OS_UNIX 1164s # # include 1164s # #endif 1164s # 1164s # #ifdef G_ENABLE_DEBUG 1164s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1164s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1164s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1164s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1164s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1164s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1164s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1164s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1164s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1164s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1164s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1164s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1164s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1164s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1164s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1164s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1164s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1164s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1164s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1164s # #else /* !G_ENABLE_DEBUG */ 1164s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1164s # * Do not access GValues directly in your code. Instead, use the 1164s # * g_value_get_*() functions 1164s # */ 1164s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1164s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1164s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1164s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1164s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1164s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1164s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1164s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1164s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1164s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1164s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1164s # #endif /* !G_ENABLE_DEBUG */ 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusArgInfo parent_struct; 1164s # gboolean use_gvariant; 1164s # } _ExtendedGDBusArgInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusMethodInfo parent_struct; 1164s # const gchar *signal_name; 1164s # gboolean pass_fdlist; 1164s # } _ExtendedGDBusMethodInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusSignalInfo parent_struct; 1164s # const gchar *signal_name; 1164s # } _ExtendedGDBusSignalInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusPropertyInfo parent_struct; 1164s # const gchar *hyphen_name; 1164s # guint use_gvariant : 1; 1164s # guint emits_changed_signal : 1; 1164s # } _ExtendedGDBusPropertyInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusInterfaceInfo parent_struct; 1164s # const gchar *hyphen_name; 1164s # } _ExtendedGDBusInterfaceInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # const _ExtendedGDBusPropertyInfo *info; 1164s # guint prop_id; 1164s # GValue orig_value; /* the value before the change */ 1164s # } ChangedProperty; 1164s # 1164s # static void 1164s # _changed_property_free (ChangedProperty *data) 1164s # { 1164s # g_value_unset (&data->orig_value); 1164s # g_free (data); 1164s # } 1164s # 1164s # static gboolean 1164s # _g_strv_equal0 (gchar **a, gchar **b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # guint n; 1164s # if (a == NULL && b == NULL) 1164s # { 1164s # ret = TRUE; 1164s # goto out; 1164s # } 1164s # if (a == NULL || b == NULL) 1164s # goto out; 1164s # if (g_strv_length (a) != g_strv_length (b)) 1164s # goto out; 1164s # for (n = 0; a[n] != NULL; n++) 1164s # if (g_strcmp0 (a[n], b[n]) != 0) 1164s # goto out; 1164s # ret = TRUE; 1164s # out: 1164s # return ret; 1164s # } 1164s # 1164s # static gboolean 1164s # _g_variant_equal0 (GVariant *a, GVariant *b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # if (a == NULL && b == NULL) 1164s # { 1164s # ret = TRUE; 1164s # goto out; 1164s # } 1164s # if (a == NULL || b == NULL) 1164s # goto out; 1164s # ret = g_variant_equal (a, b); 1164s # out: 1164s # return ret; 1164s # } 1164s # 1164s # G_GNUC_UNUSED static gboolean 1164s # _g_value_equal (const GValue *a, const GValue *b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1164s # switch (G_VALUE_TYPE (a)) 1164s # { 1164s # case G_TYPE_BOOLEAN: 1164s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1164s # break; 1164s # case G_TYPE_UCHAR: 1164s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1164s # break; 1164s # case G_TYPE_INT: 1164s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1164s # break; 1164s # case G_TYPE_UINT: 1164s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1164s # break; 1164s # case G_TYPE_INT64: 1164s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1164s # break; 1164s # case G_TYPE_UINT64: 1164s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1164s # break; 1164s # case G_TYPE_DOUBLE: 1164s # { 1164s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1164s # gdouble da = g_value_get_double (a); 1164s # gdouble db = g_value_get_double (b); 1164s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1164s # } 1164s # break; 1164s # case G_TYPE_STRING: 1164s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1164s # break; 1164s # case G_TYPE_VARIANT: 1164s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1164s # break; 1164s # default: 1164s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1164s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1164s # else 1164s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1164s # break; 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static void 1164s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1164s # GClosure *closure, 1164s # GValue *return_value, 1164s # unsigned int n_param_values, 1164s # const GValue *param_values, 1164s # void *invocation_hint G_GNUC_UNUSED, 1164s # void *marshal_data) 1164s # { 1164s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1164s # (void *data1, 1164s # GDBusMethodInvocation *arg_method_invocation, 1164s # void *data2); 1164s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1164s # GCClosure *cc = (GCClosure*) closure; 1164s # void *data1, *data2; 1164s # gboolean v_return; 1164s # 1164s # g_return_if_fail (return_value != NULL); 1164s # g_return_if_fail (n_param_values == 2); 1164s # 1164s # if (G_CCLOSURE_SWAP_DATA (closure)) 1164s # { 1164s # data1 = closure->data; 1164s # data2 = g_value_peek_pointer (param_values + 0); 1164s # } 1164s # else 1164s # { 1164s # data1 = g_value_peek_pointer (param_values + 0); 1164s # data2 = closure->data; 1164s # } 1164s # 1164s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1164s # (marshal_data ? marshal_data : cc->callback); 1164s # 1164s # v_return = 1164s # callback (data1, 1164s # g_marshal_value_peek_object (param_values + 1), 1164s # data2); 1164s # 1164s # g_value_set_boolean (return_value, v_return); 1164s # } 1164s # 1164s # /* ------------------------------------------------------------------------ 1164s # * Code for interface org.project.UsefulInterface 1164s # * ------------------------------------------------------------------------ 1164s # */ 1164s # 1164s # /** 1164s # * SECTION:OrgProjectUsefulInterface 1164s # * @title: OrgProjectUsefulInterface 1164s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1164s # * 1164s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1164s # */ 1164s # 1164s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "arg_n", 1164s # (gchar *) "n", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers[] = 1164s # { 1164s # &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n.parent_struct, 1164s # NULL 1164s # }; 1164s # 1164s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "SingleArgMethodN", 1164s # NULL, 1164s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers, 1164s # NULL 1164s # }, 1164s # "handle-single-arg-method-n", 1164s # FALSE 1164s # }; 1164s # 1164s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1164s # { 1164s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct, 1164s # NULL 1164s # }; 1164s # 1164s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "org.project.UsefulInterface", 1164s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1164s # NULL, 1164s # NULL, 1164s # NULL 1164s # }, 1164s # "org-project-useful-interface", 1164s # }; 1164s # 1164s # 1164s # /** 1164s # * org_project_useful_interface_interface_info: 1164s # * 1164s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1164s # * 1164s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1164s # */ 1164s # GDBusInterfaceInfo * 1164s # org_project_useful_interface_interface_info (void) 1164s # { 1164s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_override_properties: 1164s # * @klass: The class structure for a #GObject derived class. 1164s # * @property_id_begin: The property id to assign to the first overridden property. 1164s # * 1164s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1164s # * The properties are overridden in the order they are defined. 1164s # * 1164s # * Returns: The last property id. 1164s # */ 1164s # guint 1164s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1164s # { 1164s # return property_id_begin - 1; 1164s # } 1164s # 1164s # 1164s # inline static void 1164s # org_project_useful_interface_method_marshal_single_arg_method_n ( 1164s # GClosure *closure, 1164s # GValue *return_value, 1164s # unsigned int n_param_values, 1164s # const GValue *param_values, 1164s # void *invocation_hint, 1164s # void *marshal_data) 1164s # { 1164s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1164s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1164s # } 1164s # 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterface: 1164s # * 1164s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceIface: 1164s # * @parent_iface: The parent interface. 1164s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal. 1164s # * 1164s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1164s # */ 1164s # 1164s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1164s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1164s # 1164s # static void 1164s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1164s # { 1164s # /* GObject signals for incoming D-Bus method calls: */ 1164s # /** 1164s # * OrgProjectUsefulInterface::handle-single-arg-method-n: 1164s # * @object: A #OrgProjectUsefulInterface. 1164s # * @invocation: A #GDBusMethodInvocation. 1164s # * 1164s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method. 1164s # * 1164s # * 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. 1164s # * 1164s # * 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. 1164s # */ 1164s # g_signal_new ("handle-single-arg-method-n", 1164s # G_TYPE_FROM_INTERFACE (iface), 1164s # G_SIGNAL_RUN_LAST, 1164s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n), 1164s # g_signal_accumulator_true_handled, 1164s # NULL, 1164s # org_project_useful_interface_method_marshal_single_arg_method_n, 1164s # G_TYPE_BOOLEAN, 1164s # 1, 1164s # G_TYPE_DBUS_METHOD_INVOCATION); 1164s # 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_call_single_arg_method_n: 1164s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy. 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method. 1164s # */ 1164s # void 1164s # org_project_useful_interface_call_single_arg_method_n ( 1164s # OrgProjectUsefulInterface *proxy, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1164s # "SingleArgMethodN", 1164s # g_variant_new ("()"), 1164s # G_DBUS_CALL_FLAGS_NONE, 1164s # -1, 1164s # cancellable, 1164s # callback, 1164s # user_data); 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_call_single_arg_method_n_finish: 1164s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1164s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore. 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n(). 1164s # * @error: Return location for error or %NULL. 1164s # * 1164s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n(). 1164s # * 1164s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1164s # */ 1164s # gboolean 1164s # org_project_useful_interface_call_single_arg_method_n_finish ( 1164s # OrgProjectUsefulInterface *proxy, 1164s # gint16 *out_arg_n, 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GVariant *_ret; 1164s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1164s # if (_ret == NULL) 1164s # goto _out; 1164s # g_variant_get (_ret, 1164s # "(n)", 1164s # out_arg_n); 1164s # g_variant_unref (_ret); 1164s # _out: 1164s # return _ret != NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_call_single_arg_method_n_sync: 1164s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1164s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL. 1164s # * 1164s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method. 1164s # * 1164s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1164s # */ 1164s # gboolean 1164s # org_project_useful_interface_call_single_arg_method_n_sync ( 1164s # OrgProjectUsefulInterface *proxy, 1164s # gint16 *out_arg_n, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GVariant *_ret; 1164s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1164s # "SingleArgMethodN", 1164s # g_variant_new ("()"), 1164s # G_DBUS_CALL_FLAGS_NONE, 1164s # -1, 1164s # cancellable, 1164s # error); 1164s # if (_ret == NULL) 1164s # goto _out; 1164s # g_variant_get (_ret, 1164s # "(n)", 1164s # out_arg_n); 1164s # g_variant_unref (_ret); 1164s # _out: 1164s # return _ret != NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_complete_single_arg_method_n: 1164s # * @object: A #OrgProjectUsefulInterface. 1164s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1164s # * @arg_n: Parameter to return. 1164s # * 1164s # * 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. 1164s # * 1164s # * This method will free @invocation, you cannot use it afterwards. 1164s # */ 1164s # void 1164s # org_project_useful_interface_complete_single_arg_method_n ( 1164s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1164s # GDBusMethodInvocation *invocation, 1164s # gint16 arg_n) 1164s # { 1164s # g_dbus_method_invocation_return_value (invocation, 1164s # g_variant_new ("(n)", 1164s # arg_n)); 1164s # } 1164s # 1164s # /* ------------------------------------------------------------------------ */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceProxy: 1164s # * 1164s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceProxyClass: 1164s # * @parent_class: The parent class. 1164s # * 1164s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1164s # */ 1164s # 1164s # struct _OrgProjectUsefulInterfaceProxyPrivate 1164s # { 1164s # GData *qdata; 1164s # }; 1164s # 1164s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1164s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1164s # 1164s # #else 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1164s # 1164s # #endif 1164s # static void 1164s # org_project_useful_interface_proxy_finalize (GObject *object) 1164s # { 1164s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1164s # g_datalist_clear (&proxy->priv->qdata); 1164s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1164s # guint prop_id G_GNUC_UNUSED, 1164s # GValue *value G_GNUC_UNUSED, 1164s # GParamSpec *pspec G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1164s # guint prop_id G_GNUC_UNUSED, 1164s # const GValue *value G_GNUC_UNUSED, 1164s # GParamSpec *pspec G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1164s # const gchar *sender_name G_GNUC_UNUSED, 1164s # const gchar *signal_name, 1164s # GVariant *parameters) 1164s # { 1164s # _ExtendedGDBusSignalInfo *info; 1164s # GVariantIter iter; 1164s # GVariant *child; 1164s # GValue *paramv; 1164s # gsize num_params; 1164s # gsize n; 1164s # guint signal_id; 1164s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1164s # if (info == NULL) 1164s # return; 1164s # num_params = g_variant_n_children (parameters); 1164s # paramv = g_new0 (GValue, num_params + 1); 1164s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_value_set_object (¶mv[0], proxy); 1164s # g_variant_iter_init (&iter, parameters); 1164s # n = 1; 1164s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1164s # { 1164s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1164s # if (arg_info->use_gvariant) 1164s # { 1164s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1164s # g_value_set_variant (¶mv[n], child); 1164s # n++; 1164s # } 1164s # else 1164s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1164s # g_variant_unref (child); 1164s # } 1164s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_signal_emitv (paramv, signal_id, 0, NULL); 1164s # for (n = 0; n < num_params + 1; n++) 1164s # g_value_unset (¶mv[n]); 1164s # g_free (paramv); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1164s # GVariant *changed_properties, 1164s # const gchar *const *invalidated_properties) 1164s # { 1164s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1164s # guint n; 1164s # const gchar *key; 1164s # GVariantIter *iter; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # g_variant_get (changed_properties, "a{sv}", &iter); 1164s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1164s # { 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1164s # g_datalist_remove_data (&proxy->priv->qdata, key); 1164s # if (info != NULL) 1164s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1164s # } 1164s # g_variant_iter_free (iter); 1164s # for (n = 0; invalidated_properties[n] != NULL; n++) 1164s # { 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1164s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1164s # if (info != NULL) 1164s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1164s # } 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1164s # { 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1164s # #else 1164s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1164s # #endif 1164s # 1164s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1164s # { 1164s # GObjectClass *gobject_class; 1164s # GDBusProxyClass *proxy_class; 1164s # 1164s # gobject_class = G_OBJECT_CLASS (klass); 1164s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1164s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1164s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1164s # 1164s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1164s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1164s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1164s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1164s # #endif 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new: 1164s # * @connection: A #GDBusConnection. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1164s # * 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1164s # */ 1164s # void 1164s # org_project_useful_interface_proxy_new ( 1164s # GDBusConnection *connection, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # g_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); 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_finish: 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_finish ( 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GObject *ret; 1164s # GObject *source_object; 1164s # source_object = g_async_result_get_source_object (res); 1164s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1164s # g_object_unref (source_object); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_sync: 1164s # * @connection: A #GDBusConnection. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1164s # * 1164s # * The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_sync ( 1164s # GDBusConnection *connection, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GInitable *ret; 1164s # 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); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_for_bus: 1164s # * @bus_type: A #GBusType. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: A bus name (well-known or unique). 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1164s # * 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1164s # */ 1164s # void 1164s # org_project_useful_interface_proxy_new_for_bus ( 1164s # GBusType bus_type, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # g_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); 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_for_bus_finish: 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_for_bus_finish ( 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GObject *ret; 1164s # GObject *source_object; 1164s # source_object = g_async_result_get_source_object (res); 1164s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1164s # g_object_unref (source_object); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_for_bus_sync: 1164s # * @bus_type: A #GBusType. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: A bus name (well-known or unique). 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1164s # * 1164s # * The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_for_bus_sync ( 1164s # GBusType bus_type, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GInitable *ret; 1164s # 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); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # 1164s # /* ------------------------------------------------------------------------ */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceSkeleton: 1164s # * 1164s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceSkeletonClass: 1164s # * @parent_class: The parent class. 1164s # * 1164s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1164s # */ 1164s # 1164s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1164s # { 1164s # GValue *properties; 1164s # GList *changed_properties; 1164s # GSource *changed_properties_idle_source; 1164s # GMainContext *context; 1164s # GMutex lock; 1164s # }; 1164s # 1164s # static void 1164s # _org_project_useful_interface_skeleton_handle_method_call ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name, 1164s # const gchar *method_name, 1164s # GVariant *parameters, 1164s # GDBusMethodInvocation *invocation, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1164s # _ExtendedGDBusMethodInfo *info; 1164s # GVariantIter iter; 1164s # GVariant *child; 1164s # GValue *paramv; 1164s # gsize num_params; 1164s # guint num_extra; 1164s # gsize n; 1164s # guint signal_id; 1164s # GValue return_value = G_VALUE_INIT; 1164s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1164s # g_assert (info != NULL); 1164s # num_params = g_variant_n_children (parameters); 1164s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1164s # n = 0; 1164s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_value_set_object (¶mv[n++], skeleton); 1164s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1164s # g_value_set_object (¶mv[n++], invocation); 1164s # if (info->pass_fdlist) 1164s # { 1164s # #ifdef G_OS_UNIX 1164s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1164s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1164s # #else 1164s # g_assert_not_reached (); 1164s # #endif 1164s # } 1164s # g_variant_iter_init (&iter, parameters); 1164s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1164s # { 1164s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1164s # if (arg_info->use_gvariant) 1164s # { 1164s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1164s # g_value_set_variant (¶mv[n], child); 1164s # n++; 1164s # } 1164s # else 1164s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1164s # g_variant_unref (child); 1164s # } 1164s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1164s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1164s # if (!g_value_get_boolean (&return_value)) 1164s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1164s # g_value_unset (&return_value); 1164s # for (n = 0; n < num_params + num_extra; n++) 1164s # g_value_unset (¶mv[n]); 1164s # g_free (paramv); 1164s # } 1164s # 1164s # static GVariant * 1164s # _org_project_useful_interface_skeleton_handle_get_property ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name G_GNUC_UNUSED, 1164s # const gchar *property_name, 1164s # GError **error, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1164s # GValue value = G_VALUE_INIT; 1164s # GParamSpec *pspec; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # GVariant *ret; 1164s # ret = NULL; 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1164s # g_assert (info != NULL); 1164s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1164s # if (pspec == NULL) 1164s # { 1164s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1164s # } 1164s # else 1164s # { 1164s # g_value_init (&value, pspec->value_type); 1164s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1164s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1164s # g_value_unset (&value); 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static gboolean 1164s # _org_project_useful_interface_skeleton_handle_set_property ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name G_GNUC_UNUSED, 1164s # const gchar *property_name, 1164s # GVariant *variant, 1164s # GError **error, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1164s # GValue value = G_VALUE_INIT; 1164s # GParamSpec *pspec; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # gboolean ret; 1164s # ret = FALSE; 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1164s # g_assert (info != NULL); 1164s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1164s # if (pspec == NULL) 1164s # { 1164s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1164s # } 1164s # else 1164s # { 1164s # if (info->use_gvariant) 1164s # g_value_set_variant (&value, variant); 1164s # else 1164s # g_dbus_gvariant_to_gvalue (variant, &value); 1164s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1164s # g_value_unset (&value); 1164s # ret = TRUE; 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1164s # { 1164s # _org_project_useful_interface_skeleton_handle_method_call, 1164s # _org_project_useful_interface_skeleton_handle_get_property, 1164s # _org_project_useful_interface_skeleton_handle_set_property, 1164s # {NULL} 1164s # }; 1164s # 1164s # static GDBusInterfaceInfo * 1164s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1164s # { 1164s # return org_project_useful_interface_interface_info (); 1164s # } 1164s # 1164s # static GDBusInterfaceVTable * 1164s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1164s # { 1164s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1164s # } 1164s # 1164s # static GVariant * 1164s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1164s # 1164s # GVariantBuilder builder; 1164s # guint n; 1164s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1164s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1164s # goto out; 1164s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1164s # { 1164s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1164s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1164s # { 1164s # GVariant *value; 1164s # 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); 1164s # if (value != NULL) 1164s # { 1164s # g_variant_take_ref (value); 1164s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1164s # g_variant_unref (value); 1164s # } 1164s # } 1164s # } 1164s # out: 1164s # return g_variant_builder_end (&builder); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1164s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1164s # 1164s # #else 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1164s # 1164s # #endif 1164s # static void 1164s # org_project_useful_interface_skeleton_finalize (GObject *object) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1164s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1164s # if (skeleton->priv->changed_properties_idle_source != NULL) 1164s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1164s # g_main_context_unref (skeleton->priv->context); 1164s # g_mutex_clear (&skeleton->priv->lock); 1164s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1164s # { 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1164s # #else 1164s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1164s # #endif 1164s # 1164s # g_mutex_init (&skeleton->priv->lock); 1164s # skeleton->priv->context = g_main_context_ref_thread_default (); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1164s # { 1164s # GObjectClass *gobject_class; 1164s # GDBusInterfaceSkeletonClass *skeleton_class; 1164s # 1164s # gobject_class = G_OBJECT_CLASS (klass); 1164s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1164s # 1164s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1164s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1164s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1164s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1164s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1164s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1164s # #endif 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_skeleton_new: 1164s # * 1164s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_skeleton_new (void) 1164s # { 1164s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1164s # } 1164s # /tmp/tmpr495yaem/tmpshjsft1j.xml: 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpr495yaem/tmpshjsft1j.xml', '--output', '-', '--body'] 1164s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1164s # Output: /* 1164s # * This file is generated by gdbus-codegen, do not modify it. 1164s # * 1164s # * The license of this code is the same as for the D-Bus interface description 1164s # * it was derived from. Note that it links to GLib, so must comply with the 1164s # * LGPL linking clauses. 1164s # */ 1164s # 1164s # #ifdef HAVE_CONFIG_H 1164s # # include "config.h" 1164s # #endif 1164s # 1164s # #include 1164s # #ifdef G_OS_UNIX 1164s # # include 1164s # #endif 1164s # 1164s # #ifdef G_ENABLE_DEBUG 1164s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1164s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1164s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1164s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1164s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1164s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1164s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1164s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1164s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1164s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1164s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1164s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1164s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1164s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1164s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1164s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1164s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1164s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1164s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1164s # #else /* !G_ENABLE_DEBUG */ 1164s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1164s # * Do not access GValues directly in your code. Instead, use the 1164s # * g_value_get_*() functions 1164s # */ 1164s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1164s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1164s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1164s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1164s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1164s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1164s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1164s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1164s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1164s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1164s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1164s # #endif /* !G_ENABLE_DEBUG */ 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusArgInfo parent_struct; 1164s # gboolean use_gvariant; 1164s # } _ExtendedGDBusArgInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusMethodInfo parent_struct; 1164s # const gchar *signal_name; 1164s # gboolean pass_fdlist; 1164s # } _ExtendedGDBusMethodInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusSignalInfo parent_struct; 1164s # const gchar *signal_name; 1164s # } _ExtendedGDBusSignalInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusPropertyInfo parent_struct; 1164s # const gchar *hyphen_name; 1164s # guint use_gvariant : 1; 1164s # guint emits_changed_signal : 1; 1164s # } _ExtendedGDBusPropertyInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusInterfaceInfo parent_struct; 1164s # const gchar *hyphen_name; 1164s # } _ExtendedGDBusInterfaceInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # const _ExtendedGDBusPropertyInfo *info; 1164s # guint prop_id; 1164s # GValue orig_value; /* the value before the change */ 1164s # } ChangedProperty; 1164s # 1164s # static void 1164s # _changed_property_free (ChangedProperty *data) 1164s # { 1164s # g_value_unset (&data->orig_value); 1164s # g_free (data); 1164s # } 1164s # 1164s # static gboolean 1164s # _g_strv_equal0 (gchar **a, gchar **b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # guint n; 1164s # if (a == NULL && b == NULL) 1164s # { 1164s # ret = TRUE; 1164s # goto out; 1164s # } 1164s # if (a == NULL || b == NULL) 1164s # goto out; 1164s # if (g_strv_length (a) != g_strv_length (b)) 1164s # goto out; 1164s # for (n = 0; a[n] != NULL; n++) 1164s # if (g_strcmp0 (a[n], b[n]) != 0) 1164s # goto out; 1164s # ret = TRUE; 1164s # out: 1164s # return ret; 1164s # } 1164s # 1164s # static gboolean 1164s # _g_variant_equal0 (GVariant *a, GVariant *b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # if (a == NULL && b == NULL) 1164s # { 1164s # ret = TRUE; 1164s # goto out; 1164s # } 1164s # if (a == NULL || b == NULL) 1164s # goto out; 1164s # ret = g_variant_equal (a, b); 1164s # out: 1164s # return ret; 1164s # } 1164s # 1164s # G_GNUC_UNUSED static gboolean 1164s # _g_value_equal (const GValue *a, const GValue *b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1164s # switch (G_VALUE_TYPE (a)) 1164s # { 1164s # case G_TYPE_BOOLEAN: 1164s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1164s # break; 1164s # case G_TYPE_UCHAR: 1164s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1164s # break; 1164s # case G_TYPE_INT: 1164s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1164s # break; 1164s # case G_TYPE_UINT: 1164s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1164s # break; 1164s # case G_TYPE_INT64: 1164s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1164s # break; 1164s # case G_TYPE_UINT64: 1164s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1164s # break; 1164s # case G_TYPE_DOUBLE: 1164s # { 1164s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1164s # gdouble da = g_value_get_double (a); 1164s # gdouble db = g_value_get_double (b); 1164s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1164s # } 1164s # break; 1164s # case G_TYPE_STRING: 1164s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1164s # break; 1164s # case G_TYPE_VARIANT: 1164s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1164s # break; 1164s # default: 1164s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1164s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1164s # else 1164s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1164s # break; 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static void 1164s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1164s # GClosure *closure, 1164s # GValue *return_value, 1164s # unsigned int n_param_values, 1164s # const GValue *param_values, 1164s # void *invocation_hint G_GNUC_UNUSED, 1164s # void *marshal_data) 1164s # { 1164s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1164s # (void *data1, 1164s # GDBusMethodInvocation *arg_method_invocation, 1164s # void *data2); 1164s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1164s # GCClosure *cc = (GCClosure*) closure; 1164s # void *data1, *data2; 1164s # gboolean v_return; 1164s # 1164s # g_return_if_fail (return_value != NULL); 1164s # g_return_if_fail (n_param_values == 2); 1164s # 1164s # if (G_CCLOSURE_SWAP_DATA (closure)) 1164s # { 1164s # data1 = closure->data; 1164s # data2 = g_value_peek_pointer (param_values + 0); 1164s # } 1164s # else 1164s # { 1164s # data1 = g_value_peek_pointer (param_values + 0); 1164s # data2 = closure->data; 1164s # } 1164s # 1164s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1164s # (marshal_data ? marshal_data : cc->callback); 1164s # 1164s # v_return = 1164s # callback (data1, 1164s # g_marshal_value_peek_object (param_values + 1), 1164s # data2); 1164s # 1164s # g_value_set_boolean (return_value, v_return); 1164s # } 1164s # 1164s # /* ------------------------------------------------------------------------ 1164s # * Code for interface org.project.UsefulInterface 1164s # * ------------------------------------------------------------------------ 1164s # */ 1164s # 1164s # /** 1164s # * SECTION:OrgProjectUsefulInterface 1164s # * @title: OrgProjectUsefulInterface 1164s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1164s # * 1164s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1164s # */ 1164s # 1164s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "arg_q", 1164s # (gchar *) "q", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers[] = 1164s # { 1164s # &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q.parent_struct, 1164s # NULL 1164s # }; 1164s # 1164s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "SingleArgMethodQ", 1164s # NULL, 1164s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers, 1164s # NULL 1164s # }, 1164s # "handle-single-arg-method-q", 1164s # FALSE 1164s # }; 1164s # 1164s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1164s # { 1164s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct, 1164s # NULL 1164s # }; 1164s # 1164s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "org.project.UsefulInterface", 1164s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1164s # NULL, 1164s # NULL, 1164s # NULL 1164s # }, 1164s # "org-project-useful-interface", 1164s # }; 1164s # 1164s # 1164s # /** 1164s # * org_project_useful_interface_interface_info: 1164s # * 1164s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1164s # * 1164s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1164s # */ 1164s # GDBusInterfaceInfo * 1164s # org_project_useful_interface_interface_info (void) 1164s # { 1164s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_override_properties: 1164s # * @klass: The class structure for a #GObject derived class. 1164s # * @property_id_begin: The property id to assign to the first overridden property. 1164s # * 1164s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1164s # * The properties are overridden in the order they are defined. 1164s # * 1164s # * Returns: The last property id. 1164s # */ 1164s # guint 1164s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1164s # { 1164s # return property_id_begin - 1; 1164s # } 1164s # 1164s # 1164s # inline static void 1164s # org_project_useful_interface_method_marshal_single_arg_method_q ( 1164s # GClosure *closure, 1164s # GValue *return_value, 1164s # unsigned int n_param_values, 1164s # const GValue *param_values, 1164s # void *invocation_hint, 1164s # void *marshal_data) 1164s # { 1164s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1164s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1164s # } 1164s # 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterface: 1164s # * 1164s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceIface: 1164s # * @parent_iface: The parent interface. 1164s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal. 1164s # * 1164s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1164s # */ 1164s # 1164s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1164s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1164s # 1164s # static void 1164s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1164s # { 1164s # /* GObject signals for incoming D-Bus method calls: */ 1164s # /** 1164s # * OrgProjectUsefulInterface::handle-single-arg-method-q: 1164s # * @object: A #OrgProjectUsefulInterface. 1164s # * @invocation: A #GDBusMethodInvocation. 1164s # * 1164s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method. 1164s # * 1164s # * 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. 1164s # * 1164s # * 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. 1164s # */ 1164s # g_signal_new ("handle-single-arg-method-q", 1164s # G_TYPE_FROM_INTERFACE (iface), 1164s # G_SIGNAL_RUN_LAST, 1164s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q), 1164s # g_signal_accumulator_true_handled, 1164s # NULL, 1164s # org_project_useful_interface_method_marshal_single_arg_method_q, 1164s # G_TYPE_BOOLEAN, 1164s # 1, 1164s # G_TYPE_DBUS_METHOD_INVOCATION); 1164s # 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_call_single_arg_method_q: 1164s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method. 1164s # */ 1164s # void 1164s # org_project_useful_interface_call_single_arg_method_q ( 1164s # OrgProjectUsefulInterface *proxy, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1164s # "SingleArgMethodQ", 1164s # g_variant_new ("()"), 1164s # G_DBUS_CALL_FLAGS_NONE, 1164s # -1, 1164s # cancellable, 1164s # callback, 1164s # user_data); 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_call_single_arg_method_q_finish: 1164s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1164s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore. 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q(). 1164s # * @error: Return location for error or %NULL. 1164s # * 1164s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q(). 1164s # * 1164s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1164s # */ 1164s # gboolean 1164s # org_project_useful_interface_call_single_arg_method_q_finish ( 1164s # OrgProjectUsefulInterface *proxy, 1164s # guint16 *out_arg_q, 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GVariant *_ret; 1164s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1164s # if (_ret == NULL) 1164s # goto _out; 1164s # g_variant_get (_ret, 1164s # "(q)", 1164s # out_arg_q); 1164s # g_variant_unref (_ret); 1164s # _out: 1164s # return _ret != NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_call_single_arg_method_q_sync: 1164s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1164s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL. 1164s # * 1164s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method. 1164s # * 1164s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1164s # */ 1164s # gboolean 1164s # org_project_useful_interface_call_single_arg_method_q_sync ( 1164s # OrgProjectUsefulInterface *proxy, 1164s # guint16 *out_arg_q, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GVariant *_ret; 1164s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1164s # "SingleArgMethodQ", 1164s # g_variant_new ("()"), 1164s # G_DBUS_CALL_FLAGS_NONE, 1164s # -1, 1164s # cancellable, 1164s # error); 1164s # if (_ret == NULL) 1164s # goto _out; 1164s # g_variant_get (_ret, 1164s # "(q)", 1164s # out_arg_q); 1164s # g_variant_unref (_ret); 1164s # _out: 1164s # return _ret != NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_complete_single_arg_method_q: 1164s # * @object: A #OrgProjectUsefulInterface. 1164s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1164s # * @arg_q: Parameter to return. 1164s # * 1164s # * 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. 1164s # * 1164s # * This method will free @invocation, you cannot use it afterwards. 1164s # */ 1164s # void 1164s # org_project_useful_interface_complete_single_arg_method_q ( 1164s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1164s # GDBusMethodInvocation *invocation, 1164s # guint16 arg_q) 1164s # { 1164s # g_dbus_method_invocation_return_value (invocation, 1164s # g_variant_new ("(q)", 1164s # arg_q)); 1164s # } 1164s # 1164s # /* ------------------------------------------------------------------------ */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceProxy: 1164s # * 1164s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceProxyClass: 1164s # * @parent_class: The parent class. 1164s # * 1164s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1164s # */ 1164s # 1164s # struct _OrgProjectUsefulInterfaceProxyPrivate 1164s # { 1164s # GData *qdata; 1164s # }; 1164s # 1164s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1164s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1164s # 1164s # #else 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1164s # 1164s # #endif 1164s # static void 1164s # org_project_useful_interface_proxy_finalize (GObject *object) 1164s # { 1164s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1164s # g_datalist_clear (&proxy->priv->qdata); 1164s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1164s # guint prop_id G_GNUC_UNUSED, 1164s # GValue *value G_GNUC_UNUSED, 1164s # GParamSpec *pspec G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1164s # guint prop_id G_GNUC_UNUSED, 1164s # const GValue *value G_GNUC_UNUSED, 1164s # GParamSpec *pspec G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1164s # const gchar *sender_name G_GNUC_UNUSED, 1164s # const gchar *signal_name, 1164s # GVariant *parameters) 1164s # { 1164s # _ExtendedGDBusSignalInfo *info; 1164s # GVariantIter iter; 1164s # GVariant *child; 1164s # GValue *paramv; 1164s # gsize num_params; 1164s # gsize n; 1164s # guint signal_id; 1164s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1164s # if (info == NULL) 1164s # return; 1164s # num_params = g_variant_n_children (parameters); 1164s # paramv = g_new0 (GValue, num_params + 1); 1164s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_value_set_object (¶mv[0], proxy); 1164s # g_variant_iter_init (&iter, parameters); 1164s # n = 1; 1164s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1164s # { 1164s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1164s # if (arg_info->use_gvariant) 1164s # { 1164s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1164s # g_value_set_variant (¶mv[n], child); 1164s # n++; 1164s # } 1164s # else 1164s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1164s # g_variant_unref (child); 1164s # } 1164s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_signal_emitv (paramv, signal_id, 0, NULL); 1164s # for (n = 0; n < num_params + 1; n++) 1164s # g_value_unset (¶mv[n]); 1164s # g_free (paramv); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1164s # GVariant *changed_properties, 1164s # const gchar *const *invalidated_properties) 1164s # { 1164s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1164s # guint n; 1164s # const gchar *key; 1164s # GVariantIter *iter; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # g_variant_get (changed_properties, "a{sv}", &iter); 1164s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1164s # { 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1164s # g_datalist_remove_data (&proxy->priv->qdata, key); 1164s # if (info != NULL) 1164s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1164s # } 1164s # g_variant_iter_free (iter); 1164s # for (n = 0; invalidated_properties[n] != NULL; n++) 1164s # { 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1164s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1164s # if (info != NULL) 1164s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1164s # } 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1164s # { 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1164s # #else 1164s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1164s # #endif 1164s # 1164s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1164s # { 1164s # GObjectClass *gobject_class; 1164s # GDBusProxyClass *proxy_class; 1164s # 1164s # gobject_class = G_OBJECT_CLASS (klass); 1164s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1164s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1164s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1164s # 1164s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1164s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1164s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1164s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1164s # #endif 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new: 1164s # * @connection: A #GDBusConnection. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1164s # * 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1164s # */ 1164s # void 1164s # org_project_useful_interface_proxy_new ( 1164s # GDBusConnection *connection, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # g_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); 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_finish: 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_finish ( 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GObject *ret; 1164s # GObject *source_object; 1164s # source_object = g_async_result_get_source_object (res); 1164s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1164s # g_object_unref (source_object); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_sync: 1164s # * @connection: A #GDBusConnection. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1164s # * 1164s # * The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_sync ( 1164s # GDBusConnection *connection, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GInitable *ret; 1164s # 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); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_for_bus: 1164s # * @bus_type: A #GBusType. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: A bus name (well-known or unique). 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1164s # * 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1164s # */ 1164s # void 1164s # org_project_useful_interface_proxy_new_for_bus ( 1164s # GBusType bus_type, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # g_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); 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_for_bus_finish: 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_for_bus_finish ( 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GObject *ret; 1164s # GObject *source_object; 1164s # source_object = g_async_result_get_source_object (res); 1164s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1164s # g_object_unref (source_object); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_for_bus_sync: 1164s # * @bus_type: A #GBusType. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: A bus name (well-known or unique). 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1164s # * 1164s # * The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_for_bus_sync ( 1164s # GBusType bus_type, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GInitable *ret; 1164s # 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); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # 1164s # /* ------------------------------------------------------------------------ */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceSkeleton: 1164s # * 1164s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceSkeletonClass: 1164s # * @parent_class: The parent class. 1164s # * 1164s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1164s # */ 1164s # 1164s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1164s # { 1164s # GValue *properties; 1164s # GList *changed_properties; 1164s # GSource *changed_properties_idle_source; 1164s # GMainContext *context; 1164s # GMutex lock; 1164s # }; 1164s # 1164s # static void 1164s # _org_project_useful_interface_skeleton_handle_method_call ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name, 1164s # const gchar *method_name, 1164s # GVariant *parameters, 1164s # GDBusMethodInvocation *invocation, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1164s # _ExtendedGDBusMethodInfo *info; 1164s # GVariantIter iter; 1164s # GVariant *child; 1164s # GValue *paramv; 1164s # gsize num_params; 1164s # guint num_extra; 1164s # gsize n; 1164s # guint signal_id; 1164s # GValue return_value = G_VALUE_INIT; 1164s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1164s # g_assert (info != NULL); 1164s # num_params = g_variant_n_children (parameters); 1164s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1164s # n = 0; 1164s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_value_set_object (¶mv[n++], skeleton); 1164s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1164s # g_value_set_object (¶mv[n++], invocation); 1164s # if (info->pass_fdlist) 1164s # { 1164s # #ifdef G_OS_UNIX 1164s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1164s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1164s # #else 1164s # g_assert_not_reached (); 1164s # #endif 1164s # } 1164s # g_variant_iter_init (&iter, parameters); 1164s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1164s # { 1164s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1164s # if (arg_info->use_gvariant) 1164s # { 1164s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1164s # g_value_set_variant (¶mv[n], child); 1164s # n++; 1164s # } 1164s # else 1164s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1164s # g_variant_unref (child); 1164s # } 1164s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1164s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1164s # if (!g_value_get_boolean (&return_value)) 1164s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1164s # g_value_unset (&return_value); 1164s # for (n = 0; n < num_params + num_extra; n++) 1164s # g_value_unset (¶mv[n]); 1164s # g_free (paramv); 1164s # } 1164s # 1164s # static GVariant * 1164s # _org_project_useful_interface_skeleton_handle_get_property ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name G_GNUC_UNUSED, 1164s # const gchar *property_name, 1164s # GError **error, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1164s # GValue value = G_VALUE_INIT; 1164s # GParamSpec *pspec; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # GVariant *ret; 1164s # ret = NULL; 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1164s # g_assert (info != NULL); 1164s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1164s # if (pspec == NULL) 1164s # { 1164s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1164s # } 1164s # else 1164s # { 1164s # g_value_init (&value, pspec->value_type); 1164s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1164s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1164s # g_value_unset (&value); 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static gboolean 1164s # _org_project_useful_interface_skeleton_handle_set_property ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name G_GNUC_UNUSED, 1164s # const gchar *property_name, 1164s # GVariant *variant, 1164s # GError **error, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1164s # GValue value = G_VALUE_INIT; 1164s # GParamSpec *pspec; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # gboolean ret; 1164s # ret = FALSE; 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1164s # g_assert (info != NULL); 1164s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1164s # if (pspec == NULL) 1164s # { 1164s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1164s # } 1164s # else 1164s # { 1164s # if (info->use_gvariant) 1164s # g_value_set_variant (&value, variant); 1164s # else 1164s # g_dbus_gvariant_to_gvalue (variant, &value); 1164s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1164s # g_value_unset (&value); 1164s # ret = TRUE; 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1164s # { 1164s # _org_project_useful_interface_skeleton_handle_method_call, 1164s # _org_project_useful_interface_skeleton_handle_get_property, 1164s # _org_project_useful_interface_skeleton_handle_set_property, 1164s # {NULL} 1164s # }; 1164s # 1164s # static GDBusInterfaceInfo * 1164s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1164s # { 1164s # return org_project_useful_interface_interface_info (); 1164s # } 1164s # 1164s # static GDBusInterfaceVTable * 1164s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1164s # { 1164s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1164s # } 1164s # 1164s # static GVariant * 1164s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1164s # 1164s # GVariantBuilder builder; 1164s # guint n; 1164s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1164s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1164s # goto out; 1164s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1164s # { 1164s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1164s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1164s # { 1164s # GVariant *value; 1164s # 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); 1164s # if (value != NULL) 1164s # { 1164s # g_variant_take_ref (value); 1164s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1164s # g_variant_unref (value); 1164s # } 1164s # } 1164s # } 1164s # out: 1164s # return g_variant_builder_end (&builder); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1164s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1164s # 1164s # #else 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1164s # 1164s # #endif 1164s # static void 1164s # org_project_useful_interface_skeleton_finalize (GObject *object) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1164s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1164s # if (skeleton->priv->changed_properties_idle_source != NULL) 1164s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1164s # g_main_context_unref (skeleton->priv->context); 1164s # g_mutex_clear (&skeleton->priv->lock); 1164s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1164s # { 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1164s # #else 1164s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1164s # #endif 1164s # 1164s # g_mutex_init (&skeleton->priv->lock); 1164s # skeleton->priv->context = g_main_context_ref_thread_default (); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1164s # { 1164s # GObjectClass *gobject_class; 1164s # GDBusInterfaceSkeletonClass *skeleton_class; 1164s # 1164s # gobject_class = G_OBJECT_CLASS (klass); 1164s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1164s # 1164s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1164s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1164s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1164s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1164s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1164s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1164s # #endif 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_skeleton_new: 1164s # * 1164s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_skeleton_new (void) 1164s # { 1164s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1164s # } 1164s # /tmp/tmpr495yaem/tmp2pjtx3c7.xml: 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpr495yaem/tmp2pjtx3c7.xml', '--output', '-', '--body'] 1164s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1164s # Output: /* 1164s # * This file is generated by gdbus-codegen, do not modify it. 1164s # * 1164s # * The license of this code is the same as for the D-Bus interface description 1164s # * it was derived from. Note that it links to GLib, so must comply with the 1164s # * LGPL linking clauses. 1164s # */ 1164s # 1164s # #ifdef HAVE_CONFIG_H 1164s # # include "config.h" 1164s # #endif 1164s # 1164s # #include 1164s # #ifdef G_OS_UNIX 1164s # # include 1164s # #endif 1164s # 1164s # #ifdef G_ENABLE_DEBUG 1164s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1164s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1164s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1164s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1164s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1164s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1164s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1164s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1164s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1164s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1164s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1164s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1164s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1164s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1164s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1164s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1164s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1164s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1164s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1164s # #else /* !G_ENABLE_DEBUG */ 1164s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1164s # * Do not access GValues directly in your code. Instead, use the 1164s # * g_value_get_*() functions 1164s # */ 1164s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1164s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1164s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1164s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1164s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1164s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1164s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1164s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1164s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1164s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1164s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1164s # #endif /* !G_ENABLE_DEBUG */ 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusArgInfo parent_struct; 1164s # gboolean use_gvariant; 1164s # } _ExtendedGDBusArgInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusMethodInfo parent_struct; 1164s # const gchar *signal_name; 1164s # gboolean pass_fdlist; 1164s # } _ExtendedGDBusMethodInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusSignalInfo parent_struct; 1164s # const gchar *signal_name; 1164s # } _ExtendedGDBusSignalInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusPropertyInfo parent_struct; 1164s # const gchar *hyphen_name; 1164s # guint use_gvariant : 1; 1164s # guint emits_changed_signal : 1; 1164s # } _ExtendedGDBusPropertyInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusInterfaceInfo parent_struct; 1164s # const gchar *hyphen_name; 1164s # } _ExtendedGDBusInterfaceInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # const _ExtendedGDBusPropertyInfo *info; 1164s # guint prop_id; 1164s # GValue orig_value; /* the value before the change */ 1164s # } ChangedProperty; 1164s # 1164s # static void 1164s # _changed_property_free (ChangedProperty *data) 1164s # { 1164s # g_value_unset (&data->orig_value); 1164s # g_free (data); 1164s # } 1164s # 1164s # static gboolean 1164s # _g_strv_equal0 (gchar **a, gchar **b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # guint n; 1164s # if (a == NULL && b == NULL) 1164s # { 1164s # ret = TRUE; 1164s # goto out; 1164s # } 1164s # if (a == NULL || b == NULL) 1164s # goto out; 1164s # if (g_strv_length (a) != g_strv_length (b)) 1164s # goto out; 1164s # for (n = 0; a[n] != NULL; n++) 1164s # if (g_strcmp0 (a[n], b[n]) != 0) 1164s # goto out; 1164s # ret = TRUE; 1164s # out: 1164s # return ret; 1164s # } 1164s # 1164s # static gboolean 1164s # _g_variant_equal0 (GVariant *a, GVariant *b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # if (a == NULL && b == NULL) 1164s # { 1164s # ret = TRUE; 1164s # goto out; 1164s # } 1164s # if (a == NULL || b == NULL) 1164s # goto out; 1164s # ret = g_variant_equal (a, b); 1164s # out: 1164s # return ret; 1164s # } 1164s # 1164s # G_GNUC_UNUSED static gboolean 1164s # _g_value_equal (const GValue *a, const GValue *b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1164s # switch (G_VALUE_TYPE (a)) 1164s # { 1164s # case G_TYPE_BOOLEAN: 1164s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1164s # break; 1164s # case G_TYPE_UCHAR: 1164s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1164s # break; 1164s # case G_TYPE_INT: 1164s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1164s # break; 1164s # case G_TYPE_UINT: 1164s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1164s # break; 1164s # case G_TYPE_INT64: 1164s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1164s # break; 1164s # case G_TYPE_UINT64: 1164s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1164s # break; 1164s # case G_TYPE_DOUBLE: 1164s # { 1164s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1164s # gdouble da = g_value_get_double (a); 1164s # gdouble db = g_value_get_double (b); 1164s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1164s # } 1164s # break; 1164s # case G_TYPE_STRING: 1164s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1164s # break; 1164s # case G_TYPE_VARIANT: 1164s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1164s # break; 1164s # default: 1164s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1164s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1164s # else 1164s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1164s # break; 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static void 1164s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1164s # GClosure *closure, 1164s # GValue *return_value, 1164s # unsigned int n_param_values, 1164s # const GValue *param_values, 1164s # void *invocation_hint G_GNUC_UNUSED, 1164s # void *marshal_data) 1164s # { 1164s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1164s # (void *data1, 1164s # GDBusMethodInvocation *arg_method_invocation, 1164s # void *data2); 1164s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1164s # GCClosure *cc = (GCClosure*) closure; 1164s # void *data1, *data2; 1164s # gboolean v_return; 1164s # 1164s # g_return_if_fail (return_value != NULL); 1164s # g_return_if_fail (n_param_values == 2); 1164s # 1164s # if (G_CCLOSURE_SWAP_DATA (closure)) 1164s # { 1164s # data1 = closure->data; 1164s # data2 = g_value_peek_pointer (param_values + 0); 1164s # } 1164s # else 1164s # { 1164s # data1 = g_value_peek_pointer (param_values + 0); 1164s # data2 = closure->data; 1164s # } 1164s # 1164s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1164s # (marshal_data ? marshal_data : cc->callback); 1164s # 1164s # v_return = 1164s # callback (data1, 1164s # g_marshal_value_peek_object (param_values + 1), 1164s # data2); 1164s # 1164s # g_value_set_boolean (return_value, v_return); 1164s # } 1164s # 1164s # /* ------------------------------------------------------------------------ 1164s # * Code for interface org.project.UsefulInterface 1164s # * ------------------------------------------------------------------------ 1164s # */ 1164s # 1164s # /** 1164s # * SECTION:OrgProjectUsefulInterface 1164s # * @title: OrgProjectUsefulInterface 1164s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1164s # * 1164s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1164s # */ 1164s # 1164s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "arg_i", 1164s # (gchar *) "i", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers[] = 1164s # { 1164s # &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i.parent_struct, 1164s # NULL 1164s # }; 1164s # 1164s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "SingleArgMethodI", 1164s # NULL, 1164s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers, 1164s # NULL 1164s # }, 1164s # "handle-single-arg-method-i", 1164s # FALSE 1164s # }; 1164s # 1164s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1164s # { 1164s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct, 1164s # NULL 1164s # }; 1164s # 1164s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "org.project.UsefulInterface", 1164s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1164s # NULL, 1164s # NULL, 1164s # NULL 1164s # }, 1164s # "org-project-useful-interface", 1164s # }; 1164s # 1164s # 1164s # /** 1164s # * org_project_useful_interface_interface_info: 1164s # * 1164s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1164s # * 1164s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1164s # */ 1164s # GDBusInterfaceInfo * 1164s # org_project_useful_interface_interface_info (void) 1164s # { 1164s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_override_properties: 1164s # * @klass: The class structure for a #GObject derived class. 1164s # * @property_id_begin: The property id to assign to the first overridden property. 1164s # * 1164s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1164s # * The properties are overridden in the order they are defined. 1164s # * 1164s # * Returns: The last property id. 1164s # */ 1164s # guint 1164s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1164s # { 1164s # return property_id_begin - 1; 1164s # } 1164s # 1164s # 1164s # inline static void 1164s # org_project_useful_interface_method_marshal_single_arg_method_i ( 1164s # GClosure *closure, 1164s # GValue *return_value, 1164s # unsigned int n_param_values, 1164s # const GValue *param_values, 1164s # void *invocation_hint, 1164s # void *marshal_data) 1164s # { 1164s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1164s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1164s # } 1164s # 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterface: 1164s # * 1164s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceIface: 1164s # * @parent_iface: The parent interface. 1164s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal. 1164s # * 1164s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1164s # */ 1164s # 1164s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1164s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1164s # 1164s # static void 1164s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1164s # { 1164s # /* GObject signals for incoming D-Bus method calls: */ 1164s # /** 1164s # * OrgProjectUsefulInterface::handle-single-arg-method-i: 1164s # * @object: A #OrgProjectUsefulInterface. 1164s # * @invocation: A #GDBusMethodInvocation. 1164s # * 1164s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method. 1164s # * 1164s # * 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. 1164s # * 1164s # * 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. 1164s # */ 1164s # g_signal_new ("handle-single-arg-method-i", 1164s # G_TYPE_FROM_INTERFACE (iface), 1164s # G_SIGNAL_RUN_LAST, 1164s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i), 1164s # g_signal_accumulator_true_handled, 1164s # NULL, 1164s # org_project_useful_interface_method_marshal_single_arg_method_i, 1164s # G_TYPE_BOOLEAN, 1164s # 1, 1164s # G_TYPE_DBUS_METHOD_INVOCATION); 1164s # 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_call_single_arg_method_i: 1164s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy. 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method. 1164s # */ 1164s # void 1164s # org_project_useful_interface_call_single_arg_method_i ( 1164s # OrgProjectUsefulInterface *proxy, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1164s # "SingleArgMethodI", 1164s # g_variant_new ("()"), 1164s # G_DBUS_CALL_FLAGS_NONE, 1164s # -1, 1164s # cancellable, 1164s # callback, 1164s # user_data); 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_call_single_arg_method_i_finish: 1164s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1164s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore. 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i(). 1164s # * @error: Return location for error or %NULL. 1164s # * 1164s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i(). 1164s # * 1164s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1164s # */ 1164s # gboolean 1164s # org_project_useful_interface_call_single_arg_method_i_finish ( 1164s # OrgProjectUsefulInterface *proxy, 1164s # gint *out_arg_i, 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GVariant *_ret; 1164s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1164s # if (_ret == NULL) 1164s # goto _out; 1164s # g_variant_get (_ret, 1164s # "(i)", 1164s # out_arg_i); 1164s # g_variant_unref (_ret); 1164s # _out: 1164s # return _ret != NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_call_single_arg_method_i_sync: 1164s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1164s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL. 1164s # * 1164s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method. 1164s # * 1164s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1164s # */ 1164s # gboolean 1164s # org_project_useful_interface_call_single_arg_method_i_sync ( 1164s # OrgProjectUsefulInterface *proxy, 1164s # gint *out_arg_i, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GVariant *_ret; 1164s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1164s # "SingleArgMethodI", 1164s # g_variant_new ("()"), 1164s # G_DBUS_CALL_FLAGS_NONE, 1164s # -1, 1164s # cancellable, 1164s # error); 1164s # if (_ret == NULL) 1164s # goto _out; 1164s # g_variant_get (_ret, 1164s # "(i)", 1164s # out_arg_i); 1164s # g_variant_unref (_ret); 1164s # _out: 1164s # return _ret != NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_complete_single_arg_method_i: 1164s # * @object: A #OrgProjectUsefulInterface. 1164s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1164s # * @arg_i: Parameter to return. 1164s # * 1164s # * 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. 1164s # * 1164s # * This method will free @invocation, you cannot use it afterwards. 1164s # */ 1164s # void 1164s # org_project_useful_interface_complete_single_arg_method_i ( 1164s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1164s # GDBusMethodInvocation *invocation, 1164s # gint arg_i) 1164s # { 1164s # g_dbus_method_invocation_return_value (invocation, 1164s # g_variant_new ("(i)", 1164s # arg_i)); 1164s # } 1164s # 1164s # /* ------------------------------------------------------------------------ */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceProxy: 1164s # * 1164s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceProxyClass: 1164s # * @parent_class: The parent class. 1164s # * 1164s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1164s # */ 1164s # 1164s # struct _OrgProjectUsefulInterfaceProxyPrivate 1164s # { 1164s # GData *qdata; 1164s # }; 1164s # 1164s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1164s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1164s # 1164s # #else 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1164s # 1164s # #endif 1164s # static void 1164s # org_project_useful_interface_proxy_finalize (GObject *object) 1164s # { 1164s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1164s # g_datalist_clear (&proxy->priv->qdata); 1164s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1164s # guint prop_id G_GNUC_UNUSED, 1164s # GValue *value G_GNUC_UNUSED, 1164s # GParamSpec *pspec G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1164s # guint prop_id G_GNUC_UNUSED, 1164s # const GValue *value G_GNUC_UNUSED, 1164s # GParamSpec *pspec G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1164s # const gchar *sender_name G_GNUC_UNUSED, 1164s # const gchar *signal_name, 1164s # GVariant *parameters) 1164s # { 1164s # _ExtendedGDBusSignalInfo *info; 1164s # GVariantIter iter; 1164s # GVariant *child; 1164s # GValue *paramv; 1164s # gsize num_params; 1164s # gsize n; 1164s # guint signal_id; 1164s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1164s # if (info == NULL) 1164s # return; 1164s # num_params = g_variant_n_children (parameters); 1164s # paramv = g_new0 (GValue, num_params + 1); 1164s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_value_set_object (¶mv[0], proxy); 1164s # g_variant_iter_init (&iter, parameters); 1164s # n = 1; 1164s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1164s # { 1164s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1164s # if (arg_info->use_gvariant) 1164s # { 1164s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1164s # g_value_set_variant (¶mv[n], child); 1164s # n++; 1164s # } 1164s # else 1164s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1164s # g_variant_unref (child); 1164s # } 1164s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_signal_emitv (paramv, signal_id, 0, NULL); 1164s # for (n = 0; n < num_params + 1; n++) 1164s # g_value_unset (¶mv[n]); 1164s # g_free (paramv); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1164s # GVariant *changed_properties, 1164s # const gchar *const *invalidated_properties) 1164s # { 1164s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1164s # guint n; 1164s # const gchar *key; 1164s # GVariantIter *iter; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # g_variant_get (changed_properties, "a{sv}", &iter); 1164s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1164s # { 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1164s # g_datalist_remove_data (&proxy->priv->qdata, key); 1164s # if (info != NULL) 1164s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1164s # } 1164s # g_variant_iter_free (iter); 1164s # for (n = 0; invalidated_properties[n] != NULL; n++) 1164s # { 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1164s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1164s # if (info != NULL) 1164s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1164s # } 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1164s # { 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1164s # #else 1164s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1164s # #endif 1164s # 1164s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1164s # { 1164s # GObjectClass *gobject_class; 1164s # GDBusProxyClass *proxy_class; 1164s # 1164s # gobject_class = G_OBJECT_CLASS (klass); 1164s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1164s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1164s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1164s # 1164s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1164s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1164s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1164s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1164s # #endif 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new: 1164s # * @connection: A #GDBusConnection. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1164s # * 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1164s # */ 1164s # void 1164s # org_project_useful_interface_proxy_new ( 1164s # GDBusConnection *connection, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # g_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); 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_finish: 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_finish ( 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GObject *ret; 1164s # GObject *source_object; 1164s # source_object = g_async_result_get_source_object (res); 1164s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1164s # g_object_unref (source_object); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_sync: 1164s # * @connection: A #GDBusConnection. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1164s # * 1164s # * The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_sync ( 1164s # GDBusConnection *connection, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GInitable *ret; 1164s # 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); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_for_bus: 1164s # * @bus_type: A #GBusType. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: A bus name (well-known or unique). 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1164s # * 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1164s # */ 1164s # void 1164s # org_project_useful_interface_proxy_new_for_bus ( 1164s # GBusType bus_type, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # g_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); 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_for_bus_finish: 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_for_bus_finish ( 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GObject *ret; 1164s # GObject *source_object; 1164s # source_object = g_async_result_get_source_object (res); 1164s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1164s # g_object_unref (source_object); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_for_bus_sync: 1164s # * @bus_type: A #GBusType. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: A bus name (well-known or unique). 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1164s # * 1164s # * The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_for_bus_sync ( 1164s # GBusType bus_type, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GInitable *ret; 1164s # 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); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # 1164s # /* ------------------------------------------------------------------------ */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceSkeleton: 1164s # * 1164s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceSkeletonClass: 1164s # * @parent_class: The parent class. 1164s # * 1164s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1164s # */ 1164s # 1164s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1164s # { 1164s # GValue *properties; 1164s # GList *changed_properties; 1164s # GSource *changed_properties_idle_source; 1164s # GMainContext *context; 1164s # GMutex lock; 1164s # }; 1164s # 1164s # static void 1164s # _org_project_useful_interface_skeleton_handle_method_call ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name, 1164s # const gchar *method_name, 1164s # GVariant *parameters, 1164s # GDBusMethodInvocation *invocation, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1164s # _ExtendedGDBusMethodInfo *info; 1164s # GVariantIter iter; 1164s # GVariant *child; 1164s # GValue *paramv; 1164s # gsize num_params; 1164s # guint num_extra; 1164s # gsize n; 1164s # guint signal_id; 1164s # GValue return_value = G_VALUE_INIT; 1164s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1164s # g_assert (info != NULL); 1164s # num_params = g_variant_n_children (parameters); 1164s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1164s # n = 0; 1164s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_value_set_object (¶mv[n++], skeleton); 1164s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1164s # g_value_set_object (¶mv[n++], invocation); 1164s # if (info->pass_fdlist) 1164s # { 1164s # #ifdef G_OS_UNIX 1164s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1164s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1164s # #else 1164s # g_assert_not_reached (); 1164s # #endif 1164s # } 1164s # g_variant_iter_init (&iter, parameters); 1164s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1164s # { 1164s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1164s # if (arg_info->use_gvariant) 1164s # { 1164s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1164s # g_value_set_variant (¶mv[n], child); 1164s # n++; 1164s # } 1164s # else 1164s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1164s # g_variant_unref (child); 1164s # } 1164s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1164s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1164s # if (!g_value_get_boolean (&return_value)) 1164s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1164s # g_value_unset (&return_value); 1164s # for (n = 0; n < num_params + num_extra; n++) 1164s # g_value_unset (¶mv[n]); 1164s # g_free (paramv); 1164s # } 1164s # 1164s # static GVariant * 1164s # _org_project_useful_interface_skeleton_handle_get_property ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name G_GNUC_UNUSED, 1164s # const gchar *property_name, 1164s # GError **error, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1164s # GValue value = G_VALUE_INIT; 1164s # GParamSpec *pspec; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # GVariant *ret; 1164s # ret = NULL; 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1164s # g_assert (info != NULL); 1164s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1164s # if (pspec == NULL) 1164s # { 1164s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1164s # } 1164s # else 1164s # { 1164s # g_value_init (&value, pspec->value_type); 1164s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1164s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1164s # g_value_unset (&value); 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static gboolean 1164s # _org_project_useful_interface_skeleton_handle_set_property ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name G_GNUC_UNUSED, 1164s # const gchar *property_name, 1164s # GVariant *variant, 1164s # GError **error, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1164s # GValue value = G_VALUE_INIT; 1164s # GParamSpec *pspec; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # gboolean ret; 1164s # ret = FALSE; 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1164s # g_assert (info != NULL); 1164s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1164s # if (pspec == NULL) 1164s # { 1164s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1164s # } 1164s # else 1164s # { 1164s # if (info->use_gvariant) 1164s # g_value_set_variant (&value, variant); 1164s # else 1164s # g_dbus_gvariant_to_gvalue (variant, &value); 1164s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1164s # g_value_unset (&value); 1164s # ret = TRUE; 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1164s # { 1164s # _org_project_useful_interface_skeleton_handle_method_call, 1164s # _org_project_useful_interface_skeleton_handle_get_property, 1164s # _org_project_useful_interface_skeleton_handle_set_property, 1164s # {NULL} 1164s # }; 1164s # 1164s # static GDBusInterfaceInfo * 1164s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1164s # { 1164s # return org_project_useful_interface_interface_info (); 1164s # } 1164s # 1164s # static GDBusInterfaceVTable * 1164s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1164s # { 1164s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1164s # } 1164s # 1164s # static GVariant * 1164s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1164s # 1164s # GVariantBuilder builder; 1164s # guint n; 1164s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1164s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1164s # goto out; 1164s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1164s # { 1164s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1164s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1164s # { 1164s # GVariant *value; 1164s # 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); 1164s # if (value != NULL) 1164s # { 1164s # g_variant_take_ref (value); 1164s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1164s # g_variant_unref (value); 1164s # } 1164s # } 1164s # } 1164s # out: 1164s # return g_variant_builder_end (&builder); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1164s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1164s # 1164s # #else 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1164s # 1164s # #endif 1164s # static void 1164s # org_project_useful_interface_skeleton_finalize (GObject *object) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1164s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1164s # if (skeleton->priv->changed_properties_idle_source != NULL) 1164s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1164s # g_main_context_unref (skeleton->priv->context); 1164s # g_mutex_clear (&skeleton->priv->lock); 1164s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1164s # { 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1164s # #else 1164s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1164s # #endif 1164s # 1164s # g_mutex_init (&skeleton->priv->lock); 1164s # skeleton->priv->context = g_main_context_ref_thread_default (); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1164s # { 1164s # GObjectClass *gobject_class; 1164s # GDBusInterfaceSkeletonClass *skeleton_class; 1164s # 1164s # gobject_class = G_OBJECT_CLASS (klass); 1164s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1164s # 1164s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1164s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1164s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1164s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1164s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1164s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1164s # #endif 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_skeleton_new: 1164s # * 1164s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_skeleton_new (void) 1164s # { 1164s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1164s # } 1164s # /tmp/tmpr495yaem/tmp4ptsd5_9.xml: 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpr495yaem/tmp4ptsd5_9.xml', '--output', '-', '--body'] 1164s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1164s # Output: /* 1164s # * This file is generated by gdbus-codegen, do not modify it. 1164s # * 1164s # * The license of this code is the same as for the D-Bus interface description 1164s # * it was derived from. Note that it links to GLib, so must comply with the 1164s # * LGPL linking clauses. 1164s # */ 1164s # 1164s # #ifdef HAVE_CONFIG_H 1164s # # include "config.h" 1164s # #endif 1164s # 1164s # #include 1164s # #ifdef G_OS_UNIX 1164s # # include 1164s # #endif 1164s # 1164s # #ifdef G_ENABLE_DEBUG 1164s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1164s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1164s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1164s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1164s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1164s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1164s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1164s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1164s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1164s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1164s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1164s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1164s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1164s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1164s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1164s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1164s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1164s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1164s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1164s # #else /* !G_ENABLE_DEBUG */ 1164s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1164s # * Do not access GValues directly in your code. Instead, use the 1164s # * g_value_get_*() functions 1164s # */ 1164s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1164s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1164s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1164s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1164s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1164s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1164s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1164s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1164s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1164s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1164s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1164s # #endif /* !G_ENABLE_DEBUG */ 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusArgInfo parent_struct; 1164s # gboolean use_gvariant; 1164s # } _ExtendedGDBusArgInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusMethodInfo parent_struct; 1164s # const gchar *signal_name; 1164s # gboolean pass_fdlist; 1164s # } _ExtendedGDBusMethodInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusSignalInfo parent_struct; 1164s # const gchar *signal_name; 1164s # } _ExtendedGDBusSignalInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusPropertyInfo parent_struct; 1164s # const gchar *hyphen_name; 1164s # guint use_gvariant : 1; 1164s # guint emits_changed_signal : 1; 1164s # } _ExtendedGDBusPropertyInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusInterfaceInfo parent_struct; 1164s # const gchar *hyphen_name; 1164s # } _ExtendedGDBusInterfaceInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # const _ExtendedGDBusPropertyInfo *info; 1164s # guint prop_id; 1164s # GValue orig_value; /* the value before the change */ 1164s # } ChangedProperty; 1164s # 1164s # static void 1164s # _changed_property_free (ChangedProperty *data) 1164s # { 1164s # g_value_unset (&data->orig_value); 1164s # g_free (data); 1164s # } 1164s # 1164s # static gboolean 1164s # _g_strv_equal0 (gchar **a, gchar **b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # guint n; 1164s # if (a == NULL && b == NULL) 1164s # { 1164s # ret = TRUE; 1164s # goto out; 1164s # } 1164s # if (a == NULL || b == NULL) 1164s # goto out; 1164s # if (g_strv_length (a) != g_strv_length (b)) 1164s # goto out; 1164s # for (n = 0; a[n] != NULL; n++) 1164s # if (g_strcmp0 (a[n], b[n]) != 0) 1164s # goto out; 1164s # ret = TRUE; 1164s # out: 1164s # return ret; 1164s # } 1164s # 1164s # static gboolean 1164s # _g_variant_equal0 (GVariant *a, GVariant *b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # if (a == NULL && b == NULL) 1164s # { 1164s # ret = TRUE; 1164s # goto out; 1164s # } 1164s # if (a == NULL || b == NULL) 1164s # goto out; 1164s # ret = g_variant_equal (a, b); 1164s # out: 1164s # return ret; 1164s # } 1164s # 1164s # G_GNUC_UNUSED static gboolean 1164s # _g_value_equal (const GValue *a, const GValue *b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1164s # switch (G_VALUE_TYPE (a)) 1164s # { 1164s # case G_TYPE_BOOLEAN: 1164s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1164s # break; 1164s # case G_TYPE_UCHAR: 1164s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1164s # break; 1164s # case G_TYPE_INT: 1164s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1164s # break; 1164s # case G_TYPE_UINT: 1164s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1164s # break; 1164s # case G_TYPE_INT64: 1164s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1164s # break; 1164s # case G_TYPE_UINT64: 1164s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1164s # break; 1164s # case G_TYPE_DOUBLE: 1164s # { 1164s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1164s # gdouble da = g_value_get_double (a); 1164s # gdouble db = g_value_get_double (b); 1164s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1164s # } 1164s # break; 1164s # case G_TYPE_STRING: 1164s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1164s # break; 1164s # case G_TYPE_VARIANT: 1164s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1164s # break; 1164s # default: 1164s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1164s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1164s # else 1164s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1164s # break; 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static void 1164s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1164s # GClosure *closure, 1164s # GValue *return_value, 1164s # unsigned int n_param_values, 1164s # const GValue *param_values, 1164s # void *invocation_hint G_GNUC_UNUSED, 1164s # void *marshal_data) 1164s # { 1164s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1164s # (void *data1, 1164s # GDBusMethodInvocation *arg_method_invocation, 1164s # void *data2); 1164s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1164s # GCClosure *cc = (GCClosure*) closure; 1164s # void *data1, *data2; 1164s # gboolean v_return; 1164s # 1164s # g_return_if_fail (return_value != NULL); 1164s # g_return_if_fail (n_param_values == 2); 1164s # 1164s # if (G_CCLOSURE_SWAP_DATA (closure)) 1164s # { 1164s # data1 = closure->data; 1164s # data2 = g_value_peek_pointer (param_values + 0); 1164s # } 1164s # else 1164s # { 1164s # data1 = g_value_peek_pointer (param_values + 0); 1164s # data2 = closure->data; 1164s # } 1164s # 1164s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1164s # (marshal_data ? marshal_data : cc->callback); 1164s # 1164s # v_return = 1164s # callback (data1, 1164s # g_marshal_value_peek_object (param_values + 1), 1164s # data2); 1164s # 1164s # g_value_set_boolean (return_value, v_return); 1164s # } 1164s # 1164s # /* ------------------------------------------------------------------------ 1164s # * Code for interface org.project.UsefulInterface 1164s # * ------------------------------------------------------------------------ 1164s # */ 1164s # 1164s # /** 1164s # * SECTION:OrgProjectUsefulInterface 1164s # * @title: OrgProjectUsefulInterface 1164s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1164s # * 1164s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1164s # */ 1164s # 1164s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "arg_u", 1164s # (gchar *) "u", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers[] = 1164s # { 1164s # &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u.parent_struct, 1164s # NULL 1164s # }; 1164s # 1164s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "SingleArgMethodU", 1164s # NULL, 1164s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers, 1164s # NULL 1164s # }, 1164s # "handle-single-arg-method-u", 1164s # FALSE 1164s # }; 1164s # 1164s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1164s # { 1164s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct, 1164s # NULL 1164s # }; 1164s # 1164s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "org.project.UsefulInterface", 1164s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1164s # NULL, 1164s # NULL, 1164s # NULL 1164s # }, 1164s # "org-project-useful-interface", 1164s # }; 1164s # 1164s # 1164s # /** 1164s # * org_project_useful_interface_interface_info: 1164s # * 1164s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1164s # * 1164s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1164s # */ 1164s # GDBusInterfaceInfo * 1164s # org_project_useful_interface_interface_info (void) 1164s # { 1164s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_override_properties: 1164s # * @klass: The class structure for a #GObject derived class. 1164s # * @property_id_begin: The property id to assign to the first overridden property. 1164s # * 1164s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1164s # * The properties are overridden in the order they are defined. 1164s # * 1164s # * Returns: The last property id. 1164s # */ 1164s # guint 1164s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1164s # { 1164s # return property_id_begin - 1; 1164s # } 1164s # 1164s # 1164s # inline static void 1164s # org_project_useful_interface_method_marshal_single_arg_method_u ( 1164s # GClosure *closure, 1164s # GValue *return_value, 1164s # unsigned int n_param_values, 1164s # const GValue *param_values, 1164s # void *invocation_hint, 1164s # void *marshal_data) 1164s # { 1164s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1164s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1164s # } 1164s # 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterface: 1164s # * 1164s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceIface: 1164s # * @parent_iface: The parent interface. 1164s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal. 1164s # * 1164s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1164s # */ 1164s # 1164s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1164s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1164s # 1164s # static void 1164s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1164s # { 1164s # /* GObject signals for incoming D-Bus method calls: */ 1164s # /** 1164s # * OrgProjectUsefulInterface::handle-single-arg-method-u: 1164s # * @object: A #OrgProjectUsefulInterface. 1164s # * @invocation: A #GDBusMethodInvocation. 1164s # * 1164s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method. 1164s # * 1164s # * 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. 1164s # * 1164s # * 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. 1164s # */ 1164s # g_signal_new ("handle-single-arg-method-u", 1164s # G_TYPE_FROM_INTERFACE (iface), 1164s # G_SIGNAL_RUN_LAST, 1164s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u), 1164s # g_signal_accumulator_true_handled, 1164s # NULL, 1164s # org_project_useful_interface_method_marshal_single_arg_method_u, 1164s # G_TYPE_BOOLEAN, 1164s # 1, 1164s # G_TYPE_DBUS_METHOD_INVOCATION); 1164s # 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_call_single_arg_method_u: 1164s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy. 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method. 1164s # */ 1164s # void 1164s # org_project_useful_interface_call_single_arg_method_u ( 1164s # OrgProjectUsefulInterface *proxy, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1164s # "SingleArgMethodU", 1164s # g_variant_new ("()"), 1164s # G_DBUS_CALL_FLAGS_NONE, 1164s # -1, 1164s # cancellable, 1164s # callback, 1164s # user_data); 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_call_single_arg_method_u_finish: 1164s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1164s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore. 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u(). 1164s # * @error: Return location for error or %NULL. 1164s # * 1164s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u(). 1164s # * 1164s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1164s # */ 1164s # gboolean 1164s # org_project_useful_interface_call_single_arg_method_u_finish ( 1164s # OrgProjectUsefulInterface *proxy, 1164s # guint *out_arg_u, 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GVariant *_ret; 1164s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1164s # if (_ret == NULL) 1164s # goto _out; 1164s # g_variant_get (_ret, 1164s # "(u)", 1164s # out_arg_u); 1164s # g_variant_unref (_ret); 1164s # _out: 1164s # return _ret != NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_call_single_arg_method_u_sync: 1164s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1164s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL. 1164s # * 1164s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method. 1164s # * 1164s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1164s # */ 1164s # gboolean 1164s # org_project_useful_interface_call_single_arg_method_u_sync ( 1164s # OrgProjectUsefulInterface *proxy, 1164s # guint *out_arg_u, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GVariant *_ret; 1164s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1164s # "SingleArgMethodU", 1164s # g_variant_new ("()"), 1164s # G_DBUS_CALL_FLAGS_NONE, 1164s # -1, 1164s # cancellable, 1164s # error); 1164s # if (_ret == NULL) 1164s # goto _out; 1164s # g_variant_get (_ret, 1164s # "(u)", 1164s # out_arg_u); 1164s # g_variant_unref (_ret); 1164s # _out: 1164s # return _ret != NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_complete_single_arg_method_u: 1164s # * @object: A #OrgProjectUsefulInterface. 1164s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1164s # * @arg_u: Parameter to return. 1164s # * 1164s # * 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. 1164s # * 1164s # * This method will free @invocation, you cannot use it afterwards. 1164s # */ 1164s # void 1164s # org_project_useful_interface_complete_single_arg_method_u ( 1164s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1164s # GDBusMethodInvocation *invocation, 1164s # guint arg_u) 1164s # { 1164s # g_dbus_method_invocation_return_value (invocation, 1164s # g_variant_new ("(u)", 1164s # arg_u)); 1164s # } 1164s # 1164s # /* ------------------------------------------------------------------------ */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceProxy: 1164s # * 1164s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceProxyClass: 1164s # * @parent_class: The parent class. 1164s # * 1164s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1164s # */ 1164s # 1164s # struct _OrgProjectUsefulInterfaceProxyPrivate 1164s # { 1164s # GData *qdata; 1164s # }; 1164s # 1164s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1164s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1164s # 1164s # #else 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1164s # 1164s # #endif 1164s # static void 1164s # org_project_useful_interface_proxy_finalize (GObject *object) 1164s # { 1164s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1164s # g_datalist_clear (&proxy->priv->qdata); 1164s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1164s # guint prop_id G_GNUC_UNUSED, 1164s # GValue *value G_GNUC_UNUSED, 1164s # GParamSpec *pspec G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1164s # guint prop_id G_GNUC_UNUSED, 1164s # const GValue *value G_GNUC_UNUSED, 1164s # GParamSpec *pspec G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1164s # const gchar *sender_name G_GNUC_UNUSED, 1164s # const gchar *signal_name, 1164s # GVariant *parameters) 1164s # { 1164s # _ExtendedGDBusSignalInfo *info; 1164s # GVariantIter iter; 1164s # GVariant *child; 1164s # GValue *paramv; 1164s # gsize num_params; 1164s # gsize n; 1164s # guint signal_id; 1164s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1164s # if (info == NULL) 1164s # return; 1164s # num_params = g_variant_n_children (parameters); 1164s # paramv = g_new0 (GValue, num_params + 1); 1164s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_value_set_object (¶mv[0], proxy); 1164s # g_variant_iter_init (&iter, parameters); 1164s # n = 1; 1164s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1164s # { 1164s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1164s # if (arg_info->use_gvariant) 1164s # { 1164s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1164s # g_value_set_variant (¶mv[n], child); 1164s # n++; 1164s # } 1164s # else 1164s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1164s # g_variant_unref (child); 1164s # } 1164s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_signal_emitv (paramv, signal_id, 0, NULL); 1164s # for (n = 0; n < num_params + 1; n++) 1164s # g_value_unset (¶mv[n]); 1164s # g_free (paramv); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1164s # GVariant *changed_properties, 1164s # const gchar *const *invalidated_properties) 1164s # { 1164s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1164s # guint n; 1164s # const gchar *key; 1164s # GVariantIter *iter; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # g_variant_get (changed_properties, "a{sv}", &iter); 1164s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1164s # { 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1164s # g_datalist_remove_data (&proxy->priv->qdata, key); 1164s # if (info != NULL) 1164s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1164s # } 1164s # g_variant_iter_free (iter); 1164s # for (n = 0; invalidated_properties[n] != NULL; n++) 1164s # { 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1164s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1164s # if (info != NULL) 1164s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1164s # } 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1164s # { 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1164s # #else 1164s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1164s # #endif 1164s # 1164s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1164s # { 1164s # GObjectClass *gobject_class; 1164s # GDBusProxyClass *proxy_class; 1164s # 1164s # gobject_class = G_OBJECT_CLASS (klass); 1164s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1164s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1164s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1164s # 1164s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1164s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1164s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1164s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1164s # #endif 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new: 1164s # * @connection: A #GDBusConnection. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1164s # * 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1164s # */ 1164s # void 1164s # org_project_useful_interface_proxy_new ( 1164s # GDBusConnection *connection, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # g_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); 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_finish: 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_finish ( 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GObject *ret; 1164s # GObject *source_object; 1164s # source_object = g_async_result_get_source_object (res); 1164s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1164s # g_object_unref (source_object); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_sync: 1164s # * @connection: A #GDBusConnection. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1164s # * 1164s # * The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_sync ( 1164s # GDBusConnection *connection, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GInitable *ret; 1164s # 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); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_for_bus: 1164s # * @bus_type: A #GBusType. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: A bus name (well-known or unique). 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1164s # * 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1164s # */ 1164s # void 1164s # org_project_useful_interface_proxy_new_for_bus ( 1164s # GBusType bus_type, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # g_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); 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_for_bus_finish: 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_for_bus_finish ( 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GObject *ret; 1164s # GObject *source_object; 1164s # source_object = g_async_result_get_source_object (res); 1164s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1164s # g_object_unref (source_object); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_for_bus_sync: 1164s # * @bus_type: A #GBusType. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: A bus name (well-known or unique). 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1164s # * 1164s # * The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_for_bus_sync ( 1164s # GBusType bus_type, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GInitable *ret; 1164s # 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); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # 1164s # /* ------------------------------------------------------------------------ */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceSkeleton: 1164s # * 1164s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceSkeletonClass: 1164s # * @parent_class: The parent class. 1164s # * 1164s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1164s # */ 1164s # 1164s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1164s # { 1164s # GValue *properties; 1164s # GList *changed_properties; 1164s # GSource *changed_properties_idle_source; 1164s # GMainContext *context; 1164s # GMutex lock; 1164s # }; 1164s # 1164s # static void 1164s # _org_project_useful_interface_skeleton_handle_method_call ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name, 1164s # const gchar *method_name, 1164s # GVariant *parameters, 1164s # GDBusMethodInvocation *invocation, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1164s # _ExtendedGDBusMethodInfo *info; 1164s # GVariantIter iter; 1164s # GVariant *child; 1164s # GValue *paramv; 1164s # gsize num_params; 1164s # guint num_extra; 1164s # gsize n; 1164s # guint signal_id; 1164s # GValue return_value = G_VALUE_INIT; 1164s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1164s # g_assert (info != NULL); 1164s # num_params = g_variant_n_children (parameters); 1164s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1164s # n = 0; 1164s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_value_set_object (¶mv[n++], skeleton); 1164s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1164s # g_value_set_object (¶mv[n++], invocation); 1164s # if (info->pass_fdlist) 1164s # { 1164s # #ifdef G_OS_UNIX 1164s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1164s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1164s # #else 1164s # g_assert_not_reached (); 1164s # #endif 1164s # } 1164s # g_variant_iter_init (&iter, parameters); 1164s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1164s # { 1164s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1164s # if (arg_info->use_gvariant) 1164s # { 1164s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1164s # g_value_set_variant (¶mv[n], child); 1164s # n++; 1164s # } 1164s # else 1164s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1164s # g_variant_unref (child); 1164s # } 1164s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1164s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1164s # if (!g_value_get_boolean (&return_value)) 1164s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1164s # g_value_unset (&return_value); 1164s # for (n = 0; n < num_params + num_extra; n++) 1164s # g_value_unset (¶mv[n]); 1164s # g_free (paramv); 1164s # } 1164s # 1164s # static GVariant * 1164s # _org_project_useful_interface_skeleton_handle_get_property ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name G_GNUC_UNUSED, 1164s # const gchar *property_name, 1164s # GError **error, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1164s # GValue value = G_VALUE_INIT; 1164s # GParamSpec *pspec; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # GVariant *ret; 1164s # ret = NULL; 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1164s # g_assert (info != NULL); 1164s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1164s # if (pspec == NULL) 1164s # { 1164s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1164s # } 1164s # else 1164s # { 1164s # g_value_init (&value, pspec->value_type); 1164s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1164s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1164s # g_value_unset (&value); 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static gboolean 1164s # _org_project_useful_interface_skeleton_handle_set_property ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name G_GNUC_UNUSED, 1164s # const gchar *property_name, 1164s # GVariant *variant, 1164s # GError **error, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1164s # GValue value = G_VALUE_INIT; 1164s # GParamSpec *pspec; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # gboolean ret; 1164s # ret = FALSE; 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1164s # g_assert (info != NULL); 1164s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1164s # if (pspec == NULL) 1164s # { 1164s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1164s # } 1164s # else 1164s # { 1164s # if (info->use_gvariant) 1164s # g_value_set_variant (&value, variant); 1164s # else 1164s # g_dbus_gvariant_to_gvalue (variant, &value); 1164s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1164s # g_value_unset (&value); 1164s # ret = TRUE; 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1164s # { 1164s # _org_project_useful_interface_skeleton_handle_method_call, 1164s # _org_project_useful_interface_skeleton_handle_get_property, 1164s # _org_project_useful_interface_skeleton_handle_set_property, 1164s # {NULL} 1164s # }; 1164s # 1164s # static GDBusInterfaceInfo * 1164s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1164s # { 1164s # return org_project_useful_interface_interface_info (); 1164s # } 1164s # 1164s # static GDBusInterfaceVTable * 1164s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1164s # { 1164s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1164s # } 1164s # 1164s # static GVariant * 1164s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1164s # 1164s # GVariantBuilder builder; 1164s # guint n; 1164s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1164s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1164s # goto out; 1164s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1164s # { 1164s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1164s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1164s # { 1164s # GVariant *value; 1164s # 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); 1164s # if (value != NULL) 1164s # { 1164s # g_variant_take_ref (value); 1164s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1164s # g_variant_unref (value); 1164s # } 1164s # } 1164s # } 1164s # out: 1164s # return g_variant_builder_end (&builder); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1164s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1164s # 1164s # #else 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1164s # 1164s # #endif 1164s # static void 1164s # org_project_useful_interface_skeleton_finalize (GObject *object) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1164s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1164s # if (skeleton->priv->changed_properties_idle_source != NULL) 1164s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1164s # g_main_context_unref (skeleton->priv->context); 1164s # g_mutex_clear (&skeleton->priv->lock); 1164s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1164s # { 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1164s # #else 1164s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1164s # #endif 1164s # 1164s # g_mutex_init (&skeleton->priv->lock); 1164s # skeleton->priv->context = g_main_context_ref_thread_default (); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1164s # { 1164s # GObjectClass *gobject_class; 1164s # GDBusInterfaceSkeletonClass *skeleton_class; 1164s # 1164s # gobject_class = G_OBJECT_CLASS (klass); 1164s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1164s # 1164s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1164s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1164s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1164s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1164s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1164s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1164s # #endif 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_skeleton_new: 1164s # * 1164s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_skeleton_new (void) 1164s # { 1164s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1164s # } 1164s # /tmp/tmpr495yaem/tmp99tgkxrt.xml: 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpr495yaem/tmp99tgkxrt.xml', '--output', '-', '--body'] 1164s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1164s # Output: /* 1164s # * This file is generated by gdbus-codegen, do not modify it. 1164s # * 1164s # * The license of this code is the same as for the D-Bus interface description 1164s # * it was derived from. Note that it links to GLib, so must comply with the 1164s # * LGPL linking clauses. 1164s # */ 1164s # 1164s # #ifdef HAVE_CONFIG_H 1164s # # include "config.h" 1164s # #endif 1164s # 1164s # #include 1164s # #ifdef G_OS_UNIX 1164s # # include 1164s # #endif 1164s # 1164s # #ifdef G_ENABLE_DEBUG 1164s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1164s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1164s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1164s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1164s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1164s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1164s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1164s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1164s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1164s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1164s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1164s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1164s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1164s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1164s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1164s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1164s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1164s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1164s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1164s # #else /* !G_ENABLE_DEBUG */ 1164s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1164s # * Do not access GValues directly in your code. Instead, use the 1164s # * g_value_get_*() functions 1164s # */ 1164s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1164s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1164s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1164s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1164s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1164s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1164s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1164s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1164s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1164s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1164s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1164s # #endif /* !G_ENABLE_DEBUG */ 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusArgInfo parent_struct; 1164s # gboolean use_gvariant; 1164s # } _ExtendedGDBusArgInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusMethodInfo parent_struct; 1164s # const gchar *signal_name; 1164s # gboolean pass_fdlist; 1164s # } _ExtendedGDBusMethodInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusSignalInfo parent_struct; 1164s # const gchar *signal_name; 1164s # } _ExtendedGDBusSignalInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusPropertyInfo parent_struct; 1164s # const gchar *hyphen_name; 1164s # guint use_gvariant : 1; 1164s # guint emits_changed_signal : 1; 1164s # } _ExtendedGDBusPropertyInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusInterfaceInfo parent_struct; 1164s # const gchar *hyphen_name; 1164s # } _ExtendedGDBusInterfaceInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # const _ExtendedGDBusPropertyInfo *info; 1164s # guint prop_id; 1164s # GValue orig_value; /* the value before the change */ 1164s # } ChangedProperty; 1164s # 1164s # static void 1164s # _changed_property_free (ChangedProperty *data) 1164s # { 1164s # g_value_unset (&data->orig_value); 1164s # g_free (data); 1164s # } 1164s # 1164s # static gboolean 1164s # _g_strv_equal0 (gchar **a, gchar **b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # guint n; 1164s # if (a == NULL && b == NULL) 1164s # { 1164s # ret = TRUE; 1164s # goto out; 1164s # } 1164s # if (a == NULL || b == NULL) 1164s # goto out; 1164s # if (g_strv_length (a) != g_strv_length (b)) 1164s # goto out; 1164s # for (n = 0; a[n] != NULL; n++) 1164s # if (g_strcmp0 (a[n], b[n]) != 0) 1164s # goto out; 1164s # ret = TRUE; 1164s # out: 1164s # return ret; 1164s # } 1164s # 1164s # static gboolean 1164s # _g_variant_equal0 (GVariant *a, GVariant *b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # if (a == NULL && b == NULL) 1164s # { 1164s # ret = TRUE; 1164s # goto out; 1164s # } 1164s # if (a == NULL || b == NULL) 1164s # goto out; 1164s # ret = g_variant_equal (a, b); 1164s # out: 1164s # return ret; 1164s # } 1164s # 1164s # G_GNUC_UNUSED static gboolean 1164s # _g_value_equal (const GValue *a, const GValue *b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1164s # switch (G_VALUE_TYPE (a)) 1164s # { 1164s # case G_TYPE_BOOLEAN: 1164s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1164s # break; 1164s # case G_TYPE_UCHAR: 1164s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1164s # break; 1164s # case G_TYPE_INT: 1164s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1164s # break; 1164s # case G_TYPE_UINT: 1164s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1164s # break; 1164s # case G_TYPE_INT64: 1164s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1164s # break; 1164s # case G_TYPE_UINT64: 1164s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1164s # break; 1164s # case G_TYPE_DOUBLE: 1164s # { 1164s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1164s # gdouble da = g_value_get_double (a); 1164s # gdouble db = g_value_get_double (b); 1164s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1164s # } 1164s # break; 1164s # case G_TYPE_STRING: 1164s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1164s # break; 1164s # case G_TYPE_VARIANT: 1164s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1164s # break; 1164s # default: 1164s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1164s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1164s # else 1164s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1164s # break; 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static void 1164s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1164s # GClosure *closure, 1164s # GValue *return_value, 1164s # unsigned int n_param_values, 1164s # const GValue *param_values, 1164s # void *invocation_hint G_GNUC_UNUSED, 1164s # void *marshal_data) 1164s # { 1164s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1164s # (void *data1, 1164s # GDBusMethodInvocation *arg_method_invocation, 1164s # void *data2); 1164s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1164s # GCClosure *cc = (GCClosure*) closure; 1164s # void *data1, *data2; 1164s # gboolean v_return; 1164s # 1164s # g_return_if_fail (return_value != NULL); 1164s # g_return_if_fail (n_param_values == 2); 1164s # 1164s # if (G_CCLOSURE_SWAP_DATA (closure)) 1164s # { 1164s # data1 = closure->data; 1164s # data2 = g_value_peek_pointer (param_values + 0); 1164s # } 1164s # else 1164s # { 1164s # data1 = g_value_peek_pointer (param_values + 0); 1164s # data2 = closure->data; 1164s # } 1164s # 1164s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1164s # (marshal_data ? marshal_data : cc->callback); 1164s # 1164s # v_return = 1164s # callback (data1, 1164s # g_marshal_value_peek_object (param_values + 1), 1164s # data2); 1164s # 1164s # g_value_set_boolean (return_value, v_return); 1164s # } 1164s # 1164s # /* ------------------------------------------------------------------------ 1164s # * Code for interface org.project.UsefulInterface 1164s # * ------------------------------------------------------------------------ 1164s # */ 1164s # 1164s # /** 1164s # * SECTION:OrgProjectUsefulInterface 1164s # * @title: OrgProjectUsefulInterface 1164s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1164s # * 1164s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1164s # */ 1164s # 1164s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "arg_x", 1164s # (gchar *) "x", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers[] = 1164s # { 1164s # &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x.parent_struct, 1164s # NULL 1164s # }; 1164s # 1164s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "SingleArgMethodX", 1164s # NULL, 1164s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers, 1164s # NULL 1164s # }, 1164s # "handle-single-arg-method-x", 1164s # FALSE 1164s # }; 1164s # 1164s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1164s # { 1164s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct, 1164s # NULL 1164s # }; 1164s # 1164s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "org.project.UsefulInterface", 1164s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1164s # NULL, 1164s # NULL, 1164s # NULL 1164s # }, 1164s # "org-project-useful-interface", 1164s # }; 1164s # 1164s # 1164s # /** 1164s # * org_project_useful_interface_interface_info: 1164s # * 1164s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1164s # * 1164s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1164s # */ 1164s # GDBusInterfaceInfo * 1164s # org_project_useful_interface_interface_info (void) 1164s # { 1164s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_override_properties: 1164s # * @klass: The class structure for a #GObject derived class. 1164s # * @property_id_begin: The property id to assign to the first overridden property. 1164s # * 1164s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1164s # * The properties are overridden in the order they are defined. 1164s # * 1164s # * Returns: The last property id. 1164s # */ 1164s # guint 1164s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1164s # { 1164s # return property_id_begin - 1; 1164s # } 1164s # 1164s # 1164s # inline static void 1164s # org_project_useful_interface_method_marshal_single_arg_method_x ( 1164s # GClosure *closure, 1164s # GValue *return_value, 1164s # unsigned int n_param_values, 1164s # const GValue *param_values, 1164s # void *invocation_hint, 1164s # void *marshal_data) 1164s # { 1164s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1164s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1164s # } 1164s # 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterface: 1164s # * 1164s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceIface: 1164s # * @parent_iface: The parent interface. 1164s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal. 1164s # * 1164s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1164s # */ 1164s # 1164s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1164s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1164s # 1164s # static void 1164s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1164s # { 1164s # /* GObject signals for incoming D-Bus method calls: */ 1164s # /** 1164s # * OrgProjectUsefulInterface::handle-single-arg-method-x: 1164s # * @object: A #OrgProjectUsefulInterface. 1164s # * @invocation: A #GDBusMethodInvocation. 1164s # * 1164s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method. 1164s # * 1164s # * 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. 1164s # * 1164s # * 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. 1164s # */ 1164s # g_signal_new ("handle-single-arg-method-x", 1164s # G_TYPE_FROM_INTERFACE (iface), 1164s # G_SIGNAL_RUN_LAST, 1164s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x), 1164s # g_signal_accumulator_true_handled, 1164s # NULL, 1164s # org_project_useful_interface_method_marshal_single_arg_method_x, 1164s # G_TYPE_BOOLEAN, 1164s # 1, 1164s # G_TYPE_DBUS_METHOD_INVOCATION); 1164s # 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_call_single_arg_method_x: 1164s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy. 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method. 1164s # */ 1164s # void 1164s # org_project_useful_interface_call_single_arg_method_x ( 1164s # OrgProjectUsefulInterface *proxy, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1164s # "SingleArgMethodX", 1164s # g_variant_new ("()"), 1164s # G_DBUS_CALL_FLAGS_NONE, 1164s # -1, 1164s # cancellable, 1164s # callback, 1164s # user_data); 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_call_single_arg_method_x_finish: 1164s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1164s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore. 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x(). 1164s # * @error: Return location for error or %NULL. 1164s # * 1164s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x(). 1164s # * 1164s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1164s # */ 1164s # gboolean 1164s # org_project_useful_interface_call_single_arg_method_x_finish ( 1164s # OrgProjectUsefulInterface *proxy, 1164s # gint64 *out_arg_x, 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GVariant *_ret; 1164s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1164s # if (_ret == NULL) 1164s # goto _out; 1164s # g_variant_get (_ret, 1164s # "(x)", 1164s # out_arg_x); 1164s # g_variant_unref (_ret); 1164s # _out: 1164s # return _ret != NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_call_single_arg_method_x_sync: 1164s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1164s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL. 1164s # * 1164s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method. 1164s # * 1164s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1164s # */ 1164s # gboolean 1164s # org_project_useful_interface_call_single_arg_method_x_sync ( 1164s # OrgProjectUsefulInterface *proxy, 1164s # gint64 *out_arg_x, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GVariant *_ret; 1164s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1164s # "SingleArgMethodX", 1164s # g_variant_new ("()"), 1164s # G_DBUS_CALL_FLAGS_NONE, 1164s # -1, 1164s # cancellable, 1164s # error); 1164s # if (_ret == NULL) 1164s # goto _out; 1164s # g_variant_get (_ret, 1164s # "(x)", 1164s # out_arg_x); 1164s # g_variant_unref (_ret); 1164s # _out: 1164s # return _ret != NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_complete_single_arg_method_x: 1164s # * @object: A #OrgProjectUsefulInterface. 1164s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1164s # * @arg_x: Parameter to return. 1164s # * 1164s # * 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. 1164s # * 1164s # * This method will free @invocation, you cannot use it afterwards. 1164s # */ 1164s # void 1164s # org_project_useful_interface_complete_single_arg_method_x ( 1164s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1164s # GDBusMethodInvocation *invocation, 1164s # gint64 arg_x) 1164s # { 1164s # g_dbus_method_invocation_return_value (invocation, 1164s # g_variant_new ("(x)", 1164s # arg_x)); 1164s # } 1164s # 1164s # /* ------------------------------------------------------------------------ */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceProxy: 1164s # * 1164s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceProxyClass: 1164s # * @parent_class: The parent class. 1164s # * 1164s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1164s # */ 1164s # 1164s # struct _OrgProjectUsefulInterfaceProxyPrivate 1164s # { 1164s # GData *qdata; 1164s # }; 1164s # 1164s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1164s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1164s # 1164s # #else 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1164s # 1164s # #endif 1164s # static void 1164s # org_project_useful_interface_proxy_finalize (GObject *object) 1164s # { 1164s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1164s # g_datalist_clear (&proxy->priv->qdata); 1164s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1164s # guint prop_id G_GNUC_UNUSED, 1164s # GValue *value G_GNUC_UNUSED, 1164s # GParamSpec *pspec G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1164s # guint prop_id G_GNUC_UNUSED, 1164s # const GValue *value G_GNUC_UNUSED, 1164s # GParamSpec *pspec G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1164s # const gchar *sender_name G_GNUC_UNUSED, 1164s # const gchar *signal_name, 1164s # GVariant *parameters) 1164s # { 1164s # _ExtendedGDBusSignalInfo *info; 1164s # GVariantIter iter; 1164s # GVariant *child; 1164s # GValue *paramv; 1164s # gsize num_params; 1164s # gsize n; 1164s # guint signal_id; 1164s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1164s # if (info == NULL) 1164s # return; 1164s # num_params = g_variant_n_children (parameters); 1164s # paramv = g_new0 (GValue, num_params + 1); 1164s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_value_set_object (¶mv[0], proxy); 1164s # g_variant_iter_init (&iter, parameters); 1164s # n = 1; 1164s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1164s # { 1164s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1164s # if (arg_info->use_gvariant) 1164s # { 1164s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1164s # g_value_set_variant (¶mv[n], child); 1164s # n++; 1164s # } 1164s # else 1164s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1164s # g_variant_unref (child); 1164s # } 1164s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_signal_emitv (paramv, signal_id, 0, NULL); 1164s # for (n = 0; n < num_params + 1; n++) 1164s # g_value_unset (¶mv[n]); 1164s # g_free (paramv); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1164s # GVariant *changed_properties, 1164s # const gchar *const *invalidated_properties) 1164s # { 1164s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1164s # guint n; 1164s # const gchar *key; 1164s # GVariantIter *iter; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # g_variant_get (changed_properties, "a{sv}", &iter); 1164s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1164s # { 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1164s # g_datalist_remove_data (&proxy->priv->qdata, key); 1164s # if (info != NULL) 1164s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1164s # } 1164s # g_variant_iter_free (iter); 1164s # for (n = 0; invalidated_properties[n] != NULL; n++) 1164s # { 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1164s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1164s # if (info != NULL) 1164s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1164s # } 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1164s # { 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1164s # #else 1164s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1164s # #endif 1164s # 1164s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1164s # { 1164s # GObjectClass *gobject_class; 1164s # GDBusProxyClass *proxy_class; 1164s # 1164s # gobject_class = G_OBJECT_CLASS (klass); 1164s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1164s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1164s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1164s # 1164s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1164s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1164s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1164s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1164s # #endif 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new: 1164s # * @connection: A #GDBusConnection. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1164s # * 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1164s # */ 1164s # void 1164s # org_project_useful_interface_proxy_new ( 1164s # GDBusConnection *connection, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # g_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); 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_finish: 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_finish ( 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GObject *ret; 1164s # GObject *source_object; 1164s # source_object = g_async_result_get_source_object (res); 1164s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1164s # g_object_unref (source_object); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_sync: 1164s # * @connection: A #GDBusConnection. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1164s # * 1164s # * The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_sync ( 1164s # GDBusConnection *connection, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GInitable *ret; 1164s # 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); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_for_bus: 1164s # * @bus_type: A #GBusType. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: A bus name (well-known or unique). 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1164s # * 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1164s # */ 1164s # void 1164s # org_project_useful_interface_proxy_new_for_bus ( 1164s # GBusType bus_type, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # g_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); 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_for_bus_finish: 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_for_bus_finish ( 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GObject *ret; 1164s # GObject *source_object; 1164s # source_object = g_async_result_get_source_object (res); 1164s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1164s # g_object_unref (source_object); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_for_bus_sync: 1164s # * @bus_type: A #GBusType. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: A bus name (well-known or unique). 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1164s # * 1164s # * The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_for_bus_sync ( 1164s # GBusType bus_type, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GInitable *ret; 1164s # 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); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # 1164s # /* ------------------------------------------------------------------------ */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceSkeleton: 1164s # * 1164s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceSkeletonClass: 1164s # * @parent_class: The parent class. 1164s # * 1164s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1164s # */ 1164s # 1164s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1164s # { 1164s # GValue *properties; 1164s # GList *changed_properties; 1164s # GSource *changed_properties_idle_source; 1164s # GMainContext *context; 1164s # GMutex lock; 1164s # }; 1164s # 1164s # static void 1164s # _org_project_useful_interface_skeleton_handle_method_call ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name, 1164s # const gchar *method_name, 1164s # GVariant *parameters, 1164s # GDBusMethodInvocation *invocation, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1164s # _ExtendedGDBusMethodInfo *info; 1164s # GVariantIter iter; 1164s # GVariant *child; 1164s # GValue *paramv; 1164s # gsize num_params; 1164s # guint num_extra; 1164s # gsize n; 1164s # guint signal_id; 1164s # GValue return_value = G_VALUE_INIT; 1164s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1164s # g_assert (info != NULL); 1164s # num_params = g_variant_n_children (parameters); 1164s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1164s # n = 0; 1164s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_value_set_object (¶mv[n++], skeleton); 1164s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1164s # g_value_set_object (¶mv[n++], invocation); 1164s # if (info->pass_fdlist) 1164s # { 1164s # #ifdef G_OS_UNIX 1164s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1164s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1164s # #else 1164s # g_assert_not_reached (); 1164s # #endif 1164s # } 1164s # g_variant_iter_init (&iter, parameters); 1164s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1164s # { 1164s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1164s # if (arg_info->use_gvariant) 1164s # { 1164s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1164s # g_value_set_variant (¶mv[n], child); 1164s # n++; 1164s # } 1164s # else 1164s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1164s # g_variant_unref (child); 1164s # } 1164s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1164s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1164s # if (!g_value_get_boolean (&return_value)) 1164s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1164s # g_value_unset (&return_value); 1164s # for (n = 0; n < num_params + num_extra; n++) 1164s # g_value_unset (¶mv[n]); 1164s # g_free (paramv); 1164s # } 1164s # 1164s # static GVariant * 1164s # _org_project_useful_interface_skeleton_handle_get_property ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name G_GNUC_UNUSED, 1164s # const gchar *property_name, 1164s # GError **error, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1164s # GValue value = G_VALUE_INIT; 1164s # GParamSpec *pspec; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # GVariant *ret; 1164s # ret = NULL; 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1164s # g_assert (info != NULL); 1164s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1164s # if (pspec == NULL) 1164s # { 1164s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1164s # } 1164s # else 1164s # { 1164s # g_value_init (&value, pspec->value_type); 1164s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1164s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1164s # g_value_unset (&value); 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static gboolean 1164s # _org_project_useful_interface_skeleton_handle_set_property ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name G_GNUC_UNUSED, 1164s # const gchar *property_name, 1164s # GVariant *variant, 1164s # GError **error, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1164s # GValue value = G_VALUE_INIT; 1164s # GParamSpec *pspec; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # gboolean ret; 1164s # ret = FALSE; 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1164s # g_assert (info != NULL); 1164s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1164s # if (pspec == NULL) 1164s # { 1164s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1164s # } 1164s # else 1164s # { 1164s # if (info->use_gvariant) 1164s # g_value_set_variant (&value, variant); 1164s # else 1164s # g_dbus_gvariant_to_gvalue (variant, &value); 1164s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1164s # g_value_unset (&value); 1164s # ret = TRUE; 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1164s # { 1164s # _org_project_useful_interface_skeleton_handle_method_call, 1164s # _org_project_useful_interface_skeleton_handle_get_property, 1164s # _org_project_useful_interface_skeleton_handle_set_property, 1164s # {NULL} 1164s # }; 1164s # 1164s # static GDBusInterfaceInfo * 1164s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1164s # { 1164s # return org_project_useful_interface_interface_info (); 1164s # } 1164s # 1164s # static GDBusInterfaceVTable * 1164s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1164s # { 1164s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1164s # } 1164s # 1164s # static GVariant * 1164s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1164s # 1164s # GVariantBuilder builder; 1164s # guint n; 1164s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1164s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1164s # goto out; 1164s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1164s # { 1164s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1164s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1164s # { 1164s # GVariant *value; 1164s # 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); 1164s # if (value != NULL) 1164s # { 1164s # g_variant_take_ref (value); 1164s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1164s # g_variant_unref (value); 1164s # } 1164s # } 1164s # } 1164s # out: 1164s # return g_variant_builder_end (&builder); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1164s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1164s # 1164s # #else 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1164s # 1164s # #endif 1164s # static void 1164s # org_project_useful_interface_skeleton_finalize (GObject *object) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1164s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1164s # if (skeleton->priv->changed_properties_idle_source != NULL) 1164s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1164s # g_main_context_unref (skeleton->priv->context); 1164s # g_mutex_clear (&skeleton->priv->lock); 1164s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1164s # { 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1164s # #else 1164s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1164s # #endif 1164s # 1164s # g_mutex_init (&skeleton->priv->lock); 1164s # skeleton->priv->context = g_main_context_ref_thread_default (); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1164s # { 1164s # GObjectClass *gobject_class; 1164s # GDBusInterfaceSkeletonClass *skeleton_class; 1164s # 1164s # gobject_class = G_OBJECT_CLASS (klass); 1164s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1164s # 1164s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1164s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1164s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1164s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1164s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1164s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1164s # #endif 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_skeleton_new: 1164s # * 1164s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_skeleton_new (void) 1164s # { 1164s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1164s # } 1164s # /tmp/tmpr495yaem/tmpdc3oro9z.xml: 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpr495yaem/tmpdc3oro9z.xml', '--output', '-', '--body'] 1164s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1164s # Output: /* 1164s # * This file is generated by gdbus-codegen, do not modify it. 1164s # * 1164s # * The license of this code is the same as for the D-Bus interface description 1164s # * it was derived from. Note that it links to GLib, so must comply with the 1164s # * LGPL linking clauses. 1164s # */ 1164s # 1164s # #ifdef HAVE_CONFIG_H 1164s # # include "config.h" 1164s # #endif 1164s # 1164s # #include 1164s # #ifdef G_OS_UNIX 1164s # # include 1164s # #endif 1164s # 1164s # #ifdef G_ENABLE_DEBUG 1164s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1164s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1164s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1164s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1164s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1164s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1164s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1164s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1164s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1164s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1164s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1164s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1164s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1164s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1164s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1164s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1164s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1164s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1164s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1164s # #else /* !G_ENABLE_DEBUG */ 1164s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1164s # * Do not access GValues directly in your code. Instead, use the 1164s # * g_value_get_*() functions 1164s # */ 1164s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1164s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1164s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1164s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1164s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1164s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1164s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1164s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1164s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1164s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1164s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1164s # #endif /* !G_ENABLE_DEBUG */ 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusArgInfo parent_struct; 1164s # gboolean use_gvariant; 1164s # } _ExtendedGDBusArgInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusMethodInfo parent_struct; 1164s # const gchar *signal_name; 1164s # gboolean pass_fdlist; 1164s # } _ExtendedGDBusMethodInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusSignalInfo parent_struct; 1164s # const gchar *signal_name; 1164s # } _ExtendedGDBusSignalInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusPropertyInfo parent_struct; 1164s # const gchar *hyphen_name; 1164s # guint use_gvariant : 1; 1164s # guint emits_changed_signal : 1; 1164s # } _ExtendedGDBusPropertyInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusInterfaceInfo parent_struct; 1164s # const gchar *hyphen_name; 1164s # } _ExtendedGDBusInterfaceInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # const _ExtendedGDBusPropertyInfo *info; 1164s # guint prop_id; 1164s # GValue orig_value; /* the value before the change */ 1164s # } ChangedProperty; 1164s # 1164s # static void 1164s # _changed_property_free (ChangedProperty *data) 1164s # { 1164s # g_value_unset (&data->orig_value); 1164s # g_free (data); 1164s # } 1164s # 1164s # static gboolean 1164s # _g_strv_equal0 (gchar **a, gchar **b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # guint n; 1164s # if (a == NULL && b == NULL) 1164s # { 1164s # ret = TRUE; 1164s # goto out; 1164s # } 1164s # if (a == NULL || b == NULL) 1164s # goto out; 1164s # if (g_strv_length (a) != g_strv_length (b)) 1164s # goto out; 1164s # for (n = 0; a[n] != NULL; n++) 1164s # if (g_strcmp0 (a[n], b[n]) != 0) 1164s # goto out; 1164s # ret = TRUE; 1164s # out: 1164s # return ret; 1164s # } 1164s # 1164s # static gboolean 1164s # _g_variant_equal0 (GVariant *a, GVariant *b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # if (a == NULL && b == NULL) 1164s # { 1164s # ret = TRUE; 1164s # goto out; 1164s # } 1164s # if (a == NULL || b == NULL) 1164s # goto out; 1164s # ret = g_variant_equal (a, b); 1164s # out: 1164s # return ret; 1164s # } 1164s # 1164s # G_GNUC_UNUSED static gboolean 1164s # _g_value_equal (const GValue *a, const GValue *b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1164s # switch (G_VALUE_TYPE (a)) 1164s # { 1164s # case G_TYPE_BOOLEAN: 1164s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1164s # break; 1164s # case G_TYPE_UCHAR: 1164s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1164s # break; 1164s # case G_TYPE_INT: 1164s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1164s # break; 1164s # case G_TYPE_UINT: 1164s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1164s # break; 1164s # case G_TYPE_INT64: 1164s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1164s # break; 1164s # case G_TYPE_UINT64: 1164s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1164s # break; 1164s # case G_TYPE_DOUBLE: 1164s # { 1164s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1164s # gdouble da = g_value_get_double (a); 1164s # gdouble db = g_value_get_double (b); 1164s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1164s # } 1164s # break; 1164s # case G_TYPE_STRING: 1164s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1164s # break; 1164s # case G_TYPE_VARIANT: 1164s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1164s # break; 1164s # default: 1164s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1164s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1164s # else 1164s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1164s # break; 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static void 1164s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1164s # GClosure *closure, 1164s # GValue *return_value, 1164s # unsigned int n_param_values, 1164s # const GValue *param_values, 1164s # void *invocation_hint G_GNUC_UNUSED, 1164s # void *marshal_data) 1164s # { 1164s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1164s # (void *data1, 1164s # GDBusMethodInvocation *arg_method_invocation, 1164s # void *data2); 1164s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1164s # GCClosure *cc = (GCClosure*) closure; 1164s # void *data1, *data2; 1164s # gboolean v_return; 1164s # 1164s # g_return_if_fail (return_value != NULL); 1164s # g_return_if_fail (n_param_values == 2); 1164s # 1164s # if (G_CCLOSURE_SWAP_DATA (closure)) 1164s # { 1164s # data1 = closure->data; 1164s # data2 = g_value_peek_pointer (param_values + 0); 1164s # } 1164s # else 1164s # { 1164s # data1 = g_value_peek_pointer (param_values + 0); 1164s # data2 = closure->data; 1164s # } 1164s # 1164s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1164s # (marshal_data ? marshal_data : cc->callback); 1164s # 1164s # v_return = 1164s # callback (data1, 1164s # g_marshal_value_peek_object (param_values + 1), 1164s # data2); 1164s # 1164s # g_value_set_boolean (return_value, v_return); 1164s # } 1164s # 1164s # /* ------------------------------------------------------------------------ 1164s # * Code for interface org.project.UsefulInterface 1164s # * ------------------------------------------------------------------------ 1164s # */ 1164s # 1164s # /** 1164s # * SECTION:OrgProjectUsefulInterface 1164s # * @title: OrgProjectUsefulInterface 1164s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1164s # * 1164s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1164s # */ 1164s # 1164s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "arg_t", 1164s # (gchar *) "t", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers[] = 1164s # { 1164s # &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t.parent_struct, 1164s # NULL 1164s # }; 1164s # 1164s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "SingleArgMethodT", 1164s # NULL, 1164s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers, 1164s # NULL 1164s # }, 1164s # "handle-single-arg-method-t", 1164s # FALSE 1164s # }; 1164s # 1164s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1164s # { 1164s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct, 1164s # NULL 1164s # }; 1164s # 1164s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "org.project.UsefulInterface", 1164s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1164s # NULL, 1164s # NULL, 1164s # NULL 1164s # }, 1164s # "org-project-useful-interface", 1164s # }; 1164s # 1164s # 1164s # /** 1164s # * org_project_useful_interface_interface_info: 1164s # * 1164s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1164s # * 1164s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1164s # */ 1164s # GDBusInterfaceInfo * 1164s # org_project_useful_interface_interface_info (void) 1164s # { 1164s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_override_properties: 1164s # * @klass: The class structure for a #GObject derived class. 1164s # * @property_id_begin: The property id to assign to the first overridden property. 1164s # * 1164s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1164s # * The properties are overridden in the order they are defined. 1164s # * 1164s # * Returns: The last property id. 1164s # */ 1164s # guint 1164s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1164s # { 1164s # return property_id_begin - 1; 1164s # } 1164s # 1164s # 1164s # inline static void 1164s # org_project_useful_interface_method_marshal_single_arg_method_t ( 1164s # GClosure *closure, 1164s # GValue *return_value, 1164s # unsigned int n_param_values, 1164s # const GValue *param_values, 1164s # void *invocation_hint, 1164s # void *marshal_data) 1164s # { 1164s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1164s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1164s # } 1164s # 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterface: 1164s # * 1164s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceIface: 1164s # * @parent_iface: The parent interface. 1164s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal. 1164s # * 1164s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1164s # */ 1164s # 1164s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1164s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1164s # 1164s # static void 1164s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1164s # { 1164s # /* GObject signals for incoming D-Bus method calls: */ 1164s # /** 1164s # * OrgProjectUsefulInterface::handle-single-arg-method-t: 1164s # * @object: A #OrgProjectUsefulInterface. 1164s # * @invocation: A #GDBusMethodInvocation. 1164s # * 1164s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method. 1164s # * 1164s # * 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. 1164s # * 1164s # * 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. 1164s # */ 1164s # g_signal_new ("handle-single-arg-method-t", 1164s # G_TYPE_FROM_INTERFACE (iface), 1164s # G_SIGNAL_RUN_LAST, 1164s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t), 1164s # g_signal_accumulator_true_handled, 1164s # NULL, 1164s # org_project_useful_interface_method_marshal_single_arg_method_t, 1164s # G_TYPE_BOOLEAN, 1164s # 1, 1164s # G_TYPE_DBUS_METHOD_INVOCATION); 1164s # 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_call_single_arg_method_t: 1164s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy. 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method. 1164s # */ 1164s # void 1164s # org_project_useful_interface_call_single_arg_method_t ( 1164s # OrgProjectUsefulInterface *proxy, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1164s # "SingleArgMethodT", 1164s # g_variant_new ("()"), 1164s # G_DBUS_CALL_FLAGS_NONE, 1164s # -1, 1164s # cancellable, 1164s # callback, 1164s # user_data); 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_call_single_arg_method_t_finish: 1164s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1164s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore. 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t(). 1164s # * @error: Return location for error or %NULL. 1164s # * 1164s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t(). 1164s # * 1164s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1164s # */ 1164s # gboolean 1164s # org_project_useful_interface_call_single_arg_method_t_finish ( 1164s # OrgProjectUsefulInterface *proxy, 1164s # guint64 *out_arg_t, 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GVariant *_ret; 1164s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1164s # if (_ret == NULL) 1164s # goto _out; 1164s # g_variant_get (_ret, 1164s # "(t)", 1164s # out_arg_t); 1164s # g_variant_unref (_ret); 1164s # _out: 1164s # return _ret != NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_call_single_arg_method_t_sync: 1164s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1164s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL. 1164s # * 1164s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method. 1164s # * 1164s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1164s # */ 1164s # gboolean 1164s # org_project_useful_interface_call_single_arg_method_t_sync ( 1164s # OrgProjectUsefulInterface *proxy, 1164s # guint64 *out_arg_t, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GVariant *_ret; 1164s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1164s # "SingleArgMethodT", 1164s # g_variant_new ("()"), 1164s # G_DBUS_CALL_FLAGS_NONE, 1164s # -1, 1164s # cancellable, 1164s # error); 1164s # if (_ret == NULL) 1164s # goto _out; 1164s # g_variant_get (_ret, 1164s # "(t)", 1164s # out_arg_t); 1164s # g_variant_unref (_ret); 1164s # _out: 1164s # return _ret != NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_complete_single_arg_method_t: 1164s # * @object: A #OrgProjectUsefulInterface. 1164s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1164s # * @arg_t: Parameter to return. 1164s # * 1164s # * 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. 1164s # * 1164s # * This method will free @invocation, you cannot use it afterwards. 1164s # */ 1164s # void 1164s # org_project_useful_interface_complete_single_arg_method_t ( 1164s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1164s # GDBusMethodInvocation *invocation, 1164s # guint64 arg_t) 1164s # { 1164s # g_dbus_method_invocation_return_value (invocation, 1164s # g_variant_new ("(t)", 1164s # arg_t)); 1164s # } 1164s # 1164s # /* ------------------------------------------------------------------------ */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceProxy: 1164s # * 1164s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceProxyClass: 1164s # * @parent_class: The parent class. 1164s # * 1164s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1164s # */ 1164s # 1164s # struct _OrgProjectUsefulInterfaceProxyPrivate 1164s # { 1164s # GData *qdata; 1164s # }; 1164s # 1164s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1164s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1164s # 1164s # #else 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1164s # 1164s # #endif 1164s # static void 1164s # org_project_useful_interface_proxy_finalize (GObject *object) 1164s # { 1164s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1164s # g_datalist_clear (&proxy->priv->qdata); 1164s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1164s # guint prop_id G_GNUC_UNUSED, 1164s # GValue *value G_GNUC_UNUSED, 1164s # GParamSpec *pspec G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1164s # guint prop_id G_GNUC_UNUSED, 1164s # const GValue *value G_GNUC_UNUSED, 1164s # GParamSpec *pspec G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1164s # const gchar *sender_name G_GNUC_UNUSED, 1164s # const gchar *signal_name, 1164s # GVariant *parameters) 1164s # { 1164s # _ExtendedGDBusSignalInfo *info; 1164s # GVariantIter iter; 1164s # GVariant *child; 1164s # GValue *paramv; 1164s # gsize num_params; 1164s # gsize n; 1164s # guint signal_id; 1164s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1164s # if (info == NULL) 1164s # return; 1164s # num_params = g_variant_n_children (parameters); 1164s # paramv = g_new0 (GValue, num_params + 1); 1164s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_value_set_object (¶mv[0], proxy); 1164s # g_variant_iter_init (&iter, parameters); 1164s # n = 1; 1164s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1164s # { 1164s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1164s # if (arg_info->use_gvariant) 1164s # { 1164s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1164s # g_value_set_variant (¶mv[n], child); 1164s # n++; 1164s # } 1164s # else 1164s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1164s # g_variant_unref (child); 1164s # } 1164s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_signal_emitv (paramv, signal_id, 0, NULL); 1164s # for (n = 0; n < num_params + 1; n++) 1164s # g_value_unset (¶mv[n]); 1164s # g_free (paramv); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1164s # GVariant *changed_properties, 1164s # const gchar *const *invalidated_properties) 1164s # { 1164s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1164s # guint n; 1164s # const gchar *key; 1164s # GVariantIter *iter; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # g_variant_get (changed_properties, "a{sv}", &iter); 1164s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1164s # { 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1164s # g_datalist_remove_data (&proxy->priv->qdata, key); 1164s # if (info != NULL) 1164s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1164s # } 1164s # g_variant_iter_free (iter); 1164s # for (n = 0; invalidated_properties[n] != NULL; n++) 1164s # { 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1164s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1164s # if (info != NULL) 1164s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1164s # } 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1164s # { 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1164s # #else 1164s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1164s # #endif 1164s # 1164s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1164s # { 1164s # GObjectClass *gobject_class; 1164s # GDBusProxyClass *proxy_class; 1164s # 1164s # gobject_class = G_OBJECT_CLASS (klass); 1164s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1164s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1164s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1164s # 1164s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1164s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1164s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1164s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1164s # #endif 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new: 1164s # * @connection: A #GDBusConnection. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1164s # * 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1164s # */ 1164s # void 1164s # org_project_useful_interface_proxy_new ( 1164s # GDBusConnection *connection, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # g_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); 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_finish: 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_finish ( 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GObject *ret; 1164s # GObject *source_object; 1164s # source_object = g_async_result_get_source_object (res); 1164s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1164s # g_object_unref (source_object); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_sync: 1164s # * @connection: A #GDBusConnection. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1164s # * 1164s # * The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_sync ( 1164s # GDBusConnection *connection, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GInitable *ret; 1164s # 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); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_for_bus: 1164s # * @bus_type: A #GBusType. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: A bus name (well-known or unique). 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1164s # * 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1164s # */ 1164s # void 1164s # org_project_useful_interface_proxy_new_for_bus ( 1164s # GBusType bus_type, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # g_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); 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_for_bus_finish: 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_for_bus_finish ( 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GObject *ret; 1164s # GObject *source_object; 1164s # source_object = g_async_result_get_source_object (res); 1164s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1164s # g_object_unref (source_object); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_for_bus_sync: 1164s # * @bus_type: A #GBusType. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: A bus name (well-known or unique). 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1164s # * 1164s # * The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_for_bus_sync ( 1164s # GBusType bus_type, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GInitable *ret; 1164s # 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); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # 1164s # /* ------------------------------------------------------------------------ */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceSkeleton: 1164s # * 1164s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceSkeletonClass: 1164s # * @parent_class: The parent class. 1164s # * 1164s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1164s # */ 1164s # 1164s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1164s # { 1164s # GValue *properties; 1164s # GList *changed_properties; 1164s # GSource *changed_properties_idle_source; 1164s # GMainContext *context; 1164s # GMutex lock; 1164s # }; 1164s # 1164s # static void 1164s # _org_project_useful_interface_skeleton_handle_method_call ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name, 1164s # const gchar *method_name, 1164s # GVariant *parameters, 1164s # GDBusMethodInvocation *invocation, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1164s # _ExtendedGDBusMethodInfo *info; 1164s # GVariantIter iter; 1164s # GVariant *child; 1164s # GValue *paramv; 1164s # gsize num_params; 1164s # guint num_extra; 1164s # gsize n; 1164s # guint signal_id; 1164s # GValue return_value = G_VALUE_INIT; 1164s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1164s # g_assert (info != NULL); 1164s # num_params = g_variant_n_children (parameters); 1164s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1164s # n = 0; 1164s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_value_set_object (¶mv[n++], skeleton); 1164s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1164s # g_value_set_object (¶mv[n++], invocation); 1164s # if (info->pass_fdlist) 1164s # { 1164s # #ifdef G_OS_UNIX 1164s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1164s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1164s # #else 1164s # g_assert_not_reached (); 1164s # #endif 1164s # } 1164s # g_variant_iter_init (&iter, parameters); 1164s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1164s # { 1164s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1164s # if (arg_info->use_gvariant) 1164s # { 1164s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1164s # g_value_set_variant (¶mv[n], child); 1164s # n++; 1164s # } 1164s # else 1164s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1164s # g_variant_unref (child); 1164s # } 1164s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1164s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1164s # if (!g_value_get_boolean (&return_value)) 1164s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1164s # g_value_unset (&return_value); 1164s # for (n = 0; n < num_params + num_extra; n++) 1164s # g_value_unset (¶mv[n]); 1164s # g_free (paramv); 1164s # } 1164s # 1164s # static GVariant * 1164s # _org_project_useful_interface_skeleton_handle_get_property ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name G_GNUC_UNUSED, 1164s # const gchar *property_name, 1164s # GError **error, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1164s # GValue value = G_VALUE_INIT; 1164s # GParamSpec *pspec; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # GVariant *ret; 1164s # ret = NULL; 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1164s # g_assert (info != NULL); 1164s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1164s # if (pspec == NULL) 1164s # { 1164s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1164s # } 1164s # else 1164s # { 1164s # g_value_init (&value, pspec->value_type); 1164s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1164s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1164s # g_value_unset (&value); 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static gboolean 1164s # _org_project_useful_interface_skeleton_handle_set_property ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name G_GNUC_UNUSED, 1164s # const gchar *property_name, 1164s # GVariant *variant, 1164s # GError **error, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1164s # GValue value = G_VALUE_INIT; 1164s # GParamSpec *pspec; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # gboolean ret; 1164s # ret = FALSE; 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1164s # g_assert (info != NULL); 1164s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1164s # if (pspec == NULL) 1164s # { 1164s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1164s # } 1164s # else 1164s # { 1164s # if (info->use_gvariant) 1164s # g_value_set_variant (&value, variant); 1164s # else 1164s # g_dbus_gvariant_to_gvalue (variant, &value); 1164s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1164s # g_value_unset (&value); 1164s # ret = TRUE; 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1164s # { 1164s # _org_project_useful_interface_skeleton_handle_method_call, 1164s # _org_project_useful_interface_skeleton_handle_get_property, 1164s # _org_project_useful_interface_skeleton_handle_set_property, 1164s # {NULL} 1164s # }; 1164s # 1164s # static GDBusInterfaceInfo * 1164s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1164s # { 1164s # return org_project_useful_interface_interface_info (); 1164s # } 1164s # 1164s # static GDBusInterfaceVTable * 1164s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1164s # { 1164s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1164s # } 1164s # 1164s # static GVariant * 1164s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1164s # 1164s # GVariantBuilder builder; 1164s # guint n; 1164s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1164s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1164s # goto out; 1164s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1164s # { 1164s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1164s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1164s # { 1164s # GVariant *value; 1164s # 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); 1164s # if (value != NULL) 1164s # { 1164s # g_variant_take_ref (value); 1164s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1164s # g_variant_unref (value); 1164s # } 1164s # } 1164s # } 1164s # out: 1164s # return g_variant_builder_end (&builder); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1164s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1164s # 1164s # #else 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1164s # 1164s # #endif 1164s # static void 1164s # org_project_useful_interface_skeleton_finalize (GObject *object) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1164s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1164s # if (skeleton->priv->changed_properties_idle_source != NULL) 1164s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1164s # g_main_context_unref (skeleton->priv->context); 1164s # g_mutex_clear (&skeleton->priv->lock); 1164s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1164s # { 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1164s # #else 1164s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1164s # #endif 1164s # 1164s # g_mutex_init (&skeleton->priv->lock); 1164s # skeleton->priv->context = g_main_context_ref_thread_default (); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1164s # { 1164s # GObjectClass *gobject_class; 1164s # GDBusInterfaceSkeletonClass *skeleton_class; 1164s # 1164s # gobject_class = G_OBJECT_CLASS (klass); 1164s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1164s # 1164s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1164s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1164s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1164s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1164s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1164s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1164s # #endif 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_skeleton_new: 1164s # * 1164s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_skeleton_new (void) 1164s # { 1164s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1164s # } 1164s # /tmp/tmpr495yaem/tmpyjobngp8.xml: 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpr495yaem/tmpyjobngp8.xml', '--output', '-', '--body'] 1164s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1164s # Output: /* 1164s # * This file is generated by gdbus-codegen, do not modify it. 1164s # * 1164s # * The license of this code is the same as for the D-Bus interface description 1164s # * it was derived from. Note that it links to GLib, so must comply with the 1164s # * LGPL linking clauses. 1164s # */ 1164s # 1164s # #ifdef HAVE_CONFIG_H 1164s # # include "config.h" 1164s # #endif 1164s # 1164s # #include 1164s # #ifdef G_OS_UNIX 1164s # # include 1164s # #endif 1164s # 1164s # #ifdef G_ENABLE_DEBUG 1164s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1164s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1164s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1164s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1164s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1164s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1164s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1164s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1164s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1164s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1164s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1164s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1164s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1164s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1164s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1164s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1164s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1164s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1164s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1164s # #else /* !G_ENABLE_DEBUG */ 1164s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1164s # * Do not access GValues directly in your code. Instead, use the 1164s # * g_value_get_*() functions 1164s # */ 1164s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1164s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1164s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1164s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1164s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1164s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1164s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1164s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1164s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1164s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1164s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1164s # #endif /* !G_ENABLE_DEBUG */ 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusArgInfo parent_struct; 1164s # gboolean use_gvariant; 1164s # } _ExtendedGDBusArgInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusMethodInfo parent_struct; 1164s # const gchar *signal_name; 1164s # gboolean pass_fdlist; 1164s # } _ExtendedGDBusMethodInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusSignalInfo parent_struct; 1164s # const gchar *signal_name; 1164s # } _ExtendedGDBusSignalInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusPropertyInfo parent_struct; 1164s # const gchar *hyphen_name; 1164s # guint use_gvariant : 1; 1164s # guint emits_changed_signal : 1; 1164s # } _ExtendedGDBusPropertyInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusInterfaceInfo parent_struct; 1164s # const gchar *hyphen_name; 1164s # } _ExtendedGDBusInterfaceInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # const _ExtendedGDBusPropertyInfo *info; 1164s # guint prop_id; 1164s # GValue orig_value; /* the value before the change */ 1164s # } ChangedProperty; 1164s # 1164s # static void 1164s # _changed_property_free (ChangedProperty *data) 1164s # { 1164s # g_value_unset (&data->orig_value); 1164s # g_free (data); 1164s # } 1164s # 1164s # static gboolean 1164s # _g_strv_equal0 (gchar **a, gchar **b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # guint n; 1164s # if (a == NULL && b == NULL) 1164s # { 1164s # ret = TRUE; 1164s # goto out; 1164s # } 1164s # if (a == NULL || b == NULL) 1164s # goto out; 1164s # if (g_strv_length (a) != g_strv_length (b)) 1164s # goto out; 1164s # for (n = 0; a[n] != NULL; n++) 1164s # if (g_strcmp0 (a[n], b[n]) != 0) 1164s # goto out; 1164s # ret = TRUE; 1164s # out: 1164s # return ret; 1164s # } 1164s # 1164s # static gboolean 1164s # _g_variant_equal0 (GVariant *a, GVariant *b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # if (a == NULL && b == NULL) 1164s # { 1164s # ret = TRUE; 1164s # goto out; 1164s # } 1164s # if (a == NULL || b == NULL) 1164s # goto out; 1164s # ret = g_variant_equal (a, b); 1164s # out: 1164s # return ret; 1164s # } 1164s # 1164s # G_GNUC_UNUSED static gboolean 1164s # _g_value_equal (const GValue *a, const GValue *b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1164s # switch (G_VALUE_TYPE (a)) 1164s # { 1164s # case G_TYPE_BOOLEAN: 1164s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1164s # break; 1164s # case G_TYPE_UCHAR: 1164s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1164s # break; 1164s # case G_TYPE_INT: 1164s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1164s # break; 1164s # case G_TYPE_UINT: 1164s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1164s # break; 1164s # case G_TYPE_INT64: 1164s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1164s # break; 1164s # case G_TYPE_UINT64: 1164s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1164s # break; 1164s # case G_TYPE_DOUBLE: 1164s # { 1164s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1164s # gdouble da = g_value_get_double (a); 1164s # gdouble db = g_value_get_double (b); 1164s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1164s # } 1164s # break; 1164s # case G_TYPE_STRING: 1164s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1164s # break; 1164s # case G_TYPE_VARIANT: 1164s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1164s # break; 1164s # default: 1164s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1164s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1164s # else 1164s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1164s # break; 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static void 1164s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1164s # GClosure *closure, 1164s # GValue *return_value, 1164s # unsigned int n_param_values, 1164s # const GValue *param_values, 1164s # void *invocation_hint G_GNUC_UNUSED, 1164s # void *marshal_data) 1164s # { 1164s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1164s # (void *data1, 1164s # GDBusMethodInvocation *arg_method_invocation, 1164s # void *data2); 1164s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1164s # GCClosure *cc = (GCClosure*) closure; 1164s # void *data1, *data2; 1164s # gboolean v_return; 1164s # 1164s # g_return_if_fail (return_value != NULL); 1164s # g_return_if_fail (n_param_values == 2); 1164s # 1164s # if (G_CCLOSURE_SWAP_DATA (closure)) 1164s # { 1164s # data1 = closure->data; 1164s # data2 = g_value_peek_pointer (param_values + 0); 1164s # } 1164s # else 1164s # { 1164s # data1 = g_value_peek_pointer (param_values + 0); 1164s # data2 = closure->data; 1164s # } 1164s # 1164s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1164s # (marshal_data ? marshal_data : cc->callback); 1164s # 1164s # v_return = 1164s # callback (data1, 1164s # g_marshal_value_peek_object (param_values + 1), 1164s # data2); 1164s # 1164s # g_value_set_boolean (return_value, v_return); 1164s # } 1164s # 1164s # /* ------------------------------------------------------------------------ 1164s # * Code for interface org.project.UsefulInterface 1164s # * ------------------------------------------------------------------------ 1164s # */ 1164s # 1164s # /** 1164s # * SECTION:OrgProjectUsefulInterface 1164s # * @title: OrgProjectUsefulInterface 1164s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1164s # * 1164s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1164s # */ 1164s # 1164s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "arg_d", 1164s # (gchar *) "d", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers[] = 1164s # { 1164s # &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d.parent_struct, 1164s # NULL 1164s # }; 1164s # 1164s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "SingleArgMethodD", 1164s # NULL, 1164s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers, 1164s # NULL 1164s # }, 1164s # "handle-single-arg-method-d", 1164s # FALSE 1164s # }; 1164s # 1164s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1164s # { 1164s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct, 1164s # NULL 1164s # }; 1164s # 1164s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "org.project.UsefulInterface", 1164s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1164s # NULL, 1164s # NULL, 1164s # NULL 1164s # }, 1164s # "org-project-useful-interface", 1164s # }; 1164s # 1164s # 1164s # /** 1164s # * org_project_useful_interface_interface_info: 1164s # * 1164s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1164s # * 1164s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1164s # */ 1164s # GDBusInterfaceInfo * 1164s # org_project_useful_interface_interface_info (void) 1164s # { 1164s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_override_properties: 1164s # * @klass: The class structure for a #GObject derived class. 1164s # * @property_id_begin: The property id to assign to the first overridden property. 1164s # * 1164s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1164s # * The properties are overridden in the order they are defined. 1164s # * 1164s # * Returns: The last property id. 1164s # */ 1164s # guint 1164s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1164s # { 1164s # return property_id_begin - 1; 1164s # } 1164s # 1164s # 1164s # inline static void 1164s # org_project_useful_interface_method_marshal_single_arg_method_d ( 1164s # GClosure *closure, 1164s # GValue *return_value, 1164s # unsigned int n_param_values, 1164s # const GValue *param_values, 1164s # void *invocation_hint, 1164s # void *marshal_data) 1164s # { 1164s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1164s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1164s # } 1164s # 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterface: 1164s # * 1164s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceIface: 1164s # * @parent_iface: The parent interface. 1164s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal. 1164s # * 1164s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1164s # */ 1164s # 1164s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1164s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1164s # 1164s # static void 1164s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1164s # { 1164s # /* GObject signals for incoming D-Bus method calls: */ 1164s # /** 1164s # * OrgProjectUsefulInterface::handle-single-arg-method-d: 1164s # * @object: A #OrgProjectUsefulInterface. 1164s # * @invocation: A #GDBusMethodInvocation. 1164s # * 1164s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method. 1164s # * 1164s # * 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. 1164s # * 1164s # * 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. 1164s # */ 1164s # g_signal_new ("handle-single-arg-method-d", 1164s # G_TYPE_FROM_INTERFACE (iface), 1164s # G_SIGNAL_RUN_LAST, 1164s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d), 1164s # g_signal_accumulator_true_handled, 1164s # NULL, 1164s # org_project_useful_interface_method_marshal_single_arg_method_d, 1164s # G_TYPE_BOOLEAN, 1164s # 1, 1164s # G_TYPE_DBUS_METHOD_INVOCATION); 1164s # 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_call_single_arg_method_d: 1164s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy. 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method. 1164s # */ 1164s # void 1164s # org_project_useful_interface_call_single_arg_method_d ( 1164s # OrgProjectUsefulInterface *proxy, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1164s # "SingleArgMethodD", 1164s # g_variant_new ("()"), 1164s # G_DBUS_CALL_FLAGS_NONE, 1164s # -1, 1164s # cancellable, 1164s # callback, 1164s # user_data); 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_call_single_arg_method_d_finish: 1164s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1164s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore. 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d(). 1164s # * @error: Return location for error or %NULL. 1164s # * 1164s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d(). 1164s # * 1164s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1164s # */ 1164s # gboolean 1164s # org_project_useful_interface_call_single_arg_method_d_finish ( 1164s # OrgProjectUsefulInterface *proxy, 1164s # gdouble *out_arg_d, 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GVariant *_ret; 1164s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1164s # if (_ret == NULL) 1164s # goto _out; 1164s # g_variant_get (_ret, 1164s # "(d)", 1164s # out_arg_d); 1164s # g_variant_unref (_ret); 1164s # _out: 1164s # return _ret != NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_call_single_arg_method_d_sync: 1164s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1164s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL. 1164s # * 1164s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method. 1164s # * 1164s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1164s # */ 1164s # gboolean 1164s # org_project_useful_interface_call_single_arg_method_d_sync ( 1164s # OrgProjectUsefulInterface *proxy, 1164s # gdouble *out_arg_d, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GVariant *_ret; 1164s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1164s # "SingleArgMethodD", 1164s # g_variant_new ("()"), 1164s # G_DBUS_CALL_FLAGS_NONE, 1164s # -1, 1164s # cancellable, 1164s # error); 1164s # if (_ret == NULL) 1164s # goto _out; 1164s # g_variant_get (_ret, 1164s # "(d)", 1164s # out_arg_d); 1164s # g_variant_unref (_ret); 1164s # _out: 1164s # return _ret != NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_complete_single_arg_method_d: 1164s # * @object: A #OrgProjectUsefulInterface. 1164s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1164s # * @arg_d: Parameter to return. 1164s # * 1164s # * 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. 1164s # * 1164s # * This method will free @invocation, you cannot use it afterwards. 1164s # */ 1164s # void 1164s # org_project_useful_interface_complete_single_arg_method_d ( 1164s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1164s # GDBusMethodInvocation *invocation, 1164s # gdouble arg_d) 1164s # { 1164s # g_dbus_method_invocation_return_value (invocation, 1164s # g_variant_new ("(d)", 1164s # arg_d)); 1164s # } 1164s # 1164s # /* ------------------------------------------------------------------------ */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceProxy: 1164s # * 1164s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceProxyClass: 1164s # * @parent_class: The parent class. 1164s # * 1164s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1164s # */ 1164s # 1164s # struct _OrgProjectUsefulInterfaceProxyPrivate 1164s # { 1164s # GData *qdata; 1164s # }; 1164s # 1164s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1164s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1164s # 1164s # #else 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1164s # 1164s # #endif 1164s # static void 1164s # org_project_useful_interface_proxy_finalize (GObject *object) 1164s # { 1164s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1164s # g_datalist_clear (&proxy->priv->qdata); 1164s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1164s # guint prop_id G_GNUC_UNUSED, 1164s # GValue *value G_GNUC_UNUSED, 1164s # GParamSpec *pspec G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1164s # guint prop_id G_GNUC_UNUSED, 1164s # const GValue *value G_GNUC_UNUSED, 1164s # GParamSpec *pspec G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1164s # const gchar *sender_name G_GNUC_UNUSED, 1164s # const gchar *signal_name, 1164s # GVariant *parameters) 1164s # { 1164s # _ExtendedGDBusSignalInfo *info; 1164s # GVariantIter iter; 1164s # GVariant *child; 1164s # GValue *paramv; 1164s # gsize num_params; 1164s # gsize n; 1164s # guint signal_id; 1164s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1164s # if (info == NULL) 1164s # return; 1164s # num_params = g_variant_n_children (parameters); 1164s # paramv = g_new0 (GValue, num_params + 1); 1164s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_value_set_object (¶mv[0], proxy); 1164s # g_variant_iter_init (&iter, parameters); 1164s # n = 1; 1164s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1164s # { 1164s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1164s # if (arg_info->use_gvariant) 1164s # { 1164s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1164s # g_value_set_variant (¶mv[n], child); 1164s # n++; 1164s # } 1164s # else 1164s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1164s # g_variant_unref (child); 1164s # } 1164s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_signal_emitv (paramv, signal_id, 0, NULL); 1164s # for (n = 0; n < num_params + 1; n++) 1164s # g_value_unset (¶mv[n]); 1164s # g_free (paramv); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1164s # GVariant *changed_properties, 1164s # const gchar *const *invalidated_properties) 1164s # { 1164s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1164s # guint n; 1164s # const gchar *key; 1164s # GVariantIter *iter; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # g_variant_get (changed_properties, "a{sv}", &iter); 1164s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1164s # { 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1164s # g_datalist_remove_data (&proxy->priv->qdata, key); 1164s # if (info != NULL) 1164s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1164s # } 1164s # g_variant_iter_free (iter); 1164s # for (n = 0; invalidated_properties[n] != NULL; n++) 1164s # { 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1164s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1164s # if (info != NULL) 1164s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1164s # } 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1164s # { 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1164s # #else 1164s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1164s # #endif 1164s # 1164s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1164s # { 1164s # GObjectClass *gobject_class; 1164s # GDBusProxyClass *proxy_class; 1164s # 1164s # gobject_class = G_OBJECT_CLASS (klass); 1164s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1164s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1164s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1164s # 1164s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1164s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1164s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1164s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1164s # #endif 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new: 1164s # * @connection: A #GDBusConnection. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1164s # * 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1164s # */ 1164s # void 1164s # org_project_useful_interface_proxy_new ( 1164s # GDBusConnection *connection, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # g_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); 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_finish: 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_finish ( 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GObject *ret; 1164s # GObject *source_object; 1164s # source_object = g_async_result_get_source_object (res); 1164s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1164s # g_object_unref (source_object); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_sync: 1164s # * @connection: A #GDBusConnection. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1164s # * 1164s # * The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_sync ( 1164s # GDBusConnection *connection, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GInitable *ret; 1164s # 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); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_for_bus: 1164s # * @bus_type: A #GBusType. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: A bus name (well-known or unique). 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1164s # * 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1164s # */ 1164s # void 1164s # org_project_useful_interface_proxy_new_for_bus ( 1164s # GBusType bus_type, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # g_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); 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_for_bus_finish: 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_for_bus_finish ( 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GObject *ret; 1164s # GObject *source_object; 1164s # source_object = g_async_result_get_source_object (res); 1164s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1164s # g_object_unref (source_object); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_for_bus_sync: 1164s # * @bus_type: A #GBusType. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: A bus name (well-known or unique). 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1164s # * 1164s # * The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_for_bus_sync ( 1164s # GBusType bus_type, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GInitable *ret; 1164s # 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); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # 1164s # /* ------------------------------------------------------------------------ */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceSkeleton: 1164s # * 1164s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceSkeletonClass: 1164s # * @parent_class: The parent class. 1164s # * 1164s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1164s # */ 1164s # 1164s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1164s # { 1164s # GValue *properties; 1164s # GList *changed_properties; 1164s # GSource *changed_properties_idle_source; 1164s # GMainContext *context; 1164s # GMutex lock; 1164s # }; 1164s # 1164s # static void 1164s # _org_project_useful_interface_skeleton_handle_method_call ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name, 1164s # const gchar *method_name, 1164s # GVariant *parameters, 1164s # GDBusMethodInvocation *invocation, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1164s # _ExtendedGDBusMethodInfo *info; 1164s # GVariantIter iter; 1164s # GVariant *child; 1164s # GValue *paramv; 1164s # gsize num_params; 1164s # guint num_extra; 1164s # gsize n; 1164s # guint signal_id; 1164s # GValue return_value = G_VALUE_INIT; 1164s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1164s # g_assert (info != NULL); 1164s # num_params = g_variant_n_children (parameters); 1164s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1164s # n = 0; 1164s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_value_set_object (¶mv[n++], skeleton); 1164s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1164s # g_value_set_object (¶mv[n++], invocation); 1164s # if (info->pass_fdlist) 1164s # { 1164s # #ifdef G_OS_UNIX 1164s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1164s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1164s # #else 1164s # g_assert_not_reached (); 1164s # #endif 1164s # } 1164s # g_variant_iter_init (&iter, parameters); 1164s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1164s # { 1164s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1164s # if (arg_info->use_gvariant) 1164s # { 1164s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1164s # g_value_set_variant (¶mv[n], child); 1164s # n++; 1164s # } 1164s # else 1164s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1164s # g_variant_unref (child); 1164s # } 1164s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1164s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1164s # if (!g_value_get_boolean (&return_value)) 1164s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1164s # g_value_unset (&return_value); 1164s # for (n = 0; n < num_params + num_extra; n++) 1164s # g_value_unset (¶mv[n]); 1164s # g_free (paramv); 1164s # } 1164s # 1164s # static GVariant * 1164s # _org_project_useful_interface_skeleton_handle_get_property ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name G_GNUC_UNUSED, 1164s # const gchar *property_name, 1164s # GError **error, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1164s # GValue value = G_VALUE_INIT; 1164s # GParamSpec *pspec; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # GVariant *ret; 1164s # ret = NULL; 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1164s # g_assert (info != NULL); 1164s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1164s # if (pspec == NULL) 1164s # { 1164s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1164s # } 1164s # else 1164s # { 1164s # g_value_init (&value, pspec->value_type); 1164s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1164s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1164s # g_value_unset (&value); 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static gboolean 1164s # _org_project_useful_interface_skeleton_handle_set_property ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name G_GNUC_UNUSED, 1164s # const gchar *property_name, 1164s # GVariant *variant, 1164s # GError **error, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1164s # GValue value = G_VALUE_INIT; 1164s # GParamSpec *pspec; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # gboolean ret; 1164s # ret = FALSE; 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1164s # g_assert (info != NULL); 1164s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1164s # if (pspec == NULL) 1164s # { 1164s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1164s # } 1164s # else 1164s # { 1164s # if (info->use_gvariant) 1164s # g_value_set_variant (&value, variant); 1164s # else 1164s # g_dbus_gvariant_to_gvalue (variant, &value); 1164s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1164s # g_value_unset (&value); 1164s # ret = TRUE; 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1164s # { 1164s # _org_project_useful_interface_skeleton_handle_method_call, 1164s # _org_project_useful_interface_skeleton_handle_get_property, 1164s # _org_project_useful_interface_skeleton_handle_set_property, 1164s # {NULL} 1164s # }; 1164s # 1164s # static GDBusInterfaceInfo * 1164s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1164s # { 1164s # return org_project_useful_interface_interface_info (); 1164s # } 1164s # 1164s # static GDBusInterfaceVTable * 1164s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1164s # { 1164s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1164s # } 1164s # 1164s # static GVariant * 1164s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1164s # 1164s # GVariantBuilder builder; 1164s # guint n; 1164s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1164s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1164s # goto out; 1164s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1164s # { 1164s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1164s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1164s # { 1164s # GVariant *value; 1164s # 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); 1164s # if (value != NULL) 1164s # { 1164s # g_variant_take_ref (value); 1164s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1164s # g_variant_unref (value); 1164s # } 1164s # } 1164s # } 1164s # out: 1164s # return g_variant_builder_end (&builder); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1164s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1164s # 1164s # #else 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1164s # 1164s # #endif 1164s # static void 1164s # org_project_useful_interface_skeleton_finalize (GObject *object) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1164s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1164s # if (skeleton->priv->changed_properties_idle_source != NULL) 1164s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1164s # g_main_context_unref (skeleton->priv->context); 1164s # g_mutex_clear (&skeleton->priv->lock); 1164s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1164s # { 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1164s # #else 1164s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1164s # #endif 1164s # 1164s # g_mutex_init (&skeleton->priv->lock); 1164s # skeleton->priv->context = g_main_context_ref_thread_default (); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1164s # { 1164s # GObjectClass *gobject_class; 1164s # GDBusInterfaceSkeletonClass *skeleton_class; 1164s # 1164s # gobject_class = G_OBJECT_CLASS (klass); 1164s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1164s # 1164s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1164s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1164s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1164s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1164s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1164s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1164s # #endif 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_skeleton_new: 1164s # * 1164s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_skeleton_new (void) 1164s # { 1164s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1164s # } 1164s # /tmp/tmpr495yaem/tmp1c4sn288.xml: 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpr495yaem/tmp1c4sn288.xml', '--output', '-', '--body'] 1164s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1164s # Output: /* 1164s # * This file is generated by gdbus-codegen, do not modify it. 1164s # * 1164s # * The license of this code is the same as for the D-Bus interface description 1164s # * it was derived from. Note that it links to GLib, so must comply with the 1164s # * LGPL linking clauses. 1164s # */ 1164s # 1164s # #ifdef HAVE_CONFIG_H 1164s # # include "config.h" 1164s # #endif 1164s # 1164s # #include 1164s # #ifdef G_OS_UNIX 1164s # # include 1164s # #endif 1164s # 1164s # #ifdef G_ENABLE_DEBUG 1164s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1164s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1164s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1164s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1164s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1164s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1164s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1164s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1164s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1164s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1164s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1164s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1164s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1164s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1164s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1164s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1164s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1164s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1164s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1164s # #else /* !G_ENABLE_DEBUG */ 1164s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1164s # * Do not access GValues directly in your code. Instead, use the 1164s # * g_value_get_*() functions 1164s # */ 1164s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1164s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1164s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1164s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1164s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1164s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1164s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1164s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1164s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1164s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1164s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1164s # #endif /* !G_ENABLE_DEBUG */ 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusArgInfo parent_struct; 1164s # gboolean use_gvariant; 1164s # } _ExtendedGDBusArgInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusMethodInfo parent_struct; 1164s # const gchar *signal_name; 1164s # gboolean pass_fdlist; 1164s # } _ExtendedGDBusMethodInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusSignalInfo parent_struct; 1164s # const gchar *signal_name; 1164s # } _ExtendedGDBusSignalInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusPropertyInfo parent_struct; 1164s # const gchar *hyphen_name; 1164s # guint use_gvariant : 1; 1164s # guint emits_changed_signal : 1; 1164s # } _ExtendedGDBusPropertyInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusInterfaceInfo parent_struct; 1164s # const gchar *hyphen_name; 1164s # } _ExtendedGDBusInterfaceInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # const _ExtendedGDBusPropertyInfo *info; 1164s # guint prop_id; 1164s # GValue orig_value; /* the value before the change */ 1164s # } ChangedProperty; 1164s # 1164s # static void 1164s # _changed_property_free (ChangedProperty *data) 1164s # { 1164s # g_value_unset (&data->orig_value); 1164s # g_free (data); 1164s # } 1164s # 1164s # static gboolean 1164s # _g_strv_equal0 (gchar **a, gchar **b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # guint n; 1164s # if (a == NULL && b == NULL) 1164s # { 1164s # ret = TRUE; 1164s # goto out; 1164s # } 1164s # if (a == NULL || b == NULL) 1164s # goto out; 1164s # if (g_strv_length (a) != g_strv_length (b)) 1164s # goto out; 1164s # for (n = 0; a[n] != NULL; n++) 1164s # if (g_strcmp0 (a[n], b[n]) != 0) 1164s # goto out; 1164s # ret = TRUE; 1164s # out: 1164s # return ret; 1164s # } 1164s # 1164s # static gboolean 1164s # _g_variant_equal0 (GVariant *a, GVariant *b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # if (a == NULL && b == NULL) 1164s # { 1164s # ret = TRUE; 1164s # goto out; 1164s # } 1164s # if (a == NULL || b == NULL) 1164s # goto out; 1164s # ret = g_variant_equal (a, b); 1164s # out: 1164s # return ret; 1164s # } 1164s # 1164s # G_GNUC_UNUSED static gboolean 1164s # _g_value_equal (const GValue *a, const GValue *b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1164s # switch (G_VALUE_TYPE (a)) 1164s # { 1164s # case G_TYPE_BOOLEAN: 1164s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1164s # break; 1164s # case G_TYPE_UCHAR: 1164s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1164s # break; 1164s # case G_TYPE_INT: 1164s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1164s # break; 1164s # case G_TYPE_UINT: 1164s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1164s # break; 1164s # case G_TYPE_INT64: 1164s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1164s # break; 1164s # case G_TYPE_UINT64: 1164s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1164s # break; 1164s # case G_TYPE_DOUBLE: 1164s # { 1164s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1164s # gdouble da = g_value_get_double (a); 1164s # gdouble db = g_value_get_double (b); 1164s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1164s # } 1164s # break; 1164s # case G_TYPE_STRING: 1164s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1164s # break; 1164s # case G_TYPE_VARIANT: 1164s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1164s # break; 1164s # default: 1164s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1164s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1164s # else 1164s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1164s # break; 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static void 1164s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1164s # GClosure *closure, 1164s # GValue *return_value, 1164s # unsigned int n_param_values, 1164s # const GValue *param_values, 1164s # void *invocation_hint G_GNUC_UNUSED, 1164s # void *marshal_data) 1164s # { 1164s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1164s # (void *data1, 1164s # GDBusMethodInvocation *arg_method_invocation, 1164s # void *data2); 1164s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1164s # GCClosure *cc = (GCClosure*) closure; 1164s # void *data1, *data2; 1164s # gboolean v_return; 1164s # 1164s # g_return_if_fail (return_value != NULL); 1164s # g_return_if_fail (n_param_values == 2); 1164s # 1164s # if (G_CCLOSURE_SWAP_DATA (closure)) 1164s # { 1164s # data1 = closure->data; 1164s # data2 = g_value_peek_pointer (param_values + 0); 1164s # } 1164s # else 1164s # { 1164s # data1 = g_value_peek_pointer (param_values + 0); 1164s # data2 = closure->data; 1164s # } 1164s # 1164s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1164s # (marshal_data ? marshal_data : cc->callback); 1164s # 1164s # v_return = 1164s # callback (data1, 1164s # g_marshal_value_peek_object (param_values + 1), 1164s # data2); 1164s # 1164s # g_value_set_boolean (return_value, v_return); 1164s # } 1164s # 1164s # /* ------------------------------------------------------------------------ 1164s # * Code for interface org.project.UsefulInterface 1164s # * ------------------------------------------------------------------------ 1164s # */ 1164s # 1164s # /** 1164s # * SECTION:OrgProjectUsefulInterface 1164s # * @title: OrgProjectUsefulInterface 1164s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1164s # * 1164s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1164s # */ 1164s # 1164s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "arg_s", 1164s # (gchar *) "s", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers[] = 1164s # { 1164s # &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s.parent_struct, 1164s # NULL 1164s # }; 1164s # 1164s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "SingleArgMethodS", 1164s # NULL, 1164s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers, 1164s # NULL 1164s # }, 1164s # "handle-single-arg-method-s", 1164s # FALSE 1164s # }; 1164s # 1164s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1164s # { 1164s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct, 1164s # NULL 1164s # }; 1164s # 1164s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "org.project.UsefulInterface", 1164s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1164s # NULL, 1164s # NULL, 1164s # NULL 1164s # }, 1164s # "org-project-useful-interface", 1164s # }; 1164s # 1164s # 1164s # /** 1164s # * org_project_useful_interface_interface_info: 1164s # * 1164s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1164s # * 1164s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1164s # */ 1164s # GDBusInterfaceInfo * 1164s # org_project_useful_interface_interface_info (void) 1164s # { 1164s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_override_properties: 1164s # * @klass: The class structure for a #GObject derived class. 1164s # * @property_id_begin: The property id to assign to the first overridden property. 1164s # * 1164s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1164s # * The properties are overridden in the order they are defined. 1164s # * 1164s # * Returns: The last property id. 1164s # */ 1164s # guint 1164s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1164s # { 1164s # return property_id_begin - 1; 1164s # } 1164s # 1164s # 1164s # inline static void 1164s # org_project_useful_interface_method_marshal_single_arg_method_s ( 1164s # GClosure *closure, 1164s # GValue *return_value, 1164s # unsigned int n_param_values, 1164s # const GValue *param_values, 1164s # void *invocation_hint, 1164s # void *marshal_data) 1164s # { 1164s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1164s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1164s # } 1164s # 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterface: 1164s # * 1164s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceIface: 1164s # * @parent_iface: The parent interface. 1164s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal. 1164s # * 1164s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1164s # */ 1164s # 1164s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1164s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1164s # 1164s # static void 1164s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1164s # { 1164s # /* GObject signals for incoming D-Bus method calls: */ 1164s # /** 1164s # * OrgProjectUsefulInterface::handle-single-arg-method-s: 1164s # * @object: A #OrgProjectUsefulInterface. 1164s # * @invocation: A #GDBusMethodInvocation. 1164s # * 1164s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method. 1164s # * 1164s # * 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. 1164s # * 1164s # * 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. 1164s # */ 1164s # g_signal_new ("handle-single-arg-method-s", 1164s # G_TYPE_FROM_INTERFACE (iface), 1164s # G_SIGNAL_RUN_LAST, 1164s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s), 1164s # g_signal_accumulator_true_handled, 1164s # NULL, 1164s # org_project_useful_interface_method_marshal_single_arg_method_s, 1164s # G_TYPE_BOOLEAN, 1164s # 1, 1164s # G_TYPE_DBUS_METHOD_INVOCATION); 1164s # 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_call_single_arg_method_s: 1164s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy. 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method. 1164s # */ 1164s # void 1164s # org_project_useful_interface_call_single_arg_method_s ( 1164s # OrgProjectUsefulInterface *proxy, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1164s # "SingleArgMethodS", 1164s # g_variant_new ("()"), 1164s # G_DBUS_CALL_FLAGS_NONE, 1164s # -1, 1164s # cancellable, 1164s # callback, 1164s # user_data); 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_call_single_arg_method_s_finish: 1164s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1164s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore. 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s(). 1164s # * @error: Return location for error or %NULL. 1164s # * 1164s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s(). 1164s # * 1164s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1164s # */ 1164s # gboolean 1164s # org_project_useful_interface_call_single_arg_method_s_finish ( 1164s # OrgProjectUsefulInterface *proxy, 1164s # gchar **out_arg_s, 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GVariant *_ret; 1164s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1164s # if (_ret == NULL) 1164s # goto _out; 1164s # g_variant_get (_ret, 1164s # "(s)", 1164s # out_arg_s); 1164s # g_variant_unref (_ret); 1164s # _out: 1164s # return _ret != NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_call_single_arg_method_s_sync: 1164s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1164s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL. 1164s # * 1164s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method. 1164s # * 1164s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1164s # */ 1164s # gboolean 1164s # org_project_useful_interface_call_single_arg_method_s_sync ( 1164s # OrgProjectUsefulInterface *proxy, 1164s # gchar **out_arg_s, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GVariant *_ret; 1164s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1164s # "SingleArgMethodS", 1164s # g_variant_new ("()"), 1164s # G_DBUS_CALL_FLAGS_NONE, 1164s # -1, 1164s # cancellable, 1164s # error); 1164s # if (_ret == NULL) 1164s # goto _out; 1164s # g_variant_get (_ret, 1164s # "(s)", 1164s # out_arg_s); 1164s # g_variant_unref (_ret); 1164s # _out: 1164s # return _ret != NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_complete_single_arg_method_s: 1164s # * @object: A #OrgProjectUsefulInterface. 1164s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1164s # * @arg_s: Parameter to return. 1164s # * 1164s # * 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. 1164s # * 1164s # * This method will free @invocation, you cannot use it afterwards. 1164s # */ 1164s # void 1164s # org_project_useful_interface_complete_single_arg_method_s ( 1164s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1164s # GDBusMethodInvocation *invocation, 1164s # const gchar *arg_s) 1164s # { 1164s # g_dbus_method_invocation_return_value (invocation, 1164s # g_variant_new ("(s)", 1164s # arg_s)); 1164s # } 1164s # 1164s # /* ------------------------------------------------------------------------ */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceProxy: 1164s # * 1164s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceProxyClass: 1164s # * @parent_class: The parent class. 1164s # * 1164s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1164s # */ 1164s # 1164s # struct _OrgProjectUsefulInterfaceProxyPrivate 1164s # { 1164s # GData *qdata; 1164s # }; 1164s # 1164s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1164s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1164s # 1164s # #else 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1164s # 1164s # #endif 1164s # static void 1164s # org_project_useful_interface_proxy_finalize (GObject *object) 1164s # { 1164s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1164s # g_datalist_clear (&proxy->priv->qdata); 1164s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1164s # guint prop_id G_GNUC_UNUSED, 1164s # GValue *value G_GNUC_UNUSED, 1164s # GParamSpec *pspec G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1164s # guint prop_id G_GNUC_UNUSED, 1164s # const GValue *value G_GNUC_UNUSED, 1164s # GParamSpec *pspec G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1164s # const gchar *sender_name G_GNUC_UNUSED, 1164s # const gchar *signal_name, 1164s # GVariant *parameters) 1164s # { 1164s # _ExtendedGDBusSignalInfo *info; 1164s # GVariantIter iter; 1164s # GVariant *child; 1164s # GValue *paramv; 1164s # gsize num_params; 1164s # gsize n; 1164s # guint signal_id; 1164s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1164s # if (info == NULL) 1164s # return; 1164s # num_params = g_variant_n_children (parameters); 1164s # paramv = g_new0 (GValue, num_params + 1); 1164s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_value_set_object (¶mv[0], proxy); 1164s # g_variant_iter_init (&iter, parameters); 1164s # n = 1; 1164s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1164s # { 1164s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1164s # if (arg_info->use_gvariant) 1164s # { 1164s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1164s # g_value_set_variant (¶mv[n], child); 1164s # n++; 1164s # } 1164s # else 1164s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1164s # g_variant_unref (child); 1164s # } 1164s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_signal_emitv (paramv, signal_id, 0, NULL); 1164s # for (n = 0; n < num_params + 1; n++) 1164s # g_value_unset (¶mv[n]); 1164s # g_free (paramv); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1164s # GVariant *changed_properties, 1164s # const gchar *const *invalidated_properties) 1164s # { 1164s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1164s # guint n; 1164s # const gchar *key; 1164s # GVariantIter *iter; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # g_variant_get (changed_properties, "a{sv}", &iter); 1164s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1164s # { 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1164s # g_datalist_remove_data (&proxy->priv->qdata, key); 1164s # if (info != NULL) 1164s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1164s # } 1164s # g_variant_iter_free (iter); 1164s # for (n = 0; invalidated_properties[n] != NULL; n++) 1164s # { 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1164s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1164s # if (info != NULL) 1164s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1164s # } 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1164s # { 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1164s # #else 1164s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1164s # #endif 1164s # 1164s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1164s # { 1164s # GObjectClass *gobject_class; 1164s # GDBusProxyClass *proxy_class; 1164s # 1164s # gobject_class = G_OBJECT_CLASS (klass); 1164s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1164s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1164s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1164s # 1164s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1164s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1164s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1164s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1164s # #endif 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new: 1164s # * @connection: A #GDBusConnection. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1164s # * 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1164s # */ 1164s # void 1164s # org_project_useful_interface_proxy_new ( 1164s # GDBusConnection *connection, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # g_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); 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_finish: 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_finish ( 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GObject *ret; 1164s # GObject *source_object; 1164s # source_object = g_async_result_get_source_object (res); 1164s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1164s # g_object_unref (source_object); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_sync: 1164s # * @connection: A #GDBusConnection. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1164s # * 1164s # * The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_sync ( 1164s # GDBusConnection *connection, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GInitable *ret; 1164s # 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); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_for_bus: 1164s # * @bus_type: A #GBusType. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: A bus name (well-known or unique). 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1164s # * 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1164s # */ 1164s # void 1164s # org_project_useful_interface_proxy_new_for_bus ( 1164s # GBusType bus_type, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # g_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); 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_for_bus_finish: 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_for_bus_finish ( 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GObject *ret; 1164s # GObject *source_object; 1164s # source_object = g_async_result_get_source_object (res); 1164s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1164s # g_object_unref (source_object); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_for_bus_sync: 1164s # * @bus_type: A #GBusType. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: A bus name (well-known or unique). 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1164s # * 1164s # * The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_for_bus_sync ( 1164s # GBusType bus_type, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GInitable *ret; 1164s # 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); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # 1164s # /* ------------------------------------------------------------------------ */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceSkeleton: 1164s # * 1164s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceSkeletonClass: 1164s # * @parent_class: The parent class. 1164s # * 1164s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1164s # */ 1164s # 1164s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1164s # { 1164s # GValue *properties; 1164s # GList *changed_properties; 1164s # GSource *changed_properties_idle_source; 1164s # GMainContext *context; 1164s # GMutex lock; 1164s # }; 1164s # 1164s # static void 1164s # _org_project_useful_interface_skeleton_handle_method_call ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name, 1164s # const gchar *method_name, 1164s # GVariant *parameters, 1164s # GDBusMethodInvocation *invocation, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1164s # _ExtendedGDBusMethodInfo *info; 1164s # GVariantIter iter; 1164s # GVariant *child; 1164s # GValue *paramv; 1164s # gsize num_params; 1164s # guint num_extra; 1164s # gsize n; 1164s # guint signal_id; 1164s # GValue return_value = G_VALUE_INIT; 1164s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1164s # g_assert (info != NULL); 1164s # num_params = g_variant_n_children (parameters); 1164s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1164s # n = 0; 1164s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_value_set_object (¶mv[n++], skeleton); 1164s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1164s # g_value_set_object (¶mv[n++], invocation); 1164s # if (info->pass_fdlist) 1164s # { 1164s # #ifdef G_OS_UNIX 1164s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1164s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1164s # #else 1164s # g_assert_not_reached (); 1164s # #endif 1164s # } 1164s # g_variant_iter_init (&iter, parameters); 1164s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1164s # { 1164s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1164s # if (arg_info->use_gvariant) 1164s # { 1164s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1164s # g_value_set_variant (¶mv[n], child); 1164s # n++; 1164s # } 1164s # else 1164s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1164s # g_variant_unref (child); 1164s # } 1164s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1164s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1164s # if (!g_value_get_boolean (&return_value)) 1164s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1164s # g_value_unset (&return_value); 1164s # for (n = 0; n < num_params + num_extra; n++) 1164s # g_value_unset (¶mv[n]); 1164s # g_free (paramv); 1164s # } 1164s # 1164s # static GVariant * 1164s # _org_project_useful_interface_skeleton_handle_get_property ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name G_GNUC_UNUSED, 1164s # const gchar *property_name, 1164s # GError **error, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1164s # GValue value = G_VALUE_INIT; 1164s # GParamSpec *pspec; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # GVariant *ret; 1164s # ret = NULL; 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1164s # g_assert (info != NULL); 1164s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1164s # if (pspec == NULL) 1164s # { 1164s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1164s # } 1164s # else 1164s # { 1164s # g_value_init (&value, pspec->value_type); 1164s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1164s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1164s # g_value_unset (&value); 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static gboolean 1164s # _org_project_useful_interface_skeleton_handle_set_property ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name G_GNUC_UNUSED, 1164s # const gchar *property_name, 1164s # GVariant *variant, 1164s # GError **error, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1164s # GValue value = G_VALUE_INIT; 1164s # GParamSpec *pspec; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # gboolean ret; 1164s # ret = FALSE; 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1164s # g_assert (info != NULL); 1164s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1164s # if (pspec == NULL) 1164s # { 1164s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1164s # } 1164s # else 1164s # { 1164s # if (info->use_gvariant) 1164s # g_value_set_variant (&value, variant); 1164s # else 1164s # g_dbus_gvariant_to_gvalue (variant, &value); 1164s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1164s # g_value_unset (&value); 1164s # ret = TRUE; 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1164s # { 1164s # _org_project_useful_interface_skeleton_handle_method_call, 1164s # _org_project_useful_interface_skeleton_handle_get_property, 1164s # _org_project_useful_interface_skeleton_handle_set_property, 1164s # {NULL} 1164s # }; 1164s # 1164s # static GDBusInterfaceInfo * 1164s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1164s # { 1164s # return org_project_useful_interface_interface_info (); 1164s # } 1164s # 1164s # static GDBusInterfaceVTable * 1164s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1164s # { 1164s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1164s # } 1164s # 1164s # static GVariant * 1164s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1164s # 1164s # GVariantBuilder builder; 1164s # guint n; 1164s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1164s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1164s # goto out; 1164s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1164s # { 1164s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1164s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1164s # { 1164s # GVariant *value; 1164s # 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); 1164s # if (value != NULL) 1164s # { 1164s # g_variant_take_ref (value); 1164s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1164s # g_variant_unref (value); 1164s # } 1164s # } 1164s # } 1164s # out: 1164s # return g_variant_builder_end (&builder); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1164s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1164s # 1164s # #else 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1164s # 1164s # #endif 1164s # static void 1164s # org_project_useful_interface_skeleton_finalize (GObject *object) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1164s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1164s # if (skeleton->priv->changed_properties_idle_source != NULL) 1164s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1164s # g_main_context_unref (skeleton->priv->context); 1164s # g_mutex_clear (&skeleton->priv->lock); 1164s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1164s # { 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1164s # #else 1164s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1164s # #endif 1164s # 1164s # g_mutex_init (&skeleton->priv->lock); 1164s # skeleton->priv->context = g_main_context_ref_thread_default (); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1164s # { 1164s # GObjectClass *gobject_class; 1164s # GDBusInterfaceSkeletonClass *skeleton_class; 1164s # 1164s # gobject_class = G_OBJECT_CLASS (klass); 1164s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1164s # 1164s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1164s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1164s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1164s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1164s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1164s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1164s # #endif 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_skeleton_new: 1164s # * 1164s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_skeleton_new (void) 1164s # { 1164s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1164s # } 1164s # /tmp/tmpr495yaem/tmphh565093.xml: 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpr495yaem/tmphh565093.xml', '--output', '-', '--body'] 1164s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1164s # Output: /* 1164s # * This file is generated by gdbus-codegen, do not modify it. 1164s # * 1164s # * The license of this code is the same as for the D-Bus interface description 1164s # * it was derived from. Note that it links to GLib, so must comply with the 1164s # * LGPL linking clauses. 1164s # */ 1164s # 1164s # #ifdef HAVE_CONFIG_H 1164s # # include "config.h" 1164s # #endif 1164s # 1164s # #include 1164s # #ifdef G_OS_UNIX 1164s # # include 1164s # #endif 1164s # 1164s # #ifdef G_ENABLE_DEBUG 1164s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1164s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1164s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1164s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1164s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1164s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1164s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1164s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1164s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1164s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1164s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1164s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1164s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1164s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1164s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1164s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1164s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1164s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1164s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1164s # #else /* !G_ENABLE_DEBUG */ 1164s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1164s # * Do not access GValues directly in your code. Instead, use the 1164s # * g_value_get_*() functions 1164s # */ 1164s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1164s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1164s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1164s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1164s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1164s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1164s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1164s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1164s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1164s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1164s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1164s # #endif /* !G_ENABLE_DEBUG */ 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusArgInfo parent_struct; 1164s # gboolean use_gvariant; 1164s # } _ExtendedGDBusArgInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusMethodInfo parent_struct; 1164s # const gchar *signal_name; 1164s # gboolean pass_fdlist; 1164s # } _ExtendedGDBusMethodInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusSignalInfo parent_struct; 1164s # const gchar *signal_name; 1164s # } _ExtendedGDBusSignalInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusPropertyInfo parent_struct; 1164s # const gchar *hyphen_name; 1164s # guint use_gvariant : 1; 1164s # guint emits_changed_signal : 1; 1164s # } _ExtendedGDBusPropertyInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusInterfaceInfo parent_struct; 1164s # const gchar *hyphen_name; 1164s # } _ExtendedGDBusInterfaceInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # const _ExtendedGDBusPropertyInfo *info; 1164s # guint prop_id; 1164s # GValue orig_value; /* the value before the change */ 1164s # } ChangedProperty; 1164s # 1164s # static void 1164s # _changed_property_free (ChangedProperty *data) 1164s # { 1164s # g_value_unset (&data->orig_value); 1164s # g_free (data); 1164s # } 1164s # 1164s # static gboolean 1164s # _g_strv_equal0 (gchar **a, gchar **b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # guint n; 1164s # if (a == NULL && b == NULL) 1164s # { 1164s # ret = TRUE; 1164s # goto out; 1164s # } 1164s # if (a == NULL || b == NULL) 1164s # goto out; 1164s # if (g_strv_length (a) != g_strv_length (b)) 1164s # goto out; 1164s # for (n = 0; a[n] != NULL; n++) 1164s # if (g_strcmp0 (a[n], b[n]) != 0) 1164s # goto out; 1164s # ret = TRUE; 1164s # out: 1164s # return ret; 1164s # } 1164s # 1164s # static gboolean 1164s # _g_variant_equal0 (GVariant *a, GVariant *b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # if (a == NULL && b == NULL) 1164s # { 1164s # ret = TRUE; 1164s # goto out; 1164s # } 1164s # if (a == NULL || b == NULL) 1164s # goto out; 1164s # ret = g_variant_equal (a, b); 1164s # out: 1164s # return ret; 1164s # } 1164s # 1164s # G_GNUC_UNUSED static gboolean 1164s # _g_value_equal (const GValue *a, const GValue *b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1164s # switch (G_VALUE_TYPE (a)) 1164s # { 1164s # case G_TYPE_BOOLEAN: 1164s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1164s # break; 1164s # case G_TYPE_UCHAR: 1164s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1164s # break; 1164s # case G_TYPE_INT: 1164s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1164s # break; 1164s # case G_TYPE_UINT: 1164s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1164s # break; 1164s # case G_TYPE_INT64: 1164s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1164s # break; 1164s # case G_TYPE_UINT64: 1164s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1164s # break; 1164s # case G_TYPE_DOUBLE: 1164s # { 1164s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1164s # gdouble da = g_value_get_double (a); 1164s # gdouble db = g_value_get_double (b); 1164s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1164s # } 1164s # break; 1164s # case G_TYPE_STRING: 1164s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1164s # break; 1164s # case G_TYPE_VARIANT: 1164s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1164s # break; 1164s # default: 1164s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1164s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1164s # else 1164s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1164s # break; 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static void 1164s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1164s # GClosure *closure, 1164s # GValue *return_value, 1164s # unsigned int n_param_values, 1164s # const GValue *param_values, 1164s # void *invocation_hint G_GNUC_UNUSED, 1164s # void *marshal_data) 1164s # { 1164s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1164s # (void *data1, 1164s # GDBusMethodInvocation *arg_method_invocation, 1164s # void *data2); 1164s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1164s # GCClosure *cc = (GCClosure*) closure; 1164s # void *data1, *data2; 1164s # gboolean v_return; 1164s # 1164s # g_return_if_fail (return_value != NULL); 1164s # g_return_if_fail (n_param_values == 2); 1164s # 1164s # if (G_CCLOSURE_SWAP_DATA (closure)) 1164s # { 1164s # data1 = closure->data; 1164s # data2 = g_value_peek_pointer (param_values + 0); 1164s # } 1164s # else 1164s # { 1164s # data1 = g_value_peek_pointer (param_values + 0); 1164s # data2 = closure->data; 1164s # } 1164s # 1164s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1164s # (marshal_data ? marshal_data : cc->callback); 1164s # 1164s # v_return = 1164s # callback (data1, 1164s # g_marshal_value_peek_object (param_values + 1), 1164s # data2); 1164s # 1164s # g_value_set_boolean (return_value, v_return); 1164s # } 1164s # 1164s # /* ------------------------------------------------------------------------ 1164s # * Code for interface org.project.UsefulInterface 1164s # * ------------------------------------------------------------------------ 1164s # */ 1164s # 1164s # /** 1164s # * SECTION:OrgProjectUsefulInterface 1164s # * @title: OrgProjectUsefulInterface 1164s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1164s # * 1164s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1164s # */ 1164s # 1164s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "arg_o", 1164s # (gchar *) "o", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers[] = 1164s # { 1164s # &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o.parent_struct, 1164s # NULL 1164s # }; 1164s # 1164s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "SingleArgMethodO", 1164s # NULL, 1164s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers, 1164s # NULL 1164s # }, 1164s # "handle-single-arg-method-o", 1164s # FALSE 1164s # }; 1164s # 1164s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1164s # { 1164s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct, 1164s # NULL 1164s # }; 1164s # 1164s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "org.project.UsefulInterface", 1164s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1164s # NULL, 1164s # NULL, 1164s # NULL 1164s # }, 1164s # "org-project-useful-interface", 1164s # }; 1164s # 1164s # 1164s # /** 1164s # * org_project_useful_interface_interface_info: 1164s # * 1164s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1164s # * 1164s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1164s # */ 1164s # GDBusInterfaceInfo * 1164s # org_project_useful_interface_interface_info (void) 1164s # { 1164s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_override_properties: 1164s # * @klass: The class structure for a #GObject derived class. 1164s # * @property_id_begin: The property id to assign to the first overridden property. 1164s # * 1164s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1164s # * The properties are overridden in the order they are defined. 1164s # * 1164s # * Returns: The last property id. 1164s # */ 1164s # guint 1164s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1164s # { 1164s # return property_id_begin - 1; 1164s # } 1164s # 1164s # 1164s # inline static void 1164s # org_project_useful_interface_method_marshal_single_arg_method_o ( 1164s # GClosure *closure, 1164s # GValue *return_value, 1164s # unsigned int n_param_values, 1164s # const GValue *param_values, 1164s # void *invocation_hint, 1164s # void *marshal_data) 1164s # { 1164s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1164s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1164s # } 1164s # 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterface: 1164s # * 1164s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceIface: 1164s # * @parent_iface: The parent interface. 1164s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal. 1164s # * 1164s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1164s # */ 1164s # 1164s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1164s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1164s # 1164s # static void 1164s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1164s # { 1164s # /* GObject signals for incoming D-Bus method calls: */ 1164s # /** 1164s # * OrgProjectUsefulInterface::handle-single-arg-method-o: 1164s # * @object: A #OrgProjectUsefulInterface. 1164s # * @invocation: A #GDBusMethodInvocation. 1164s # * 1164s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method. 1164s # * 1164s # * 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. 1164s # * 1164s # * 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. 1164s # */ 1164s # g_signal_new ("handle-single-arg-method-o", 1164s # G_TYPE_FROM_INTERFACE (iface), 1164s # G_SIGNAL_RUN_LAST, 1164s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o), 1164s # g_signal_accumulator_true_handled, 1164s # NULL, 1164s # org_project_useful_interface_method_marshal_single_arg_method_o, 1164s # G_TYPE_BOOLEAN, 1164s # 1, 1164s # G_TYPE_DBUS_METHOD_INVOCATION); 1164s # 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_call_single_arg_method_o: 1164s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy. 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method. 1164s # */ 1164s # void 1164s # org_project_useful_interface_call_single_arg_method_o ( 1164s # OrgProjectUsefulInterface *proxy, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1164s # "SingleArgMethodO", 1164s # g_variant_new ("()"), 1164s # G_DBUS_CALL_FLAGS_NONE, 1164s # -1, 1164s # cancellable, 1164s # callback, 1164s # user_data); 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_call_single_arg_method_o_finish: 1164s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1164s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore. 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o(). 1164s # * @error: Return location for error or %NULL. 1164s # * 1164s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o(). 1164s # * 1164s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1164s # */ 1164s # gboolean 1164s # org_project_useful_interface_call_single_arg_method_o_finish ( 1164s # OrgProjectUsefulInterface *proxy, 1164s # gchar **out_arg_o, 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GVariant *_ret; 1164s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1164s # if (_ret == NULL) 1164s # goto _out; 1164s # g_variant_get (_ret, 1164s # "(o)", 1164s # out_arg_o); 1164s # g_variant_unref (_ret); 1164s # _out: 1164s # return _ret != NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_call_single_arg_method_o_sync: 1164s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1164s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL. 1164s # * 1164s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method. 1164s # * 1164s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1164s # */ 1164s # gboolean 1164s # org_project_useful_interface_call_single_arg_method_o_sync ( 1164s # OrgProjectUsefulInterface *proxy, 1164s # gchar **out_arg_o, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GVariant *_ret; 1164s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1164s # "SingleArgMethodO", 1164s # g_variant_new ("()"), 1164s # G_DBUS_CALL_FLAGS_NONE, 1164s # -1, 1164s # cancellable, 1164s # error); 1164s # if (_ret == NULL) 1164s # goto _out; 1164s # g_variant_get (_ret, 1164s # "(o)", 1164s # out_arg_o); 1164s # g_variant_unref (_ret); 1164s # _out: 1164s # return _ret != NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_complete_single_arg_method_o: 1164s # * @object: A #OrgProjectUsefulInterface. 1164s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1164s # * @arg_o: Parameter to return. 1164s # * 1164s # * 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. 1164s # * 1164s # * This method will free @invocation, you cannot use it afterwards. 1164s # */ 1164s # void 1164s # org_project_useful_interface_complete_single_arg_method_o ( 1164s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1164s # GDBusMethodInvocation *invocation, 1164s # const gchar *arg_o) 1164s # { 1164s # g_dbus_method_invocation_return_value (invocation, 1164s # g_variant_new ("(o)", 1164s # arg_o)); 1164s # } 1164s # 1164s # /* ------------------------------------------------------------------------ */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceProxy: 1164s # * 1164s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceProxyClass: 1164s # * @parent_class: The parent class. 1164s # * 1164s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1164s # */ 1164s # 1164s # struct _OrgProjectUsefulInterfaceProxyPrivate 1164s # { 1164s # GData *qdata; 1164s # }; 1164s # 1164s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1164s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1164s # 1164s # #else 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1164s # 1164s # #endif 1164s # static void 1164s # org_project_useful_interface_proxy_finalize (GObject *object) 1164s # { 1164s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1164s # g_datalist_clear (&proxy->priv->qdata); 1164s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1164s # guint prop_id G_GNUC_UNUSED, 1164s # GValue *value G_GNUC_UNUSED, 1164s # GParamSpec *pspec G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1164s # guint prop_id G_GNUC_UNUSED, 1164s # const GValue *value G_GNUC_UNUSED, 1164s # GParamSpec *pspec G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1164s # const gchar *sender_name G_GNUC_UNUSED, 1164s # const gchar *signal_name, 1164s # GVariant *parameters) 1164s # { 1164s # _ExtendedGDBusSignalInfo *info; 1164s # GVariantIter iter; 1164s # GVariant *child; 1164s # GValue *paramv; 1164s # gsize num_params; 1164s # gsize n; 1164s # guint signal_id; 1164s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1164s # if (info == NULL) 1164s # return; 1164s # num_params = g_variant_n_children (parameters); 1164s # paramv = g_new0 (GValue, num_params + 1); 1164s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_value_set_object (¶mv[0], proxy); 1164s # g_variant_iter_init (&iter, parameters); 1164s # n = 1; 1164s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1164s # { 1164s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1164s # if (arg_info->use_gvariant) 1164s # { 1164s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1164s # g_value_set_variant (¶mv[n], child); 1164s # n++; 1164s # } 1164s # else 1164s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1164s # g_variant_unref (child); 1164s # } 1164s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_signal_emitv (paramv, signal_id, 0, NULL); 1164s # for (n = 0; n < num_params + 1; n++) 1164s # g_value_unset (¶mv[n]); 1164s # g_free (paramv); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1164s # GVariant *changed_properties, 1164s # const gchar *const *invalidated_properties) 1164s # { 1164s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1164s # guint n; 1164s # const gchar *key; 1164s # GVariantIter *iter; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # g_variant_get (changed_properties, "a{sv}", &iter); 1164s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1164s # { 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1164s # g_datalist_remove_data (&proxy->priv->qdata, key); 1164s # if (info != NULL) 1164s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1164s # } 1164s # g_variant_iter_free (iter); 1164s # for (n = 0; invalidated_properties[n] != NULL; n++) 1164s # { 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1164s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1164s # if (info != NULL) 1164s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1164s # } 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1164s # { 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1164s # #else 1164s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1164s # #endif 1164s # 1164s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1164s # { 1164s # GObjectClass *gobject_class; 1164s # GDBusProxyClass *proxy_class; 1164s # 1164s # gobject_class = G_OBJECT_CLASS (klass); 1164s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1164s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1164s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1164s # 1164s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1164s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1164s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1164s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1164s # #endif 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new: 1164s # * @connection: A #GDBusConnection. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1164s # * 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1164s # */ 1164s # void 1164s # org_project_useful_interface_proxy_new ( 1164s # GDBusConnection *connection, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # g_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); 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_finish: 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_finish ( 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GObject *ret; 1164s # GObject *source_object; 1164s # source_object = g_async_result_get_source_object (res); 1164s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1164s # g_object_unref (source_object); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_sync: 1164s # * @connection: A #GDBusConnection. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1164s # * 1164s # * The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_sync ( 1164s # GDBusConnection *connection, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GInitable *ret; 1164s # 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); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_for_bus: 1164s # * @bus_type: A #GBusType. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: A bus name (well-known or unique). 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1164s # * 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1164s # */ 1164s # void 1164s # org_project_useful_interface_proxy_new_for_bus ( 1164s # GBusType bus_type, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # g_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); 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_for_bus_finish: 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_for_bus_finish ( 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GObject *ret; 1164s # GObject *source_object; 1164s # source_object = g_async_result_get_source_object (res); 1164s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1164s # g_object_unref (source_object); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_for_bus_sync: 1164s # * @bus_type: A #GBusType. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: A bus name (well-known or unique). 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1164s # * 1164s # * The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_for_bus_sync ( 1164s # GBusType bus_type, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GInitable *ret; 1164s # 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); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # 1164s # /* ------------------------------------------------------------------------ */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceSkeleton: 1164s # * 1164s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceSkeletonClass: 1164s # * @parent_class: The parent class. 1164s # * 1164s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1164s # */ 1164s # 1164s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1164s # { 1164s # GValue *properties; 1164s # GList *changed_properties; 1164s # GSource *changed_properties_idle_source; 1164s # GMainContext *context; 1164s # GMutex lock; 1164s # }; 1164s # 1164s # static void 1164s # _org_project_useful_interface_skeleton_handle_method_call ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name, 1164s # const gchar *method_name, 1164s # GVariant *parameters, 1164s # GDBusMethodInvocation *invocation, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1164s # _ExtendedGDBusMethodInfo *info; 1164s # GVariantIter iter; 1164s # GVariant *child; 1164s # GValue *paramv; 1164s # gsize num_params; 1164s # guint num_extra; 1164s # gsize n; 1164s # guint signal_id; 1164s # GValue return_value = G_VALUE_INIT; 1164s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1164s # g_assert (info != NULL); 1164s # num_params = g_variant_n_children (parameters); 1164s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1164s # n = 0; 1164s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_value_set_object (¶mv[n++], skeleton); 1164s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1164s # g_value_set_object (¶mv[n++], invocation); 1164s # if (info->pass_fdlist) 1164s # { 1164s # #ifdef G_OS_UNIX 1164s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1164s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1164s # #else 1164s # g_assert_not_reached (); 1164s # #endif 1164s # } 1164s # g_variant_iter_init (&iter, parameters); 1164s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1164s # { 1164s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1164s # if (arg_info->use_gvariant) 1164s # { 1164s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1164s # g_value_set_variant (¶mv[n], child); 1164s # n++; 1164s # } 1164s # else 1164s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1164s # g_variant_unref (child); 1164s # } 1164s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1164s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1164s # if (!g_value_get_boolean (&return_value)) 1164s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1164s # g_value_unset (&return_value); 1164s # for (n = 0; n < num_params + num_extra; n++) 1164s # g_value_unset (¶mv[n]); 1164s # g_free (paramv); 1164s # } 1164s # 1164s # static GVariant * 1164s # _org_project_useful_interface_skeleton_handle_get_property ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name G_GNUC_UNUSED, 1164s # const gchar *property_name, 1164s # GError **error, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1164s # GValue value = G_VALUE_INIT; 1164s # GParamSpec *pspec; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # GVariant *ret; 1164s # ret = NULL; 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1164s # g_assert (info != NULL); 1164s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1164s # if (pspec == NULL) 1164s # { 1164s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1164s # } 1164s # else 1164s # { 1164s # g_value_init (&value, pspec->value_type); 1164s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1164s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1164s # g_value_unset (&value); 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static gboolean 1164s # _org_project_useful_interface_skeleton_handle_set_property ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name G_GNUC_UNUSED, 1164s # const gchar *property_name, 1164s # GVariant *variant, 1164s # GError **error, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1164s # GValue value = G_VALUE_INIT; 1164s # GParamSpec *pspec; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # gboolean ret; 1164s # ret = FALSE; 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1164s # g_assert (info != NULL); 1164s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1164s # if (pspec == NULL) 1164s # { 1164s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1164s # } 1164s # else 1164s # { 1164s # if (info->use_gvariant) 1164s # g_value_set_variant (&value, variant); 1164s # else 1164s # g_dbus_gvariant_to_gvalue (variant, &value); 1164s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1164s # g_value_unset (&value); 1164s # ret = TRUE; 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1164s # { 1164s # _org_project_useful_interface_skeleton_handle_method_call, 1164s # _org_project_useful_interface_skeleton_handle_get_property, 1164s # _org_project_useful_interface_skeleton_handle_set_property, 1164s # {NULL} 1164s # }; 1164s # 1164s # static GDBusInterfaceInfo * 1164s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1164s # { 1164s # return org_project_useful_interface_interface_info (); 1164s # } 1164s # 1164s # static GDBusInterfaceVTable * 1164s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1164s # { 1164s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1164s # } 1164s # 1164s # static GVariant * 1164s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1164s # 1164s # GVariantBuilder builder; 1164s # guint n; 1164s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1164s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1164s # goto out; 1164s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1164s # { 1164s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1164s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1164s # { 1164s # GVariant *value; 1164s # 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); 1164s # if (value != NULL) 1164s # { 1164s # g_variant_take_ref (value); 1164s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1164s # g_variant_unref (value); 1164s # } 1164s # } 1164s # } 1164s # out: 1164s # return g_variant_builder_end (&builder); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1164s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1164s # 1164s # #else 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1164s # 1164s # #endif 1164s # static void 1164s # org_project_useful_interface_skeleton_finalize (GObject *object) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1164s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1164s # if (skeleton->priv->changed_properties_idle_source != NULL) 1164s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1164s # g_main_context_unref (skeleton->priv->context); 1164s # g_mutex_clear (&skeleton->priv->lock); 1164s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1164s # { 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1164s # #else 1164s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1164s # #endif 1164s # 1164s # g_mutex_init (&skeleton->priv->lock); 1164s # skeleton->priv->context = g_main_context_ref_thread_default (); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1164s # { 1164s # GObjectClass *gobject_class; 1164s # GDBusInterfaceSkeletonClass *skeleton_class; 1164s # 1164s # gobject_class = G_OBJECT_CLASS (klass); 1164s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1164s # 1164s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1164s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1164s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1164s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1164s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1164s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1164s # #endif 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_skeleton_new: 1164s # * 1164s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_skeleton_new (void) 1164s # { 1164s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1164s # } 1164s # /tmp/tmpr495yaem/tmpaphlw2zi.xml: 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpr495yaem/tmpaphlw2zi.xml', '--output', '-', '--body'] 1164s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1164s # Output: /* 1164s # * This file is generated by gdbus-codegen, do not modify it. 1164s # * 1164s # * The license of this code is the same as for the D-Bus interface description 1164s # * it was derived from. Note that it links to GLib, so must comply with the 1164s # * LGPL linking clauses. 1164s # */ 1164s # 1164s # #ifdef HAVE_CONFIG_H 1164s # # include "config.h" 1164s # #endif 1164s # 1164s # #include 1164s # #ifdef G_OS_UNIX 1164s # # include 1164s # #endif 1164s # 1164s # #ifdef G_ENABLE_DEBUG 1164s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1164s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1164s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1164s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1164s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1164s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1164s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1164s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1164s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1164s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1164s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1164s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1164s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1164s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1164s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1164s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1164s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1164s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1164s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1164s # #else /* !G_ENABLE_DEBUG */ 1164s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1164s # * Do not access GValues directly in your code. Instead, use the 1164s # * g_value_get_*() functions 1164s # */ 1164s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1164s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1164s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1164s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1164s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1164s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1164s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1164s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1164s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1164s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1164s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1164s # #endif /* !G_ENABLE_DEBUG */ 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusArgInfo parent_struct; 1164s # gboolean use_gvariant; 1164s # } _ExtendedGDBusArgInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusMethodInfo parent_struct; 1164s # const gchar *signal_name; 1164s # gboolean pass_fdlist; 1164s # } _ExtendedGDBusMethodInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusSignalInfo parent_struct; 1164s # const gchar *signal_name; 1164s # } _ExtendedGDBusSignalInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusPropertyInfo parent_struct; 1164s # const gchar *hyphen_name; 1164s # guint use_gvariant : 1; 1164s # guint emits_changed_signal : 1; 1164s # } _ExtendedGDBusPropertyInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusInterfaceInfo parent_struct; 1164s # const gchar *hyphen_name; 1164s # } _ExtendedGDBusInterfaceInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # const _ExtendedGDBusPropertyInfo *info; 1164s # guint prop_id; 1164s # GValue orig_value; /* the value before the change */ 1164s # } ChangedProperty; 1164s # 1164s # static void 1164s # _changed_property_free (ChangedProperty *data) 1164s # { 1164s # g_value_unset (&data->orig_value); 1164s # g_free (data); 1164s # } 1164s # 1164s # static gboolean 1164s # _g_strv_equal0 (gchar **a, gchar **b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # guint n; 1164s # if (a == NULL && b == NULL) 1164s # { 1164s # ret = TRUE; 1164s # goto out; 1164s # } 1164s # if (a == NULL || b == NULL) 1164s # goto out; 1164s # if (g_strv_length (a) != g_strv_length (b)) 1164s # goto out; 1164s # for (n = 0; a[n] != NULL; n++) 1164s # if (g_strcmp0 (a[n], b[n]) != 0) 1164s # goto out; 1164s # ret = TRUE; 1164s # out: 1164s # return ret; 1164s # } 1164s # 1164s # static gboolean 1164s # _g_variant_equal0 (GVariant *a, GVariant *b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # if (a == NULL && b == NULL) 1164s # { 1164s # ret = TRUE; 1164s # goto out; 1164s # } 1164s # if (a == NULL || b == NULL) 1164s # goto out; 1164s # ret = g_variant_equal (a, b); 1164s # out: 1164s # return ret; 1164s # } 1164s # 1164s # G_GNUC_UNUSED static gboolean 1164s # _g_value_equal (const GValue *a, const GValue *b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1164s # switch (G_VALUE_TYPE (a)) 1164s # { 1164s # case G_TYPE_BOOLEAN: 1164s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1164s # break; 1164s # case G_TYPE_UCHAR: 1164s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1164s # break; 1164s # case G_TYPE_INT: 1164s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1164s # break; 1164s # case G_TYPE_UINT: 1164s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1164s # break; 1164s # case G_TYPE_INT64: 1164s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1164s # break; 1164s # case G_TYPE_UINT64: 1164s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1164s # break; 1164s # case G_TYPE_DOUBLE: 1164s # { 1164s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1164s # gdouble da = g_value_get_double (a); 1164s # gdouble db = g_value_get_double (b); 1164s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1164s # } 1164s # break; 1164s # case G_TYPE_STRING: 1164s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1164s # break; 1164s # case G_TYPE_VARIANT: 1164s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1164s # break; 1164s # default: 1164s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1164s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1164s # else 1164s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1164s # break; 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static void 1164s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1164s # GClosure *closure, 1164s # GValue *return_value, 1164s # unsigned int n_param_values, 1164s # const GValue *param_values, 1164s # void *invocation_hint G_GNUC_UNUSED, 1164s # void *marshal_data) 1164s # { 1164s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1164s # (void *data1, 1164s # GDBusMethodInvocation *arg_method_invocation, 1164s # void *data2); 1164s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1164s # GCClosure *cc = (GCClosure*) closure; 1164s # void *data1, *data2; 1164s # gboolean v_return; 1164s # 1164s # g_return_if_fail (return_value != NULL); 1164s # g_return_if_fail (n_param_values == 2); 1164s # 1164s # if (G_CCLOSURE_SWAP_DATA (closure)) 1164s # { 1164s # data1 = closure->data; 1164s # data2 = g_value_peek_pointer (param_values + 0); 1164s # } 1164s # else 1164s # { 1164s # data1 = g_value_peek_pointer (param_values + 0); 1164s # data2 = closure->data; 1164s # } 1164s # 1164s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1164s # (marshal_data ? marshal_data : cc->callback); 1164s # 1164s # v_return = 1164s # callback (data1, 1164s # g_marshal_value_peek_object (param_values + 1), 1164s # data2); 1164s # 1164s # g_value_set_boolean (return_value, v_return); 1164s # } 1164s # 1164s # /* ------------------------------------------------------------------------ 1164s # * Code for interface org.project.UsefulInterface 1164s # * ------------------------------------------------------------------------ 1164s # */ 1164s # 1164s # /** 1164s # * SECTION:OrgProjectUsefulInterface 1164s # * @title: OrgProjectUsefulInterface 1164s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1164s # * 1164s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1164s # */ 1164s # 1164s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "arg_g", 1164s # (gchar *) "g", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers[] = 1164s # { 1164s # &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g.parent_struct, 1164s # NULL 1164s # }; 1164s # 1164s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "SingleArgMethodG", 1164s # NULL, 1164s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers, 1164s # NULL 1164s # }, 1164s # "handle-single-arg-method-g", 1164s # FALSE 1164s # }; 1164s # 1164s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1164s # { 1164s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct, 1164s # NULL 1164s # }; 1164s # 1164s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "org.project.UsefulInterface", 1164s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1164s # NULL, 1164s # NULL, 1164s # NULL 1164s # }, 1164s # "org-project-useful-interface", 1164s # }; 1164s # 1164s # 1164s # /** 1164s # * org_project_useful_interface_interface_info: 1164s # * 1164s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1164s # * 1164s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1164s # */ 1164s # GDBusInterfaceInfo * 1164s # org_project_useful_interface_interface_info (void) 1164s # { 1164s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_override_properties: 1164s # * @klass: The class structure for a #GObject derived class. 1164s # * @property_id_begin: The property id to assign to the first overridden property. 1164s # * 1164s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1164s # * The properties are overridden in the order they are defined. 1164s # * 1164s # * Returns: The last property id. 1164s # */ 1164s # guint 1164s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1164s # { 1164s # return property_id_begin - 1; 1164s # } 1164s # 1164s # 1164s # inline static void 1164s # org_project_useful_interface_method_marshal_single_arg_method_g ( 1164s # GClosure *closure, 1164s # GValue *return_value, 1164s # unsigned int n_param_values, 1164s # const GValue *param_values, 1164s # void *invocation_hint, 1164s # void *marshal_data) 1164s # { 1164s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1164s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1164s # } 1164s # 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterface: 1164s # * 1164s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceIface: 1164s # * @parent_iface: The parent interface. 1164s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal. 1164s # * 1164s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1164s # */ 1164s # 1164s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1164s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1164s # 1164s # static void 1164s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1164s # { 1164s # /* GObject signals for incoming D-Bus method calls: */ 1164s # /** 1164s # * OrgProjectUsefulInterface::handle-single-arg-method-g: 1164s # * @object: A #OrgProjectUsefulInterface. 1164s # * @invocation: A #GDBusMethodInvocation. 1164s # * 1164s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method. 1164s # * 1164s # * 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. 1164s # * 1164s # * 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. 1164s # */ 1164s # g_signal_new ("handle-single-arg-method-g", 1164s # G_TYPE_FROM_INTERFACE (iface), 1164s # G_SIGNAL_RUN_LAST, 1164s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g), 1164s # g_signal_accumulator_true_handled, 1164s # NULL, 1164s # org_project_useful_interface_method_marshal_single_arg_method_g, 1164s # G_TYPE_BOOLEAN, 1164s # 1, 1164s # G_TYPE_DBUS_METHOD_INVOCATION); 1164s # 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_call_single_arg_method_g: 1164s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy. 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method. 1164s # */ 1164s # void 1164s # org_project_useful_interface_call_single_arg_method_g ( 1164s # OrgProjectUsefulInterface *proxy, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1164s # "SingleArgMethodG", 1164s # g_variant_new ("()"), 1164s # G_DBUS_CALL_FLAGS_NONE, 1164s # -1, 1164s # cancellable, 1164s # callback, 1164s # user_data); 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_call_single_arg_method_g_finish: 1164s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1164s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore. 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g(). 1164s # * @error: Return location for error or %NULL. 1164s # * 1164s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g(). 1164s # * 1164s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1164s # */ 1164s # gboolean 1164s # org_project_useful_interface_call_single_arg_method_g_finish ( 1164s # OrgProjectUsefulInterface *proxy, 1164s # gchar **out_arg_g, 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GVariant *_ret; 1164s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1164s # if (_ret == NULL) 1164s # goto _out; 1164s # g_variant_get (_ret, 1164s # "(g)", 1164s # out_arg_g); 1164s # g_variant_unref (_ret); 1164s # _out: 1164s # return _ret != NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_call_single_arg_method_g_sync: 1164s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1164s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL. 1164s # * 1164s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method. 1164s # * 1164s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1164s # */ 1164s # gboolean 1164s # org_project_useful_interface_call_single_arg_method_g_sync ( 1164s # OrgProjectUsefulInterface *proxy, 1164s # gchar **out_arg_g, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GVariant *_ret; 1164s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1164s # "SingleArgMethodG", 1164s # g_variant_new ("()"), 1164s # G_DBUS_CALL_FLAGS_NONE, 1164s # -1, 1164s # cancellable, 1164s # error); 1164s # if (_ret == NULL) 1164s # goto _out; 1164s # g_variant_get (_ret, 1164s # "(g)", 1164s # out_arg_g); 1164s # g_variant_unref (_ret); 1164s # _out: 1164s # return _ret != NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_complete_single_arg_method_g: 1164s # * @object: A #OrgProjectUsefulInterface. 1164s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1164s # * @arg_g: Parameter to return. 1164s # * 1164s # * 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. 1164s # * 1164s # * This method will free @invocation, you cannot use it afterwards. 1164s # */ 1164s # void 1164s # org_project_useful_interface_complete_single_arg_method_g ( 1164s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1164s # GDBusMethodInvocation *invocation, 1164s # const gchar *arg_g) 1164s # { 1164s # g_dbus_method_invocation_return_value (invocation, 1164s # g_variant_new ("(g)", 1164s # arg_g)); 1164s # } 1164s # 1164s # /* ------------------------------------------------------------------------ */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceProxy: 1164s # * 1164s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceProxyClass: 1164s # * @parent_class: The parent class. 1164s # * 1164s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1164s # */ 1164s # 1164s # struct _OrgProjectUsefulInterfaceProxyPrivate 1164s # { 1164s # GData *qdata; 1164s # }; 1164s # 1164s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1164s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1164s # 1164s # #else 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1164s # 1164s # #endif 1164s # static void 1164s # org_project_useful_interface_proxy_finalize (GObject *object) 1164s # { 1164s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1164s # g_datalist_clear (&proxy->priv->qdata); 1164s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1164s # guint prop_id G_GNUC_UNUSED, 1164s # GValue *value G_GNUC_UNUSED, 1164s # GParamSpec *pspec G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1164s # guint prop_id G_GNUC_UNUSED, 1164s # const GValue *value G_GNUC_UNUSED, 1164s # GParamSpec *pspec G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1164s # const gchar *sender_name G_GNUC_UNUSED, 1164s # const gchar *signal_name, 1164s # GVariant *parameters) 1164s # { 1164s # _ExtendedGDBusSignalInfo *info; 1164s # GVariantIter iter; 1164s # GVariant *child; 1164s # GValue *paramv; 1164s # gsize num_params; 1164s # gsize n; 1164s # guint signal_id; 1164s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1164s # if (info == NULL) 1164s # return; 1164s # num_params = g_variant_n_children (parameters); 1164s # paramv = g_new0 (GValue, num_params + 1); 1164s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_value_set_object (¶mv[0], proxy); 1164s # g_variant_iter_init (&iter, parameters); 1164s # n = 1; 1164s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1164s # { 1164s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1164s # if (arg_info->use_gvariant) 1164s # { 1164s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1164s # g_value_set_variant (¶mv[n], child); 1164s # n++; 1164s # } 1164s # else 1164s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1164s # g_variant_unref (child); 1164s # } 1164s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_signal_emitv (paramv, signal_id, 0, NULL); 1164s # for (n = 0; n < num_params + 1; n++) 1164s # g_value_unset (¶mv[n]); 1164s # g_free (paramv); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1164s # GVariant *changed_properties, 1164s # const gchar *const *invalidated_properties) 1164s # { 1164s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1164s # guint n; 1164s # const gchar *key; 1164s # GVariantIter *iter; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # g_variant_get (changed_properties, "a{sv}", &iter); 1164s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1164s # { 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1164s # g_datalist_remove_data (&proxy->priv->qdata, key); 1164s # if (info != NULL) 1164s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1164s # } 1164s # g_variant_iter_free (iter); 1164s # for (n = 0; invalidated_properties[n] != NULL; n++) 1164s # { 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1164s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1164s # if (info != NULL) 1164s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1164s # } 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1164s # { 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1164s # #else 1164s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1164s # #endif 1164s # 1164s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1164s # { 1164s # GObjectClass *gobject_class; 1164s # GDBusProxyClass *proxy_class; 1164s # 1164s # gobject_class = G_OBJECT_CLASS (klass); 1164s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1164s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1164s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1164s # 1164s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1164s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1164s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1164s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1164s # #endif 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new: 1164s # * @connection: A #GDBusConnection. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1164s # * 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1164s # */ 1164s # void 1164s # org_project_useful_interface_proxy_new ( 1164s # GDBusConnection *connection, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # g_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); 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_finish: 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_finish ( 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GObject *ret; 1164s # GObject *source_object; 1164s # source_object = g_async_result_get_source_object (res); 1164s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1164s # g_object_unref (source_object); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_sync: 1164s # * @connection: A #GDBusConnection. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1164s # * 1164s # * The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_sync ( 1164s # GDBusConnection *connection, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GInitable *ret; 1164s # 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); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_for_bus: 1164s # * @bus_type: A #GBusType. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: A bus name (well-known or unique). 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1164s # * 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1164s # */ 1164s # void 1164s # org_project_useful_interface_proxy_new_for_bus ( 1164s # GBusType bus_type, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # g_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); 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_for_bus_finish: 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_for_bus_finish ( 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GObject *ret; 1164s # GObject *source_object; 1164s # source_object = g_async_result_get_source_object (res); 1164s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1164s # g_object_unref (source_object); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_for_bus_sync: 1164s # * @bus_type: A #GBusType. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: A bus name (well-known or unique). 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1164s # * 1164s # * The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_for_bus_sync ( 1164s # GBusType bus_type, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GInitable *ret; 1164s # 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); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # 1164s # /* ------------------------------------------------------------------------ */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceSkeleton: 1164s # * 1164s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceSkeletonClass: 1164s # * @parent_class: The parent class. 1164s # * 1164s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1164s # */ 1164s # 1164s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1164s # { 1164s # GValue *properties; 1164s # GList *changed_properties; 1164s # GSource *changed_properties_idle_source; 1164s # GMainContext *context; 1164s # GMutex lock; 1164s # }; 1164s # 1164s # static void 1164s # _org_project_useful_interface_skeleton_handle_method_call ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name, 1164s # const gchar *method_name, 1164s # GVariant *parameters, 1164s # GDBusMethodInvocation *invocation, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1164s # _ExtendedGDBusMethodInfo *info; 1164s # GVariantIter iter; 1164s # GVariant *child; 1164s # GValue *paramv; 1164s # gsize num_params; 1164s # guint num_extra; 1164s # gsize n; 1164s # guint signal_id; 1164s # GValue return_value = G_VALUE_INIT; 1164s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1164s # g_assert (info != NULL); 1164s # num_params = g_variant_n_children (parameters); 1164s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1164s # n = 0; 1164s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_value_set_object (¶mv[n++], skeleton); 1164s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1164s # g_value_set_object (¶mv[n++], invocation); 1164s # if (info->pass_fdlist) 1164s # { 1164s # #ifdef G_OS_UNIX 1164s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1164s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1164s # #else 1164s # g_assert_not_reached (); 1164s # #endif 1164s # } 1164s # g_variant_iter_init (&iter, parameters); 1164s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1164s # { 1164s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1164s # if (arg_info->use_gvariant) 1164s # { 1164s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1164s # g_value_set_variant (¶mv[n], child); 1164s # n++; 1164s # } 1164s # else 1164s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1164s # g_variant_unref (child); 1164s # } 1164s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1164s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1164s # if (!g_value_get_boolean (&return_value)) 1164s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1164s # g_value_unset (&return_value); 1164s # for (n = 0; n < num_params + num_extra; n++) 1164s # g_value_unset (¶mv[n]); 1164s # g_free (paramv); 1164s # } 1164s # 1164s # static GVariant * 1164s # _org_project_useful_interface_skeleton_handle_get_property ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name G_GNUC_UNUSED, 1164s # const gchar *property_name, 1164s # GError **error, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1164s # GValue value = G_VALUE_INIT; 1164s # GParamSpec *pspec; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # GVariant *ret; 1164s # ret = NULL; 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1164s # g_assert (info != NULL); 1164s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1164s # if (pspec == NULL) 1164s # { 1164s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1164s # } 1164s # else 1164s # { 1164s # g_value_init (&value, pspec->value_type); 1164s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1164s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1164s # g_value_unset (&value); 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static gboolean 1164s # _org_project_useful_interface_skeleton_handle_set_property ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name G_GNUC_UNUSED, 1164s # const gchar *property_name, 1164s # GVariant *variant, 1164s # GError **error, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1164s # GValue value = G_VALUE_INIT; 1164s # GParamSpec *pspec; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # gboolean ret; 1164s # ret = FALSE; 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1164s # g_assert (info != NULL); 1164s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1164s # if (pspec == NULL) 1164s # { 1164s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1164s # } 1164s # else 1164s # { 1164s # if (info->use_gvariant) 1164s # g_value_set_variant (&value, variant); 1164s # else 1164s # g_dbus_gvariant_to_gvalue (variant, &value); 1164s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1164s # g_value_unset (&value); 1164s # ret = TRUE; 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1164s # { 1164s # _org_project_useful_interface_skeleton_handle_method_call, 1164s # _org_project_useful_interface_skeleton_handle_get_property, 1164s # _org_project_useful_interface_skeleton_handle_set_property, 1164s # {NULL} 1164s # }; 1164s # 1164s # static GDBusInterfaceInfo * 1164s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1164s # { 1164s # return org_project_useful_interface_interface_info (); 1164s # } 1164s # 1164s # static GDBusInterfaceVTable * 1164s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1164s # { 1164s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1164s # } 1164s # 1164s # static GVariant * 1164s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1164s # 1164s # GVariantBuilder builder; 1164s # guint n; 1164s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1164s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1164s # goto out; 1164s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1164s # { 1164s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1164s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1164s # { 1164s # GVariant *value; 1164s # 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); 1164s # if (value != NULL) 1164s # { 1164s # g_variant_take_ref (value); 1164s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1164s # g_variant_unref (value); 1164s # } 1164s # } 1164s # } 1164s # out: 1164s # return g_variant_builder_end (&builder); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1164s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1164s # 1164s # #else 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1164s # 1164s # #endif 1164s # static void 1164s # org_project_useful_interface_skeleton_finalize (GObject *object) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1164s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1164s # if (skeleton->priv->changed_properties_idle_source != NULL) 1164s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1164s # g_main_context_unref (skeleton->priv->context); 1164s # g_mutex_clear (&skeleton->priv->lock); 1164s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1164s # { 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1164s # #else 1164s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1164s # #endif 1164s # 1164s # g_mutex_init (&skeleton->priv->lock); 1164s # skeleton->priv->context = g_main_context_ref_thread_default (); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1164s # { 1164s # GObjectClass *gobject_class; 1164s # GDBusInterfaceSkeletonClass *skeleton_class; 1164s # 1164s # gobject_class = G_OBJECT_CLASS (klass); 1164s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1164s # 1164s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1164s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1164s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1164s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1164s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1164s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1164s # #endif 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_skeleton_new: 1164s # * 1164s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_skeleton_new (void) 1164s # { 1164s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1164s # } 1164s # /tmp/tmpr495yaem/tmpuqhm1zix.xml: 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpr495yaem/tmpuqhm1zix.xml', '--output', '-', '--body'] 1164s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1164s # Output: /* 1164s # * This file is generated by gdbus-codegen, do not modify it. 1164s # * 1164s # * The license of this code is the same as for the D-Bus interface description 1164s # * it was derived from. Note that it links to GLib, so must comply with the 1164s # * LGPL linking clauses. 1164s # */ 1164s # 1164s # #ifdef HAVE_CONFIG_H 1164s # # include "config.h" 1164s # #endif 1164s # 1164s # #include 1164s # #ifdef G_OS_UNIX 1164s # # include 1164s # #endif 1164s # 1164s # #ifdef G_ENABLE_DEBUG 1164s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1164s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1164s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1164s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1164s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1164s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1164s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1164s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1164s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1164s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1164s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1164s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1164s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1164s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1164s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1164s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1164s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1164s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1164s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1164s # #else /* !G_ENABLE_DEBUG */ 1164s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1164s # * Do not access GValues directly in your code. Instead, use the 1164s # * g_value_get_*() functions 1164s # */ 1164s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1164s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1164s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1164s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1164s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1164s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1164s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1164s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1164s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1164s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1164s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1164s # #endif /* !G_ENABLE_DEBUG */ 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusArgInfo parent_struct; 1164s # gboolean use_gvariant; 1164s # } _ExtendedGDBusArgInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusMethodInfo parent_struct; 1164s # const gchar *signal_name; 1164s # gboolean pass_fdlist; 1164s # } _ExtendedGDBusMethodInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusSignalInfo parent_struct; 1164s # const gchar *signal_name; 1164s # } _ExtendedGDBusSignalInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusPropertyInfo parent_struct; 1164s # const gchar *hyphen_name; 1164s # guint use_gvariant : 1; 1164s # guint emits_changed_signal : 1; 1164s # } _ExtendedGDBusPropertyInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusInterfaceInfo parent_struct; 1164s # const gchar *hyphen_name; 1164s # } _ExtendedGDBusInterfaceInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # const _ExtendedGDBusPropertyInfo *info; 1164s # guint prop_id; 1164s # GValue orig_value; /* the value before the change */ 1164s # } ChangedProperty; 1164s # 1164s # static void 1164s # _changed_property_free (ChangedProperty *data) 1164s # { 1164s # g_value_unset (&data->orig_value); 1164s # g_free (data); 1164s # } 1164s # 1164s # static gboolean 1164s # _g_strv_equal0 (gchar **a, gchar **b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # guint n; 1164s # if (a == NULL && b == NULL) 1164s # { 1164s # ret = TRUE; 1164s # goto out; 1164s # } 1164s # if (a == NULL || b == NULL) 1164s # goto out; 1164s # if (g_strv_length (a) != g_strv_length (b)) 1164s # goto out; 1164s # for (n = 0; a[n] != NULL; n++) 1164s # if (g_strcmp0 (a[n], b[n]) != 0) 1164s # goto out; 1164s # ret = TRUE; 1164s # out: 1164s # return ret; 1164s # } 1164s # 1164s # static gboolean 1164s # _g_variant_equal0 (GVariant *a, GVariant *b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # if (a == NULL && b == NULL) 1164s # { 1164s # ret = TRUE; 1164s # goto out; 1164s # } 1164s # if (a == NULL || b == NULL) 1164s # goto out; 1164s # ret = g_variant_equal (a, b); 1164s # out: 1164s # return ret; 1164s # } 1164s # 1164s # G_GNUC_UNUSED static gboolean 1164s # _g_value_equal (const GValue *a, const GValue *b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1164s # switch (G_VALUE_TYPE (a)) 1164s # { 1164s # case G_TYPE_BOOLEAN: 1164s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1164s # break; 1164s # case G_TYPE_UCHAR: 1164s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1164s # break; 1164s # case G_TYPE_INT: 1164s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1164s # break; 1164s # case G_TYPE_UINT: 1164s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1164s # break; 1164s # case G_TYPE_INT64: 1164s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1164s # break; 1164s # case G_TYPE_UINT64: 1164s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1164s # break; 1164s # case G_TYPE_DOUBLE: 1164s # { 1164s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1164s # gdouble da = g_value_get_double (a); 1164s # gdouble db = g_value_get_double (b); 1164s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1164s # } 1164s # break; 1164s # case G_TYPE_STRING: 1164s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1164s # break; 1164s # case G_TYPE_VARIANT: 1164s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1164s # break; 1164s # default: 1164s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1164s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1164s # else 1164s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1164s # break; 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static void 1164s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1164s # GClosure *closure, 1164s # GValue *return_value, 1164s # unsigned int n_param_values, 1164s # const GValue *param_values, 1164s # void *invocation_hint G_GNUC_UNUSED, 1164s # void *marshal_data) 1164s # { 1164s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1164s # (void *data1, 1164s # GDBusMethodInvocation *arg_method_invocation, 1164s # void *data2); 1164s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1164s # GCClosure *cc = (GCClosure*) closure; 1164s # void *data1, *data2; 1164s # gboolean v_return; 1164s # 1164s # g_return_if_fail (return_value != NULL); 1164s # g_return_if_fail (n_param_values == 2); 1164s # 1164s # if (G_CCLOSURE_SWAP_DATA (closure)) 1164s # { 1164s # data1 = closure->data; 1164s # data2 = g_value_peek_pointer (param_values + 0); 1164s # } 1164s # else 1164s # { 1164s # data1 = g_value_peek_pointer (param_values + 0); 1164s # data2 = closure->data; 1164s # } 1164s # 1164s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1164s # (marshal_data ? marshal_data : cc->callback); 1164s # 1164s # v_return = 1164s # callback (data1, 1164s # g_marshal_value_peek_object (param_values + 1), 1164s # data2); 1164s # 1164s # g_value_set_boolean (return_value, v_return); 1164s # } 1164s # 1164s # /* ------------------------------------------------------------------------ 1164s # * Code for interface org.project.UsefulInterface 1164s # * ------------------------------------------------------------------------ 1164s # */ 1164s # 1164s # /** 1164s # * SECTION:OrgProjectUsefulInterface 1164s # * @title: OrgProjectUsefulInterface 1164s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1164s # * 1164s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1164s # */ 1164s # 1164s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "arg_h", 1164s # (gchar *) "h", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers[] = 1164s # { 1164s # &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h.parent_struct, 1164s # NULL 1164s # }; 1164s # 1164s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "SingleArgMethodH", 1164s # NULL, 1164s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers, 1164s # NULL 1164s # }, 1164s # "handle-single-arg-method-h", 1164s # FALSE 1164s # }; 1164s # 1164s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1164s # { 1164s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct, 1164s # NULL 1164s # }; 1164s # 1164s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "org.project.UsefulInterface", 1164s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1164s # NULL, 1164s # NULL, 1164s # NULL 1164s # }, 1164s # "org-project-useful-interface", 1164s # }; 1164s # 1164s # 1164s # /** 1164s # * org_project_useful_interface_interface_info: 1164s # * 1164s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1164s # * 1164s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1164s # */ 1164s # GDBusInterfaceInfo * 1164s # org_project_useful_interface_interface_info (void) 1164s # { 1164s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_override_properties: 1164s # * @klass: The class structure for a #GObject derived class. 1164s # * @property_id_begin: The property id to assign to the first overridden property. 1164s # * 1164s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1164s # * The properties are overridden in the order they are defined. 1164s # * 1164s # * Returns: The last property id. 1164s # */ 1164s # guint 1164s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1164s # { 1164s # return property_id_begin - 1; 1164s # } 1164s # 1164s # 1164s # inline static void 1164s # org_project_useful_interface_method_marshal_single_arg_method_h ( 1164s # GClosure *closure, 1164s # GValue *return_value, 1164s # unsigned int n_param_values, 1164s # const GValue *param_values, 1164s # void *invocation_hint, 1164s # void *marshal_data) 1164s # { 1164s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1164s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1164s # } 1164s # 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterface: 1164s # * 1164s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceIface: 1164s # * @parent_iface: The parent interface. 1164s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal. 1164s # * 1164s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1164s # */ 1164s # 1164s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1164s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1164s # 1164s # static void 1164s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1164s # { 1164s # /* GObject signals for incoming D-Bus method calls: */ 1164s # /** 1164s # * OrgProjectUsefulInterface::handle-single-arg-method-h: 1164s # * @object: A #OrgProjectUsefulInterface. 1164s # * @invocation: A #GDBusMethodInvocation. 1164s # * 1164s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method. 1164s # * 1164s # * 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. 1164s # * 1164s # * 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. 1164s # */ 1164s # g_signal_new ("handle-single-arg-method-h", 1164s # G_TYPE_FROM_INTERFACE (iface), 1164s # G_SIGNAL_RUN_LAST, 1164s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h), 1164s # g_signal_accumulator_true_handled, 1164s # NULL, 1164s # org_project_useful_interface_method_marshal_single_arg_method_h, 1164s # G_TYPE_BOOLEAN, 1164s # 1, 1164s # G_TYPE_DBUS_METHOD_INVOCATION); 1164s # 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_call_single_arg_method_h: 1164s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy. 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method. 1164s # */ 1164s # void 1164s # org_project_useful_interface_call_single_arg_method_h ( 1164s # OrgProjectUsefulInterface *proxy, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1164s # "SingleArgMethodH", 1164s # g_variant_new ("()"), 1164s # G_DBUS_CALL_FLAGS_NONE, 1164s # -1, 1164s # cancellable, 1164s # callback, 1164s # user_data); 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_call_single_arg_method_h_finish: 1164s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1164s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore. 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h(). 1164s # * @error: Return location for error or %NULL. 1164s # * 1164s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h(). 1164s # * 1164s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1164s # */ 1164s # gboolean 1164s # org_project_useful_interface_call_single_arg_method_h_finish ( 1164s # OrgProjectUsefulInterface *proxy, 1164s # GVariant **out_arg_h, 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GVariant *_ret; 1164s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1164s # if (_ret == NULL) 1164s # goto _out; 1164s # g_variant_get (_ret, 1164s # "(@h)", 1164s # out_arg_h); 1164s # g_variant_unref (_ret); 1164s # _out: 1164s # return _ret != NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_call_single_arg_method_h_sync: 1164s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1164s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL. 1164s # * 1164s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method. 1164s # * 1164s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1164s # */ 1164s # gboolean 1164s # org_project_useful_interface_call_single_arg_method_h_sync ( 1164s # OrgProjectUsefulInterface *proxy, 1164s # GVariant **out_arg_h, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GVariant *_ret; 1164s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1164s # "SingleArgMethodH", 1164s # g_variant_new ("()"), 1164s # G_DBUS_CALL_FLAGS_NONE, 1164s # -1, 1164s # cancellable, 1164s # error); 1164s # if (_ret == NULL) 1164s # goto _out; 1164s # g_variant_get (_ret, 1164s # "(@h)", 1164s # out_arg_h); 1164s # g_variant_unref (_ret); 1164s # _out: 1164s # return _ret != NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_complete_single_arg_method_h: 1164s # * @object: A #OrgProjectUsefulInterface. 1164s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1164s # * @arg_h: Parameter to return. 1164s # * 1164s # * 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. 1164s # * 1164s # * This method will free @invocation, you cannot use it afterwards. 1164s # */ 1164s # void 1164s # org_project_useful_interface_complete_single_arg_method_h ( 1164s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1164s # GDBusMethodInvocation *invocation, 1164s # GVariant *arg_h) 1164s # { 1164s # g_dbus_method_invocation_return_value (invocation, 1164s # g_variant_new ("(@h)", 1164s # arg_h)); 1164s # } 1164s # 1164s # /* ------------------------------------------------------------------------ */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceProxy: 1164s # * 1164s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceProxyClass: 1164s # * @parent_class: The parent class. 1164s # * 1164s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1164s # */ 1164s # 1164s # struct _OrgProjectUsefulInterfaceProxyPrivate 1164s # { 1164s # GData *qdata; 1164s # }; 1164s # 1164s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1164s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1164s # 1164s # #else 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1164s # 1164s # #endif 1164s # static void 1164s # org_project_useful_interface_proxy_finalize (GObject *object) 1164s # { 1164s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1164s # g_datalist_clear (&proxy->priv->qdata); 1164s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1164s # guint prop_id G_GNUC_UNUSED, 1164s # GValue *value G_GNUC_UNUSED, 1164s # GParamSpec *pspec G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1164s # guint prop_id G_GNUC_UNUSED, 1164s # const GValue *value G_GNUC_UNUSED, 1164s # GParamSpec *pspec G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1164s # const gchar *sender_name G_GNUC_UNUSED, 1164s # const gchar *signal_name, 1164s # GVariant *parameters) 1164s # { 1164s # _ExtendedGDBusSignalInfo *info; 1164s # GVariantIter iter; 1164s # GVariant *child; 1164s # GValue *paramv; 1164s # gsize num_params; 1164s # gsize n; 1164s # guint signal_id; 1164s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1164s # if (info == NULL) 1164s # return; 1164s # num_params = g_variant_n_children (parameters); 1164s # paramv = g_new0 (GValue, num_params + 1); 1164s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_value_set_object (¶mv[0], proxy); 1164s # g_variant_iter_init (&iter, parameters); 1164s # n = 1; 1164s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1164s # { 1164s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1164s # if (arg_info->use_gvariant) 1164s # { 1164s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1164s # g_value_set_variant (¶mv[n], child); 1164s # n++; 1164s # } 1164s # else 1164s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1164s # g_variant_unref (child); 1164s # } 1164s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_signal_emitv (paramv, signal_id, 0, NULL); 1164s # for (n = 0; n < num_params + 1; n++) 1164s # g_value_unset (¶mv[n]); 1164s # g_free (paramv); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1164s # GVariant *changed_properties, 1164s # const gchar *const *invalidated_properties) 1164s # { 1164s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1164s # guint n; 1164s # const gchar *key; 1164s # GVariantIter *iter; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # g_variant_get (changed_properties, "a{sv}", &iter); 1164s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1164s # { 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1164s # g_datalist_remove_data (&proxy->priv->qdata, key); 1164s # if (info != NULL) 1164s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1164s # } 1164s # g_variant_iter_free (iter); 1164s # for (n = 0; invalidated_properties[n] != NULL; n++) 1164s # { 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1164s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1164s # if (info != NULL) 1164s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1164s # } 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1164s # { 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1164s # #else 1164s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1164s # #endif 1164s # 1164s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1164s # { 1164s # GObjectClass *gobject_class; 1164s # GDBusProxyClass *proxy_class; 1164s # 1164s # gobject_class = G_OBJECT_CLASS (klass); 1164s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1164s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1164s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1164s # 1164s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1164s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1164s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1164s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1164s # #endif 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new: 1164s # * @connection: A #GDBusConnection. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1164s # * 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1164s # */ 1164s # void 1164s # org_project_useful_interface_proxy_new ( 1164s # GDBusConnection *connection, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # g_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); 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_finish: 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_finish ( 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GObject *ret; 1164s # GObject *source_object; 1164s # source_object = g_async_result_get_source_object (res); 1164s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1164s # g_object_unref (source_object); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_sync: 1164s # * @connection: A #GDBusConnection. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1164s # * 1164s # * The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_sync ( 1164s # GDBusConnection *connection, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GInitable *ret; 1164s # 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); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_for_bus: 1164s # * @bus_type: A #GBusType. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: A bus name (well-known or unique). 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1164s # * 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1164s # */ 1164s # void 1164s # org_project_useful_interface_proxy_new_for_bus ( 1164s # GBusType bus_type, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # g_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); 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_for_bus_finish: 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_for_bus_finish ( 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GObject *ret; 1164s # GObject *source_object; 1164s # source_object = g_async_result_get_source_object (res); 1164s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1164s # g_object_unref (source_object); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_for_bus_sync: 1164s # * @bus_type: A #GBusType. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: A bus name (well-known or unique). 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1164s # * 1164s # * The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_for_bus_sync ( 1164s # GBusType bus_type, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GInitable *ret; 1164s # 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); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # 1164s # /* ------------------------------------------------------------------------ */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceSkeleton: 1164s # * 1164s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceSkeletonClass: 1164s # * @parent_class: The parent class. 1164s # * 1164s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1164s # */ 1164s # 1164s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1164s # { 1164s # GValue *properties; 1164s # GList *changed_properties; 1164s # GSource *changed_properties_idle_source; 1164s # GMainContext *context; 1164s # GMutex lock; 1164s # }; 1164s # 1164s # static void 1164s # _org_project_useful_interface_skeleton_handle_method_call ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name, 1164s # const gchar *method_name, 1164s # GVariant *parameters, 1164s # GDBusMethodInvocation *invocation, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1164s # _ExtendedGDBusMethodInfo *info; 1164s # GVariantIter iter; 1164s # GVariant *child; 1164s # GValue *paramv; 1164s # gsize num_params; 1164s # guint num_extra; 1164s # gsize n; 1164s # guint signal_id; 1164s # GValue return_value = G_VALUE_INIT; 1164s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1164s # g_assert (info != NULL); 1164s # num_params = g_variant_n_children (parameters); 1164s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1164s # n = 0; 1164s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_value_set_object (¶mv[n++], skeleton); 1164s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1164s # g_value_set_object (¶mv[n++], invocation); 1164s # if (info->pass_fdlist) 1164s # { 1164s # #ifdef G_OS_UNIX 1164s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1164s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1164s # #else 1164s # g_assert_not_reached (); 1164s # #endif 1164s # } 1164s # g_variant_iter_init (&iter, parameters); 1164s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1164s # { 1164s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1164s # if (arg_info->use_gvariant) 1164s # { 1164s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1164s # g_value_set_variant (¶mv[n], child); 1164s # n++; 1164s # } 1164s # else 1164s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1164s # g_variant_unref (child); 1164s # } 1164s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1164s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1164s # if (!g_value_get_boolean (&return_value)) 1164s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1164s # g_value_unset (&return_value); 1164s # for (n = 0; n < num_params + num_extra; n++) 1164s # g_value_unset (¶mv[n]); 1164s # g_free (paramv); 1164s # } 1164s # 1164s # static GVariant * 1164s # _org_project_useful_interface_skeleton_handle_get_property ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name G_GNUC_UNUSED, 1164s # const gchar *property_name, 1164s # GError **error, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1164s # GValue value = G_VALUE_INIT; 1164s # GParamSpec *pspec; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # GVariant *ret; 1164s # ret = NULL; 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1164s # g_assert (info != NULL); 1164s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1164s # if (pspec == NULL) 1164s # { 1164s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1164s # } 1164s # else 1164s # { 1164s # g_value_init (&value, pspec->value_type); 1164s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1164s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1164s # g_value_unset (&value); 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static gboolean 1164s # _org_project_useful_interface_skeleton_handle_set_property ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name G_GNUC_UNUSED, 1164s # const gchar *property_name, 1164s # GVariant *variant, 1164s # GError **error, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1164s # GValue value = G_VALUE_INIT; 1164s # GParamSpec *pspec; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # gboolean ret; 1164s # ret = FALSE; 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1164s # g_assert (info != NULL); 1164s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1164s # if (pspec == NULL) 1164s # { 1164s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1164s # } 1164s # else 1164s # { 1164s # if (info->use_gvariant) 1164s # g_value_set_variant (&value, variant); 1164s # else 1164s # g_dbus_gvariant_to_gvalue (variant, &value); 1164s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1164s # g_value_unset (&value); 1164s # ret = TRUE; 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1164s # { 1164s # _org_project_useful_interface_skeleton_handle_method_call, 1164s # _org_project_useful_interface_skeleton_handle_get_property, 1164s # _org_project_useful_interface_skeleton_handle_set_property, 1164s # {NULL} 1164s # }; 1164s # 1164s # static GDBusInterfaceInfo * 1164s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1164s # { 1164s # return org_project_useful_interface_interface_info (); 1164s # } 1164s # 1164s # static GDBusInterfaceVTable * 1164s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1164s # { 1164s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1164s # } 1164s # 1164s # static GVariant * 1164s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1164s # 1164s # GVariantBuilder builder; 1164s # guint n; 1164s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1164s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1164s # goto out; 1164s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1164s # { 1164s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1164s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1164s # { 1164s # GVariant *value; 1164s # 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); 1164s # if (value != NULL) 1164s # { 1164s # g_variant_take_ref (value); 1164s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1164s # g_variant_unref (value); 1164s # } 1164s # } 1164s # } 1164s # out: 1164s # return g_variant_builder_end (&builder); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1164s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1164s # 1164s # #else 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1164s # 1164s # #endif 1164s # static void 1164s # org_project_useful_interface_skeleton_finalize (GObject *object) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1164s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1164s # if (skeleton->priv->changed_properties_idle_source != NULL) 1164s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1164s # g_main_context_unref (skeleton->priv->context); 1164s # g_mutex_clear (&skeleton->priv->lock); 1164s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1164s # { 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1164s # #else 1164s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1164s # #endif 1164s # 1164s # g_mutex_init (&skeleton->priv->lock); 1164s # skeleton->priv->context = g_main_context_ref_thread_default (); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1164s # { 1164s # GObjectClass *gobject_class; 1164s # GDBusInterfaceSkeletonClass *skeleton_class; 1164s # 1164s # gobject_class = G_OBJECT_CLASS (klass); 1164s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1164s # 1164s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1164s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1164s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1164s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1164s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1164s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1164s # #endif 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_skeleton_new: 1164s # * 1164s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_skeleton_new (void) 1164s # { 1164s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1164s # } 1164s # /tmp/tmpr495yaem/tmp10_ep59n.xml: 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpr495yaem/tmp10_ep59n.xml', '--output', '-', '--body'] 1164s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1164s # Output: /* 1164s # * This file is generated by gdbus-codegen, do not modify it. 1164s # * 1164s # * The license of this code is the same as for the D-Bus interface description 1164s # * it was derived from. Note that it links to GLib, so must comply with the 1164s # * LGPL linking clauses. 1164s # */ 1164s # 1164s # #ifdef HAVE_CONFIG_H 1164s # # include "config.h" 1164s # #endif 1164s # 1164s # #include 1164s # #ifdef G_OS_UNIX 1164s # # include 1164s # #endif 1164s # 1164s # #ifdef G_ENABLE_DEBUG 1164s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1164s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1164s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1164s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1164s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1164s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1164s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1164s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1164s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1164s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1164s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1164s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1164s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1164s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1164s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1164s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1164s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1164s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1164s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1164s # #else /* !G_ENABLE_DEBUG */ 1164s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1164s # * Do not access GValues directly in your code. Instead, use the 1164s # * g_value_get_*() functions 1164s # */ 1164s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1164s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1164s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1164s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1164s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1164s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1164s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1164s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1164s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1164s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1164s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1164s # #endif /* !G_ENABLE_DEBUG */ 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusArgInfo parent_struct; 1164s # gboolean use_gvariant; 1164s # } _ExtendedGDBusArgInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusMethodInfo parent_struct; 1164s # const gchar *signal_name; 1164s # gboolean pass_fdlist; 1164s # } _ExtendedGDBusMethodInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusSignalInfo parent_struct; 1164s # const gchar *signal_name; 1164s # } _ExtendedGDBusSignalInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusPropertyInfo parent_struct; 1164s # const gchar *hyphen_name; 1164s # guint use_gvariant : 1; 1164s # guint emits_changed_signal : 1; 1164s # } _ExtendedGDBusPropertyInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusInterfaceInfo parent_struct; 1164s # const gchar *hyphen_name; 1164s # } _ExtendedGDBusInterfaceInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # const _ExtendedGDBusPropertyInfo *info; 1164s # guint prop_id; 1164s # GValue orig_value; /* the value before the change */ 1164s # } ChangedProperty; 1164s # 1164s # static void 1164s # _changed_property_free (ChangedProperty *data) 1164s # { 1164s # g_value_unset (&data->orig_value); 1164s # g_free (data); 1164s # } 1164s # 1164s # static gboolean 1164s # _g_strv_equal0 (gchar **a, gchar **b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # guint n; 1164s # if (a == NULL && b == NULL) 1164s # { 1164s # ret = TRUE; 1164s # goto out; 1164s # } 1164s # if (a == NULL || b == NULL) 1164s # goto out; 1164s # if (g_strv_length (a) != g_strv_length (b)) 1164s # goto out; 1164s # for (n = 0; a[n] != NULL; n++) 1164s # if (g_strcmp0 (a[n], b[n]) != 0) 1164s # goto out; 1164s # ret = TRUE; 1164s # out: 1164s # return ret; 1164s # } 1164s # 1164s # static gboolean 1164s # _g_variant_equal0 (GVariant *a, GVariant *b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # if (a == NULL && b == NULL) 1164s # { 1164s # ret = TRUE; 1164s # goto out; 1164s # } 1164s # if (a == NULL || b == NULL) 1164s # goto out; 1164s # ret = g_variant_equal (a, b); 1164s # out: 1164s # return ret; 1164s # } 1164s # 1164s # G_GNUC_UNUSED static gboolean 1164s # _g_value_equal (const GValue *a, const GValue *b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1164s # switch (G_VALUE_TYPE (a)) 1164s # { 1164s # case G_TYPE_BOOLEAN: 1164s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1164s # break; 1164s # case G_TYPE_UCHAR: 1164s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1164s # break; 1164s # case G_TYPE_INT: 1164s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1164s # break; 1164s # case G_TYPE_UINT: 1164s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1164s # break; 1164s # case G_TYPE_INT64: 1164s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1164s # break; 1164s # case G_TYPE_UINT64: 1164s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1164s # break; 1164s # case G_TYPE_DOUBLE: 1164s # { 1164s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1164s # gdouble da = g_value_get_double (a); 1164s # gdouble db = g_value_get_double (b); 1164s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1164s # } 1164s # break; 1164s # case G_TYPE_STRING: 1164s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1164s # break; 1164s # case G_TYPE_VARIANT: 1164s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1164s # break; 1164s # default: 1164s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1164s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1164s # else 1164s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1164s # break; 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static void 1164s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1164s # GClosure *closure, 1164s # GValue *return_value, 1164s # unsigned int n_param_values, 1164s # const GValue *param_values, 1164s # void *invocation_hint G_GNUC_UNUSED, 1164s # void *marshal_data) 1164s # { 1164s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1164s # (void *data1, 1164s # GDBusMethodInvocation *arg_method_invocation, 1164s # void *data2); 1164s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1164s # GCClosure *cc = (GCClosure*) closure; 1164s # void *data1, *data2; 1164s # gboolean v_return; 1164s # 1164s # g_return_if_fail (return_value != NULL); 1164s # g_return_if_fail (n_param_values == 2); 1164s # 1164s # if (G_CCLOSURE_SWAP_DATA (closure)) 1164s # { 1164s # data1 = closure->data; 1164s # data2 = g_value_peek_pointer (param_values + 0); 1164s # } 1164s # else 1164s # { 1164s # data1 = g_value_peek_pointer (param_values + 0); 1164s # data2 = closure->data; 1164s # } 1164s # 1164s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1164s # (marshal_data ? marshal_data : cc->callback); 1164s # 1164s # v_return = 1164s # callback (data1, 1164s # g_marshal_value_peek_object (param_values + 1), 1164s # data2); 1164s # 1164s # g_value_set_boolean (return_value, v_return); 1164s # } 1164s # 1164s # /* ------------------------------------------------------------------------ 1164s # * Code for interface org.project.UsefulInterface 1164s # * ------------------------------------------------------------------------ 1164s # */ 1164s # 1164s # /** 1164s # * SECTION:OrgProjectUsefulInterface 1164s # * @title: OrgProjectUsefulInterface 1164s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1164s # * 1164s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1164s # */ 1164s # 1164s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "arg_ay", 1164s # (gchar *) "ay", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers[] = 1164s # { 1164s # &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay.parent_struct, 1164s # NULL 1164s # }; 1164s # 1164s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "SingleArgMethodAy", 1164s # NULL, 1164s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers, 1164s # NULL 1164s # }, 1164s # "handle-single-arg-method-ay", 1164s # FALSE 1164s # }; 1164s # 1164s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1164s # { 1164s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct, 1164s # NULL 1164s # }; 1164s # 1164s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "org.project.UsefulInterface", 1164s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1164s # NULL, 1164s # NULL, 1164s # NULL 1164s # }, 1164s # "org-project-useful-interface", 1164s # }; 1164s # 1164s # 1164s # /** 1164s # * org_project_useful_interface_interface_info: 1164s # * 1164s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1164s # * 1164s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1164s # */ 1164s # GDBusInterfaceInfo * 1164s # org_project_useful_interface_interface_info (void) 1164s # { 1164s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_override_properties: 1164s # * @klass: The class structure for a #GObject derived class. 1164s # * @property_id_begin: The property id to assign to the first overridden property. 1164s # * 1164s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1164s # * The properties are overridden in the order they are defined. 1164s # * 1164s # * Returns: The last property id. 1164s # */ 1164s # guint 1164s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1164s # { 1164s # return property_id_begin - 1; 1164s # } 1164s # 1164s # 1164s # inline static void 1164s # org_project_useful_interface_method_marshal_single_arg_method_ay ( 1164s # GClosure *closure, 1164s # GValue *return_value, 1164s # unsigned int n_param_values, 1164s # const GValue *param_values, 1164s # void *invocation_hint, 1164s # void *marshal_data) 1164s # { 1164s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1164s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1164s # } 1164s # 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterface: 1164s # * 1164s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceIface: 1164s # * @parent_iface: The parent interface. 1164s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal. 1164s # * 1164s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1164s # */ 1164s # 1164s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1164s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1164s # 1164s # static void 1164s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1164s # { 1164s # /* GObject signals for incoming D-Bus method calls: */ 1164s # /** 1164s # * OrgProjectUsefulInterface::handle-single-arg-method-ay: 1164s # * @object: A #OrgProjectUsefulInterface. 1164s # * @invocation: A #GDBusMethodInvocation. 1164s # * 1164s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method. 1164s # * 1164s # * 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. 1164s # * 1164s # * 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. 1164s # */ 1164s # g_signal_new ("handle-single-arg-method-ay", 1164s # G_TYPE_FROM_INTERFACE (iface), 1164s # G_SIGNAL_RUN_LAST, 1164s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay), 1164s # g_signal_accumulator_true_handled, 1164s # NULL, 1164s # org_project_useful_interface_method_marshal_single_arg_method_ay, 1164s # G_TYPE_BOOLEAN, 1164s # 1, 1164s # G_TYPE_DBUS_METHOD_INVOCATION); 1164s # 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_call_single_arg_method_ay: 1164s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method. 1164s # */ 1164s # void 1164s # org_project_useful_interface_call_single_arg_method_ay ( 1164s # OrgProjectUsefulInterface *proxy, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1164s # "SingleArgMethodAy", 1164s # g_variant_new ("()"), 1164s # G_DBUS_CALL_FLAGS_NONE, 1164s # -1, 1164s # cancellable, 1164s # callback, 1164s # user_data); 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_call_single_arg_method_ay_finish: 1164s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1164s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay(). 1164s # * @error: Return location for error or %NULL. 1164s # * 1164s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay(). 1164s # * 1164s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1164s # */ 1164s # gboolean 1164s # org_project_useful_interface_call_single_arg_method_ay_finish ( 1164s # OrgProjectUsefulInterface *proxy, 1164s # gchar **out_arg_ay, 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GVariant *_ret; 1164s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1164s # if (_ret == NULL) 1164s # goto _out; 1164s # g_variant_get (_ret, 1164s # "(^ay)", 1164s # out_arg_ay); 1164s # g_variant_unref (_ret); 1164s # _out: 1164s # return _ret != NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_call_single_arg_method_ay_sync: 1164s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1164s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL. 1164s # * 1164s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method. 1164s # * 1164s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1164s # */ 1164s # gboolean 1164s # org_project_useful_interface_call_single_arg_method_ay_sync ( 1164s # OrgProjectUsefulInterface *proxy, 1164s # gchar **out_arg_ay, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GVariant *_ret; 1164s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1164s # "SingleArgMethodAy", 1164s # g_variant_new ("()"), 1164s # G_DBUS_CALL_FLAGS_NONE, 1164s # -1, 1164s # cancellable, 1164s # error); 1164s # if (_ret == NULL) 1164s # goto _out; 1164s # g_variant_get (_ret, 1164s # "(^ay)", 1164s # out_arg_ay); 1164s # g_variant_unref (_ret); 1164s # _out: 1164s # return _ret != NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_complete_single_arg_method_ay: 1164s # * @object: A #OrgProjectUsefulInterface. 1164s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1164s # * @arg_ay: Parameter to return. 1164s # * 1164s # * 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. 1164s # * 1164s # * This method will free @invocation, you cannot use it afterwards. 1164s # */ 1164s # void 1164s # org_project_useful_interface_complete_single_arg_method_ay ( 1164s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1164s # GDBusMethodInvocation *invocation, 1164s # const gchar *arg_ay) 1164s # { 1164s # g_dbus_method_invocation_return_value (invocation, 1164s # g_variant_new ("(^ay)", 1164s # arg_ay)); 1164s # } 1164s # 1164s # /* ------------------------------------------------------------------------ */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceProxy: 1164s # * 1164s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceProxyClass: 1164s # * @parent_class: The parent class. 1164s # * 1164s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1164s # */ 1164s # 1164s # struct _OrgProjectUsefulInterfaceProxyPrivate 1164s # { 1164s # GData *qdata; 1164s # }; 1164s # 1164s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1164s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1164s # 1164s # #else 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1164s # 1164s # #endif 1164s # static void 1164s # org_project_useful_interface_proxy_finalize (GObject *object) 1164s # { 1164s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1164s # g_datalist_clear (&proxy->priv->qdata); 1164s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1164s # guint prop_id G_GNUC_UNUSED, 1164s # GValue *value G_GNUC_UNUSED, 1164s # GParamSpec *pspec G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1164s # guint prop_id G_GNUC_UNUSED, 1164s # const GValue *value G_GNUC_UNUSED, 1164s # GParamSpec *pspec G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1164s # const gchar *sender_name G_GNUC_UNUSED, 1164s # const gchar *signal_name, 1164s # GVariant *parameters) 1164s # { 1164s # _ExtendedGDBusSignalInfo *info; 1164s # GVariantIter iter; 1164s # GVariant *child; 1164s # GValue *paramv; 1164s # gsize num_params; 1164s # gsize n; 1164s # guint signal_id; 1164s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1164s # if (info == NULL) 1164s # return; 1164s # num_params = g_variant_n_children (parameters); 1164s # paramv = g_new0 (GValue, num_params + 1); 1164s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_value_set_object (¶mv[0], proxy); 1164s # g_variant_iter_init (&iter, parameters); 1164s # n = 1; 1164s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1164s # { 1164s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1164s # if (arg_info->use_gvariant) 1164s # { 1164s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1164s # g_value_set_variant (¶mv[n], child); 1164s # n++; 1164s # } 1164s # else 1164s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1164s # g_variant_unref (child); 1164s # } 1164s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_signal_emitv (paramv, signal_id, 0, NULL); 1164s # for (n = 0; n < num_params + 1; n++) 1164s # g_value_unset (¶mv[n]); 1164s # g_free (paramv); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1164s # GVariant *changed_properties, 1164s # const gchar *const *invalidated_properties) 1164s # { 1164s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1164s # guint n; 1164s # const gchar *key; 1164s # GVariantIter *iter; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # g_variant_get (changed_properties, "a{sv}", &iter); 1164s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1164s # { 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1164s # g_datalist_remove_data (&proxy->priv->qdata, key); 1164s # if (info != NULL) 1164s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1164s # } 1164s # g_variant_iter_free (iter); 1164s # for (n = 0; invalidated_properties[n] != NULL; n++) 1164s # { 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1164s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1164s # if (info != NULL) 1164s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1164s # } 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1164s # { 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1164s # #else 1164s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1164s # #endif 1164s # 1164s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1164s # { 1164s # GObjectClass *gobject_class; 1164s # GDBusProxyClass *proxy_class; 1164s # 1164s # gobject_class = G_OBJECT_CLASS (klass); 1164s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1164s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1164s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1164s # 1164s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1164s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1164s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1164s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1164s # #endif 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new: 1164s # * @connection: A #GDBusConnection. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1164s # * 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1164s # */ 1164s # void 1164s # org_project_useful_interface_proxy_new ( 1164s # GDBusConnection *connection, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # g_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); 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_finish: 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_finish ( 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GObject *ret; 1164s # GObject *source_object; 1164s # source_object = g_async_result_get_source_object (res); 1164s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1164s # g_object_unref (source_object); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_sync: 1164s # * @connection: A #GDBusConnection. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1164s # * 1164s # * The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_sync ( 1164s # GDBusConnection *connection, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GInitable *ret; 1164s # 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); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_for_bus: 1164s # * @bus_type: A #GBusType. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: A bus name (well-known or unique). 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1164s # * 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1164s # */ 1164s # void 1164s # org_project_useful_interface_proxy_new_for_bus ( 1164s # GBusType bus_type, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # g_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); 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_for_bus_finish: 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_for_bus_finish ( 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GObject *ret; 1164s # GObject *source_object; 1164s # source_object = g_async_result_get_source_object (res); 1164s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1164s # g_object_unref (source_object); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_for_bus_sync: 1164s # * @bus_type: A #GBusType. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: A bus name (well-known or unique). 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1164s # * 1164s # * The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_for_bus_sync ( 1164s # GBusType bus_type, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GInitable *ret; 1164s # 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); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # 1164s # /* ------------------------------------------------------------------------ */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceSkeleton: 1164s # * 1164s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceSkeletonClass: 1164s # * @parent_class: The parent class. 1164s # * 1164s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1164s # */ 1164s # 1164s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1164s # { 1164s # GValue *properties; 1164s # GList *changed_properties; 1164s # GSource *changed_properties_idle_source; 1164s # GMainContext *context; 1164s # GMutex lock; 1164s # }; 1164s # 1164s # static void 1164s # _org_project_useful_interface_skeleton_handle_method_call ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name, 1164s # const gchar *method_name, 1164s # GVariant *parameters, 1164s # GDBusMethodInvocation *invocation, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1164s # _ExtendedGDBusMethodInfo *info; 1164s # GVariantIter iter; 1164s # GVariant *child; 1164s # GValue *paramv; 1164s # gsize num_params; 1164s # guint num_extra; 1164s # gsize n; 1164s # guint signal_id; 1164s # GValue return_value = G_VALUE_INIT; 1164s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1164s # g_assert (info != NULL); 1164s # num_params = g_variant_n_children (parameters); 1164s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1164s # n = 0; 1164s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_value_set_object (¶mv[n++], skeleton); 1164s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1164s # g_value_set_object (¶mv[n++], invocation); 1164s # if (info->pass_fdlist) 1164s # { 1164s # #ifdef G_OS_UNIX 1164s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1164s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1164s # #else 1164s # g_assert_not_reached (); 1164s # #endif 1164s # } 1164s # g_variant_iter_init (&iter, parameters); 1164s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1164s # { 1164s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1164s # if (arg_info->use_gvariant) 1164s # { 1164s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1164s # g_value_set_variant (¶mv[n], child); 1164s # n++; 1164s # } 1164s # else 1164s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1164s # g_variant_unref (child); 1164s # } 1164s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1164s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1164s # if (!g_value_get_boolean (&return_value)) 1164s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1164s # g_value_unset (&return_value); 1164s # for (n = 0; n < num_params + num_extra; n++) 1164s # g_value_unset (¶mv[n]); 1164s # g_free (paramv); 1164s # } 1164s # 1164s # static GVariant * 1164s # _org_project_useful_interface_skeleton_handle_get_property ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name G_GNUC_UNUSED, 1164s # const gchar *property_name, 1164s # GError **error, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1164s # GValue value = G_VALUE_INIT; 1164s # GParamSpec *pspec; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # GVariant *ret; 1164s # ret = NULL; 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1164s # g_assert (info != NULL); 1164s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1164s # if (pspec == NULL) 1164s # { 1164s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1164s # } 1164s # else 1164s # { 1164s # g_value_init (&value, pspec->value_type); 1164s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1164s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1164s # g_value_unset (&value); 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static gboolean 1164s # _org_project_useful_interface_skeleton_handle_set_property ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name G_GNUC_UNUSED, 1164s # const gchar *property_name, 1164s # GVariant *variant, 1164s # GError **error, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1164s # GValue value = G_VALUE_INIT; 1164s # GParamSpec *pspec; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # gboolean ret; 1164s # ret = FALSE; 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1164s # g_assert (info != NULL); 1164s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1164s # if (pspec == NULL) 1164s # { 1164s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1164s # } 1164s # else 1164s # { 1164s # if (info->use_gvariant) 1164s # g_value_set_variant (&value, variant); 1164s # else 1164s # g_dbus_gvariant_to_gvalue (variant, &value); 1164s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1164s # g_value_unset (&value); 1164s # ret = TRUE; 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1164s # { 1164s # _org_project_useful_interface_skeleton_handle_method_call, 1164s # _org_project_useful_interface_skeleton_handle_get_property, 1164s # _org_project_useful_interface_skeleton_handle_set_property, 1164s # {NULL} 1164s # }; 1164s # 1164s # static GDBusInterfaceInfo * 1164s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1164s # { 1164s # return org_project_useful_interface_interface_info (); 1164s # } 1164s # 1164s # static GDBusInterfaceVTable * 1164s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1164s # { 1164s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1164s # } 1164s # 1164s # static GVariant * 1164s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1164s # 1164s # GVariantBuilder builder; 1164s # guint n; 1164s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1164s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1164s # goto out; 1164s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1164s # { 1164s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1164s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1164s # { 1164s # GVariant *value; 1164s # 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); 1164s # if (value != NULL) 1164s # { 1164s # g_variant_take_ref (value); 1164s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1164s # g_variant_unref (value); 1164s # } 1164s # } 1164s # } 1164s # out: 1164s # return g_variant_builder_end (&builder); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1164s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1164s # 1164s # #else 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1164s # 1164s # #endif 1164s # static void 1164s # org_project_useful_interface_skeleton_finalize (GObject *object) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1164s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1164s # if (skeleton->priv->changed_properties_idle_source != NULL) 1164s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1164s # g_main_context_unref (skeleton->priv->context); 1164s # g_mutex_clear (&skeleton->priv->lock); 1164s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1164s # { 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1164s # #else 1164s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1164s # #endif 1164s # 1164s # g_mutex_init (&skeleton->priv->lock); 1164s # skeleton->priv->context = g_main_context_ref_thread_default (); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1164s # { 1164s # GObjectClass *gobject_class; 1164s # GDBusInterfaceSkeletonClass *skeleton_class; 1164s # 1164s # gobject_class = G_OBJECT_CLASS (klass); 1164s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1164s # 1164s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1164s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1164s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1164s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1164s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1164s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1164s # #endif 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_skeleton_new: 1164s # * 1164s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_skeleton_new (void) 1164s # { 1164s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1164s # } 1164s # /tmp/tmpr495yaem/tmp3dvty576.xml: 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpr495yaem/tmp3dvty576.xml', '--output', '-', '--body'] 1164s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1164s # Output: /* 1164s # * This file is generated by gdbus-codegen, do not modify it. 1164s # * 1164s # * The license of this code is the same as for the D-Bus interface description 1164s # * it was derived from. Note that it links to GLib, so must comply with the 1164s # * LGPL linking clauses. 1164s # */ 1164s # 1164s # #ifdef HAVE_CONFIG_H 1164s # # include "config.h" 1164s # #endif 1164s # 1164s # #include 1164s # #ifdef G_OS_UNIX 1164s # # include 1164s # #endif 1164s # 1164s # #ifdef G_ENABLE_DEBUG 1164s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1164s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1164s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1164s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1164s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1164s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1164s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1164s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1164s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1164s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1164s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1164s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1164s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1164s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1164s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1164s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1164s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1164s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1164s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1164s # #else /* !G_ENABLE_DEBUG */ 1164s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1164s # * Do not access GValues directly in your code. Instead, use the 1164s # * g_value_get_*() functions 1164s # */ 1164s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1164s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1164s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1164s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1164s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1164s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1164s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1164s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1164s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1164s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1164s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1164s # #endif /* !G_ENABLE_DEBUG */ 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusArgInfo parent_struct; 1164s # gboolean use_gvariant; 1164s # } _ExtendedGDBusArgInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusMethodInfo parent_struct; 1164s # const gchar *signal_name; 1164s # gboolean pass_fdlist; 1164s # } _ExtendedGDBusMethodInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusSignalInfo parent_struct; 1164s # const gchar *signal_name; 1164s # } _ExtendedGDBusSignalInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusPropertyInfo parent_struct; 1164s # const gchar *hyphen_name; 1164s # guint use_gvariant : 1; 1164s # guint emits_changed_signal : 1; 1164s # } _ExtendedGDBusPropertyInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusInterfaceInfo parent_struct; 1164s # const gchar *hyphen_name; 1164s # } _ExtendedGDBusInterfaceInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # const _ExtendedGDBusPropertyInfo *info; 1164s # guint prop_id; 1164s # GValue orig_value; /* the value before the change */ 1164s # } ChangedProperty; 1164s # 1164s # static void 1164s # _changed_property_free (ChangedProperty *data) 1164s # { 1164s # g_value_unset (&data->orig_value); 1164s # g_free (data); 1164s # } 1164s # 1164s # static gboolean 1164s # _g_strv_equal0 (gchar **a, gchar **b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # guint n; 1164s # if (a == NULL && b == NULL) 1164s # { 1164s # ret = TRUE; 1164s # goto out; 1164s # } 1164s # if (a == NULL || b == NULL) 1164s # goto out; 1164s # if (g_strv_length (a) != g_strv_length (b)) 1164s # goto out; 1164s # for (n = 0; a[n] != NULL; n++) 1164s # if (g_strcmp0 (a[n], b[n]) != 0) 1164s # goto out; 1164s # ret = TRUE; 1164s # out: 1164s # return ret; 1164s # } 1164s # 1164s # static gboolean 1164s # _g_variant_equal0 (GVariant *a, GVariant *b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # if (a == NULL && b == NULL) 1164s # { 1164s # ret = TRUE; 1164s # goto out; 1164s # } 1164s # if (a == NULL || b == NULL) 1164s # goto out; 1164s # ret = g_variant_equal (a, b); 1164s # out: 1164s # return ret; 1164s # } 1164s # 1164s # G_GNUC_UNUSED static gboolean 1164s # _g_value_equal (const GValue *a, const GValue *b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1164s # switch (G_VALUE_TYPE (a)) 1164s # { 1164s # case G_TYPE_BOOLEAN: 1164s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1164s # break; 1164s # case G_TYPE_UCHAR: 1164s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1164s # break; 1164s # case G_TYPE_INT: 1164s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1164s # break; 1164s # case G_TYPE_UINT: 1164s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1164s # break; 1164s # case G_TYPE_INT64: 1164s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1164s # break; 1164s # case G_TYPE_UINT64: 1164s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1164s # break; 1164s # case G_TYPE_DOUBLE: 1164s # { 1164s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1164s # gdouble da = g_value_get_double (a); 1164s # gdouble db = g_value_get_double (b); 1164s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1164s # } 1164s # break; 1164s # case G_TYPE_STRING: 1164s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1164s # break; 1164s # case G_TYPE_VARIANT: 1164s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1164s # break; 1164s # default: 1164s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1164s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1164s # else 1164s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1164s # break; 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static void 1164s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1164s # GClosure *closure, 1164s # GValue *return_value, 1164s # unsigned int n_param_values, 1164s # const GValue *param_values, 1164s # void *invocation_hint G_GNUC_UNUSED, 1164s # void *marshal_data) 1164s # { 1164s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1164s # (void *data1, 1164s # GDBusMethodInvocation *arg_method_invocation, 1164s # void *data2); 1164s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1164s # GCClosure *cc = (GCClosure*) closure; 1164s # void *data1, *data2; 1164s # gboolean v_return; 1164s # 1164s # g_return_if_fail (return_value != NULL); 1164s # g_return_if_fail (n_param_values == 2); 1164s # 1164s # if (G_CCLOSURE_SWAP_DATA (closure)) 1164s # { 1164s # data1 = closure->data; 1164s # data2 = g_value_peek_pointer (param_values + 0); 1164s # } 1164s # else 1164s # { 1164s # data1 = g_value_peek_pointer (param_values + 0); 1164s # data2 = closure->data; 1164s # } 1164s # 1164s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1164s # (marshal_data ? marshal_data : cc->callback); 1164s # 1164s # v_return = 1164s # callback (data1, 1164s # g_marshal_value_peek_object (param_values + 1), 1164s # data2); 1164s # 1164s # g_value_set_boolean (return_value, v_return); 1164s # } 1164s # 1164s # /* ------------------------------------------------------------------------ 1164s # * Code for interface org.project.UsefulInterface 1164s # * ------------------------------------------------------------------------ 1164s # */ 1164s # 1164s # /** 1164s # * SECTION:OrgProjectUsefulInterface 1164s # * @title: OrgProjectUsefulInterface 1164s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1164s # * 1164s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1164s # */ 1164s # 1164s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "arg_as", 1164s # (gchar *) "as", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers[] = 1164s # { 1164s # &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as.parent_struct, 1164s # NULL 1164s # }; 1164s # 1164s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "SingleArgMethodAs", 1164s # NULL, 1164s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers, 1164s # NULL 1164s # }, 1164s # "handle-single-arg-method-as", 1164s # FALSE 1164s # }; 1164s # 1164s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1164s # { 1164s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct, 1164s # NULL 1164s # }; 1164s # 1164s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "org.project.UsefulInterface", 1164s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1164s # NULL, 1164s # NULL, 1164s # NULL 1164s # }, 1164s # "org-project-useful-interface", 1164s # }; 1164s # 1164s # 1164s # /** 1164s # * org_project_useful_interface_interface_info: 1164s # * 1164s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1164s # * 1164s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1164s # */ 1164s # GDBusInterfaceInfo * 1164s # org_project_useful_interface_interface_info (void) 1164s # { 1164s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_override_properties: 1164s # * @klass: The class structure for a #GObject derived class. 1164s # * @property_id_begin: The property id to assign to the first overridden property. 1164s # * 1164s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1164s # * The properties are overridden in the order they are defined. 1164s # * 1164s # * Returns: The last property id. 1164s # */ 1164s # guint 1164s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1164s # { 1164s # return property_id_begin - 1; 1164s # } 1164s # 1164s # 1164s # inline static void 1164s # org_project_useful_interface_method_marshal_single_arg_method_as ( 1164s # GClosure *closure, 1164s # GValue *return_value, 1164s # unsigned int n_param_values, 1164s # const GValue *param_values, 1164s # void *invocation_hint, 1164s # void *marshal_data) 1164s # { 1164s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1164s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1164s # } 1164s # 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterface: 1164s # * 1164s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceIface: 1164s # * @parent_iface: The parent interface. 1164s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal. 1164s # * 1164s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1164s # */ 1164s # 1164s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1164s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1164s # 1164s # static void 1164s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1164s # { 1164s # /* GObject signals for incoming D-Bus method calls: */ 1164s # /** 1164s # * OrgProjectUsefulInterface::handle-single-arg-method-as: 1164s # * @object: A #OrgProjectUsefulInterface. 1164s # * @invocation: A #GDBusMethodInvocation. 1164s # * 1164s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method. 1164s # * 1164s # * 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. 1164s # * 1164s # * 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. 1164s # */ 1164s # g_signal_new ("handle-single-arg-method-as", 1164s # G_TYPE_FROM_INTERFACE (iface), 1164s # G_SIGNAL_RUN_LAST, 1164s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as), 1164s # g_signal_accumulator_true_handled, 1164s # NULL, 1164s # org_project_useful_interface_method_marshal_single_arg_method_as, 1164s # G_TYPE_BOOLEAN, 1164s # 1, 1164s # G_TYPE_DBUS_METHOD_INVOCATION); 1164s # 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_call_single_arg_method_as: 1164s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method. 1164s # */ 1164s # void 1164s # org_project_useful_interface_call_single_arg_method_as ( 1164s # OrgProjectUsefulInterface *proxy, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1164s # "SingleArgMethodAs", 1164s # g_variant_new ("()"), 1164s # G_DBUS_CALL_FLAGS_NONE, 1164s # -1, 1164s # cancellable, 1164s # callback, 1164s # user_data); 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_call_single_arg_method_as_finish: 1164s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1164s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as(). 1164s # * @error: Return location for error or %NULL. 1164s # * 1164s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as(). 1164s # * 1164s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1164s # */ 1164s # gboolean 1164s # org_project_useful_interface_call_single_arg_method_as_finish ( 1164s # OrgProjectUsefulInterface *proxy, 1164s # gchar ***out_arg_as, 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GVariant *_ret; 1164s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1164s # if (_ret == NULL) 1164s # goto _out; 1164s # g_variant_get (_ret, 1164s # "(^as)", 1164s # out_arg_as); 1164s # g_variant_unref (_ret); 1164s # _out: 1164s # return _ret != NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_call_single_arg_method_as_sync: 1164s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1164s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL. 1164s # * 1164s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method. 1164s # * 1164s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1164s # */ 1164s # gboolean 1164s # org_project_useful_interface_call_single_arg_method_as_sync ( 1164s # OrgProjectUsefulInterface *proxy, 1164s # gchar ***out_arg_as, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GVariant *_ret; 1164s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1164s # "SingleArgMethodAs", 1164s # g_variant_new ("()"), 1164s # G_DBUS_CALL_FLAGS_NONE, 1164s # -1, 1164s # cancellable, 1164s # error); 1164s # if (_ret == NULL) 1164s # goto _out; 1164s # g_variant_get (_ret, 1164s # "(^as)", 1164s # out_arg_as); 1164s # g_variant_unref (_ret); 1164s # _out: 1164s # return _ret != NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_complete_single_arg_method_as: 1164s # * @object: A #OrgProjectUsefulInterface. 1164s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1164s # * @arg_as: Parameter to return. 1164s # * 1164s # * 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. 1164s # * 1164s # * This method will free @invocation, you cannot use it afterwards. 1164s # */ 1164s # void 1164s # org_project_useful_interface_complete_single_arg_method_as ( 1164s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1164s # GDBusMethodInvocation *invocation, 1164s # const gchar *const *arg_as) 1164s # { 1164s # g_dbus_method_invocation_return_value (invocation, 1164s # g_variant_new ("(^as)", 1164s # arg_as)); 1164s # } 1164s # 1164s # /* ------------------------------------------------------------------------ */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceProxy: 1164s # * 1164s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceProxyClass: 1164s # * @parent_class: The parent class. 1164s # * 1164s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1164s # */ 1164s # 1164s # struct _OrgProjectUsefulInterfaceProxyPrivate 1164s # { 1164s # GData *qdata; 1164s # }; 1164s # 1164s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1164s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1164s # 1164s # #else 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1164s # 1164s # #endif 1164s # static void 1164s # org_project_useful_interface_proxy_finalize (GObject *object) 1164s # { 1164s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1164s # g_datalist_clear (&proxy->priv->qdata); 1164s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1164s # guint prop_id G_GNUC_UNUSED, 1164s # GValue *value G_GNUC_UNUSED, 1164s # GParamSpec *pspec G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1164s # guint prop_id G_GNUC_UNUSED, 1164s # const GValue *value G_GNUC_UNUSED, 1164s # GParamSpec *pspec G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1164s # const gchar *sender_name G_GNUC_UNUSED, 1164s # const gchar *signal_name, 1164s # GVariant *parameters) 1164s # { 1164s # _ExtendedGDBusSignalInfo *info; 1164s # GVariantIter iter; 1164s # GVariant *child; 1164s # GValue *paramv; 1164s # gsize num_params; 1164s # gsize n; 1164s # guint signal_id; 1164s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1164s # if (info == NULL) 1164s # return; 1164s # num_params = g_variant_n_children (parameters); 1164s # paramv = g_new0 (GValue, num_params + 1); 1164s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_value_set_object (¶mv[0], proxy); 1164s # g_variant_iter_init (&iter, parameters); 1164s # n = 1; 1164s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1164s # { 1164s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1164s # if (arg_info->use_gvariant) 1164s # { 1164s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1164s # g_value_set_variant (¶mv[n], child); 1164s # n++; 1164s # } 1164s # else 1164s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1164s # g_variant_unref (child); 1164s # } 1164s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_signal_emitv (paramv, signal_id, 0, NULL); 1164s # for (n = 0; n < num_params + 1; n++) 1164s # g_value_unset (¶mv[n]); 1164s # g_free (paramv); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1164s # GVariant *changed_properties, 1164s # const gchar *const *invalidated_properties) 1164s # { 1164s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1164s # guint n; 1164s # const gchar *key; 1164s # GVariantIter *iter; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # g_variant_get (changed_properties, "a{sv}", &iter); 1164s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1164s # { 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1164s # g_datalist_remove_data (&proxy->priv->qdata, key); 1164s # if (info != NULL) 1164s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1164s # } 1164s # g_variant_iter_free (iter); 1164s # for (n = 0; invalidated_properties[n] != NULL; n++) 1164s # { 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1164s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1164s # if (info != NULL) 1164s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1164s # } 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1164s # { 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1164s # #else 1164s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1164s # #endif 1164s # 1164s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1164s # { 1164s # GObjectClass *gobject_class; 1164s # GDBusProxyClass *proxy_class; 1164s # 1164s # gobject_class = G_OBJECT_CLASS (klass); 1164s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1164s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1164s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1164s # 1164s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1164s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1164s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1164s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1164s # #endif 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new: 1164s # * @connection: A #GDBusConnection. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1164s # * 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1164s # */ 1164s # void 1164s # org_project_useful_interface_proxy_new ( 1164s # GDBusConnection *connection, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # g_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); 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_finish: 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_finish ( 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GObject *ret; 1164s # GObject *source_object; 1164s # source_object = g_async_result_get_source_object (res); 1164s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1164s # g_object_unref (source_object); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_sync: 1164s # * @connection: A #GDBusConnection. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1164s # * 1164s # * The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_sync ( 1164s # GDBusConnection *connection, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GInitable *ret; 1164s # 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); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_for_bus: 1164s # * @bus_type: A #GBusType. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: A bus name (well-known or unique). 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1164s # * 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1164s # */ 1164s # void 1164s # org_project_useful_interface_proxy_new_for_bus ( 1164s # GBusType bus_type, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # g_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); 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_for_bus_finish: 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_for_bus_finish ( 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GObject *ret; 1164s # GObject *source_object; 1164s # source_object = g_async_result_get_source_object (res); 1164s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1164s # g_object_unref (source_object); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_for_bus_sync: 1164s # * @bus_type: A #GBusType. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: A bus name (well-known or unique). 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1164s # * 1164s # * The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_for_bus_sync ( 1164s # GBusType bus_type, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GInitable *ret; 1164s # 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); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # 1164s # /* ------------------------------------------------------------------------ */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceSkeleton: 1164s # * 1164s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceSkeletonClass: 1164s # * @parent_class: The parent class. 1164s # * 1164s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1164s # */ 1164s # 1164s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1164s # { 1164s # GValue *properties; 1164s # GList *changed_properties; 1164s # GSource *changed_properties_idle_source; 1164s # GMainContext *context; 1164s # GMutex lock; 1164s # }; 1164s # 1164s # static void 1164s # _org_project_useful_interface_skeleton_handle_method_call ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name, 1164s # const gchar *method_name, 1164s # GVariant *parameters, 1164s # GDBusMethodInvocation *invocation, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1164s # _ExtendedGDBusMethodInfo *info; 1164s # GVariantIter iter; 1164s # GVariant *child; 1164s # GValue *paramv; 1164s # gsize num_params; 1164s # guint num_extra; 1164s # gsize n; 1164s # guint signal_id; 1164s # GValue return_value = G_VALUE_INIT; 1164s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1164s # g_assert (info != NULL); 1164s # num_params = g_variant_n_children (parameters); 1164s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1164s # n = 0; 1164s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_value_set_object (¶mv[n++], skeleton); 1164s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1164s # g_value_set_object (¶mv[n++], invocation); 1164s # if (info->pass_fdlist) 1164s # { 1164s # #ifdef G_OS_UNIX 1164s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1164s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1164s # #else 1164s # g_assert_not_reached (); 1164s # #endif 1164s # } 1164s # g_variant_iter_init (&iter, parameters); 1164s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1164s # { 1164s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1164s # if (arg_info->use_gvariant) 1164s # { 1164s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1164s # g_value_set_variant (¶mv[n], child); 1164s # n++; 1164s # } 1164s # else 1164s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1164s # g_variant_unref (child); 1164s # } 1164s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1164s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1164s # if (!g_value_get_boolean (&return_value)) 1164s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1164s # g_value_unset (&return_value); 1164s # for (n = 0; n < num_params + num_extra; n++) 1164s # g_value_unset (¶mv[n]); 1164s # g_free (paramv); 1164s # } 1164s # 1164s # static GVariant * 1164s # _org_project_useful_interface_skeleton_handle_get_property ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name G_GNUC_UNUSED, 1164s # const gchar *property_name, 1164s # GError **error, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1164s # GValue value = G_VALUE_INIT; 1164s # GParamSpec *pspec; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # GVariant *ret; 1164s # ret = NULL; 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1164s # g_assert (info != NULL); 1164s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1164s # if (pspec == NULL) 1164s # { 1164s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1164s # } 1164s # else 1164s # { 1164s # g_value_init (&value, pspec->value_type); 1164s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1164s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1164s # g_value_unset (&value); 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static gboolean 1164s # _org_project_useful_interface_skeleton_handle_set_property ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name G_GNUC_UNUSED, 1164s # const gchar *property_name, 1164s # GVariant *variant, 1164s # GError **error, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1164s # GValue value = G_VALUE_INIT; 1164s # GParamSpec *pspec; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # gboolean ret; 1164s # ret = FALSE; 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1164s # g_assert (info != NULL); 1164s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1164s # if (pspec == NULL) 1164s # { 1164s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1164s # } 1164s # else 1164s # { 1164s # if (info->use_gvariant) 1164s # g_value_set_variant (&value, variant); 1164s # else 1164s # g_dbus_gvariant_to_gvalue (variant, &value); 1164s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1164s # g_value_unset (&value); 1164s # ret = TRUE; 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1164s # { 1164s # _org_project_useful_interface_skeleton_handle_method_call, 1164s # _org_project_useful_interface_skeleton_handle_get_property, 1164s # _org_project_useful_interface_skeleton_handle_set_property, 1164s # {NULL} 1164s # }; 1164s # 1164s # static GDBusInterfaceInfo * 1164s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1164s # { 1164s # return org_project_useful_interface_interface_info (); 1164s # } 1164s # 1164s # static GDBusInterfaceVTable * 1164s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1164s # { 1164s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1164s # } 1164s # 1164s # static GVariant * 1164s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1164s # 1164s # GVariantBuilder builder; 1164s # guint n; 1164s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1164s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1164s # goto out; 1164s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1164s # { 1164s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1164s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1164s # { 1164s # GVariant *value; 1164s # 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); 1164s # if (value != NULL) 1164s # { 1164s # g_variant_take_ref (value); 1164s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1164s # g_variant_unref (value); 1164s # } 1164s # } 1164s # } 1164s # out: 1164s # return g_variant_builder_end (&builder); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1164s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1164s # 1164s # #else 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1164s # 1164s # #endif 1164s # static void 1164s # org_project_useful_interface_skeleton_finalize (GObject *object) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1164s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1164s # if (skeleton->priv->changed_properties_idle_source != NULL) 1164s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1164s # g_main_context_unref (skeleton->priv->context); 1164s # g_mutex_clear (&skeleton->priv->lock); 1164s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1164s # { 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1164s # #else 1164s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1164s # #endif 1164s # 1164s # g_mutex_init (&skeleton->priv->lock); 1164s # skeleton->priv->context = g_main_context_ref_thread_default (); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1164s # { 1164s # GObjectClass *gobject_class; 1164s # GDBusInterfaceSkeletonClass *skeleton_class; 1164s # 1164s # gobject_class = G_OBJECT_CLASS (klass); 1164s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1164s # 1164s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1164s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1164s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1164s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1164s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1164s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1164s # #endif 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_skeleton_new: 1164s # * 1164s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_skeleton_new (void) 1164s # { 1164s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1164s # } 1164s # /tmp/tmpr495yaem/tmp6gcelnbf.xml: 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpr495yaem/tmp6gcelnbf.xml', '--output', '-', '--body'] 1164s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1164s # Output: /* 1164s # * This file is generated by gdbus-codegen, do not modify it. 1164s # * 1164s # * The license of this code is the same as for the D-Bus interface description 1164s # * it was derived from. Note that it links to GLib, so must comply with the 1164s # * LGPL linking clauses. 1164s # */ 1164s # 1164s # #ifdef HAVE_CONFIG_H 1164s # # include "config.h" 1164s # #endif 1164s # 1164s # #include 1164s # #ifdef G_OS_UNIX 1164s # # include 1164s # #endif 1164s # 1164s # #ifdef G_ENABLE_DEBUG 1164s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1164s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1164s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1164s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1164s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1164s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1164s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1164s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1164s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1164s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1164s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1164s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1164s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1164s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1164s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1164s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1164s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1164s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1164s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1164s # #else /* !G_ENABLE_DEBUG */ 1164s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1164s # * Do not access GValues directly in your code. Instead, use the 1164s # * g_value_get_*() functions 1164s # */ 1164s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1164s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1164s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1164s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1164s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1164s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1164s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1164s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1164s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1164s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1164s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1164s # #endif /* !G_ENABLE_DEBUG */ 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusArgInfo parent_struct; 1164s # gboolean use_gvariant; 1164s # } _ExtendedGDBusArgInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusMethodInfo parent_struct; 1164s # const gchar *signal_name; 1164s # gboolean pass_fdlist; 1164s # } _ExtendedGDBusMethodInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusSignalInfo parent_struct; 1164s # const gchar *signal_name; 1164s # } _ExtendedGDBusSignalInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusPropertyInfo parent_struct; 1164s # const gchar *hyphen_name; 1164s # guint use_gvariant : 1; 1164s # guint emits_changed_signal : 1; 1164s # } _ExtendedGDBusPropertyInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusInterfaceInfo parent_struct; 1164s # const gchar *hyphen_name; 1164s # } _ExtendedGDBusInterfaceInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # const _ExtendedGDBusPropertyInfo *info; 1164s # guint prop_id; 1164s # GValue orig_value; /* the value before the change */ 1164s # } ChangedProperty; 1164s # 1164s # static void 1164s # _changed_property_free (ChangedProperty *data) 1164s # { 1164s # g_value_unset (&data->orig_value); 1164s # g_free (data); 1164s # } 1164s # 1164s # static gboolean 1164s # _g_strv_equal0 (gchar **a, gchar **b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # guint n; 1164s # if (a == NULL && b == NULL) 1164s # { 1164s # ret = TRUE; 1164s # goto out; 1164s # } 1164s # if (a == NULL || b == NULL) 1164s # goto out; 1164s # if (g_strv_length (a) != g_strv_length (b)) 1164s # goto out; 1164s # for (n = 0; a[n] != NULL; n++) 1164s # if (g_strcmp0 (a[n], b[n]) != 0) 1164s # goto out; 1164s # ret = TRUE; 1164s # out: 1164s # return ret; 1164s # } 1164s # 1164s # static gboolean 1164s # _g_variant_equal0 (GVariant *a, GVariant *b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # if (a == NULL && b == NULL) 1164s # { 1164s # ret = TRUE; 1164s # goto out; 1164s # } 1164s # if (a == NULL || b == NULL) 1164s # goto out; 1164s # ret = g_variant_equal (a, b); 1164s # out: 1164s # return ret; 1164s # } 1164s # 1164s # G_GNUC_UNUSED static gboolean 1164s # _g_value_equal (const GValue *a, const GValue *b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1164s # switch (G_VALUE_TYPE (a)) 1164s # { 1164s # case G_TYPE_BOOLEAN: 1164s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1164s # break; 1164s # case G_TYPE_UCHAR: 1164s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1164s # break; 1164s # case G_TYPE_INT: 1164s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1164s # break; 1164s # case G_TYPE_UINT: 1164s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1164s # break; 1164s # case G_TYPE_INT64: 1164s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1164s # break; 1164s # case G_TYPE_UINT64: 1164s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1164s # break; 1164s # case G_TYPE_DOUBLE: 1164s # { 1164s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1164s # gdouble da = g_value_get_double (a); 1164s # gdouble db = g_value_get_double (b); 1164s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1164s # } 1164s # break; 1164s # case G_TYPE_STRING: 1164s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1164s # break; 1164s # case G_TYPE_VARIANT: 1164s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1164s # break; 1164s # default: 1164s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1164s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1164s # else 1164s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1164s # break; 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static void 1164s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1164s # GClosure *closure, 1164s # GValue *return_value, 1164s # unsigned int n_param_values, 1164s # const GValue *param_values, 1164s # void *invocation_hint G_GNUC_UNUSED, 1164s # void *marshal_data) 1164s # { 1164s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1164s # (void *data1, 1164s # GDBusMethodInvocation *arg_method_invocation, 1164s # void *data2); 1164s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1164s # GCClosure *cc = (GCClosure*) closure; 1164s # void *data1, *data2; 1164s # gboolean v_return; 1164s # 1164s # g_return_if_fail (return_value != NULL); 1164s # g_return_if_fail (n_param_values == 2); 1164s # 1164s # if (G_CCLOSURE_SWAP_DATA (closure)) 1164s # { 1164s # data1 = closure->data; 1164s # data2 = g_value_peek_pointer (param_values + 0); 1164s # } 1164s # else 1164s # { 1164s # data1 = g_value_peek_pointer (param_values + 0); 1164s # data2 = closure->data; 1164s # } 1164s # 1164s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1164s # (marshal_data ? marshal_data : cc->callback); 1164s # 1164s # v_return = 1164s # callback (data1, 1164s # g_marshal_value_peek_object (param_values + 1), 1164s # data2); 1164s # 1164s # g_value_set_boolean (return_value, v_return); 1164s # } 1164s # 1164s # /* ------------------------------------------------------------------------ 1164s # * Code for interface org.project.UsefulInterface 1164s # * ------------------------------------------------------------------------ 1164s # */ 1164s # 1164s # /** 1164s # * SECTION:OrgProjectUsefulInterface 1164s # * @title: OrgProjectUsefulInterface 1164s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1164s # * 1164s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1164s # */ 1164s # 1164s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "arg_ao", 1164s # (gchar *) "ao", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers[] = 1164s # { 1164s # &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao.parent_struct, 1164s # NULL 1164s # }; 1164s # 1164s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "SingleArgMethodAo", 1164s # NULL, 1164s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers, 1164s # NULL 1164s # }, 1164s # "handle-single-arg-method-ao", 1164s # FALSE 1164s # }; 1164s # 1164s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1164s # { 1164s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct, 1164s # NULL 1164s # }; 1164s # 1164s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "org.project.UsefulInterface", 1164s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1164s # NULL, 1164s # NULL, 1164s # NULL 1164s # }, 1164s # "org-project-useful-interface", 1164s # }; 1164s # 1164s # 1164s # /** 1164s # * org_project_useful_interface_interface_info: 1164s # * 1164s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1164s # * 1164s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1164s # */ 1164s # GDBusInterfaceInfo * 1164s # org_project_useful_interface_interface_info (void) 1164s # { 1164s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_override_properties: 1164s # * @klass: The class structure for a #GObject derived class. 1164s # * @property_id_begin: The property id to assign to the first overridden property. 1164s # * 1164s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1164s # * The properties are overridden in the order they are defined. 1164s # * 1164s # * Returns: The last property id. 1164s # */ 1164s # guint 1164s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1164s # { 1164s # return property_id_begin - 1; 1164s # } 1164s # 1164s # 1164s # inline static void 1164s # org_project_useful_interface_method_marshal_single_arg_method_ao ( 1164s # GClosure *closure, 1164s # GValue *return_value, 1164s # unsigned int n_param_values, 1164s # const GValue *param_values, 1164s # void *invocation_hint, 1164s # void *marshal_data) 1164s # { 1164s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1164s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1164s # } 1164s # 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterface: 1164s # * 1164s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceIface: 1164s # * @parent_iface: The parent interface. 1164s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal. 1164s # * 1164s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1164s # */ 1164s # 1164s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1164s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1164s # 1164s # static void 1164s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1164s # { 1164s # /* GObject signals for incoming D-Bus method calls: */ 1164s # /** 1164s # * OrgProjectUsefulInterface::handle-single-arg-method-ao: 1164s # * @object: A #OrgProjectUsefulInterface. 1164s # * @invocation: A #GDBusMethodInvocation. 1164s # * 1164s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method. 1164s # * 1164s # * 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. 1164s # * 1164s # * 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. 1164s # */ 1164s # g_signal_new ("handle-single-arg-method-ao", 1164s # G_TYPE_FROM_INTERFACE (iface), 1164s # G_SIGNAL_RUN_LAST, 1164s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao), 1164s # g_signal_accumulator_true_handled, 1164s # NULL, 1164s # org_project_useful_interface_method_marshal_single_arg_method_ao, 1164s # G_TYPE_BOOLEAN, 1164s # 1, 1164s # G_TYPE_DBUS_METHOD_INVOCATION); 1164s # 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_call_single_arg_method_ao: 1164s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method. 1164s # */ 1164s # void 1164s # org_project_useful_interface_call_single_arg_method_ao ( 1164s # OrgProjectUsefulInterface *proxy, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1164s # "SingleArgMethodAo", 1164s # g_variant_new ("()"), 1164s # G_DBUS_CALL_FLAGS_NONE, 1164s # -1, 1164s # cancellable, 1164s # callback, 1164s # user_data); 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_call_single_arg_method_ao_finish: 1164s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1164s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao(). 1164s # * @error: Return location for error or %NULL. 1164s # * 1164s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao(). 1164s # * 1164s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1164s # */ 1164s # gboolean 1164s # org_project_useful_interface_call_single_arg_method_ao_finish ( 1164s # OrgProjectUsefulInterface *proxy, 1164s # gchar ***out_arg_ao, 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GVariant *_ret; 1164s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1164s # if (_ret == NULL) 1164s # goto _out; 1164s # g_variant_get (_ret, 1164s # "(^ao)", 1164s # out_arg_ao); 1164s # g_variant_unref (_ret); 1164s # _out: 1164s # return _ret != NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_call_single_arg_method_ao_sync: 1164s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1164s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL. 1164s # * 1164s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method. 1164s # * 1164s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1164s # */ 1164s # gboolean 1164s # org_project_useful_interface_call_single_arg_method_ao_sync ( 1164s # OrgProjectUsefulInterface *proxy, 1164s # gchar ***out_arg_ao, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GVariant *_ret; 1164s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1164s # "SingleArgMethodAo", 1164s # g_variant_new ("()"), 1164s # G_DBUS_CALL_FLAGS_NONE, 1164s # -1, 1164s # cancellable, 1164s # error); 1164s # if (_ret == NULL) 1164s # goto _out; 1164s # g_variant_get (_ret, 1164s # "(^ao)", 1164s # out_arg_ao); 1164s # g_variant_unref (_ret); 1164s # _out: 1164s # return _ret != NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_complete_single_arg_method_ao: 1164s # * @object: A #OrgProjectUsefulInterface. 1164s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1164s # * @arg_ao: Parameter to return. 1164s # * 1164s # * 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. 1164s # * 1164s # * This method will free @invocation, you cannot use it afterwards. 1164s # */ 1164s # void 1164s # org_project_useful_interface_complete_single_arg_method_ao ( 1164s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1164s # GDBusMethodInvocation *invocation, 1164s # const gchar *const *arg_ao) 1164s # { 1164s # g_dbus_method_invocation_return_value (invocation, 1164s # g_variant_new ("(^ao)", 1164s # arg_ao)); 1164s # } 1164s # 1164s # /* ------------------------------------------------------------------------ */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceProxy: 1164s # * 1164s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceProxyClass: 1164s # * @parent_class: The parent class. 1164s # * 1164s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1164s # */ 1164s # 1164s # struct _OrgProjectUsefulInterfaceProxyPrivate 1164s # { 1164s # GData *qdata; 1164s # }; 1164s # 1164s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1164s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1164s # 1164s # #else 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1164s # 1164s # #endif 1164s # static void 1164s # org_project_useful_interface_proxy_finalize (GObject *object) 1164s # { 1164s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1164s # g_datalist_clear (&proxy->priv->qdata); 1164s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1164s # guint prop_id G_GNUC_UNUSED, 1164s # GValue *value G_GNUC_UNUSED, 1164s # GParamSpec *pspec G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1164s # guint prop_id G_GNUC_UNUSED, 1164s # const GValue *value G_GNUC_UNUSED, 1164s # GParamSpec *pspec G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1164s # const gchar *sender_name G_GNUC_UNUSED, 1164s # const gchar *signal_name, 1164s # GVariant *parameters) 1164s # { 1164s # _ExtendedGDBusSignalInfo *info; 1164s # GVariantIter iter; 1164s # GVariant *child; 1164s # GValue *paramv; 1164s # gsize num_params; 1164s # gsize n; 1164s # guint signal_id; 1164s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1164s # if (info == NULL) 1164s # return; 1164s # num_params = g_variant_n_children (parameters); 1164s # paramv = g_new0 (GValue, num_params + 1); 1164s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_value_set_object (¶mv[0], proxy); 1164s # g_variant_iter_init (&iter, parameters); 1164s # n = 1; 1164s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1164s # { 1164s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1164s # if (arg_info->use_gvariant) 1164s # { 1164s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1164s # g_value_set_variant (¶mv[n], child); 1164s # n++; 1164s # } 1164s # else 1164s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1164s # g_variant_unref (child); 1164s # } 1164s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_signal_emitv (paramv, signal_id, 0, NULL); 1164s # for (n = 0; n < num_params + 1; n++) 1164s # g_value_unset (¶mv[n]); 1164s # g_free (paramv); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1164s # GVariant *changed_properties, 1164s # const gchar *const *invalidated_properties) 1164s # { 1164s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1164s # guint n; 1164s # const gchar *key; 1164s # GVariantIter *iter; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # g_variant_get (changed_properties, "a{sv}", &iter); 1164s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1164s # { 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1164s # g_datalist_remove_data (&proxy->priv->qdata, key); 1164s # if (info != NULL) 1164s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1164s # } 1164s # g_variant_iter_free (iter); 1164s # for (n = 0; invalidated_properties[n] != NULL; n++) 1164s # { 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1164s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1164s # if (info != NULL) 1164s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1164s # } 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1164s # { 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1164s # #else 1164s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1164s # #endif 1164s # 1164s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1164s # { 1164s # GObjectClass *gobject_class; 1164s # GDBusProxyClass *proxy_class; 1164s # 1164s # gobject_class = G_OBJECT_CLASS (klass); 1164s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1164s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1164s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1164s # 1164s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1164s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1164s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1164s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1164s # #endif 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new: 1164s # * @connection: A #GDBusConnection. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1164s # * 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1164s # */ 1164s # void 1164s # org_project_useful_interface_proxy_new ( 1164s # GDBusConnection *connection, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # g_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); 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_finish: 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_finish ( 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GObject *ret; 1164s # GObject *source_object; 1164s # source_object = g_async_result_get_source_object (res); 1164s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1164s # g_object_unref (source_object); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_sync: 1164s # * @connection: A #GDBusConnection. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1164s # * 1164s # * The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_sync ( 1164s # GDBusConnection *connection, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GInitable *ret; 1164s # 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); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_for_bus: 1164s # * @bus_type: A #GBusType. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: A bus name (well-known or unique). 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1164s # * 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1164s # */ 1164s # void 1164s # org_project_useful_interface_proxy_new_for_bus ( 1164s # GBusType bus_type, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # g_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); 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_for_bus_finish: 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_for_bus_finish ( 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GObject *ret; 1164s # GObject *source_object; 1164s # source_object = g_async_result_get_source_object (res); 1164s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1164s # g_object_unref (source_object); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_for_bus_sync: 1164s # * @bus_type: A #GBusType. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: A bus name (well-known or unique). 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1164s # * 1164s # * The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_for_bus_sync ( 1164s # GBusType bus_type, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GInitable *ret; 1164s # 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); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # 1164s # /* ------------------------------------------------------------------------ */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceSkeleton: 1164s # * 1164s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceSkeletonClass: 1164s # * @parent_class: The parent class. 1164s # * 1164s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1164s # */ 1164s # 1164s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1164s # { 1164s # GValue *properties; 1164s # GList *changed_properties; 1164s # GSource *changed_properties_idle_source; 1164s # GMainContext *context; 1164s # GMutex lock; 1164s # }; 1164s # 1164s # static void 1164s # _org_project_useful_interface_skeleton_handle_method_call ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name, 1164s # const gchar *method_name, 1164s # GVariant *parameters, 1164s # GDBusMethodInvocation *invocation, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1164s # _ExtendedGDBusMethodInfo *info; 1164s # GVariantIter iter; 1164s # GVariant *child; 1164s # GValue *paramv; 1164s # gsize num_params; 1164s # guint num_extra; 1164s # gsize n; 1164s # guint signal_id; 1164s # GValue return_value = G_VALUE_INIT; 1164s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1164s # g_assert (info != NULL); 1164s # num_params = g_variant_n_children (parameters); 1164s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1164s # n = 0; 1164s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_value_set_object (¶mv[n++], skeleton); 1164s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1164s # g_value_set_object (¶mv[n++], invocation); 1164s # if (info->pass_fdlist) 1164s # { 1164s # #ifdef G_OS_UNIX 1164s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1164s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1164s # #else 1164s # g_assert_not_reached (); 1164s # #endif 1164s # } 1164s # g_variant_iter_init (&iter, parameters); 1164s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1164s # { 1164s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1164s # if (arg_info->use_gvariant) 1164s # { 1164s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1164s # g_value_set_variant (¶mv[n], child); 1164s # n++; 1164s # } 1164s # else 1164s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1164s # g_variant_unref (child); 1164s # } 1164s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1164s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1164s # if (!g_value_get_boolean (&return_value)) 1164s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1164s # g_value_unset (&return_value); 1164s # for (n = 0; n < num_params + num_extra; n++) 1164s # g_value_unset (¶mv[n]); 1164s # g_free (paramv); 1164s # } 1164s # 1164s # static GVariant * 1164s # _org_project_useful_interface_skeleton_handle_get_property ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name G_GNUC_UNUSED, 1164s # const gchar *property_name, 1164s # GError **error, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1164s # GValue value = G_VALUE_INIT; 1164s # GParamSpec *pspec; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # GVariant *ret; 1164s # ret = NULL; 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1164s # g_assert (info != NULL); 1164s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1164s # if (pspec == NULL) 1164s # { 1164s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1164s # } 1164s # else 1164s # { 1164s # g_value_init (&value, pspec->value_type); 1164s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1164s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1164s # g_value_unset (&value); 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static gboolean 1164s # _org_project_useful_interface_skeleton_handle_set_property ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name G_GNUC_UNUSED, 1164s # const gchar *property_name, 1164s # GVariant *variant, 1164s # GError **error, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1164s # GValue value = G_VALUE_INIT; 1164s # GParamSpec *pspec; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # gboolean ret; 1164s # ret = FALSE; 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1164s # g_assert (info != NULL); 1164s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1164s # if (pspec == NULL) 1164s # { 1164s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1164s # } 1164s # else 1164s # { 1164s # if (info->use_gvariant) 1164s # g_value_set_variant (&value, variant); 1164s # else 1164s # g_dbus_gvariant_to_gvalue (variant, &value); 1164s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1164s # g_value_unset (&value); 1164s # ret = TRUE; 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1164s # { 1164s # _org_project_useful_interface_skeleton_handle_method_call, 1164s # _org_project_useful_interface_skeleton_handle_get_property, 1164s # _org_project_useful_interface_skeleton_handle_set_property, 1164s # {NULL} 1164s # }; 1164s # 1164s # static GDBusInterfaceInfo * 1164s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1164s # { 1164s # return org_project_useful_interface_interface_info (); 1164s # } 1164s # 1164s # static GDBusInterfaceVTable * 1164s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1164s # { 1164s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1164s # } 1164s # 1164s # static GVariant * 1164s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1164s # 1164s # GVariantBuilder builder; 1164s # guint n; 1164s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1164s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1164s # goto out; 1164s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1164s # { 1164s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1164s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1164s # { 1164s # GVariant *value; 1164s # 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); 1164s # if (value != NULL) 1164s # { 1164s # g_variant_take_ref (value); 1164s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1164s # g_variant_unref (value); 1164s # } 1164s # } 1164s # } 1164s # out: 1164s # return g_variant_builder_end (&builder); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1164s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1164s # 1164s # #else 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1164s # 1164s # #endif 1164s # static void 1164s # org_project_useful_interface_skeleton_finalize (GObject *object) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1164s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1164s # if (skeleton->priv->changed_properties_idle_source != NULL) 1164s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1164s # g_main_context_unref (skeleton->priv->context); 1164s # g_mutex_clear (&skeleton->priv->lock); 1164s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1164s # { 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1164s # #else 1164s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1164s # #endif 1164s # 1164s # g_mutex_init (&skeleton->priv->lock); 1164s # skeleton->priv->context = g_main_context_ref_thread_default (); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1164s # { 1164s # GObjectClass *gobject_class; 1164s # GDBusInterfaceSkeletonClass *skeleton_class; 1164s # 1164s # gobject_class = G_OBJECT_CLASS (klass); 1164s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1164s # 1164s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1164s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1164s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1164s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1164s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1164s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1164s # #endif 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_skeleton_new: 1164s # * 1164s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_skeleton_new (void) 1164s # { 1164s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1164s # } 1164s # /tmp/tmpr495yaem/tmpyo30w226.xml: 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpr495yaem/tmpyo30w226.xml', '--output', '-', '--body'] 1164s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1164s # Output: /* 1164s # * This file is generated by gdbus-codegen, do not modify it. 1164s # * 1164s # * The license of this code is the same as for the D-Bus interface description 1164s # * it was derived from. Note that it links to GLib, so must comply with the 1164s # * LGPL linking clauses. 1164s # */ 1164s # 1164s # #ifdef HAVE_CONFIG_H 1164s # # include "config.h" 1164s # #endif 1164s # 1164s # #include 1164s # #ifdef G_OS_UNIX 1164s # # include 1164s # #endif 1164s # 1164s # #ifdef G_ENABLE_DEBUG 1164s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1164s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1164s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1164s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1164s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1164s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1164s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1164s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1164s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1164s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1164s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1164s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1164s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1164s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1164s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1164s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1164s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1164s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1164s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1164s # #else /* !G_ENABLE_DEBUG */ 1164s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1164s # * Do not access GValues directly in your code. Instead, use the 1164s # * g_value_get_*() functions 1164s # */ 1164s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1164s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1164s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1164s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1164s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1164s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1164s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1164s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1164s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1164s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1164s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1164s # #endif /* !G_ENABLE_DEBUG */ 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusArgInfo parent_struct; 1164s # gboolean use_gvariant; 1164s # } _ExtendedGDBusArgInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusMethodInfo parent_struct; 1164s # const gchar *signal_name; 1164s # gboolean pass_fdlist; 1164s # } _ExtendedGDBusMethodInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusSignalInfo parent_struct; 1164s # const gchar *signal_name; 1164s # } _ExtendedGDBusSignalInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusPropertyInfo parent_struct; 1164s # const gchar *hyphen_name; 1164s # guint use_gvariant : 1; 1164s # guint emits_changed_signal : 1; 1164s # } _ExtendedGDBusPropertyInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusInterfaceInfo parent_struct; 1164s # const gchar *hyphen_name; 1164s # } _ExtendedGDBusInterfaceInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # const _ExtendedGDBusPropertyInfo *info; 1164s # guint prop_id; 1164s # GValue orig_value; /* the value before the change */ 1164s # } ChangedProperty; 1164s # 1164s # static void 1164s # _changed_property_free (ChangedProperty *data) 1164s # { 1164s # g_value_unset (&data->orig_value); 1164s # g_free (data); 1164s # } 1164s # 1164s # static gboolean 1164s # _g_strv_equal0 (gchar **a, gchar **b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # guint n; 1164s # if (a == NULL && b == NULL) 1164s # { 1164s # ret = TRUE; 1164s # goto out; 1164s # } 1164s # if (a == NULL || b == NULL) 1164s # goto out; 1164s # if (g_strv_length (a) != g_strv_length (b)) 1164s # goto out; 1164s # for (n = 0; a[n] != NULL; n++) 1164s # if (g_strcmp0 (a[n], b[n]) != 0) 1164s # goto out; 1164s # ret = TRUE; 1164s # out: 1164s # return ret; 1164s # } 1164s # 1164s # static gboolean 1164s # _g_variant_equal0 (GVariant *a, GVariant *b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # if (a == NULL && b == NULL) 1164s # { 1164s # ret = TRUE; 1164s # goto out; 1164s # } 1164s # if (a == NULL || b == NULL) 1164s # goto out; 1164s # ret = g_variant_equal (a, b); 1164s # out: 1164s # return ret; 1164s # } 1164s # 1164s # G_GNUC_UNUSED static gboolean 1164s # _g_value_equal (const GValue *a, const GValue *b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1164s # switch (G_VALUE_TYPE (a)) 1164s # { 1164s # case G_TYPE_BOOLEAN: 1164s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1164s # break; 1164s # case G_TYPE_UCHAR: 1164s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1164s # break; 1164s # case G_TYPE_INT: 1164s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1164s # break; 1164s # case G_TYPE_UINT: 1164s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1164s # break; 1164s # case G_TYPE_INT64: 1164s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1164s # break; 1164s # case G_TYPE_UINT64: 1164s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1164s # break; 1164s # case G_TYPE_DOUBLE: 1164s # { 1164s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1164s # gdouble da = g_value_get_double (a); 1164s # gdouble db = g_value_get_double (b); 1164s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1164s # } 1164s # break; 1164s # case G_TYPE_STRING: 1164s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1164s # break; 1164s # case G_TYPE_VARIANT: 1164s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1164s # break; 1164s # default: 1164s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1164s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1164s # else 1164s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1164s # break; 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static void 1164s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1164s # GClosure *closure, 1164s # GValue *return_value, 1164s # unsigned int n_param_values, 1164s # const GValue *param_values, 1164s # void *invocation_hint G_GNUC_UNUSED, 1164s # void *marshal_data) 1164s # { 1164s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1164s # (void *data1, 1164s # GDBusMethodInvocation *arg_method_invocation, 1164s # void *data2); 1164s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1164s # GCClosure *cc = (GCClosure*) closure; 1164s # void *data1, *data2; 1164s # gboolean v_return; 1164s # 1164s # g_return_if_fail (return_value != NULL); 1164s # g_return_if_fail (n_param_values == 2); 1164s # 1164s # if (G_CCLOSURE_SWAP_DATA (closure)) 1164s # { 1164s # data1 = closure->data; 1164s # data2 = g_value_peek_pointer (param_values + 0); 1164s # } 1164s # else 1164s # { 1164s # data1 = g_value_peek_pointer (param_values + 0); 1164s # data2 = closure->data; 1164s # } 1164s # 1164s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1164s # (marshal_data ? marshal_data : cc->callback); 1164s # 1164s # v_return = 1164s # callback (data1, 1164s # g_marshal_value_peek_object (param_values + 1), 1164s # data2); 1164s # 1164s # g_value_set_boolean (return_value, v_return); 1164s # } 1164s # 1164s # /* ------------------------------------------------------------------------ 1164s # * Code for interface org.project.UsefulInterface 1164s # * ------------------------------------------------------------------------ 1164s # */ 1164s # 1164s # /** 1164s # * SECTION:OrgProjectUsefulInterface 1164s # * @title: OrgProjectUsefulInterface 1164s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1164s # * 1164s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1164s # */ 1164s # 1164s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "arg_aay", 1164s # (gchar *) "aay", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers[] = 1164s # { 1164s # &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay.parent_struct, 1164s # NULL 1164s # }; 1164s # 1164s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "SingleArgMethodAay", 1164s # NULL, 1164s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers, 1164s # NULL 1164s # }, 1164s # "handle-single-arg-method-aay", 1164s # FALSE 1164s # }; 1164s # 1164s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1164s # { 1164s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct, 1164s # NULL 1164s # }; 1164s # 1164s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "org.project.UsefulInterface", 1164s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1164s # NULL, 1164s # NULL, 1164s # NULL 1164s # }, 1164s # "org-project-useful-interface", 1164s # }; 1164s # 1164s # 1164s # /** 1164s # * org_project_useful_interface_interface_info: 1164s # * 1164s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1164s # * 1164s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1164s # */ 1164s # GDBusInterfaceInfo * 1164s # org_project_useful_interface_interface_info (void) 1164s # { 1164s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_override_properties: 1164s # * @klass: The class structure for a #GObject derived class. 1164s # * @property_id_begin: The property id to assign to the first overridden property. 1164s # * 1164s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1164s # * The properties are overridden in the order they are defined. 1164s # * 1164s # * Returns: The last property id. 1164s # */ 1164s # guint 1164s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1164s # { 1164s # return property_id_begin - 1; 1164s # } 1164s # 1164s # 1164s # inline static void 1164s # org_project_useful_interface_method_marshal_single_arg_method_aay ( 1164s # GClosure *closure, 1164s # GValue *return_value, 1164s # unsigned int n_param_values, 1164s # const GValue *param_values, 1164s # void *invocation_hint, 1164s # void *marshal_data) 1164s # { 1164s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1164s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1164s # } 1164s # 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterface: 1164s # * 1164s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceIface: 1164s # * @parent_iface: The parent interface. 1164s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal. 1164s # * 1164s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1164s # */ 1164s # 1164s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1164s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1164s # 1164s # static void 1164s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1164s # { 1164s # /* GObject signals for incoming D-Bus method calls: */ 1164s # /** 1164s # * OrgProjectUsefulInterface::handle-single-arg-method-aay: 1164s # * @object: A #OrgProjectUsefulInterface. 1164s # * @invocation: A #GDBusMethodInvocation. 1164s # * 1164s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method. 1164s # * 1164s # * 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. 1164s # * 1164s # * 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. 1164s # */ 1164s # g_signal_new ("handle-single-arg-method-aay", 1164s # G_TYPE_FROM_INTERFACE (iface), 1164s # G_SIGNAL_RUN_LAST, 1164s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay), 1164s # g_signal_accumulator_true_handled, 1164s # NULL, 1164s # org_project_useful_interface_method_marshal_single_arg_method_aay, 1164s # G_TYPE_BOOLEAN, 1164s # 1, 1164s # G_TYPE_DBUS_METHOD_INVOCATION); 1164s # 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_call_single_arg_method_aay: 1164s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method. 1164s # */ 1164s # void 1164s # org_project_useful_interface_call_single_arg_method_aay ( 1164s # OrgProjectUsefulInterface *proxy, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1164s # "SingleArgMethodAay", 1164s # g_variant_new ("()"), 1164s # G_DBUS_CALL_FLAGS_NONE, 1164s # -1, 1164s # cancellable, 1164s # callback, 1164s # user_data); 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_call_single_arg_method_aay_finish: 1164s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1164s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay(). 1164s # * @error: Return location for error or %NULL. 1164s # * 1164s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay(). 1164s # * 1164s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1164s # */ 1164s # gboolean 1164s # org_project_useful_interface_call_single_arg_method_aay_finish ( 1164s # OrgProjectUsefulInterface *proxy, 1164s # gchar ***out_arg_aay, 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GVariant *_ret; 1164s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1164s # if (_ret == NULL) 1164s # goto _out; 1164s # g_variant_get (_ret, 1164s # "(^aay)", 1164s # out_arg_aay); 1164s # g_variant_unref (_ret); 1164s # _out: 1164s # return _ret != NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_call_single_arg_method_aay_sync: 1164s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1164s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL. 1164s # * 1164s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method. 1164s # * 1164s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1164s # */ 1164s # gboolean 1164s # org_project_useful_interface_call_single_arg_method_aay_sync ( 1164s # OrgProjectUsefulInterface *proxy, 1164s # gchar ***out_arg_aay, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GVariant *_ret; 1164s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1164s # "SingleArgMethodAay", 1164s # g_variant_new ("()"), 1164s # G_DBUS_CALL_FLAGS_NONE, 1164s # -1, 1164s # cancellable, 1164s # error); 1164s # if (_ret == NULL) 1164s # goto _out; 1164s # g_variant_get (_ret, 1164s # "(^aay)", 1164s # out_arg_aay); 1164s # g_variant_unref (_ret); 1164s # _out: 1164s # return _ret != NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_complete_single_arg_method_aay: 1164s # * @object: A #OrgProjectUsefulInterface. 1164s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1164s # * @arg_aay: Parameter to return. 1164s # * 1164s # * 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. 1164s # * 1164s # * This method will free @invocation, you cannot use it afterwards. 1164s # */ 1164s # void 1164s # org_project_useful_interface_complete_single_arg_method_aay ( 1164s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1164s # GDBusMethodInvocation *invocation, 1164s # const gchar *const *arg_aay) 1164s # { 1164s # g_dbus_method_invocation_return_value (invocation, 1164s # g_variant_new ("(^aay)", 1164s # arg_aay)); 1164s # } 1164s # 1164s # /* ------------------------------------------------------------------------ */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceProxy: 1164s # * 1164s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceProxyClass: 1164s # * @parent_class: The parent class. 1164s # * 1164s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1164s # */ 1164s # 1164s # struct _OrgProjectUsefulInterfaceProxyPrivate 1164s # { 1164s # GData *qdata; 1164s # }; 1164s # 1164s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1164s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1164s # 1164s # #else 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1164s # 1164s # #endif 1164s # static void 1164s # org_project_useful_interface_proxy_finalize (GObject *object) 1164s # { 1164s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1164s # g_datalist_clear (&proxy->priv->qdata); 1164s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1164s # guint prop_id G_GNUC_UNUSED, 1164s # GValue *value G_GNUC_UNUSED, 1164s # GParamSpec *pspec G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1164s # guint prop_id G_GNUC_UNUSED, 1164s # const GValue *value G_GNUC_UNUSED, 1164s # GParamSpec *pspec G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1164s # const gchar *sender_name G_GNUC_UNUSED, 1164s # const gchar *signal_name, 1164s # GVariant *parameters) 1164s # { 1164s # _ExtendedGDBusSignalInfo *info; 1164s # GVariantIter iter; 1164s # GVariant *child; 1164s # GValue *paramv; 1164s # gsize num_params; 1164s # gsize n; 1164s # guint signal_id; 1164s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1164s # if (info == NULL) 1164s # return; 1164s # num_params = g_variant_n_children (parameters); 1164s # paramv = g_new0 (GValue, num_params + 1); 1164s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_value_set_object (¶mv[0], proxy); 1164s # g_variant_iter_init (&iter, parameters); 1164s # n = 1; 1164s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1164s # { 1164s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1164s # if (arg_info->use_gvariant) 1164s # { 1164s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1164s # g_value_set_variant (¶mv[n], child); 1164s # n++; 1164s # } 1164s # else 1164s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1164s # g_variant_unref (child); 1164s # } 1164s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_signal_emitv (paramv, signal_id, 0, NULL); 1164s # for (n = 0; n < num_params + 1; n++) 1164s # g_value_unset (¶mv[n]); 1164s # g_free (paramv); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1164s # GVariant *changed_properties, 1164s # const gchar *const *invalidated_properties) 1164s # { 1164s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1164s # guint n; 1164s # const gchar *key; 1164s # GVariantIter *iter; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # g_variant_get (changed_properties, "a{sv}", &iter); 1164s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1164s # { 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1164s # g_datalist_remove_data (&proxy->priv->qdata, key); 1164s # if (info != NULL) 1164s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1164s # } 1164s # g_variant_iter_free (iter); 1164s # for (n = 0; invalidated_properties[n] != NULL; n++) 1164s # { 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1164s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1164s # if (info != NULL) 1164s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1164s # } 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1164s # { 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1164s # #else 1164s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1164s # #endif 1164s # 1164s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1164s # { 1164s # GObjectClass *gobject_class; 1164s # GDBusProxyClass *proxy_class; 1164s # 1164s # gobject_class = G_OBJECT_CLASS (klass); 1164s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1164s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1164s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1164s # 1164s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1164s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1164s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1164s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1164s # #endif 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new: 1164s # * @connection: A #GDBusConnection. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1164s # * 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1164s # */ 1164s # void 1164s # org_project_useful_interface_proxy_new ( 1164s # GDBusConnection *connection, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # g_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); 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_finish: 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_finish ( 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GObject *ret; 1164s # GObject *source_object; 1164s # source_object = g_async_result_get_source_object (res); 1164s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1164s # g_object_unref (source_object); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_sync: 1164s # * @connection: A #GDBusConnection. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1164s # * 1164s # * The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_sync ( 1164s # GDBusConnection *connection, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GInitable *ret; 1164s # 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); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_for_bus: 1164s # * @bus_type: A #GBusType. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: A bus name (well-known or unique). 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1164s # * 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1164s # */ 1164s # void 1164s # org_project_useful_interface_proxy_new_for_bus ( 1164s # GBusType bus_type, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # g_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); 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_for_bus_finish: 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_for_bus_finish ( 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GObject *ret; 1164s # GObject *source_object; 1164s # source_object = g_async_result_get_source_object (res); 1164s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1164s # g_object_unref (source_object); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_for_bus_sync: 1164s # * @bus_type: A #GBusType. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: A bus name (well-known or unique). 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1164s # * 1164s # * The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_for_bus_sync ( 1164s # GBusType bus_type, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GInitable *ret; 1164s # 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); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # 1164s # /* ------------------------------------------------------------------------ */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceSkeleton: 1164s # * 1164s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceSkeletonClass: 1164s # * @parent_class: The parent class. 1164s # * 1164s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1164s # */ 1164s # 1164s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1164s # { 1164s # GValue *properties; 1164s # GList *changed_properties; 1164s # GSource *changed_properties_idle_source; 1164s # GMainContext *context; 1164s # GMutex lock; 1164s # }; 1164s # 1164s # static void 1164s # _org_project_useful_interface_skeleton_handle_method_call ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name, 1164s # const gchar *method_name, 1164s # GVariant *parameters, 1164s # GDBusMethodInvocation *invocation, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1164s # _ExtendedGDBusMethodInfo *info; 1164s # GVariantIter iter; 1164s # GVariant *child; 1164s # GValue *paramv; 1164s # gsize num_params; 1164s # guint num_extra; 1164s # gsize n; 1164s # guint signal_id; 1164s # GValue return_value = G_VALUE_INIT; 1164s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1164s # g_assert (info != NULL); 1164s # num_params = g_variant_n_children (parameters); 1164s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1164s # n = 0; 1164s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_value_set_object (¶mv[n++], skeleton); 1164s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1164s # g_value_set_object (¶mv[n++], invocation); 1164s # if (info->pass_fdlist) 1164s # { 1164s # #ifdef G_OS_UNIX 1164s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1164s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1164s # #else 1164s # g_assert_not_reached (); 1164s # #endif 1164s # } 1164s # g_variant_iter_init (&iter, parameters); 1164s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1164s # { 1164s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1164s # if (arg_info->use_gvariant) 1164s # { 1164s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1164s # g_value_set_variant (¶mv[n], child); 1164s # n++; 1164s # } 1164s # else 1164s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1164s # g_variant_unref (child); 1164s # } 1164s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1164s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1164s # if (!g_value_get_boolean (&return_value)) 1164s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1164s # g_value_unset (&return_value); 1164s # for (n = 0; n < num_params + num_extra; n++) 1164s # g_value_unset (¶mv[n]); 1164s # g_free (paramv); 1164s # } 1164s # 1164s # static GVariant * 1164s # _org_project_useful_interface_skeleton_handle_get_property ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name G_GNUC_UNUSED, 1164s # const gchar *property_name, 1164s # GError **error, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1164s # GValue value = G_VALUE_INIT; 1164s # GParamSpec *pspec; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # GVariant *ret; 1164s # ret = NULL; 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1164s # g_assert (info != NULL); 1164s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1164s # if (pspec == NULL) 1164s # { 1164s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1164s # } 1164s # else 1164s # { 1164s # g_value_init (&value, pspec->value_type); 1164s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1164s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1164s # g_value_unset (&value); 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static gboolean 1164s # _org_project_useful_interface_skeleton_handle_set_property ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name G_GNUC_UNUSED, 1164s # const gchar *property_name, 1164s # GVariant *variant, 1164s # GError **error, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1164s # GValue value = G_VALUE_INIT; 1164s # GParamSpec *pspec; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # gboolean ret; 1164s # ret = FALSE; 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1164s # g_assert (info != NULL); 1164s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1164s # if (pspec == NULL) 1164s # { 1164s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1164s # } 1164s # else 1164s # { 1164s # if (info->use_gvariant) 1164s # g_value_set_variant (&value, variant); 1164s # else 1164s # g_dbus_gvariant_to_gvalue (variant, &value); 1164s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1164s # g_value_unset (&value); 1164s # ret = TRUE; 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1164s # { 1164s # _org_project_useful_interface_skeleton_handle_method_call, 1164s # _org_project_useful_interface_skeleton_handle_get_property, 1164s # _org_project_useful_interface_skeleton_handle_set_property, 1164s # {NULL} 1164s # }; 1164s # 1164s # static GDBusInterfaceInfo * 1164s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1164s # { 1164s # return org_project_useful_interface_interface_info (); 1164s # } 1164s # 1164s # static GDBusInterfaceVTable * 1164s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1164s # { 1164s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1164s # } 1164s # 1164s # static GVariant * 1164s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1164s # 1164s # GVariantBuilder builder; 1164s # guint n; 1164s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1164s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1164s # goto out; 1164s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1164s # { 1164s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1164s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1164s # { 1164s # GVariant *value; 1164s # 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); 1164s # if (value != NULL) 1164s # { 1164s # g_variant_take_ref (value); 1164s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1164s # g_variant_unref (value); 1164s # } 1164s # } 1164s # } 1164s # out: 1164s # return g_variant_builder_end (&builder); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1164s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1164s # 1164s # #else 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1164s # 1164s # #endif 1164s # static void 1164s # org_project_useful_interface_skeleton_finalize (GObject *object) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1164s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1164s # if (skeleton->priv->changed_properties_idle_source != NULL) 1164s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1164s # g_main_context_unref (skeleton->priv->context); 1164s # g_mutex_clear (&skeleton->priv->lock); 1164s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1164s # { 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1164s # #else 1164s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1164s # #endif 1164s # 1164s # g_mutex_init (&skeleton->priv->lock); 1164s # skeleton->priv->context = g_main_context_ref_thread_default (); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1164s # { 1164s # GObjectClass *gobject_class; 1164s # GDBusInterfaceSkeletonClass *skeleton_class; 1164s # 1164s # gobject_class = G_OBJECT_CLASS (klass); 1164s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1164s # 1164s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1164s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1164s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1164s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1164s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1164s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1164s # #endif 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_skeleton_new: 1164s # * 1164s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_skeleton_new (void) 1164s # { 1164s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1164s # } 1164s # /tmp/tmpr495yaem/tmpn9bnxdzb.xml: 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpr495yaem/tmpn9bnxdzb.xml', '--output', '-', '--body'] 1164s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1164s # Output: /* 1164s # * This file is generated by gdbus-codegen, do not modify it. 1164s # * 1164s # * The license of this code is the same as for the D-Bus interface description 1164s # * it was derived from. Note that it links to GLib, so must comply with the 1164s # * LGPL linking clauses. 1164s # */ 1164s # 1164s # #ifdef HAVE_CONFIG_H 1164s # # include "config.h" 1164s # #endif 1164s # 1164s # #include 1164s # #ifdef G_OS_UNIX 1164s # # include 1164s # #endif 1164s # 1164s # #ifdef G_ENABLE_DEBUG 1164s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1164s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1164s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1164s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1164s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1164s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1164s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1164s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1164s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1164s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1164s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1164s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1164s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1164s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1164s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1164s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1164s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1164s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1164s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1164s # #else /* !G_ENABLE_DEBUG */ 1164s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1164s # * Do not access GValues directly in your code. Instead, use the 1164s # * g_value_get_*() functions 1164s # */ 1164s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1164s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1164s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1164s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1164s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1164s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1164s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1164s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1164s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1164s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1164s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1164s # #endif /* !G_ENABLE_DEBUG */ 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusArgInfo parent_struct; 1164s # gboolean use_gvariant; 1164s # } _ExtendedGDBusArgInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusMethodInfo parent_struct; 1164s # const gchar *signal_name; 1164s # gboolean pass_fdlist; 1164s # } _ExtendedGDBusMethodInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusSignalInfo parent_struct; 1164s # const gchar *signal_name; 1164s # } _ExtendedGDBusSignalInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusPropertyInfo parent_struct; 1164s # const gchar *hyphen_name; 1164s # guint use_gvariant : 1; 1164s # guint emits_changed_signal : 1; 1164s # } _ExtendedGDBusPropertyInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusInterfaceInfo parent_struct; 1164s # const gchar *hyphen_name; 1164s # } _ExtendedGDBusInterfaceInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # const _ExtendedGDBusPropertyInfo *info; 1164s # guint prop_id; 1164s # GValue orig_value; /* the value before the change */ 1164s # } ChangedProperty; 1164s # 1164s # static void 1164s # _changed_property_free (ChangedProperty *data) 1164s # { 1164s # g_value_unset (&data->orig_value); 1164s # g_free (data); 1164s # } 1164s # 1164s # static gboolean 1164s # _g_strv_equal0 (gchar **a, gchar **b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # guint n; 1164s # if (a == NULL && b == NULL) 1164s # { 1164s # ret = TRUE; 1164s # goto out; 1164s # } 1164s # if (a == NULL || b == NULL) 1164s # goto out; 1164s # if (g_strv_length (a) != g_strv_length (b)) 1164s # goto out; 1164s # for (n = 0; a[n] != NULL; n++) 1164s # if (g_strcmp0 (a[n], b[n]) != 0) 1164s # goto out; 1164s # ret = TRUE; 1164s # out: 1164s # return ret; 1164s # } 1164s # 1164s # static gboolean 1164s # _g_variant_equal0 (GVariant *a, GVariant *b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # if (a == NULL && b == NULL) 1164s # { 1164s # ret = TRUE; 1164s # goto out; 1164s # } 1164s # if (a == NULL || b == NULL) 1164s # goto out; 1164s # ret = g_variant_equal (a, b); 1164s # out: 1164s # return ret; 1164s # } 1164s # 1164s # G_GNUC_UNUSED static gboolean 1164s # _g_value_equal (const GValue *a, const GValue *b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1164s # switch (G_VALUE_TYPE (a)) 1164s # { 1164s # case G_TYPE_BOOLEAN: 1164s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1164s # break; 1164s # case G_TYPE_UCHAR: 1164s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1164s # break; 1164s # case G_TYPE_INT: 1164s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1164s # break; 1164s # case G_TYPE_UINT: 1164s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1164s # break; 1164s # case G_TYPE_INT64: 1164s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1164s # break; 1164s # case G_TYPE_UINT64: 1164s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1164s # break; 1164s # case G_TYPE_DOUBLE: 1164s # { 1164s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1164s # gdouble da = g_value_get_double (a); 1164s # gdouble db = g_value_get_double (b); 1164s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1164s # } 1164s # break; 1164s # case G_TYPE_STRING: 1164s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1164s # break; 1164s # case G_TYPE_VARIANT: 1164s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1164s # break; 1164s # default: 1164s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1164s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1164s # else 1164s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1164s # break; 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static void 1164s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1164s # GClosure *closure, 1164s # GValue *return_value, 1164s # unsigned int n_param_values, 1164s # const GValue *param_values, 1164s # void *invocation_hint G_GNUC_UNUSED, 1164s # void *marshal_data) 1164s # { 1164s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1164s # (void *data1, 1164s # GDBusMethodInvocation *arg_method_invocation, 1164s # void *data2); 1164s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1164s # GCClosure *cc = (GCClosure*) closure; 1164s # void *data1, *data2; 1164s # gboolean v_return; 1164s # 1164s # g_return_if_fail (return_value != NULL); 1164s # g_return_if_fail (n_param_values == 2); 1164s # 1164s # if (G_CCLOSURE_SWAP_DATA (closure)) 1164s # { 1164s # data1 = closure->data; 1164s # data2 = g_value_peek_pointer (param_values + 0); 1164s # } 1164s # else 1164s # { 1164s # data1 = g_value_peek_pointer (param_values + 0); 1164s # data2 = closure->data; 1164s # } 1164s # 1164s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1164s # (marshal_data ? marshal_data : cc->callback); 1164s # 1164s # v_return = 1164s # callback (data1, 1164s # g_marshal_value_peek_object (param_values + 1), 1164s # data2); 1164s # 1164s # g_value_set_boolean (return_value, v_return); 1164s # } 1164s # 1164s # /* ------------------------------------------------------------------------ 1164s # * Code for interface org.project.UsefulInterface 1164s # * ------------------------------------------------------------------------ 1164s # */ 1164s # 1164s # /** 1164s # * SECTION:OrgProjectUsefulInterface 1164s # * @title: OrgProjectUsefulInterface 1164s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1164s # * 1164s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1164s # */ 1164s # 1164s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "arg_asv", 1164s # (gchar *) "a{sv}", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers[] = 1164s # { 1164s # &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv.parent_struct, 1164s # NULL 1164s # }; 1164s # 1164s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "SingleArgMethodAsv", 1164s # NULL, 1164s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers, 1164s # NULL 1164s # }, 1164s # "handle-single-arg-method-asv", 1164s # FALSE 1164s # }; 1164s # 1164s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1164s # { 1164s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct, 1164s # NULL 1164s # }; 1164s # 1164s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "org.project.UsefulInterface", 1164s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1164s # NULL, 1164s # NULL, 1164s # NULL 1164s # }, 1164s # "org-project-useful-interface", 1164s # }; 1164s # 1164s # 1164s # /** 1164s # * org_project_useful_interface_interface_info: 1164s # * 1164s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1164s # * 1164s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1164s # */ 1164s # GDBusInterfaceInfo * 1164s # org_project_useful_interface_interface_info (void) 1164s # { 1164s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_override_properties: 1164s # * @klass: The class structure for a #GObject derived class. 1164s # * @property_id_begin: The property id to assign to the first overridden property. 1164s # * 1164s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1164s # * The properties are overridden in the order they are defined. 1164s # * 1164s # * Returns: The last property id. 1164s # */ 1164s # guint 1164s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1164s # { 1164s # return property_id_begin - 1; 1164s # } 1164s # 1164s # 1164s # inline static void 1164s # org_project_useful_interface_method_marshal_single_arg_method_asv ( 1164s # GClosure *closure, 1164s # GValue *return_value, 1164s # unsigned int n_param_values, 1164s # const GValue *param_values, 1164s # void *invocation_hint, 1164s # void *marshal_data) 1164s # { 1164s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1164s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1164s # } 1164s # 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterface: 1164s # * 1164s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceIface: 1164s # * @parent_iface: The parent interface. 1164s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal. 1164s # * 1164s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1164s # */ 1164s # 1164s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1164s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1164s # 1164s # static void 1164s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1164s # { 1164s # /* GObject signals for incoming D-Bus method calls: */ 1164s # /** 1164s # * OrgProjectUsefulInterface::handle-single-arg-method-asv: 1164s # * @object: A #OrgProjectUsefulInterface. 1164s # * @invocation: A #GDBusMethodInvocation. 1164s # * 1164s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method. 1164s # * 1164s # * 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. 1164s # * 1164s # * 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. 1164s # */ 1164s # g_signal_new ("handle-single-arg-method-asv", 1164s # G_TYPE_FROM_INTERFACE (iface), 1164s # G_SIGNAL_RUN_LAST, 1164s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv), 1164s # g_signal_accumulator_true_handled, 1164s # NULL, 1164s # org_project_useful_interface_method_marshal_single_arg_method_asv, 1164s # G_TYPE_BOOLEAN, 1164s # 1, 1164s # G_TYPE_DBUS_METHOD_INVOCATION); 1164s # 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_call_single_arg_method_asv: 1164s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method. 1164s # */ 1164s # void 1164s # org_project_useful_interface_call_single_arg_method_asv ( 1164s # OrgProjectUsefulInterface *proxy, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1164s # "SingleArgMethodAsv", 1164s # g_variant_new ("()"), 1164s # G_DBUS_CALL_FLAGS_NONE, 1164s # -1, 1164s # cancellable, 1164s # callback, 1164s # user_data); 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_call_single_arg_method_asv_finish: 1164s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1164s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv(). 1164s # * @error: Return location for error or %NULL. 1164s # * 1164s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv(). 1164s # * 1164s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1164s # */ 1164s # gboolean 1164s # org_project_useful_interface_call_single_arg_method_asv_finish ( 1164s # OrgProjectUsefulInterface *proxy, 1164s # GVariant **out_arg_asv, 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GVariant *_ret; 1164s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1164s # if (_ret == NULL) 1164s # goto _out; 1164s # g_variant_get (_ret, 1164s # "(@a{sv})", 1164s # out_arg_asv); 1164s # g_variant_unref (_ret); 1164s # _out: 1164s # return _ret != NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_call_single_arg_method_asv_sync: 1164s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1164s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL. 1164s # * 1164s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method. 1164s # * 1164s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1164s # */ 1164s # gboolean 1164s # org_project_useful_interface_call_single_arg_method_asv_sync ( 1164s # OrgProjectUsefulInterface *proxy, 1164s # GVariant **out_arg_asv, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GVariant *_ret; 1164s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1164s # "SingleArgMethodAsv", 1164s # g_variant_new ("()"), 1164s # G_DBUS_CALL_FLAGS_NONE, 1164s # -1, 1164s # cancellable, 1164s # error); 1164s # if (_ret == NULL) 1164s # goto _out; 1164s # g_variant_get (_ret, 1164s # "(@a{sv})", 1164s # out_arg_asv); 1164s # g_variant_unref (_ret); 1164s # _out: 1164s # return _ret != NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_complete_single_arg_method_asv: 1164s # * @object: A #OrgProjectUsefulInterface. 1164s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1164s # * @arg_asv: Parameter to return. 1164s # * 1164s # * 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. 1164s # * 1164s # * This method will free @invocation, you cannot use it afterwards. 1164s # */ 1164s # void 1164s # org_project_useful_interface_complete_single_arg_method_asv ( 1164s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1164s # GDBusMethodInvocation *invocation, 1164s # GVariant *arg_asv) 1164s # { 1164s # g_dbus_method_invocation_return_value (invocation, 1164s # g_variant_new ("(@a{sv})", 1164s # arg_asv)); 1164s # } 1164s # 1164s # /* ------------------------------------------------------------------------ */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceProxy: 1164s # * 1164s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceProxyClass: 1164s # * @parent_class: The parent class. 1164s # * 1164s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1164s # */ 1164s # 1164s # struct _OrgProjectUsefulInterfaceProxyPrivate 1164s # { 1164s # GData *qdata; 1164s # }; 1164s # 1164s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1164s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1164s # 1164s # #else 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1164s # 1164s # #endif 1164s # static void 1164s # org_project_useful_interface_proxy_finalize (GObject *object) 1164s # { 1164s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1164s # g_datalist_clear (&proxy->priv->qdata); 1164s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1164s # guint prop_id G_GNUC_UNUSED, 1164s # GValue *value G_GNUC_UNUSED, 1164s # GParamSpec *pspec G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1164s # guint prop_id G_GNUC_UNUSED, 1164s # const GValue *value G_GNUC_UNUSED, 1164s # GParamSpec *pspec G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1164s # const gchar *sender_name G_GNUC_UNUSED, 1164s # const gchar *signal_name, 1164s # GVariant *parameters) 1164s # { 1164s # _ExtendedGDBusSignalInfo *info; 1164s # GVariantIter iter; 1164s # GVariant *child; 1164s # GValue *paramv; 1164s # gsize num_params; 1164s # gsize n; 1164s # guint signal_id; 1164s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1164s # if (info == NULL) 1164s # return; 1164s # num_params = g_variant_n_children (parameters); 1164s # paramv = g_new0 (GValue, num_params + 1); 1164s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_value_set_object (¶mv[0], proxy); 1164s # g_variant_iter_init (&iter, parameters); 1164s # n = 1; 1164s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1164s # { 1164s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1164s # if (arg_info->use_gvariant) 1164s # { 1164s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1164s # g_value_set_variant (¶mv[n], child); 1164s # n++; 1164s # } 1164s # else 1164s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1164s # g_variant_unref (child); 1164s # } 1164s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_signal_emitv (paramv, signal_id, 0, NULL); 1164s # for (n = 0; n < num_params + 1; n++) 1164s # g_value_unset (¶mv[n]); 1164s # g_free (paramv); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1164s # GVariant *changed_properties, 1164s # const gchar *const *invalidated_properties) 1164s # { 1164s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1164s # guint n; 1164s # const gchar *key; 1164s # GVariantIter *iter; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # g_variant_get (changed_properties, "a{sv}", &iter); 1164s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1164s # { 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1164s # g_datalist_remove_data (&proxy->priv->qdata, key); 1164s # if (info != NULL) 1164s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1164s # } 1164s # g_variant_iter_free (iter); 1164s # for (n = 0; invalidated_properties[n] != NULL; n++) 1164s # { 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1164s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1164s # if (info != NULL) 1164s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1164s # } 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1164s # { 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1164s # #else 1164s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1164s # #endif 1164s # 1164s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1164s # { 1164s # GObjectClass *gobject_class; 1164s # GDBusProxyClass *proxy_class; 1164s # 1164s # gobject_class = G_OBJECT_CLASS (klass); 1164s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1164s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1164s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1164s # 1164s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1164s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1164s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1164s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1164s # #endif 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new: 1164s # * @connection: A #GDBusConnection. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1164s # * 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1164s # */ 1164s # void 1164s # org_project_useful_interface_proxy_new ( 1164s # GDBusConnection *connection, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # g_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); 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_finish: 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_finish ( 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GObject *ret; 1164s # GObject *source_object; 1164s # source_object = g_async_result_get_source_object (res); 1164s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1164s # g_object_unref (source_object); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_sync: 1164s # * @connection: A #GDBusConnection. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1164s # * 1164s # * The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_sync ( 1164s # GDBusConnection *connection, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GInitable *ret; 1164s # 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); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_for_bus: 1164s # * @bus_type: A #GBusType. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: A bus name (well-known or unique). 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1164s # * 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1164s # */ 1164s # void 1164s # org_project_useful_interface_proxy_new_for_bus ( 1164s # GBusType bus_type, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # g_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); 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_for_bus_finish: 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_for_bus_finish ( 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GObject *ret; 1164s # GObject *source_object; 1164s # source_object = g_async_result_get_source_object (res); 1164s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1164s # g_object_unref (source_object); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_for_bus_sync: 1164s # * @bus_type: A #GBusType. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: A bus name (well-known or unique). 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1164s # * 1164s # * The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_for_bus_sync ( 1164s # GBusType bus_type, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GInitable *ret; 1164s # 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); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # 1164s # /* ------------------------------------------------------------------------ */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceSkeleton: 1164s # * 1164s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceSkeletonClass: 1164s # * @parent_class: The parent class. 1164s # * 1164s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1164s # */ 1164s # 1164s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1164s # { 1164s # GValue *properties; 1164s # GList *changed_properties; 1164s # GSource *changed_properties_idle_source; 1164s # GMainContext *context; 1164s # GMutex lock; 1164s # }; 1164s # 1164s # static void 1164s # _org_project_useful_interface_skeleton_handle_method_call ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name, 1164s # const gchar *method_name, 1164s # GVariant *parameters, 1164s # GDBusMethodInvocation *invocation, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1164s # _ExtendedGDBusMethodInfo *info; 1164s # GVariantIter iter; 1164s # GVariant *child; 1164s # GValue *paramv; 1164s # gsize num_params; 1164s # guint num_extra; 1164s # gsize n; 1164s # guint signal_id; 1164s # GValue return_value = G_VALUE_INIT; 1164s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1164s # g_assert (info != NULL); 1164s # num_params = g_variant_n_children (parameters); 1164s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1164s # n = 0; 1164s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_value_set_object (¶mv[n++], skeleton); 1164s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1164s # g_value_set_object (¶mv[n++], invocation); 1164s # if (info->pass_fdlist) 1164s # { 1164s # #ifdef G_OS_UNIX 1164s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1164s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1164s # #else 1164s # g_assert_not_reached (); 1164s # #endif 1164s # } 1164s # g_variant_iter_init (&iter, parameters); 1164s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1164s # { 1164s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1164s # if (arg_info->use_gvariant) 1164s # { 1164s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1164s # g_value_set_variant (¶mv[n], child); 1164s # n++; 1164s # } 1164s # else 1164s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1164s # g_variant_unref (child); 1164s # } 1164s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1164s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1164s # if (!g_value_get_boolean (&return_value)) 1164s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1164s # g_value_unset (&return_value); 1164s # for (n = 0; n < num_params + num_extra; n++) 1164s # g_value_unset (¶mv[n]); 1164s # g_free (paramv); 1164s # } 1164s # 1164s # static GVariant * 1164s # _org_project_useful_interface_skeleton_handle_get_property ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name G_GNUC_UNUSED, 1164s # const gchar *property_name, 1164s # GError **error, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1164s # GValue value = G_VALUE_INIT; 1164s # GParamSpec *pspec; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # GVariant *ret; 1164s # ret = NULL; 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1164s # g_assert (info != NULL); 1164s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1164s # if (pspec == NULL) 1164s # { 1164s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1164s # } 1164s # else 1164s # { 1164s # g_value_init (&value, pspec->value_type); 1164s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1164s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1164s # g_value_unset (&value); 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static gboolean 1164s # _org_project_useful_interface_skeleton_handle_set_property ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name G_GNUC_UNUSED, 1164s # const gchar *property_name, 1164s # GVariant *variant, 1164s # GError **error, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1164s # GValue value = G_VALUE_INIT; 1164s # GParamSpec *pspec; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # gboolean ret; 1164s # ret = FALSE; 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1164s # g_assert (info != NULL); 1164s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1164s # if (pspec == NULL) 1164s # { 1164s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1164s # } 1164s # else 1164s # { 1164s # if (info->use_gvariant) 1164s # g_value_set_variant (&value, variant); 1164s # else 1164s # g_dbus_gvariant_to_gvalue (variant, &value); 1164s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1164s # g_value_unset (&value); 1164s # ret = TRUE; 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1164s # { 1164s # _org_project_useful_interface_skeleton_handle_method_call, 1164s # _org_project_useful_interface_skeleton_handle_get_property, 1164s # _org_project_useful_interface_skeleton_handle_set_property, 1164s # {NULL} 1164s # }; 1164s # 1164s # static GDBusInterfaceInfo * 1164s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1164s # { 1164s # return org_project_useful_interface_interface_info (); 1164s # } 1164s # 1164s # static GDBusInterfaceVTable * 1164s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1164s # { 1164s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1164s # } 1164s # 1164s # static GVariant * 1164s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1164s # 1164s # GVariantBuilder builder; 1164s # guint n; 1164s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1164s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1164s # goto out; 1164s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1164s # { 1164s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1164s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1164s # { 1164s # GVariant *value; 1164s # 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); 1164s # if (value != NULL) 1164s # { 1164s # g_variant_take_ref (value); 1164s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1164s # g_variant_unref (value); 1164s # } 1164s # } 1164s # } 1164s # out: 1164s # return g_variant_builder_end (&builder); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1164s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1164s # 1164s # #else 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1164s # 1164s # #endif 1164s # static void 1164s # org_project_useful_interface_skeleton_finalize (GObject *object) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1164s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1164s # if (skeleton->priv->changed_properties_idle_source != NULL) 1164s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1164s # g_main_context_unref (skeleton->priv->context); 1164s # g_mutex_clear (&skeleton->priv->lock); 1164s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1164s # { 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1164s # #else 1164s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1164s # #endif 1164s # 1164s # g_mutex_init (&skeleton->priv->lock); 1164s # skeleton->priv->context = g_main_context_ref_thread_default (); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1164s # { 1164s # GObjectClass *gobject_class; 1164s # GDBusInterfaceSkeletonClass *skeleton_class; 1164s # 1164s # gobject_class = G_OBJECT_CLASS (klass); 1164s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1164s # 1164s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1164s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1164s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1164s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1164s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1164s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1164s # #endif 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_skeleton_new: 1164s # * 1164s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_skeleton_new (void) 1164s # { 1164s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1164s # } 1164s ok 12 __main__.TestCodegen.test_generate_methods_marshallers_multiple_in_args 1164s # tmpdir: /tmp/tmpaidy1bdk 1164s # codegen: /usr/bin/gdbus-codegen 1164s # /tmp/tmpaidy1bdk/tmpqep0nxak.xml: 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpaidy1bdk/tmpqep0nxak.xml', '--output', '-', '--body'] 1164s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1164s # Output: /* 1164s # * This file is generated by gdbus-codegen, do not modify it. 1164s # * 1164s # * The license of this code is the same as for the D-Bus interface description 1164s # * it was derived from. Note that it links to GLib, so must comply with the 1164s # * LGPL linking clauses. 1164s # */ 1164s # 1164s # #ifdef HAVE_CONFIG_H 1164s # # include "config.h" 1164s # #endif 1164s # 1164s # #include 1164s # #ifdef G_OS_UNIX 1164s # # include 1164s # #endif 1164s # 1164s # #ifdef G_ENABLE_DEBUG 1164s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1164s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1164s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1164s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1164s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1164s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1164s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1164s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1164s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1164s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1164s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1164s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1164s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1164s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1164s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1164s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1164s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1164s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1164s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1164s # #else /* !G_ENABLE_DEBUG */ 1164s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1164s # * Do not access GValues directly in your code. Instead, use the 1164s # * g_value_get_*() functions 1164s # */ 1164s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1164s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1164s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1164s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1164s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1164s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1164s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1164s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1164s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1164s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1164s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1164s # #endif /* !G_ENABLE_DEBUG */ 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusArgInfo parent_struct; 1164s # gboolean use_gvariant; 1164s # } _ExtendedGDBusArgInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusMethodInfo parent_struct; 1164s # const gchar *signal_name; 1164s # gboolean pass_fdlist; 1164s # } _ExtendedGDBusMethodInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusSignalInfo parent_struct; 1164s # const gchar *signal_name; 1164s # } _ExtendedGDBusSignalInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusPropertyInfo parent_struct; 1164s # const gchar *hyphen_name; 1164s # guint use_gvariant : 1; 1164s # guint emits_changed_signal : 1; 1164s # } _ExtendedGDBusPropertyInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusInterfaceInfo parent_struct; 1164s # const gchar *hyphen_name; 1164s # } _ExtendedGDBusInterfaceInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # const _ExtendedGDBusPropertyInfo *info; 1164s # guint prop_id; 1164s # GValue orig_value; /* the value before the change */ 1164s # } ChangedProperty; 1164s # 1164s # static void 1164s # _changed_property_free (ChangedProperty *data) 1164s # { 1164s # g_value_unset (&data->orig_value); 1164s # g_free (data); 1164s # } 1164s # 1164s # static gboolean 1164s # _g_strv_equal0 (gchar **a, gchar **b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # guint n; 1164s # if (a == NULL && b == NULL) 1164s # { 1164s # ret = TRUE; 1164s # goto out; 1164s # } 1164s # if (a == NULL || b == NULL) 1164s # goto out; 1164s # if (g_strv_length (a) != g_strv_length (b)) 1164s # goto out; 1164s # for (n = 0; a[n] != NULL; n++) 1164s # if (g_strcmp0 (a[n], b[n]) != 0) 1164s # goto out; 1164s # ret = TRUE; 1164s # out: 1164s # return ret; 1164s # } 1164s # 1164s # static gboolean 1164s # _g_variant_equal0 (GVariant *a, GVariant *b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # if (a == NULL && b == NULL) 1164s # { 1164s # ret = TRUE; 1164s # goto out; 1164s # } 1164s # if (a == NULL || b == NULL) 1164s # goto out; 1164s # ret = g_variant_equal (a, b); 1164s # out: 1164s # return ret; 1164s # } 1164s # 1164s # G_GNUC_UNUSED static gboolean 1164s # _g_value_equal (const GValue *a, const GValue *b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1164s # switch (G_VALUE_TYPE (a)) 1164s # { 1164s # case G_TYPE_BOOLEAN: 1164s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1164s # break; 1164s # case G_TYPE_UCHAR: 1164s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1164s # break; 1164s # case G_TYPE_INT: 1164s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1164s # break; 1164s # case G_TYPE_UINT: 1164s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1164s # break; 1164s # case G_TYPE_INT64: 1164s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1164s # break; 1164s # case G_TYPE_UINT64: 1164s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1164s # break; 1164s # case G_TYPE_DOUBLE: 1164s # { 1164s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1164s # gdouble da = g_value_get_double (a); 1164s # gdouble db = g_value_get_double (b); 1164s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1164s # } 1164s # break; 1164s # case G_TYPE_STRING: 1164s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1164s # break; 1164s # case G_TYPE_VARIANT: 1164s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1164s # break; 1164s # default: 1164s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1164s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1164s # else 1164s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1164s # break; 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static void 1164s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 1164s # GClosure *closure, 1164s # GValue *return_value, 1164s # unsigned int n_param_values, 1164s # const GValue *param_values, 1164s # void *invocation_hint G_GNUC_UNUSED, 1164s # void *marshal_data) 1164s # { 1164s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1164s # (void *data1, 1164s # GDBusMethodInvocation *arg_method_invocation, 1164s # gboolean arg_an_b, 1164s # guchar arg_an_y, 1164s # gint16 arg_an_n, 1164s # guint16 arg_an_q, 1164s # gint arg_an_i, 1164s # guint arg_an_u, 1164s # gint64 arg_an_x, 1164s # guint64 arg_an_t, 1164s # gdouble arg_an_d, 1164s # const gchar *arg_an_s, 1164s # const gchar *arg_an_o, 1164s # const gchar *arg_an_g, 1164s # GVariant *arg_an_h, 1164s # const gchar *arg_an_ay, 1164s # const gchar *const *arg_an_as, 1164s # const gchar *const *arg_an_ao, 1164s # const gchar *const *arg_an_aay, 1164s # GVariant *arg_an_asv, 1164s # void *data2); 1164s # _GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 1164s # GCClosure *cc = (GCClosure*) closure; 1164s # void *data1, *data2; 1164s # gboolean v_return; 1164s # 1164s # g_return_if_fail (return_value != NULL); 1164s # g_return_if_fail (n_param_values == 20); 1164s # 1164s # if (G_CCLOSURE_SWAP_DATA (closure)) 1164s # { 1164s # data1 = closure->data; 1164s # data2 = g_value_peek_pointer (param_values + 0); 1164s # } 1164s # else 1164s # { 1164s # data1 = g_value_peek_pointer (param_values + 0); 1164s # data2 = closure->data; 1164s # } 1164s # 1164s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1164s # (marshal_data ? marshal_data : cc->callback); 1164s # 1164s # v_return = 1164s # callback (data1, 1164s # g_marshal_value_peek_object (param_values + 1), 1164s # g_marshal_value_peek_boolean (param_values + 2), 1164s # g_marshal_value_peek_uchar (param_values + 3), 1164s # g_marshal_value_peek_int (param_values + 4), 1164s # g_marshal_value_peek_uint (param_values + 5), 1164s # g_marshal_value_peek_int (param_values + 6), 1164s # g_marshal_value_peek_uint (param_values + 7), 1164s # g_marshal_value_peek_int64 (param_values + 8), 1164s # g_marshal_value_peek_uint64 (param_values + 9), 1164s # g_marshal_value_peek_double (param_values + 10), 1164s # g_marshal_value_peek_string (param_values + 11), 1164s # g_marshal_value_peek_string (param_values + 12), 1164s # g_marshal_value_peek_string (param_values + 13), 1164s # g_marshal_value_peek_variant (param_values + 14), 1164s # g_marshal_value_peek_string (param_values + 15), 1164s # g_marshal_value_peek_boxed (param_values + 16), 1164s # g_marshal_value_peek_boxed (param_values + 17), 1164s # g_marshal_value_peek_boxed (param_values + 18), 1164s # g_marshal_value_peek_variant (param_values + 19), 1164s # data2); 1164s # 1164s # g_value_set_boolean (return_value, v_return); 1164s # } 1164s # 1164s # /* ------------------------------------------------------------------------ 1164s # * Code for interface org.project.CallableIface 1164s # * ------------------------------------------------------------------------ 1164s # */ 1164s # 1164s # /** 1164s # * SECTION:OrgProjectCallableIface 1164s # * @title: OrgProjectCallableIface 1164s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 1164s # * 1164s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 1164s # */ 1164s # 1164s # /* ---- Introspection data for org.project.CallableIface ---- */ 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "an_b", 1164s # (gchar *) "b", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "an_y", 1164s # (gchar *) "y", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "an_n", 1164s # (gchar *) "n", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "an_q", 1164s # (gchar *) "q", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "an_i", 1164s # (gchar *) "i", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "an_u", 1164s # (gchar *) "u", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "an_x", 1164s # (gchar *) "x", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "an_t", 1164s # (gchar *) "t", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "an_d", 1164s # (gchar *) "d", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "an_s", 1164s # (gchar *) "s", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "an_o", 1164s # (gchar *) "o", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "an_g", 1164s # (gchar *) "g", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "an_h", 1164s # (gchar *) "h", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "an_ay", 1164s # (gchar *) "ay", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "an_as", 1164s # (gchar *) "as", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "an_ao", 1164s # (gchar *) "ao", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "an_aay", 1164s # (gchar *) "aay", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "an_asv", 1164s # (gchar *) "a{sv}", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] = 1164s # { 1164s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct, 1164s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct, 1164s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct, 1164s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct, 1164s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct, 1164s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct, 1164s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct, 1164s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct, 1164s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct, 1164s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct, 1164s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct, 1164s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct, 1164s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct, 1164s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct, 1164s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct, 1164s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct, 1164s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct, 1164s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct, 1164s # NULL 1164s # }; 1164s # 1164s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "MethodWithManyArgs", 1164s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers, 1164s # NULL, 1164s # NULL 1164s # }, 1164s # "handle-method-with-many-args", 1164s # FALSE 1164s # }; 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "an_b", 1164s # (gchar *) "b", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "an_y", 1164s # (gchar *) "y", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "an_n", 1164s # (gchar *) "n", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "an_q", 1164s # (gchar *) "q", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "an_i", 1164s # (gchar *) "i", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "an_u", 1164s # (gchar *) "u", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "an_x", 1164s # (gchar *) "x", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "an_t", 1164s # (gchar *) "t", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "an_d", 1164s # (gchar *) "d", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "an_s", 1164s # (gchar *) "s", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "an_o", 1164s # (gchar *) "o", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "an_g", 1164s # (gchar *) "g", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "an_h", 1164s # (gchar *) "h", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "an_ay", 1164s # (gchar *) "ay", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "an_as", 1164s # (gchar *) "as", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "an_ao", 1164s # (gchar *) "ao", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "an_aay", 1164s # (gchar *) "aay", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "an_asv", 1164s # (gchar *) "a{sv}", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers[] = 1164s # { 1164s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b.parent_struct, 1164s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y.parent_struct, 1164s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n.parent_struct, 1164s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q.parent_struct, 1164s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i.parent_struct, 1164s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u.parent_struct, 1164s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x.parent_struct, 1164s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t.parent_struct, 1164s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d.parent_struct, 1164s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s.parent_struct, 1164s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o.parent_struct, 1164s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g.parent_struct, 1164s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h.parent_struct, 1164s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay.parent_struct, 1164s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as.parent_struct, 1164s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao.parent_struct, 1164s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay.parent_struct, 1164s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv.parent_struct, 1164s # NULL 1164s # }; 1164s # 1164s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_same_method_with_many_args = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "SameMethodWithManyArgs", 1164s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers, 1164s # NULL, 1164s # NULL 1164s # }, 1164s # "handle-same-method-with-many-args", 1164s # FALSE 1164s # }; 1164s # 1164s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 1164s # { 1164s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct, 1164s # &_org_project_callable_iface_method_info_same_method_with_many_args.parent_struct, 1164s # NULL 1164s # }; 1164s # 1164s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "org.project.CallableIface", 1164s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 1164s # NULL, 1164s # NULL, 1164s # NULL 1164s # }, 1164s # "org-project-callable-iface", 1164s # }; 1164s # 1164s # 1164s # /** 1164s # * org_project_callable_iface_interface_info: 1164s # * 1164s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 1164s # * 1164s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1164s # */ 1164s # GDBusInterfaceInfo * 1164s # org_project_callable_iface_interface_info (void) 1164s # { 1164s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 1164s # } 1164s # 1164s # /** 1164s # * org_project_callable_iface_override_properties: 1164s # * @klass: The class structure for a #GObject derived class. 1164s # * @property_id_begin: The property id to assign to the first overridden property. 1164s # * 1164s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 1164s # * The properties are overridden in the order they are defined. 1164s # * 1164s # * Returns: The last property id. 1164s # */ 1164s # guint 1164s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1164s # { 1164s # return property_id_begin - 1; 1164s # } 1164s # 1164s # 1164s # inline static void 1164s # org_project_callable_iface_method_marshal_method_with_many_args ( 1164s # GClosure *closure, 1164s # GValue *return_value, 1164s # unsigned int n_param_values, 1164s # const GValue *param_values, 1164s # void *invocation_hint, 1164s # void *marshal_data) 1164s # { 1164s # _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, 1164s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1164s # } 1164s # 1164s # inline static void 1164s # org_project_callable_iface_method_marshal_same_method_with_many_args ( 1164s # GClosure *closure, 1164s # GValue *return_value, 1164s # unsigned int n_param_values, 1164s # const GValue *param_values, 1164s # void *invocation_hint, 1164s # void *marshal_data) 1164s # { 1164s # _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, 1164s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1164s # } 1164s # 1164s # 1164s # /** 1164s # * OrgProjectCallableIface: 1164s # * 1164s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectCallableIfaceIface: 1164s # * @parent_iface: The parent interface. 1164s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal. 1164s # * @handle_same_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-same-method-with-many-args signal. 1164s # * 1164s # * Virtual table for the D-Bus interface org.project.CallableIface. 1164s # */ 1164s # 1164s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 1164s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 1164s # 1164s # static void 1164s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 1164s # { 1164s # /* GObject signals for incoming D-Bus method calls: */ 1164s # /** 1164s # * OrgProjectCallableIface::handle-method-with-many-args: 1164s # * @object: A #OrgProjectCallableIface. 1164s # * @invocation: A #GDBusMethodInvocation. 1164s # * @arg_an_b: Argument passed by remote caller. 1164s # * @arg_an_y: Argument passed by remote caller. 1164s # * @arg_an_n: Argument passed by remote caller. 1164s # * @arg_an_q: Argument passed by remote caller. 1164s # * @arg_an_i: Argument passed by remote caller. 1164s # * @arg_an_u: Argument passed by remote caller. 1164s # * @arg_an_x: Argument passed by remote caller. 1164s # * @arg_an_t: Argument passed by remote caller. 1164s # * @arg_an_d: Argument passed by remote caller. 1164s # * @arg_an_s: Argument passed by remote caller. 1164s # * @arg_an_o: Argument passed by remote caller. 1164s # * @arg_an_g: Argument passed by remote caller. 1164s # * @arg_an_h: Argument passed by remote caller. 1164s # * @arg_an_ay: Argument passed by remote caller. 1164s # * @arg_an_as: Argument passed by remote caller. 1164s # * @arg_an_ao: Argument passed by remote caller. 1164s # * @arg_an_aay: Argument passed by remote caller. 1164s # * @arg_an_asv: Argument passed by remote caller. 1164s # * 1164s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 1164s # * 1164s # * 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. 1164s # * 1164s # * 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. 1164s # */ 1164s # g_signal_new ("handle-method-with-many-args", 1164s # G_TYPE_FROM_INTERFACE (iface), 1164s # G_SIGNAL_RUN_LAST, 1164s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args), 1164s # g_signal_accumulator_true_handled, 1164s # NULL, 1164s # org_project_callable_iface_method_marshal_method_with_many_args, 1164s # G_TYPE_BOOLEAN, 1164s # 19, 1164s # 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); 1164s # 1164s # /** 1164s # * OrgProjectCallableIface::handle-same-method-with-many-args: 1164s # * @object: A #OrgProjectCallableIface. 1164s # * @invocation: A #GDBusMethodInvocation. 1164s # * @arg_an_b: Argument passed by remote caller. 1164s # * @arg_an_y: Argument passed by remote caller. 1164s # * @arg_an_n: Argument passed by remote caller. 1164s # * @arg_an_q: Argument passed by remote caller. 1164s # * @arg_an_i: Argument passed by remote caller. 1164s # * @arg_an_u: Argument passed by remote caller. 1164s # * @arg_an_x: Argument passed by remote caller. 1164s # * @arg_an_t: Argument passed by remote caller. 1164s # * @arg_an_d: Argument passed by remote caller. 1164s # * @arg_an_s: Argument passed by remote caller. 1164s # * @arg_an_o: Argument passed by remote caller. 1164s # * @arg_an_g: Argument passed by remote caller. 1164s # * @arg_an_h: Argument passed by remote caller. 1164s # * @arg_an_ay: Argument passed by remote caller. 1164s # * @arg_an_as: Argument passed by remote caller. 1164s # * @arg_an_ao: Argument passed by remote caller. 1164s # * @arg_an_aay: Argument passed by remote caller. 1164s # * @arg_an_asv: Argument passed by remote caller. 1164s # * 1164s # * Signal emitted when a remote caller is invoking the SameMethodWithManyArgs() D-Bus method. 1164s # * 1164s # * 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. 1164s # * 1164s # * 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. 1164s # */ 1164s # g_signal_new ("handle-same-method-with-many-args", 1164s # G_TYPE_FROM_INTERFACE (iface), 1164s # G_SIGNAL_RUN_LAST, 1164s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_same_method_with_many_args), 1164s # g_signal_accumulator_true_handled, 1164s # NULL, 1164s # org_project_callable_iface_method_marshal_same_method_with_many_args, 1164s # G_TYPE_BOOLEAN, 1164s # 19, 1164s # 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); 1164s # 1164s # } 1164s # 1164s # /** 1164s # * org_project_callable_iface_call_method_with_many_args: 1164s # * @proxy: A #OrgProjectCallableIfaceProxy. 1164s # * @arg_an_b: Argument to pass with the method invocation. 1164s # * @arg_an_y: Argument to pass with the method invocation. 1164s # * @arg_an_n: Argument to pass with the method invocation. 1164s # * @arg_an_q: Argument to pass with the method invocation. 1164s # * @arg_an_i: Argument to pass with the method invocation. 1164s # * @arg_an_u: Argument to pass with the method invocation. 1164s # * @arg_an_x: Argument to pass with the method invocation. 1164s # * @arg_an_t: Argument to pass with the method invocation. 1164s # * @arg_an_d: Argument to pass with the method invocation. 1164s # * @arg_an_s: Argument to pass with the method invocation. 1164s # * @arg_an_o: Argument to pass with the method invocation. 1164s # * @arg_an_g: Argument to pass with the method invocation. 1164s # * @arg_an_h: Argument to pass with the method invocation. 1164s # * @arg_an_ay: Argument to pass with the method invocation. 1164s # * @arg_an_as: Argument to pass with the method invocation. 1164s # * @arg_an_ao: Argument to pass with the method invocation. 1164s # * @arg_an_aay: Argument to pass with the method invocation. 1164s # * @arg_an_asv: Argument to pass with the method invocation. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 1164s # */ 1164s # void 1164s # org_project_callable_iface_call_method_with_many_args ( 1164s # OrgProjectCallableIface *proxy, 1164s # gboolean arg_an_b, 1164s # guchar arg_an_y, 1164s # gint16 arg_an_n, 1164s # guint16 arg_an_q, 1164s # gint arg_an_i, 1164s # guint arg_an_u, 1164s # gint64 arg_an_x, 1164s # guint64 arg_an_t, 1164s # gdouble arg_an_d, 1164s # const gchar *arg_an_s, 1164s # const gchar *arg_an_o, 1164s # const gchar *arg_an_g, 1164s # GVariant *arg_an_h, 1164s # const gchar *arg_an_ay, 1164s # const gchar *const *arg_an_as, 1164s # const gchar *const *arg_an_ao, 1164s # const gchar *const *arg_an_aay, 1164s # GVariant *arg_an_asv, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1164s # "MethodWithManyArgs", 1164s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1164s # arg_an_b, 1164s # arg_an_y, 1164s # arg_an_n, 1164s # arg_an_q, 1164s # arg_an_i, 1164s # arg_an_u, 1164s # arg_an_x, 1164s # arg_an_t, 1164s # arg_an_d, 1164s # arg_an_s, 1164s # arg_an_o, 1164s # arg_an_g, 1164s # arg_an_h, 1164s # arg_an_ay, 1164s # arg_an_as, 1164s # arg_an_ao, 1164s # arg_an_aay, 1164s # arg_an_asv), 1164s # G_DBUS_CALL_FLAGS_NONE, 1164s # -1, 1164s # cancellable, 1164s # callback, 1164s # user_data); 1164s # } 1164s # 1164s # /** 1164s # * org_project_callable_iface_call_method_with_many_args_finish: 1164s # * @proxy: A #OrgProjectCallableIfaceProxy. 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args(). 1164s # * @error: Return location for error or %NULL. 1164s # * 1164s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args(). 1164s # * 1164s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1164s # */ 1164s # gboolean 1164s # org_project_callable_iface_call_method_with_many_args_finish ( 1164s # OrgProjectCallableIface *proxy, 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GVariant *_ret; 1164s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1164s # if (_ret == NULL) 1164s # goto _out; 1164s # g_variant_get (_ret, 1164s # "()"); 1164s # g_variant_unref (_ret); 1164s # _out: 1164s # return _ret != NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_callable_iface_call_method_with_many_args_sync: 1164s # * @proxy: A #OrgProjectCallableIfaceProxy. 1164s # * @arg_an_b: Argument to pass with the method invocation. 1164s # * @arg_an_y: Argument to pass with the method invocation. 1164s # * @arg_an_n: Argument to pass with the method invocation. 1164s # * @arg_an_q: Argument to pass with the method invocation. 1164s # * @arg_an_i: Argument to pass with the method invocation. 1164s # * @arg_an_u: Argument to pass with the method invocation. 1164s # * @arg_an_x: Argument to pass with the method invocation. 1164s # * @arg_an_t: Argument to pass with the method invocation. 1164s # * @arg_an_d: Argument to pass with the method invocation. 1164s # * @arg_an_s: Argument to pass with the method invocation. 1164s # * @arg_an_o: Argument to pass with the method invocation. 1164s # * @arg_an_g: Argument to pass with the method invocation. 1164s # * @arg_an_h: Argument to pass with the method invocation. 1164s # * @arg_an_ay: Argument to pass with the method invocation. 1164s # * @arg_an_as: Argument to pass with the method invocation. 1164s # * @arg_an_ao: Argument to pass with the method invocation. 1164s # * @arg_an_aay: Argument to pass with the method invocation. 1164s # * @arg_an_asv: Argument to pass with the method invocation. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL. 1164s # * 1164s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 1164s # * 1164s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1164s # */ 1164s # gboolean 1164s # org_project_callable_iface_call_method_with_many_args_sync ( 1164s # OrgProjectCallableIface *proxy, 1164s # gboolean arg_an_b, 1164s # guchar arg_an_y, 1164s # gint16 arg_an_n, 1164s # guint16 arg_an_q, 1164s # gint arg_an_i, 1164s # guint arg_an_u, 1164s # gint64 arg_an_x, 1164s # guint64 arg_an_t, 1164s # gdouble arg_an_d, 1164s # const gchar *arg_an_s, 1164s # const gchar *arg_an_o, 1164s # const gchar *arg_an_g, 1164s # GVariant *arg_an_h, 1164s # const gchar *arg_an_ay, 1164s # const gchar *const *arg_an_as, 1164s # const gchar *const *arg_an_ao, 1164s # const gchar *const *arg_an_aay, 1164s # GVariant *arg_an_asv, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GVariant *_ret; 1164s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1164s # "MethodWithManyArgs", 1164s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1164s # arg_an_b, 1164s # arg_an_y, 1164s # arg_an_n, 1164s # arg_an_q, 1164s # arg_an_i, 1164s # arg_an_u, 1164s # arg_an_x, 1164s # arg_an_t, 1164s # arg_an_d, 1164s # arg_an_s, 1164s # arg_an_o, 1164s # arg_an_g, 1164s # arg_an_h, 1164s # arg_an_ay, 1164s # arg_an_as, 1164s # arg_an_ao, 1164s # arg_an_aay, 1164s # arg_an_asv), 1164s # G_DBUS_CALL_FLAGS_NONE, 1164s # -1, 1164s # cancellable, 1164s # error); 1164s # if (_ret == NULL) 1164s # goto _out; 1164s # g_variant_get (_ret, 1164s # "()"); 1164s # g_variant_unref (_ret); 1164s # _out: 1164s # return _ret != NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_callable_iface_call_same_method_with_many_args: 1164s # * @proxy: A #OrgProjectCallableIfaceProxy. 1164s # * @arg_an_b: Argument to pass with the method invocation. 1164s # * @arg_an_y: Argument to pass with the method invocation. 1164s # * @arg_an_n: Argument to pass with the method invocation. 1164s # * @arg_an_q: Argument to pass with the method invocation. 1164s # * @arg_an_i: Argument to pass with the method invocation. 1164s # * @arg_an_u: Argument to pass with the method invocation. 1164s # * @arg_an_x: Argument to pass with the method invocation. 1164s # * @arg_an_t: Argument to pass with the method invocation. 1164s # * @arg_an_d: Argument to pass with the method invocation. 1164s # * @arg_an_s: Argument to pass with the method invocation. 1164s # * @arg_an_o: Argument to pass with the method invocation. 1164s # * @arg_an_g: Argument to pass with the method invocation. 1164s # * @arg_an_h: Argument to pass with the method invocation. 1164s # * @arg_an_ay: Argument to pass with the method invocation. 1164s # * @arg_an_as: Argument to pass with the method invocation. 1164s # * @arg_an_ao: Argument to pass with the method invocation. 1164s # * @arg_an_aay: Argument to pass with the method invocation. 1164s # * @arg_an_asv: Argument to pass with the method invocation. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Asynchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_callable_iface_call_same_method_with_many_args_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_callable_iface_call_same_method_with_many_args_sync() for the synchronous, blocking version of this method. 1164s # */ 1164s # void 1164s # org_project_callable_iface_call_same_method_with_many_args ( 1164s # OrgProjectCallableIface *proxy, 1164s # gboolean arg_an_b, 1164s # guchar arg_an_y, 1164s # gint16 arg_an_n, 1164s # guint16 arg_an_q, 1164s # gint arg_an_i, 1164s # guint arg_an_u, 1164s # gint64 arg_an_x, 1164s # guint64 arg_an_t, 1164s # gdouble arg_an_d, 1164s # const gchar *arg_an_s, 1164s # const gchar *arg_an_o, 1164s # const gchar *arg_an_g, 1164s # GVariant *arg_an_h, 1164s # const gchar *arg_an_ay, 1164s # const gchar *const *arg_an_as, 1164s # const gchar *const *arg_an_ao, 1164s # const gchar *const *arg_an_aay, 1164s # GVariant *arg_an_asv, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1164s # "SameMethodWithManyArgs", 1164s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1164s # arg_an_b, 1164s # arg_an_y, 1164s # arg_an_n, 1164s # arg_an_q, 1164s # arg_an_i, 1164s # arg_an_u, 1164s # arg_an_x, 1164s # arg_an_t, 1164s # arg_an_d, 1164s # arg_an_s, 1164s # arg_an_o, 1164s # arg_an_g, 1164s # arg_an_h, 1164s # arg_an_ay, 1164s # arg_an_as, 1164s # arg_an_ao, 1164s # arg_an_aay, 1164s # arg_an_asv), 1164s # G_DBUS_CALL_FLAGS_NONE, 1164s # -1, 1164s # cancellable, 1164s # callback, 1164s # user_data); 1164s # } 1164s # 1164s # /** 1164s # * org_project_callable_iface_call_same_method_with_many_args_finish: 1164s # * @proxy: A #OrgProjectCallableIfaceProxy. 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_same_method_with_many_args(). 1164s # * @error: Return location for error or %NULL. 1164s # * 1164s # * Finishes an operation started with org_project_callable_iface_call_same_method_with_many_args(). 1164s # * 1164s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1164s # */ 1164s # gboolean 1164s # org_project_callable_iface_call_same_method_with_many_args_finish ( 1164s # OrgProjectCallableIface *proxy, 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GVariant *_ret; 1164s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1164s # if (_ret == NULL) 1164s # goto _out; 1164s # g_variant_get (_ret, 1164s # "()"); 1164s # g_variant_unref (_ret); 1164s # _out: 1164s # return _ret != NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_callable_iface_call_same_method_with_many_args_sync: 1164s # * @proxy: A #OrgProjectCallableIfaceProxy. 1164s # * @arg_an_b: Argument to pass with the method invocation. 1164s # * @arg_an_y: Argument to pass with the method invocation. 1164s # * @arg_an_n: Argument to pass with the method invocation. 1164s # * @arg_an_q: Argument to pass with the method invocation. 1164s # * @arg_an_i: Argument to pass with the method invocation. 1164s # * @arg_an_u: Argument to pass with the method invocation. 1164s # * @arg_an_x: Argument to pass with the method invocation. 1164s # * @arg_an_t: Argument to pass with the method invocation. 1164s # * @arg_an_d: Argument to pass with the method invocation. 1164s # * @arg_an_s: Argument to pass with the method invocation. 1164s # * @arg_an_o: Argument to pass with the method invocation. 1164s # * @arg_an_g: Argument to pass with the method invocation. 1164s # * @arg_an_h: Argument to pass with the method invocation. 1164s # * @arg_an_ay: Argument to pass with the method invocation. 1164s # * @arg_an_as: Argument to pass with the method invocation. 1164s # * @arg_an_ao: Argument to pass with the method invocation. 1164s # * @arg_an_aay: Argument to pass with the method invocation. 1164s # * @arg_an_asv: Argument to pass with the method invocation. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL. 1164s # * 1164s # * Synchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_callable_iface_call_same_method_with_many_args() for the asynchronous version of this method. 1164s # * 1164s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1164s # */ 1164s # gboolean 1164s # org_project_callable_iface_call_same_method_with_many_args_sync ( 1164s # OrgProjectCallableIface *proxy, 1164s # gboolean arg_an_b, 1164s # guchar arg_an_y, 1164s # gint16 arg_an_n, 1164s # guint16 arg_an_q, 1164s # gint arg_an_i, 1164s # guint arg_an_u, 1164s # gint64 arg_an_x, 1164s # guint64 arg_an_t, 1164s # gdouble arg_an_d, 1164s # const gchar *arg_an_s, 1164s # const gchar *arg_an_o, 1164s # const gchar *arg_an_g, 1164s # GVariant *arg_an_h, 1164s # const gchar *arg_an_ay, 1164s # const gchar *const *arg_an_as, 1164s # const gchar *const *arg_an_ao, 1164s # const gchar *const *arg_an_aay, 1164s # GVariant *arg_an_asv, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GVariant *_ret; 1164s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1164s # "SameMethodWithManyArgs", 1164s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1164s # arg_an_b, 1164s # arg_an_y, 1164s # arg_an_n, 1164s # arg_an_q, 1164s # arg_an_i, 1164s # arg_an_u, 1164s # arg_an_x, 1164s # arg_an_t, 1164s # arg_an_d, 1164s # arg_an_s, 1164s # arg_an_o, 1164s # arg_an_g, 1164s # arg_an_h, 1164s # arg_an_ay, 1164s # arg_an_as, 1164s # arg_an_ao, 1164s # arg_an_aay, 1164s # arg_an_asv), 1164s # G_DBUS_CALL_FLAGS_NONE, 1164s # -1, 1164s # cancellable, 1164s # error); 1164s # if (_ret == NULL) 1164s # goto _out; 1164s # g_variant_get (_ret, 1164s # "()"); 1164s # g_variant_unref (_ret); 1164s # _out: 1164s # return _ret != NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_callable_iface_complete_method_with_many_args: 1164s # * @object: A #OrgProjectCallableIface. 1164s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1164s # * 1164s # * 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. 1164s # * 1164s # * This method will free @invocation, you cannot use it afterwards. 1164s # */ 1164s # void 1164s # org_project_callable_iface_complete_method_with_many_args ( 1164s # OrgProjectCallableIface *object G_GNUC_UNUSED, 1164s # GDBusMethodInvocation *invocation) 1164s # { 1164s # g_dbus_method_invocation_return_value (invocation, 1164s # g_variant_new ("()")); 1164s # } 1164s # 1164s # /** 1164s # * org_project_callable_iface_complete_same_method_with_many_args: 1164s # * @object: A #OrgProjectCallableIface. 1164s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1164s # * 1164s # * 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. 1164s # * 1164s # * This method will free @invocation, you cannot use it afterwards. 1164s # */ 1164s # void 1164s # org_project_callable_iface_complete_same_method_with_many_args ( 1164s # OrgProjectCallableIface *object G_GNUC_UNUSED, 1164s # GDBusMethodInvocation *invocation) 1164s # { 1164s # g_dbus_method_invocation_return_value (invocation, 1164s # g_variant_new ("()")); 1164s # } 1164s # 1164s # /* ------------------------------------------------------------------------ */ 1164s # 1164s # /** 1164s # * OrgProjectCallableIfaceProxy: 1164s # * 1164s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectCallableIfaceProxyClass: 1164s # * @parent_class: The parent class. 1164s # * 1164s # * Class structure for #OrgProjectCallableIfaceProxy. 1164s # */ 1164s # 1164s # struct _OrgProjectCallableIfaceProxyPrivate 1164s # { 1164s # GData *qdata; 1164s # }; 1164s # 1164s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1164s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1164s # 1164s # #else 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1164s # 1164s # #endif 1164s # static void 1164s # org_project_callable_iface_proxy_finalize (GObject *object) 1164s # { 1164s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 1164s # g_datalist_clear (&proxy->priv->qdata); 1164s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 1164s # } 1164s # 1164s # static void 1164s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1164s # guint prop_id G_GNUC_UNUSED, 1164s # GValue *value G_GNUC_UNUSED, 1164s # GParamSpec *pspec G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void 1164s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1164s # guint prop_id G_GNUC_UNUSED, 1164s # const GValue *value G_GNUC_UNUSED, 1164s # GParamSpec *pspec G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void 1164s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1164s # const gchar *sender_name G_GNUC_UNUSED, 1164s # const gchar *signal_name, 1164s # GVariant *parameters) 1164s # { 1164s # _ExtendedGDBusSignalInfo *info; 1164s # GVariantIter iter; 1164s # GVariant *child; 1164s # GValue *paramv; 1164s # gsize num_params; 1164s # gsize n; 1164s # guint signal_id; 1164s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 1164s # if (info == NULL) 1164s # return; 1164s # num_params = g_variant_n_children (parameters); 1164s # paramv = g_new0 (GValue, num_params + 1); 1164s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1164s # g_value_set_object (¶mv[0], proxy); 1164s # g_variant_iter_init (&iter, parameters); 1164s # n = 1; 1164s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1164s # { 1164s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1164s # if (arg_info->use_gvariant) 1164s # { 1164s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1164s # g_value_set_variant (¶mv[n], child); 1164s # n++; 1164s # } 1164s # else 1164s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1164s # g_variant_unref (child); 1164s # } 1164s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1164s # g_signal_emitv (paramv, signal_id, 0, NULL); 1164s # for (n = 0; n < num_params + 1; n++) 1164s # g_value_unset (¶mv[n]); 1164s # g_free (paramv); 1164s # } 1164s # 1164s # static void 1164s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1164s # GVariant *changed_properties, 1164s # const gchar *const *invalidated_properties) 1164s # { 1164s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 1164s # guint n; 1164s # const gchar *key; 1164s # GVariantIter *iter; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # g_variant_get (changed_properties, "a{sv}", &iter); 1164s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1164s # { 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 1164s # g_datalist_remove_data (&proxy->priv->qdata, key); 1164s # if (info != NULL) 1164s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1164s # } 1164s # g_variant_iter_free (iter); 1164s # for (n = 0; invalidated_properties[n] != NULL; n++) 1164s # { 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1164s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1164s # if (info != NULL) 1164s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1164s # } 1164s # } 1164s # 1164s # static void 1164s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 1164s # { 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 1164s # #else 1164s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 1164s # #endif 1164s # 1164s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 1164s # } 1164s # 1164s # static void 1164s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 1164s # { 1164s # GObjectClass *gobject_class; 1164s # GDBusProxyClass *proxy_class; 1164s # 1164s # gobject_class = G_OBJECT_CLASS (klass); 1164s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 1164s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 1164s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 1164s # 1164s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1164s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 1164s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1164s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 1164s # #endif 1164s # } 1164s # 1164s # static void 1164s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # /** 1164s # * org_project_callable_iface_proxy_new: 1164s # * @connection: A #GDBusConnection. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 1164s # * 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1164s # */ 1164s # void 1164s # org_project_callable_iface_proxy_new ( 1164s # GDBusConnection *connection, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # 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); 1164s # } 1164s # 1164s # /** 1164s # * org_project_callable_iface_proxy_new_finish: 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectCallableIface * 1164s # org_project_callable_iface_proxy_new_finish ( 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GObject *ret; 1164s # GObject *source_object; 1164s # source_object = g_async_result_get_source_object (res); 1164s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1164s # g_object_unref (source_object); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_callable_iface_proxy_new_sync: 1164s # * @connection: A #GDBusConnection. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 1164s # * 1164s # * The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectCallableIface * 1164s # org_project_callable_iface_proxy_new_sync ( 1164s # GDBusConnection *connection, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GInitable *ret; 1164s # 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); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # 1164s # /** 1164s # * org_project_callable_iface_proxy_new_for_bus: 1164s # * @bus_type: A #GBusType. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: A bus name (well-known or unique). 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1164s # * 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1164s # */ 1164s # void 1164s # org_project_callable_iface_proxy_new_for_bus ( 1164s # GBusType bus_type, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # 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); 1164s # } 1164s # 1164s # /** 1164s # * org_project_callable_iface_proxy_new_for_bus_finish: 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectCallableIface * 1164s # org_project_callable_iface_proxy_new_for_bus_finish ( 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GObject *ret; 1164s # GObject *source_object; 1164s # source_object = g_async_result_get_source_object (res); 1164s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1164s # g_object_unref (source_object); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_callable_iface_proxy_new_for_bus_sync: 1164s # * @bus_type: A #GBusType. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: A bus name (well-known or unique). 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1164s # * 1164s # * The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectCallableIface * 1164s # org_project_callable_iface_proxy_new_for_bus_sync ( 1164s # GBusType bus_type, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GInitable *ret; 1164s # 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); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # 1164s # /* ------------------------------------------------------------------------ */ 1164s # 1164s # /** 1164s # * OrgProjectCallableIfaceSkeleton: 1164s # * 1164s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectCallableIfaceSkeletonClass: 1164s # * @parent_class: The parent class. 1164s # * 1164s # * Class structure for #OrgProjectCallableIfaceSkeleton. 1164s # */ 1164s # 1164s # struct _OrgProjectCallableIfaceSkeletonPrivate 1164s # { 1164s # GValue *properties; 1164s # GList *changed_properties; 1164s # GSource *changed_properties_idle_source; 1164s # GMainContext *context; 1164s # GMutex lock; 1164s # }; 1164s # 1164s # static void 1164s # _org_project_callable_iface_skeleton_handle_method_call ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name, 1164s # const gchar *method_name, 1164s # GVariant *parameters, 1164s # GDBusMethodInvocation *invocation, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1164s # _ExtendedGDBusMethodInfo *info; 1164s # GVariantIter iter; 1164s # GVariant *child; 1164s # GValue *paramv; 1164s # gsize num_params; 1164s # guint num_extra; 1164s # gsize n; 1164s # guint signal_id; 1164s # GValue return_value = G_VALUE_INIT; 1164s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1164s # g_assert (info != NULL); 1164s # num_params = g_variant_n_children (parameters); 1164s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1164s # n = 0; 1164s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1164s # g_value_set_object (¶mv[n++], skeleton); 1164s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1164s # g_value_set_object (¶mv[n++], invocation); 1164s # if (info->pass_fdlist) 1164s # { 1164s # #ifdef G_OS_UNIX 1164s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1164s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1164s # #else 1164s # g_assert_not_reached (); 1164s # #endif 1164s # } 1164s # g_variant_iter_init (&iter, parameters); 1164s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1164s # { 1164s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1164s # if (arg_info->use_gvariant) 1164s # { 1164s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1164s # g_value_set_variant (¶mv[n], child); 1164s # n++; 1164s # } 1164s # else 1164s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1164s # g_variant_unref (child); 1164s # } 1164s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1164s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1164s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1164s # if (!g_value_get_boolean (&return_value)) 1164s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1164s # g_value_unset (&return_value); 1164s # for (n = 0; n < num_params + num_extra; n++) 1164s # g_value_unset (¶mv[n]); 1164s # g_free (paramv); 1164s # } 1164s # 1164s # static GVariant * 1164s # _org_project_callable_iface_skeleton_handle_get_property ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name G_GNUC_UNUSED, 1164s # const gchar *property_name, 1164s # GError **error, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1164s # GValue value = G_VALUE_INIT; 1164s # GParamSpec *pspec; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # GVariant *ret; 1164s # ret = NULL; 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1164s # g_assert (info != NULL); 1164s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1164s # if (pspec == NULL) 1164s # { 1164s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1164s # } 1164s # else 1164s # { 1164s # g_value_init (&value, pspec->value_type); 1164s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1164s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1164s # g_value_unset (&value); 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static gboolean 1164s # _org_project_callable_iface_skeleton_handle_set_property ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name G_GNUC_UNUSED, 1164s # const gchar *property_name, 1164s # GVariant *variant, 1164s # GError **error, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1164s # GValue value = G_VALUE_INIT; 1164s # GParamSpec *pspec; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # gboolean ret; 1164s # ret = FALSE; 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1164s # g_assert (info != NULL); 1164s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1164s # if (pspec == NULL) 1164s # { 1164s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1164s # } 1164s # else 1164s # { 1164s # if (info->use_gvariant) 1164s # g_value_set_variant (&value, variant); 1164s # else 1164s # g_dbus_gvariant_to_gvalue (variant, &value); 1164s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1164s # g_value_unset (&value); 1164s # ret = TRUE; 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 1164s # { 1164s # _org_project_callable_iface_skeleton_handle_method_call, 1164s # _org_project_callable_iface_skeleton_handle_get_property, 1164s # _org_project_callable_iface_skeleton_handle_set_property, 1164s # {NULL} 1164s # }; 1164s # 1164s # static GDBusInterfaceInfo * 1164s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1164s # { 1164s # return org_project_callable_iface_interface_info (); 1164s # } 1164s # 1164s # static GDBusInterfaceVTable * 1164s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1164s # { 1164s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 1164s # } 1164s # 1164s # static GVariant * 1164s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1164s # { 1164s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 1164s # 1164s # GVariantBuilder builder; 1164s # guint n; 1164s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1164s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 1164s # goto out; 1164s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1164s # { 1164s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 1164s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1164s # { 1164s # GVariant *value; 1164s # 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); 1164s # if (value != NULL) 1164s # { 1164s # g_variant_take_ref (value); 1164s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1164s # g_variant_unref (value); 1164s # } 1164s # } 1164s # } 1164s # out: 1164s # return g_variant_builder_end (&builder); 1164s # } 1164s # 1164s # static void 1164s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1164s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1164s # 1164s # #else 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1164s # 1164s # #endif 1164s # static void 1164s # org_project_callable_iface_skeleton_finalize (GObject *object) 1164s # { 1164s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 1164s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1164s # if (skeleton->priv->changed_properties_idle_source != NULL) 1164s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1164s # g_main_context_unref (skeleton->priv->context); 1164s # g_mutex_clear (&skeleton->priv->lock); 1164s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 1164s # } 1164s # 1164s # static void 1164s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 1164s # { 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 1164s # #else 1164s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 1164s # #endif 1164s # 1164s # g_mutex_init (&skeleton->priv->lock); 1164s # skeleton->priv->context = g_main_context_ref_thread_default (); 1164s # } 1164s # 1164s # static void 1164s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 1164s # { 1164s # GObjectClass *gobject_class; 1164s # GDBusInterfaceSkeletonClass *skeleton_class; 1164s # 1164s # gobject_class = G_OBJECT_CLASS (klass); 1164s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 1164s # 1164s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1164s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 1164s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 1164s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 1164s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1164s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 1164s # #endif 1164s # } 1164s # 1164s # static void 1164s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # /** 1164s # * org_project_callable_iface_skeleton_new: 1164s # * 1164s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 1164s # */ 1164s # OrgProjectCallableIface * 1164s # org_project_callable_iface_skeleton_new (void) 1164s # { 1164s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 1164s # } 1164s # 1164s # /* ------------------------------------------------------------------------ 1164s # * Code for interface org.project.OtherCallableIface 1164s # * ------------------------------------------------------------------------ 1164s # */ 1164s # 1164s # /** 1164s # * SECTION:OrgProjectOtherCallableIface 1164s # * @title: OrgProjectOtherCallableIface 1164s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface 1164s # * 1164s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C. 1164s # */ 1164s # 1164s # /* ---- Introspection data for org.project.OtherCallableIface ---- */ 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "an_b", 1164s # (gchar *) "b", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "an_y", 1164s # (gchar *) "y", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "an_n", 1164s # (gchar *) "n", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "an_q", 1164s # (gchar *) "q", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "an_i", 1164s # (gchar *) "i", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "an_u", 1164s # (gchar *) "u", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "an_x", 1164s # (gchar *) "x", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "an_t", 1164s # (gchar *) "t", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "an_d", 1164s # (gchar *) "d", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "an_s", 1164s # (gchar *) "s", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "an_o", 1164s # (gchar *) "o", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "an_g", 1164s # (gchar *) "g", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "an_h", 1164s # (gchar *) "h", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "an_ay", 1164s # (gchar *) "ay", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "an_as", 1164s # (gchar *) "as", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "an_ao", 1164s # (gchar *) "ao", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "an_aay", 1164s # (gchar *) "aay", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "an_asv", 1164s # (gchar *) "a{sv}", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const GDBusArgInfo * const _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] = 1164s # { 1164s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct, 1164s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct, 1164s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct, 1164s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct, 1164s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct, 1164s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct, 1164s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct, 1164s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct, 1164s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct, 1164s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct, 1164s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct, 1164s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct, 1164s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct, 1164s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct, 1164s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct, 1164s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct, 1164s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct, 1164s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct, 1164s # NULL 1164s # }; 1164s # 1164s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_method_with_many_args = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "MethodWithManyArgs", 1164s # (GDBusArgInfo **) &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers, 1164s # NULL, 1164s # NULL 1164s # }, 1164s # "handle-method-with-many-args", 1164s # FALSE 1164s # }; 1164s # 1164s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] = 1164s # { 1164s # &_org_project_other_callable_iface_method_info_method_with_many_args.parent_struct, 1164s # NULL 1164s # }; 1164s # 1164s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "org.project.OtherCallableIface", 1164s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers, 1164s # NULL, 1164s # NULL, 1164s # NULL 1164s # }, 1164s # "org-project-other-callable-iface", 1164s # }; 1164s # 1164s # 1164s # /** 1164s # * org_project_other_callable_iface_interface_info: 1164s # * 1164s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface. 1164s # * 1164s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1164s # */ 1164s # GDBusInterfaceInfo * 1164s # org_project_other_callable_iface_interface_info (void) 1164s # { 1164s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct; 1164s # } 1164s # 1164s # /** 1164s # * org_project_other_callable_iface_override_properties: 1164s # * @klass: The class structure for a #GObject derived class. 1164s # * @property_id_begin: The property id to assign to the first overridden property. 1164s # * 1164s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class. 1164s # * The properties are overridden in the order they are defined. 1164s # * 1164s # * Returns: The last property id. 1164s # */ 1164s # guint 1164s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1164s # { 1164s # return property_id_begin - 1; 1164s # } 1164s # 1164s # 1164s # inline static void 1164s # org_project_other_callable_iface_method_marshal_method_with_many_args ( 1164s # GClosure *closure, 1164s # GValue *return_value, 1164s # unsigned int n_param_values, 1164s # const GValue *param_values, 1164s # void *invocation_hint, 1164s # void *marshal_data) 1164s # { 1164s # _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, 1164s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1164s # } 1164s # 1164s # 1164s # /** 1164s # * OrgProjectOtherCallableIface: 1164s # * 1164s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectOtherCallableIfaceIface: 1164s # * @parent_iface: The parent interface. 1164s # * @handle_method_with_many_args: Handler for the #OrgProjectOtherCallableIface::handle-method-with-many-args signal. 1164s # * 1164s # * Virtual table for the D-Bus interface org.project.OtherCallableIface. 1164s # */ 1164s # 1164s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface; 1164s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT) 1164s # 1164s # static void 1164s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface) 1164s # { 1164s # /* GObject signals for incoming D-Bus method calls: */ 1164s # /** 1164s # * OrgProjectOtherCallableIface::handle-method-with-many-args: 1164s # * @object: A #OrgProjectOtherCallableIface. 1164s # * @invocation: A #GDBusMethodInvocation. 1164s # * @arg_an_b: Argument passed by remote caller. 1164s # * @arg_an_y: Argument passed by remote caller. 1164s # * @arg_an_n: Argument passed by remote caller. 1164s # * @arg_an_q: Argument passed by remote caller. 1164s # * @arg_an_i: Argument passed by remote caller. 1164s # * @arg_an_u: Argument passed by remote caller. 1164s # * @arg_an_x: Argument passed by remote caller. 1164s # * @arg_an_t: Argument passed by remote caller. 1164s # * @arg_an_d: Argument passed by remote caller. 1164s # * @arg_an_s: Argument passed by remote caller. 1164s # * @arg_an_o: Argument passed by remote caller. 1164s # * @arg_an_g: Argument passed by remote caller. 1164s # * @arg_an_h: Argument passed by remote caller. 1164s # * @arg_an_ay: Argument passed by remote caller. 1164s # * @arg_an_as: Argument passed by remote caller. 1164s # * @arg_an_ao: Argument passed by remote caller. 1164s # * @arg_an_aay: Argument passed by remote caller. 1164s # * @arg_an_asv: Argument passed by remote caller. 1164s # * 1164s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 1164s # * 1164s # * 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. 1164s # * 1164s # * 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. 1164s # */ 1164s # g_signal_new ("handle-method-with-many-args", 1164s # G_TYPE_FROM_INTERFACE (iface), 1164s # G_SIGNAL_RUN_LAST, 1164s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_method_with_many_args), 1164s # g_signal_accumulator_true_handled, 1164s # NULL, 1164s # org_project_other_callable_iface_method_marshal_method_with_many_args, 1164s # G_TYPE_BOOLEAN, 1164s # 19, 1164s # 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); 1164s # 1164s # } 1164s # 1164s # /** 1164s # * org_project_other_callable_iface_call_method_with_many_args: 1164s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1164s # * @arg_an_b: Argument to pass with the method invocation. 1164s # * @arg_an_y: Argument to pass with the method invocation. 1164s # * @arg_an_n: Argument to pass with the method invocation. 1164s # * @arg_an_q: Argument to pass with the method invocation. 1164s # * @arg_an_i: Argument to pass with the method invocation. 1164s # * @arg_an_u: Argument to pass with the method invocation. 1164s # * @arg_an_x: Argument to pass with the method invocation. 1164s # * @arg_an_t: Argument to pass with the method invocation. 1164s # * @arg_an_d: Argument to pass with the method invocation. 1164s # * @arg_an_s: Argument to pass with the method invocation. 1164s # * @arg_an_o: Argument to pass with the method invocation. 1164s # * @arg_an_g: Argument to pass with the method invocation. 1164s # * @arg_an_h: Argument to pass with the method invocation. 1164s # * @arg_an_ay: Argument to pass with the method invocation. 1164s # * @arg_an_as: Argument to pass with the method invocation. 1164s # * @arg_an_ao: Argument to pass with the method invocation. 1164s # * @arg_an_aay: Argument to pass with the method invocation. 1164s # * @arg_an_asv: Argument to pass with the method invocation. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_other_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_other_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 1164s # */ 1164s # void 1164s # org_project_other_callable_iface_call_method_with_many_args ( 1164s # OrgProjectOtherCallableIface *proxy, 1164s # gboolean arg_an_b, 1164s # guchar arg_an_y, 1164s # gint16 arg_an_n, 1164s # guint16 arg_an_q, 1164s # gint arg_an_i, 1164s # guint arg_an_u, 1164s # gint64 arg_an_x, 1164s # guint64 arg_an_t, 1164s # gdouble arg_an_d, 1164s # const gchar *arg_an_s, 1164s # const gchar *arg_an_o, 1164s # const gchar *arg_an_g, 1164s # GVariant *arg_an_h, 1164s # const gchar *arg_an_ay, 1164s # const gchar *const *arg_an_as, 1164s # const gchar *const *arg_an_ao, 1164s # const gchar *const *arg_an_aay, 1164s # GVariant *arg_an_asv, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1164s # "MethodWithManyArgs", 1164s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1164s # arg_an_b, 1164s # arg_an_y, 1164s # arg_an_n, 1164s # arg_an_q, 1164s # arg_an_i, 1164s # arg_an_u, 1164s # arg_an_x, 1164s # arg_an_t, 1164s # arg_an_d, 1164s # arg_an_s, 1164s # arg_an_o, 1164s # arg_an_g, 1164s # arg_an_h, 1164s # arg_an_ay, 1164s # arg_an_as, 1164s # arg_an_ao, 1164s # arg_an_aay, 1164s # arg_an_asv), 1164s # G_DBUS_CALL_FLAGS_NONE, 1164s # -1, 1164s # cancellable, 1164s # callback, 1164s # user_data); 1164s # } 1164s # 1164s # /** 1164s # * org_project_other_callable_iface_call_method_with_many_args_finish: 1164s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_method_with_many_args(). 1164s # * @error: Return location for error or %NULL. 1164s # * 1164s # * Finishes an operation started with org_project_other_callable_iface_call_method_with_many_args(). 1164s # * 1164s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1164s # */ 1164s # gboolean 1164s # org_project_other_callable_iface_call_method_with_many_args_finish ( 1164s # OrgProjectOtherCallableIface *proxy, 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GVariant *_ret; 1164s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1164s # if (_ret == NULL) 1164s # goto _out; 1164s # g_variant_get (_ret, 1164s # "()"); 1164s # g_variant_unref (_ret); 1164s # _out: 1164s # return _ret != NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_other_callable_iface_call_method_with_many_args_sync: 1164s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1164s # * @arg_an_b: Argument to pass with the method invocation. 1164s # * @arg_an_y: Argument to pass with the method invocation. 1164s # * @arg_an_n: Argument to pass with the method invocation. 1164s # * @arg_an_q: Argument to pass with the method invocation. 1164s # * @arg_an_i: Argument to pass with the method invocation. 1164s # * @arg_an_u: Argument to pass with the method invocation. 1164s # * @arg_an_x: Argument to pass with the method invocation. 1164s # * @arg_an_t: Argument to pass with the method invocation. 1164s # * @arg_an_d: Argument to pass with the method invocation. 1164s # * @arg_an_s: Argument to pass with the method invocation. 1164s # * @arg_an_o: Argument to pass with the method invocation. 1164s # * @arg_an_g: Argument to pass with the method invocation. 1164s # * @arg_an_h: Argument to pass with the method invocation. 1164s # * @arg_an_ay: Argument to pass with the method invocation. 1164s # * @arg_an_as: Argument to pass with the method invocation. 1164s # * @arg_an_ao: Argument to pass with the method invocation. 1164s # * @arg_an_aay: Argument to pass with the method invocation. 1164s # * @arg_an_asv: Argument to pass with the method invocation. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL. 1164s # * 1164s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_other_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 1164s # * 1164s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1164s # */ 1164s # gboolean 1164s # org_project_other_callable_iface_call_method_with_many_args_sync ( 1164s # OrgProjectOtherCallableIface *proxy, 1164s # gboolean arg_an_b, 1164s # guchar arg_an_y, 1164s # gint16 arg_an_n, 1164s # guint16 arg_an_q, 1164s # gint arg_an_i, 1164s # guint arg_an_u, 1164s # gint64 arg_an_x, 1164s # guint64 arg_an_t, 1164s # gdouble arg_an_d, 1164s # const gchar *arg_an_s, 1164s # const gchar *arg_an_o, 1164s # const gchar *arg_an_g, 1164s # GVariant *arg_an_h, 1164s # const gchar *arg_an_ay, 1164s # const gchar *const *arg_an_as, 1164s # const gchar *const *arg_an_ao, 1164s # const gchar *const *arg_an_aay, 1164s # GVariant *arg_an_asv, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GVariant *_ret; 1164s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1164s # "MethodWithManyArgs", 1164s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1164s # arg_an_b, 1164s # arg_an_y, 1164s # arg_an_n, 1164s # arg_an_q, 1164s # arg_an_i, 1164s # arg_an_u, 1164s # arg_an_x, 1164s # arg_an_t, 1164s # arg_an_d, 1164s # arg_an_s, 1164s # arg_an_o, 1164s # arg_an_g, 1164s # arg_an_h, 1164s # arg_an_ay, 1164s # arg_an_as, 1164s # arg_an_ao, 1164s # arg_an_aay, 1164s # arg_an_asv), 1164s # G_DBUS_CALL_FLAGS_NONE, 1164s # -1, 1164s # cancellable, 1164s # error); 1164s # if (_ret == NULL) 1164s # goto _out; 1164s # g_variant_get (_ret, 1164s # "()"); 1164s # g_variant_unref (_ret); 1164s # _out: 1164s # return _ret != NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_other_callable_iface_complete_method_with_many_args: 1164s # * @object: A #OrgProjectOtherCallableIface. 1164s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1164s # * 1164s # * 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. 1164s # * 1164s # * This method will free @invocation, you cannot use it afterwards. 1164s # */ 1164s # void 1164s # org_project_other_callable_iface_complete_method_with_many_args ( 1164s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED, 1164s # GDBusMethodInvocation *invocation) 1164s # { 1164s # g_dbus_method_invocation_return_value (invocation, 1164s # g_variant_new ("()")); 1164s # } 1164s # 1164s # /* ------------------------------------------------------------------------ */ 1164s # 1164s # /** 1164s # * OrgProjectOtherCallableIfaceProxy: 1164s # * 1164s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectOtherCallableIfaceProxyClass: 1164s # * @parent_class: The parent class. 1164s # * 1164s # * Class structure for #OrgProjectOtherCallableIfaceProxy. 1164s # */ 1164s # 1164s # struct _OrgProjectOtherCallableIfaceProxyPrivate 1164s # { 1164s # GData *qdata; 1164s # }; 1164s # 1164s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface); 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1164s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy) 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 1164s # 1164s # #else 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 1164s # 1164s # #endif 1164s # static void 1164s # org_project_other_callable_iface_proxy_finalize (GObject *object) 1164s # { 1164s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object); 1164s # g_datalist_clear (&proxy->priv->qdata); 1164s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object); 1164s # } 1164s # 1164s # static void 1164s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1164s # guint prop_id G_GNUC_UNUSED, 1164s # GValue *value G_GNUC_UNUSED, 1164s # GParamSpec *pspec G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void 1164s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1164s # guint prop_id G_GNUC_UNUSED, 1164s # const GValue *value G_GNUC_UNUSED, 1164s # GParamSpec *pspec G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void 1164s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1164s # const gchar *sender_name G_GNUC_UNUSED, 1164s # const gchar *signal_name, 1164s # GVariant *parameters) 1164s # { 1164s # _ExtendedGDBusSignalInfo *info; 1164s # GVariantIter iter; 1164s # GVariant *child; 1164s # GValue *paramv; 1164s # gsize num_params; 1164s # gsize n; 1164s # guint signal_id; 1164s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name); 1164s # if (info == NULL) 1164s # return; 1164s # num_params = g_variant_n_children (parameters); 1164s # paramv = g_new0 (GValue, num_params + 1); 1164s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1164s # g_value_set_object (¶mv[0], proxy); 1164s # g_variant_iter_init (&iter, parameters); 1164s # n = 1; 1164s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1164s # { 1164s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1164s # if (arg_info->use_gvariant) 1164s # { 1164s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1164s # g_value_set_variant (¶mv[n], child); 1164s # n++; 1164s # } 1164s # else 1164s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1164s # g_variant_unref (child); 1164s # } 1164s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1164s # g_signal_emitv (paramv, signal_id, 0, NULL); 1164s # for (n = 0; n < num_params + 1; n++) 1164s # g_value_unset (¶mv[n]); 1164s # g_free (paramv); 1164s # } 1164s # 1164s # static void 1164s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1164s # GVariant *changed_properties, 1164s # const gchar *const *invalidated_properties) 1164s # { 1164s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy); 1164s # guint n; 1164s # const gchar *key; 1164s # GVariantIter *iter; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # g_variant_get (changed_properties, "a{sv}", &iter); 1164s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1164s # { 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key); 1164s # g_datalist_remove_data (&proxy->priv->qdata, key); 1164s # if (info != NULL) 1164s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1164s # } 1164s # g_variant_iter_free (iter); 1164s # for (n = 0; invalidated_properties[n] != NULL; n++) 1164s # { 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1164s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1164s # if (info != NULL) 1164s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1164s # } 1164s # } 1164s # 1164s # static void 1164s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy) 1164s # { 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy); 1164s # #else 1164s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate); 1164s # #endif 1164s # 1164s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ()); 1164s # } 1164s # 1164s # static void 1164s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass) 1164s # { 1164s # GObjectClass *gobject_class; 1164s # GDBusProxyClass *proxy_class; 1164s # 1164s # gobject_class = G_OBJECT_CLASS (klass); 1164s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize; 1164s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property; 1164s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property; 1164s # 1164s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1164s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal; 1164s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed; 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1164s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate)); 1164s # #endif 1164s # } 1164s # 1164s # static void 1164s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # /** 1164s # * org_project_other_callable_iface_proxy_new: 1164s # * @connection: A #GDBusConnection. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details. 1164s # * 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1164s # */ 1164s # void 1164s # org_project_other_callable_iface_proxy_new ( 1164s # GDBusConnection *connection, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # 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); 1164s # } 1164s # 1164s # /** 1164s # * org_project_other_callable_iface_proxy_new_finish: 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new(). 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Finishes an operation started with org_project_other_callable_iface_proxy_new(). 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectOtherCallableIface * 1164s # org_project_other_callable_iface_proxy_new_finish ( 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GObject *ret; 1164s # GObject *source_object; 1164s # source_object = g_async_result_get_source_object (res); 1164s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1164s # g_object_unref (source_object); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_other_callable_iface_proxy_new_sync: 1164s # * @connection: A #GDBusConnection. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details. 1164s # * 1164s # * The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectOtherCallableIface * 1164s # org_project_other_callable_iface_proxy_new_sync ( 1164s # GDBusConnection *connection, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GInitable *ret; 1164s # 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); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # 1164s # /** 1164s # * org_project_other_callable_iface_proxy_new_for_bus: 1164s # * @bus_type: A #GBusType. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: A bus name (well-known or unique). 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1164s # * 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1164s # */ 1164s # void 1164s # org_project_other_callable_iface_proxy_new_for_bus ( 1164s # GBusType bus_type, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # 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); 1164s # } 1164s # 1164s # /** 1164s # * org_project_other_callable_iface_proxy_new_for_bus_finish: 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus(). 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus(). 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectOtherCallableIface * 1164s # org_project_other_callable_iface_proxy_new_for_bus_finish ( 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GObject *ret; 1164s # GObject *source_object; 1164s # source_object = g_async_result_get_source_object (res); 1164s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1164s # g_object_unref (source_object); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_other_callable_iface_proxy_new_for_bus_sync: 1164s # * @bus_type: A #GBusType. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: A bus name (well-known or unique). 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1164s # * 1164s # * The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectOtherCallableIface * 1164s # org_project_other_callable_iface_proxy_new_for_bus_sync ( 1164s # GBusType bus_type, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GInitable *ret; 1164s # 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); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # 1164s # /* ------------------------------------------------------------------------ */ 1164s # 1164s # /** 1164s # * OrgProjectOtherCallableIfaceSkeleton: 1164s # * 1164s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectOtherCallableIfaceSkeletonClass: 1164s # * @parent_class: The parent class. 1164s # * 1164s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton. 1164s # */ 1164s # 1164s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate 1164s # { 1164s # GValue *properties; 1164s # GList *changed_properties; 1164s # GSource *changed_properties_idle_source; 1164s # GMainContext *context; 1164s # GMutex lock; 1164s # }; 1164s # 1164s # static void 1164s # _org_project_other_callable_iface_skeleton_handle_method_call ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name, 1164s # const gchar *method_name, 1164s # GVariant *parameters, 1164s # GDBusMethodInvocation *invocation, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1164s # _ExtendedGDBusMethodInfo *info; 1164s # GVariantIter iter; 1164s # GVariant *child; 1164s # GValue *paramv; 1164s # gsize num_params; 1164s # guint num_extra; 1164s # gsize n; 1164s # guint signal_id; 1164s # GValue return_value = G_VALUE_INIT; 1164s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1164s # g_assert (info != NULL); 1164s # num_params = g_variant_n_children (parameters); 1164s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1164s # n = 0; 1164s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1164s # g_value_set_object (¶mv[n++], skeleton); 1164s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1164s # g_value_set_object (¶mv[n++], invocation); 1164s # if (info->pass_fdlist) 1164s # { 1164s # #ifdef G_OS_UNIX 1164s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1164s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1164s # #else 1164s # g_assert_not_reached (); 1164s # #endif 1164s # } 1164s # g_variant_iter_init (&iter, parameters); 1164s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1164s # { 1164s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1164s # if (arg_info->use_gvariant) 1164s # { 1164s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1164s # g_value_set_variant (¶mv[n], child); 1164s # n++; 1164s # } 1164s # else 1164s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1164s # g_variant_unref (child); 1164s # } 1164s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1164s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1164s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1164s # if (!g_value_get_boolean (&return_value)) 1164s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1164s # g_value_unset (&return_value); 1164s # for (n = 0; n < num_params + num_extra; n++) 1164s # g_value_unset (¶mv[n]); 1164s # g_free (paramv); 1164s # } 1164s # 1164s # static GVariant * 1164s # _org_project_other_callable_iface_skeleton_handle_get_property ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name G_GNUC_UNUSED, 1164s # const gchar *property_name, 1164s # GError **error, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1164s # GValue value = G_VALUE_INIT; 1164s # GParamSpec *pspec; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # GVariant *ret; 1164s # ret = NULL; 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 1164s # g_assert (info != NULL); 1164s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1164s # if (pspec == NULL) 1164s # { 1164s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1164s # } 1164s # else 1164s # { 1164s # g_value_init (&value, pspec->value_type); 1164s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1164s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1164s # g_value_unset (&value); 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static gboolean 1164s # _org_project_other_callable_iface_skeleton_handle_set_property ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name G_GNUC_UNUSED, 1164s # const gchar *property_name, 1164s # GVariant *variant, 1164s # GError **error, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1164s # GValue value = G_VALUE_INIT; 1164s # GParamSpec *pspec; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # gboolean ret; 1164s # ret = FALSE; 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 1164s # g_assert (info != NULL); 1164s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1164s # if (pspec == NULL) 1164s # { 1164s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1164s # } 1164s # else 1164s # { 1164s # if (info->use_gvariant) 1164s # g_value_set_variant (&value, variant); 1164s # else 1164s # g_dbus_gvariant_to_gvalue (variant, &value); 1164s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1164s # g_value_unset (&value); 1164s # ret = TRUE; 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable = 1164s # { 1164s # _org_project_other_callable_iface_skeleton_handle_method_call, 1164s # _org_project_other_callable_iface_skeleton_handle_get_property, 1164s # _org_project_other_callable_iface_skeleton_handle_set_property, 1164s # {NULL} 1164s # }; 1164s # 1164s # static GDBusInterfaceInfo * 1164s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1164s # { 1164s # return org_project_other_callable_iface_interface_info (); 1164s # } 1164s # 1164s # static GDBusInterfaceVTable * 1164s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1164s # { 1164s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable; 1164s # } 1164s # 1164s # static GVariant * 1164s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1164s # { 1164s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton); 1164s # 1164s # GVariantBuilder builder; 1164s # guint n; 1164s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1164s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL) 1164s # goto out; 1164s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1164s # { 1164s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n]; 1164s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1164s # { 1164s # GVariant *value; 1164s # 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); 1164s # if (value != NULL) 1164s # { 1164s # g_variant_take_ref (value); 1164s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1164s # g_variant_unref (value); 1164s # } 1164s # } 1164s # } 1164s # out: 1164s # return g_variant_builder_end (&builder); 1164s # } 1164s # 1164s # static void 1164s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface); 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1164s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton) 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 1164s # 1164s # #else 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 1164s # 1164s # #endif 1164s # static void 1164s # org_project_other_callable_iface_skeleton_finalize (GObject *object) 1164s # { 1164s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object); 1164s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1164s # if (skeleton->priv->changed_properties_idle_source != NULL) 1164s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1164s # g_main_context_unref (skeleton->priv->context); 1164s # g_mutex_clear (&skeleton->priv->lock); 1164s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object); 1164s # } 1164s # 1164s # static void 1164s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton) 1164s # { 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton); 1164s # #else 1164s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate); 1164s # #endif 1164s # 1164s # g_mutex_init (&skeleton->priv->lock); 1164s # skeleton->priv->context = g_main_context_ref_thread_default (); 1164s # } 1164s # 1164s # static void 1164s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass) 1164s # { 1164s # GObjectClass *gobject_class; 1164s # GDBusInterfaceSkeletonClass *skeleton_class; 1164s # 1164s # gobject_class = G_OBJECT_CLASS (klass); 1164s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize; 1164s # 1164s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1164s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info; 1164s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties; 1164s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush; 1164s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable; 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1164s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate)); 1164s # #endif 1164s # } 1164s # 1164s # static void 1164s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # /** 1164s # * org_project_other_callable_iface_skeleton_new: 1164s # * 1164s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object. 1164s # */ 1164s # OrgProjectOtherCallableIface * 1164s # org_project_other_callable_iface_skeleton_new (void) 1164s # { 1164s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL)); 1164s # } 1164s ok 13 __main__.TestCodegen.test_generate_methods_marshallers_multiple_out_args 1164s # tmpdir: /tmp/tmpamj6av6a 1164s # codegen: /usr/bin/gdbus-codegen 1164s # /tmp/tmpamj6av6a/tmpqwozfqwc.xml: 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpamj6av6a/tmpqwozfqwc.xml', '--output', '-', '--body'] 1164s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1164s # Output: /* 1164s # * This file is generated by gdbus-codegen, do not modify it. 1164s # * 1164s # * The license of this code is the same as for the D-Bus interface description 1164s # * it was derived from. Note that it links to GLib, so must comply with the 1164s # * LGPL linking clauses. 1164s # */ 1164s # 1164s # #ifdef HAVE_CONFIG_H 1164s # # include "config.h" 1164s # #endif 1164s # 1164s # #include 1164s # #ifdef G_OS_UNIX 1164s # # include 1164s # #endif 1164s # 1164s # #ifdef G_ENABLE_DEBUG 1164s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1164s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1164s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1164s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1164s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1164s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1164s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1164s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1164s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1164s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1164s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1164s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1164s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1164s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1164s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1164s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1164s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1164s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1164s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1164s # #else /* !G_ENABLE_DEBUG */ 1164s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1164s # * Do not access GValues directly in your code. Instead, use the 1164s # * g_value_get_*() functions 1164s # */ 1164s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1164s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1164s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1164s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1164s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1164s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1164s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1164s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1164s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1164s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1164s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1164s # #endif /* !G_ENABLE_DEBUG */ 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusArgInfo parent_struct; 1164s # gboolean use_gvariant; 1164s # } _ExtendedGDBusArgInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusMethodInfo parent_struct; 1164s # const gchar *signal_name; 1164s # gboolean pass_fdlist; 1164s # } _ExtendedGDBusMethodInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusSignalInfo parent_struct; 1164s # const gchar *signal_name; 1164s # } _ExtendedGDBusSignalInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusPropertyInfo parent_struct; 1164s # const gchar *hyphen_name; 1164s # guint use_gvariant : 1; 1164s # guint emits_changed_signal : 1; 1164s # } _ExtendedGDBusPropertyInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusInterfaceInfo parent_struct; 1164s # const gchar *hyphen_name; 1164s # } _ExtendedGDBusInterfaceInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # const _ExtendedGDBusPropertyInfo *info; 1164s # guint prop_id; 1164s # GValue orig_value; /* the value before the change */ 1164s # } ChangedProperty; 1164s # 1164s # static void 1164s # _changed_property_free (ChangedProperty *data) 1164s # { 1164s # g_value_unset (&data->orig_value); 1164s # g_free (data); 1164s # } 1164s # 1164s # static gboolean 1164s # _g_strv_equal0 (gchar **a, gchar **b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # guint n; 1164s # if (a == NULL && b == NULL) 1164s # { 1164s # ret = TRUE; 1164s # goto out; 1164s # } 1164s # if (a == NULL || b == NULL) 1164s # goto out; 1164s # if (g_strv_length (a) != g_strv_length (b)) 1164s # goto out; 1164s # for (n = 0; a[n] != NULL; n++) 1164s # if (g_strcmp0 (a[n], b[n]) != 0) 1164s # goto out; 1164s # ret = TRUE; 1164s # out: 1164s # return ret; 1164s # } 1164s # 1164s # static gboolean 1164s # _g_variant_equal0 (GVariant *a, GVariant *b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # if (a == NULL && b == NULL) 1164s # { 1164s # ret = TRUE; 1164s # goto out; 1164s # } 1164s # if (a == NULL || b == NULL) 1164s # goto out; 1164s # ret = g_variant_equal (a, b); 1164s # out: 1164s # return ret; 1164s # } 1164s # 1164s # G_GNUC_UNUSED static gboolean 1164s # _g_value_equal (const GValue *a, const GValue *b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1164s # switch (G_VALUE_TYPE (a)) 1164s # { 1164s # case G_TYPE_BOOLEAN: 1164s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1164s # break; 1164s # case G_TYPE_UCHAR: 1164s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1164s # break; 1164s # case G_TYPE_INT: 1164s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1164s # break; 1164s # case G_TYPE_UINT: 1164s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1164s # break; 1164s # case G_TYPE_INT64: 1164s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1164s # break; 1164s # case G_TYPE_UINT64: 1164s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1164s # break; 1164s # case G_TYPE_DOUBLE: 1164s # { 1164s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1164s # gdouble da = g_value_get_double (a); 1164s # gdouble db = g_value_get_double (b); 1164s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1164s # } 1164s # break; 1164s # case G_TYPE_STRING: 1164s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1164s # break; 1164s # case G_TYPE_VARIANT: 1164s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1164s # break; 1164s # default: 1164s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1164s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1164s # else 1164s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1164s # break; 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static void 1164s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1164s # GClosure *closure, 1164s # GValue *return_value, 1164s # unsigned int n_param_values, 1164s # const GValue *param_values, 1164s # void *invocation_hint G_GNUC_UNUSED, 1164s # void *marshal_data) 1164s # { 1164s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1164s # (void *data1, 1164s # GDBusMethodInvocation *arg_method_invocation, 1164s # void *data2); 1164s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1164s # GCClosure *cc = (GCClosure*) closure; 1164s # void *data1, *data2; 1164s # gboolean v_return; 1164s # 1164s # g_return_if_fail (return_value != NULL); 1164s # g_return_if_fail (n_param_values == 2); 1164s # 1164s # if (G_CCLOSURE_SWAP_DATA (closure)) 1164s # { 1164s # data1 = closure->data; 1164s # data2 = g_value_peek_pointer (param_values + 0); 1164s # } 1164s # else 1164s # { 1164s # data1 = g_value_peek_pointer (param_values + 0); 1164s # data2 = closure->data; 1164s # } 1164s # 1164s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1164s # (marshal_data ? marshal_data : cc->callback); 1164s # 1164s # v_return = 1164s # callback (data1, 1164s # g_marshal_value_peek_object (param_values + 1), 1164s # data2); 1164s # 1164s # g_value_set_boolean (return_value, v_return); 1164s # } 1164s # 1164s # /* ------------------------------------------------------------------------ 1164s # * Code for interface org.project.CallableIface 1164s # * ------------------------------------------------------------------------ 1164s # */ 1164s # 1164s # /** 1164s # * SECTION:OrgProjectCallableIface 1164s # * @title: OrgProjectCallableIface 1164s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 1164s # * 1164s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 1164s # */ 1164s # 1164s # /* ---- Introspection data for org.project.CallableIface ---- */ 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "an_b", 1164s # (gchar *) "b", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "an_y", 1164s # (gchar *) "y", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "an_n", 1164s # (gchar *) "n", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "an_q", 1164s # (gchar *) "q", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "an_i", 1164s # (gchar *) "i", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "an_u", 1164s # (gchar *) "u", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "an_x", 1164s # (gchar *) "x", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "an_t", 1164s # (gchar *) "t", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "an_d", 1164s # (gchar *) "d", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "an_s", 1164s # (gchar *) "s", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "an_o", 1164s # (gchar *) "o", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "an_g", 1164s # (gchar *) "g", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "an_h", 1164s # (gchar *) "h", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "an_ay", 1164s # (gchar *) "ay", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "an_as", 1164s # (gchar *) "as", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "an_ao", 1164s # (gchar *) "ao", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "an_aay", 1164s # (gchar *) "aay", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "an_asv", 1164s # (gchar *) "a{sv}", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers[] = 1164s # { 1164s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b.parent_struct, 1164s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y.parent_struct, 1164s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n.parent_struct, 1164s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q.parent_struct, 1164s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i.parent_struct, 1164s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u.parent_struct, 1164s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x.parent_struct, 1164s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t.parent_struct, 1164s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d.parent_struct, 1164s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s.parent_struct, 1164s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o.parent_struct, 1164s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g.parent_struct, 1164s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h.parent_struct, 1164s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay.parent_struct, 1164s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as.parent_struct, 1164s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao.parent_struct, 1164s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay.parent_struct, 1164s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv.parent_struct, 1164s # NULL 1164s # }; 1164s # 1164s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "MethodWithManyArgs", 1164s # NULL, 1164s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers, 1164s # NULL 1164s # }, 1164s # "handle-method-with-many-args", 1164s # FALSE 1164s # }; 1164s # 1164s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 1164s # { 1164s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct, 1164s # NULL 1164s # }; 1164s # 1164s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "org.project.CallableIface", 1164s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 1164s # NULL, 1164s # NULL, 1164s # NULL 1164s # }, 1164s # "org-project-callable-iface", 1164s # }; 1164s # 1164s # 1164s # /** 1164s # * org_project_callable_iface_interface_info: 1164s # * 1164s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 1164s # * 1164s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1164s # */ 1164s # GDBusInterfaceInfo * 1164s # org_project_callable_iface_interface_info (void) 1164s # { 1164s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 1164s # } 1164s # 1164s # /** 1164s # * org_project_callable_iface_override_properties: 1164s # * @klass: The class structure for a #GObject derived class. 1164s # * @property_id_begin: The property id to assign to the first overridden property. 1164s # * 1164s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 1164s # * The properties are overridden in the order they are defined. 1164s # * 1164s # * Returns: The last property id. 1164s # */ 1164s # guint 1164s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1164s # { 1164s # return property_id_begin - 1; 1164s # } 1164s # 1164s # 1164s # inline static void 1164s # org_project_callable_iface_method_marshal_method_with_many_args ( 1164s # GClosure *closure, 1164s # GValue *return_value, 1164s # unsigned int n_param_values, 1164s # const GValue *param_values, 1164s # void *invocation_hint, 1164s # void *marshal_data) 1164s # { 1164s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1164s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1164s # } 1164s # 1164s # 1164s # /** 1164s # * OrgProjectCallableIface: 1164s # * 1164s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectCallableIfaceIface: 1164s # * @parent_iface: The parent interface. 1164s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal. 1164s # * 1164s # * Virtual table for the D-Bus interface org.project.CallableIface. 1164s # */ 1164s # 1164s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 1164s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 1164s # 1164s # static void 1164s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 1164s # { 1164s # /* GObject signals for incoming D-Bus method calls: */ 1164s # /** 1164s # * OrgProjectCallableIface::handle-method-with-many-args: 1164s # * @object: A #OrgProjectCallableIface. 1164s # * @invocation: A #GDBusMethodInvocation. 1164s # * 1164s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 1164s # * 1164s # * 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. 1164s # * 1164s # * 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. 1164s # */ 1164s # g_signal_new ("handle-method-with-many-args", 1164s # G_TYPE_FROM_INTERFACE (iface), 1164s # G_SIGNAL_RUN_LAST, 1164s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args), 1164s # g_signal_accumulator_true_handled, 1164s # NULL, 1164s # org_project_callable_iface_method_marshal_method_with_many_args, 1164s # G_TYPE_BOOLEAN, 1164s # 1, 1164s # G_TYPE_DBUS_METHOD_INVOCATION); 1164s # 1164s # } 1164s # 1164s # /** 1164s # * org_project_callable_iface_call_method_with_many_args: 1164s # * @proxy: A #OrgProjectCallableIfaceProxy. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 1164s # */ 1164s # void 1164s # org_project_callable_iface_call_method_with_many_args ( 1164s # OrgProjectCallableIface *proxy, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1164s # "MethodWithManyArgs", 1164s # g_variant_new ("()"), 1164s # G_DBUS_CALL_FLAGS_NONE, 1164s # -1, 1164s # cancellable, 1164s # callback, 1164s # user_data); 1164s # } 1164s # 1164s # /** 1164s # * org_project_callable_iface_call_method_with_many_args_finish: 1164s # * @proxy: A #OrgProjectCallableIfaceProxy. 1164s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore. 1164s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore. 1164s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore. 1164s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore. 1164s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore. 1164s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore. 1164s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore. 1164s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore. 1164s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore. 1164s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore. 1164s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore. 1164s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore. 1164s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore. 1164s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 1164s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1164s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1164s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1164s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args(). 1164s # * @error: Return location for error or %NULL. 1164s # * 1164s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args(). 1164s # * 1164s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1164s # */ 1164s # gboolean 1164s # org_project_callable_iface_call_method_with_many_args_finish ( 1164s # OrgProjectCallableIface *proxy, 1164s # gboolean *out_an_b, 1164s # guchar *out_an_y, 1164s # gint16 *out_an_n, 1164s # guint16 *out_an_q, 1164s # gint *out_an_i, 1164s # guint *out_an_u, 1164s # gint64 *out_an_x, 1164s # guint64 *out_an_t, 1164s # gdouble *out_an_d, 1164s # gchar **out_an_s, 1164s # gchar **out_an_o, 1164s # gchar **out_an_g, 1164s # GVariant **out_an_h, 1164s # gchar **out_an_ay, 1164s # gchar ***out_an_as, 1164s # gchar ***out_an_ao, 1164s # gchar ***out_an_aay, 1164s # GVariant **out_an_asv, 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GVariant *_ret; 1164s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1164s # if (_ret == NULL) 1164s # goto _out; 1164s # g_variant_get (_ret, 1164s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1164s # out_an_b, 1164s # out_an_y, 1164s # out_an_n, 1164s # out_an_q, 1164s # out_an_i, 1164s # out_an_u, 1164s # out_an_x, 1164s # out_an_t, 1164s # out_an_d, 1164s # out_an_s, 1164s # out_an_o, 1164s # out_an_g, 1164s # out_an_h, 1164s # out_an_ay, 1164s # out_an_as, 1164s # out_an_ao, 1164s # out_an_aay, 1164s # out_an_asv); 1164s # g_variant_unref (_ret); 1164s # _out: 1164s # return _ret != NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_callable_iface_call_method_with_many_args_sync: 1164s # * @proxy: A #OrgProjectCallableIfaceProxy. 1164s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore. 1164s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore. 1164s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore. 1164s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore. 1164s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore. 1164s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore. 1164s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore. 1164s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore. 1164s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore. 1164s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore. 1164s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore. 1164s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore. 1164s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore. 1164s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 1164s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1164s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1164s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1164s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL. 1164s # * 1164s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 1164s # * 1164s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1164s # */ 1164s # gboolean 1164s # org_project_callable_iface_call_method_with_many_args_sync ( 1164s # OrgProjectCallableIface *proxy, 1164s # gboolean *out_an_b, 1164s # guchar *out_an_y, 1164s # gint16 *out_an_n, 1164s # guint16 *out_an_q, 1164s # gint *out_an_i, 1164s # guint *out_an_u, 1164s # gint64 *out_an_x, 1164s # guint64 *out_an_t, 1164s # gdouble *out_an_d, 1164s # gchar **out_an_s, 1164s # gchar **out_an_o, 1164s # gchar **out_an_g, 1164s # GVariant **out_an_h, 1164s # gchar **out_an_ay, 1164s # gchar ***out_an_as, 1164s # gchar ***out_an_ao, 1164s # gchar ***out_an_aay, 1164s # GVariant **out_an_asv, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GVariant *_ret; 1164s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1164s # "MethodWithManyArgs", 1164s # g_variant_new ("()"), 1164s # G_DBUS_CALL_FLAGS_NONE, 1164s # -1, 1164s # cancellable, 1164s # error); 1164s # if (_ret == NULL) 1164s # goto _out; 1164s # g_variant_get (_ret, 1164s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1164s # out_an_b, 1164s # out_an_y, 1164s # out_an_n, 1164s # out_an_q, 1164s # out_an_i, 1164s # out_an_u, 1164s # out_an_x, 1164s # out_an_t, 1164s # out_an_d, 1164s # out_an_s, 1164s # out_an_o, 1164s # out_an_g, 1164s # out_an_h, 1164s # out_an_ay, 1164s # out_an_as, 1164s # out_an_ao, 1164s # out_an_aay, 1164s # out_an_asv); 1164s # g_variant_unref (_ret); 1164s # _out: 1164s # return _ret != NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_callable_iface_complete_method_with_many_args: 1164s # * @object: A #OrgProjectCallableIface. 1164s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1164s # * @an_b: Parameter to return. 1164s # * @an_y: Parameter to return. 1164s # * @an_n: Parameter to return. 1164s # * @an_q: Parameter to return. 1164s # * @an_i: Parameter to return. 1164s # * @an_u: Parameter to return. 1164s # * @an_x: Parameter to return. 1164s # * @an_t: Parameter to return. 1164s # * @an_d: Parameter to return. 1164s # * @an_s: Parameter to return. 1164s # * @an_o: Parameter to return. 1164s # * @an_g: Parameter to return. 1164s # * @an_h: Parameter to return. 1164s # * @an_ay: Parameter to return. 1164s # * @an_as: Parameter to return. 1164s # * @an_ao: Parameter to return. 1164s # * @an_aay: Parameter to return. 1164s # * @an_asv: Parameter to return. 1164s # * 1164s # * 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. 1164s # * 1164s # * This method will free @invocation, you cannot use it afterwards. 1164s # */ 1164s # void 1164s # org_project_callable_iface_complete_method_with_many_args ( 1164s # OrgProjectCallableIface *object G_GNUC_UNUSED, 1164s # GDBusMethodInvocation *invocation, 1164s # gboolean an_b, 1164s # guchar an_y, 1164s # gint16 an_n, 1164s # guint16 an_q, 1164s # gint an_i, 1164s # guint an_u, 1164s # gint64 an_x, 1164s # guint64 an_t, 1164s # gdouble an_d, 1164s # const gchar *an_s, 1164s # const gchar *an_o, 1164s # const gchar *an_g, 1164s # GVariant *an_h, 1164s # const gchar *an_ay, 1164s # const gchar *const *an_as, 1164s # const gchar *const *an_ao, 1164s # const gchar *const *an_aay, 1164s # GVariant *an_asv) 1164s # { 1164s # g_dbus_method_invocation_return_value (invocation, 1164s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1164s # an_b, 1164s # an_y, 1164s # an_n, 1164s # an_q, 1164s # an_i, 1164s # an_u, 1164s # an_x, 1164s # an_t, 1164s # an_d, 1164s # an_s, 1164s # an_o, 1164s # an_g, 1164s # an_h, 1164s # an_ay, 1164s # an_as, 1164s # an_ao, 1164s # an_aay, 1164s # an_asv)); 1164s # } 1164s # 1164s # /* ------------------------------------------------------------------------ */ 1164s # 1164s # /** 1164s # * OrgProjectCallableIfaceProxy: 1164s # * 1164s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectCallableIfaceProxyClass: 1164s # * @parent_class: The parent class. 1164s # * 1164s # * Class structure for #OrgProjectCallableIfaceProxy. 1164s # */ 1164s # 1164s # struct _OrgProjectCallableIfaceProxyPrivate 1164s # { 1164s # GData *qdata; 1164s # }; 1164s # 1164s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1164s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1164s # 1164s # #else 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1164s # 1164s # #endif 1164s # static void 1164s # org_project_callable_iface_proxy_finalize (GObject *object) 1164s # { 1164s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 1164s # g_datalist_clear (&proxy->priv->qdata); 1164s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 1164s # } 1164s # 1164s # static void 1164s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1164s # guint prop_id G_GNUC_UNUSED, 1164s # GValue *value G_GNUC_UNUSED, 1164s # GParamSpec *pspec G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void 1164s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1164s # guint prop_id G_GNUC_UNUSED, 1164s # const GValue *value G_GNUC_UNUSED, 1164s # GParamSpec *pspec G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void 1164s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1164s # const gchar *sender_name G_GNUC_UNUSED, 1164s # const gchar *signal_name, 1164s # GVariant *parameters) 1164s # { 1164s # _ExtendedGDBusSignalInfo *info; 1164s # GVariantIter iter; 1164s # GVariant *child; 1164s # GValue *paramv; 1164s # gsize num_params; 1164s # gsize n; 1164s # guint signal_id; 1164s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 1164s # if (info == NULL) 1164s # return; 1164s # num_params = g_variant_n_children (parameters); 1164s # paramv = g_new0 (GValue, num_params + 1); 1164s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1164s # g_value_set_object (¶mv[0], proxy); 1164s # g_variant_iter_init (&iter, parameters); 1164s # n = 1; 1164s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1164s # { 1164s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1164s # if (arg_info->use_gvariant) 1164s # { 1164s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1164s # g_value_set_variant (¶mv[n], child); 1164s # n++; 1164s # } 1164s # else 1164s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1164s # g_variant_unref (child); 1164s # } 1164s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1164s # g_signal_emitv (paramv, signal_id, 0, NULL); 1164s # for (n = 0; n < num_params + 1; n++) 1164s # g_value_unset (¶mv[n]); 1164s # g_free (paramv); 1164s # } 1164s # 1164s # static void 1164s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1164s # GVariant *changed_properties, 1164s # const gchar *const *invalidated_properties) 1164s # { 1164s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 1164s # guint n; 1164s # const gchar *key; 1164s # GVariantIter *iter; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # g_variant_get (changed_properties, "a{sv}", &iter); 1164s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1164s # { 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 1164s # g_datalist_remove_data (&proxy->priv->qdata, key); 1164s # if (info != NULL) 1164s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1164s # } 1164s # g_variant_iter_free (iter); 1164s # for (n = 0; invalidated_properties[n] != NULL; n++) 1164s # { 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1164s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1164s # if (info != NULL) 1164s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1164s # } 1164s # } 1164s # 1164s # static void 1164s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 1164s # { 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 1164s # #else 1164s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 1164s # #endif 1164s # 1164s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 1164s # } 1164s # 1164s # static void 1164s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 1164s # { 1164s # GObjectClass *gobject_class; 1164s # GDBusProxyClass *proxy_class; 1164s # 1164s # gobject_class = G_OBJECT_CLASS (klass); 1164s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 1164s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 1164s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 1164s # 1164s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1164s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 1164s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1164s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 1164s # #endif 1164s # } 1164s # 1164s # static void 1164s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # /** 1164s # * org_project_callable_iface_proxy_new: 1164s # * @connection: A #GDBusConnection. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 1164s # * 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1164s # */ 1164s # void 1164s # org_project_callable_iface_proxy_new ( 1164s # GDBusConnection *connection, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # 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); 1164s # } 1164s # 1164s # /** 1164s # * org_project_callable_iface_proxy_new_finish: 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectCallableIface * 1164s # org_project_callable_iface_proxy_new_finish ( 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GObject *ret; 1164s # GObject *source_object; 1164s # source_object = g_async_result_get_source_object (res); 1164s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1164s # g_object_unref (source_object); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_callable_iface_proxy_new_sync: 1164s # * @connection: A #GDBusConnection. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 1164s # * 1164s # * The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectCallableIface * 1164s # org_project_callable_iface_proxy_new_sync ( 1164s # GDBusConnection *connection, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GInitable *ret; 1164s # 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); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # 1164s # /** 1164s # * org_project_callable_iface_proxy_new_for_bus: 1164s # * @bus_type: A #GBusType. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: A bus name (well-known or unique). 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1164s # * 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1164s # */ 1164s # void 1164s # org_project_callable_iface_proxy_new_for_bus ( 1164s # GBusType bus_type, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # 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); 1164s # } 1164s # 1164s # /** 1164s # * org_project_callable_iface_proxy_new_for_bus_finish: 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectCallableIface * 1164s # org_project_callable_iface_proxy_new_for_bus_finish ( 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GObject *ret; 1164s # GObject *source_object; 1164s # source_object = g_async_result_get_source_object (res); 1164s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1164s # g_object_unref (source_object); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_callable_iface_proxy_new_for_bus_sync: 1164s # * @bus_type: A #GBusType. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: A bus name (well-known or unique). 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1164s # * 1164s # * The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectCallableIface * 1164s # org_project_callable_iface_proxy_new_for_bus_sync ( 1164s # GBusType bus_type, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GInitable *ret; 1164s # 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); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # 1164s # /* ------------------------------------------------------------------------ */ 1164s # 1164s # /** 1164s # * OrgProjectCallableIfaceSkeleton: 1164s # * 1164s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectCallableIfaceSkeletonClass: 1164s # * @parent_class: The parent class. 1164s # * 1164s # * Class structure for #OrgProjectCallableIfaceSkeleton. 1164s # */ 1164s # 1164s # struct _OrgProjectCallableIfaceSkeletonPrivate 1164s # { 1164s # GValue *properties; 1164s # GList *changed_properties; 1164s # GSource *changed_properties_idle_source; 1164s # GMainContext *context; 1164s # GMutex lock; 1164s # }; 1164s # 1164s # static void 1164s # _org_project_callable_iface_skeleton_handle_method_call ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name, 1164s # const gchar *method_name, 1164s # GVariant *parameters, 1164s # GDBusMethodInvocation *invocation, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1164s # _ExtendedGDBusMethodInfo *info; 1164s # GVariantIter iter; 1164s # GVariant *child; 1164s # GValue *paramv; 1164s # gsize num_params; 1164s # guint num_extra; 1164s # gsize n; 1164s # guint signal_id; 1164s # GValue return_value = G_VALUE_INIT; 1164s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1164s # g_assert (info != NULL); 1164s # num_params = g_variant_n_children (parameters); 1164s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1164s # n = 0; 1164s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1164s # g_value_set_object (¶mv[n++], skeleton); 1164s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1164s # g_value_set_object (¶mv[n++], invocation); 1164s # if (info->pass_fdlist) 1164s # { 1164s # #ifdef G_OS_UNIX 1164s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1164s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1164s # #else 1164s # g_assert_not_reached (); 1164s # #endif 1164s # } 1164s # g_variant_iter_init (&iter, parameters); 1164s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1164s # { 1164s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1164s # if (arg_info->use_gvariant) 1164s # { 1164s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1164s # g_value_set_variant (¶mv[n], child); 1164s # n++; 1164s # } 1164s # else 1164s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1164s # g_variant_unref (child); 1164s # } 1164s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1164s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1164s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1164s # if (!g_value_get_boolean (&return_value)) 1164s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1164s # g_value_unset (&return_value); 1164s # for (n = 0; n < num_params + num_extra; n++) 1164s # g_value_unset (¶mv[n]); 1164s # g_free (paramv); 1164s # } 1164s # 1164s # static GVariant * 1164s # _org_project_callable_iface_skeleton_handle_get_property ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name G_GNUC_UNUSED, 1164s # const gchar *property_name, 1164s # GError **error, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1164s # GValue value = G_VALUE_INIT; 1164s # GParamSpec *pspec; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # GVariant *ret; 1164s # ret = NULL; 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1164s # g_assert (info != NULL); 1164s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1164s # if (pspec == NULL) 1164s # { 1164s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1164s # } 1164s # else 1164s # { 1164s # g_value_init (&value, pspec->value_type); 1164s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1164s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1164s # g_value_unset (&value); 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static gboolean 1164s # _org_project_callable_iface_skeleton_handle_set_property ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name G_GNUC_UNUSED, 1164s # const gchar *property_name, 1164s # GVariant *variant, 1164s # GError **error, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1164s # GValue value = G_VALUE_INIT; 1164s # GParamSpec *pspec; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # gboolean ret; 1164s # ret = FALSE; 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1164s # g_assert (info != NULL); 1164s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1164s # if (pspec == NULL) 1164s # { 1164s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1164s # } 1164s # else 1164s # { 1164s # if (info->use_gvariant) 1164s # g_value_set_variant (&value, variant); 1164s # else 1164s # g_dbus_gvariant_to_gvalue (variant, &value); 1164s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1164s # g_value_unset (&value); 1164s # ret = TRUE; 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 1164s # { 1164s # _org_project_callable_iface_skeleton_handle_method_call, 1164s # _org_project_callable_iface_skeleton_handle_get_property, 1164s # _org_project_callable_iface_skeleton_handle_set_property, 1164s # {NULL} 1164s # }; 1164s # 1164s # static GDBusInterfaceInfo * 1164s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1164s # { 1164s # return org_project_callable_iface_interface_info (); 1164s # } 1164s # 1164s # static GDBusInterfaceVTable * 1164s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1164s # { 1164s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 1164s # } 1164s # 1164s # static GVariant * 1164s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1164s # { 1164s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 1164s # 1164s # GVariantBuilder builder; 1164s # guint n; 1164s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1164s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 1164s # goto out; 1164s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1164s # { 1164s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 1164s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1164s # { 1164s # GVariant *value; 1164s # 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); 1164s # if (value != NULL) 1164s # { 1164s # g_variant_take_ref (value); 1164s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1164s # g_variant_unref (value); 1164s # } 1164s # } 1164s # } 1164s # out: 1164s # return g_variant_builder_end (&builder); 1164s # } 1164s # 1164s # static void 1164s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1164s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1164s # 1164s # #else 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1164s # 1164s # #endif 1164s # static void 1164s # org_project_callable_iface_skeleton_finalize (GObject *object) 1164s # { 1164s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 1164s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1164s # if (skeleton->priv->changed_properties_idle_source != NULL) 1164s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1164s # g_main_context_unref (skeleton->priv->context); 1164s # g_mutex_clear (&skeleton->priv->lock); 1164s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 1164s # } 1164s # 1164s # static void 1164s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 1164s # { 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 1164s # #else 1164s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 1164s # #endif 1164s # 1164s # g_mutex_init (&skeleton->priv->lock); 1164s # skeleton->priv->context = g_main_context_ref_thread_default (); 1164s # } 1164s # 1164s # static void 1164s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 1164s # { 1164s # GObjectClass *gobject_class; 1164s # GDBusInterfaceSkeletonClass *skeleton_class; 1164s # 1164s # gobject_class = G_OBJECT_CLASS (klass); 1164s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 1164s # 1164s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1164s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 1164s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 1164s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 1164s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1164s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 1164s # #endif 1164s # } 1164s # 1164s # static void 1164s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # /** 1164s # * org_project_callable_iface_skeleton_new: 1164s # * 1164s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 1164s # */ 1164s # OrgProjectCallableIface * 1164s # org_project_callable_iface_skeleton_new (void) 1164s # { 1164s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 1164s # } 1164s ok 14 __main__.TestCodegen.test_generate_methods_marshallers_with_unix_fds 1164s # tmpdir: /tmp/tmph3dsd3h_ 1164s # codegen: /usr/bin/gdbus-codegen 1164s # /tmp/tmph3dsd3h_/tmpdtothxi7.xml: 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmph3dsd3h_/tmpdtothxi7.xml', '--output', '-', '--body'] 1164s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1164s # Output: /* 1164s # * This file is generated by gdbus-codegen, do not modify it. 1164s # * 1164s # * The license of this code is the same as for the D-Bus interface description 1164s # * it was derived from. Note that it links to GLib, so must comply with the 1164s # * LGPL linking clauses. 1164s # */ 1164s # 1164s # #ifdef HAVE_CONFIG_H 1164s # # include "config.h" 1164s # #endif 1164s # 1164s # #include 1164s # #ifdef G_OS_UNIX 1164s # # include 1164s # #endif 1164s # 1164s # #ifdef G_ENABLE_DEBUG 1164s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1164s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1164s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1164s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1164s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1164s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1164s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1164s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1164s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1164s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1164s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1164s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1164s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1164s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1164s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1164s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1164s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1164s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1164s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1164s # #else /* !G_ENABLE_DEBUG */ 1164s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1164s # * Do not access GValues directly in your code. Instead, use the 1164s # * g_value_get_*() functions 1164s # */ 1164s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1164s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1164s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1164s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1164s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1164s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1164s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1164s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1164s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1164s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1164s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1164s # #endif /* !G_ENABLE_DEBUG */ 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusArgInfo parent_struct; 1164s # gboolean use_gvariant; 1164s # } _ExtendedGDBusArgInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusMethodInfo parent_struct; 1164s # const gchar *signal_name; 1164s # gboolean pass_fdlist; 1164s # } _ExtendedGDBusMethodInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusSignalInfo parent_struct; 1164s # const gchar *signal_name; 1164s # } _ExtendedGDBusSignalInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusPropertyInfo parent_struct; 1164s # const gchar *hyphen_name; 1164s # guint use_gvariant : 1; 1164s # guint emits_changed_signal : 1; 1164s # } _ExtendedGDBusPropertyInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusInterfaceInfo parent_struct; 1164s # const gchar *hyphen_name; 1164s # } _ExtendedGDBusInterfaceInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # const _ExtendedGDBusPropertyInfo *info; 1164s # guint prop_id; 1164s # GValue orig_value; /* the value before the change */ 1164s # } ChangedProperty; 1164s # 1164s # static void 1164s # _changed_property_free (ChangedProperty *data) 1164s # { 1164s # g_value_unset (&data->orig_value); 1164s # g_free (data); 1164s # } 1164s # 1164s # static gboolean 1164s # _g_strv_equal0 (gchar **a, gchar **b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # guint n; 1164s # if (a == NULL && b == NULL) 1164s # { 1164s # ret = TRUE; 1164s # goto out; 1164s # } 1164s # if (a == NULL || b == NULL) 1164s # goto out; 1164s # if (g_strv_length (a) != g_strv_length (b)) 1164s # goto out; 1164s # for (n = 0; a[n] != NULL; n++) 1164s # if (g_strcmp0 (a[n], b[n]) != 0) 1164s # goto out; 1164s # ret = TRUE; 1164s # out: 1164s # return ret; 1164s # } 1164s # 1164s # static gboolean 1164s # _g_variant_equal0 (GVariant *a, GVariant *b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # if (a == NULL && b == NULL) 1164s # { 1164s # ret = TRUE; 1164s # goto out; 1164s # } 1164s # if (a == NULL || b == NULL) 1164s # goto out; 1164s # ret = g_variant_equal (a, b); 1164s # out: 1164s # return ret; 1164s # } 1164s # 1164s # G_GNUC_UNUSED static gboolean 1164s # _g_value_equal (const GValue *a, const GValue *b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1164s # switch (G_VALUE_TYPE (a)) 1164s # { 1164s # case G_TYPE_BOOLEAN: 1164s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1164s # break; 1164s # case G_TYPE_UCHAR: 1164s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1164s # break; 1164s # case G_TYPE_INT: 1164s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1164s # break; 1164s # case G_TYPE_UINT: 1164s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1164s # break; 1164s # case G_TYPE_INT64: 1164s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1164s # break; 1164s # case G_TYPE_UINT64: 1164s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1164s # break; 1164s # case G_TYPE_DOUBLE: 1164s # { 1164s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1164s # gdouble da = g_value_get_double (a); 1164s # gdouble db = g_value_get_double (b); 1164s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1164s # } 1164s # break; 1164s # case G_TYPE_STRING: 1164s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1164s # break; 1164s # case G_TYPE_VARIANT: 1164s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1164s # break; 1164s # default: 1164s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1164s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1164s # else 1164s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1164s # break; 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static void 1164s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING ( 1164s # GClosure *closure, 1164s # GValue *return_value, 1164s # unsigned int n_param_values, 1164s # const GValue *param_values, 1164s # void *invocation_hint G_GNUC_UNUSED, 1164s # void *marshal_data) 1164s # { 1164s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc) 1164s # (void *data1, 1164s # GUnixFDList *arg_fd_list, 1164s # GDBusMethodInvocation *arg_method_invocation, 1164s # const gchar *arg_greeting, 1164s # void *data2); 1164s # _GDbusCodegenMarshalBoolean_ObjectObjectStringFunc callback; 1164s # GCClosure *cc = (GCClosure*) closure; 1164s # void *data1, *data2; 1164s # gboolean v_return; 1164s # 1164s # g_return_if_fail (return_value != NULL); 1164s # g_return_if_fail (n_param_values == 4); 1164s # 1164s # if (G_CCLOSURE_SWAP_DATA (closure)) 1164s # { 1164s # data1 = closure->data; 1164s # data2 = g_value_peek_pointer (param_values + 0); 1164s # } 1164s # else 1164s # { 1164s # data1 = g_value_peek_pointer (param_values + 0); 1164s # data2 = closure->data; 1164s # } 1164s # 1164s # callback = (_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc) 1164s # (marshal_data ? marshal_data : cc->callback); 1164s # 1164s # v_return = 1164s # callback (data1, 1164s # g_marshal_value_peek_object (param_values + 1), 1164s # g_marshal_value_peek_object (param_values + 2), 1164s # g_marshal_value_peek_string (param_values + 3), 1164s # data2); 1164s # 1164s # g_value_set_boolean (return_value, v_return); 1164s # } 1164s # 1164s # /* ------------------------------------------------------------------------ 1164s # * Code for interface test.FDPassing 1164s # * ------------------------------------------------------------------------ 1164s # */ 1164s # 1164s # /** 1164s # * SECTION:TestFDPassing 1164s # * @title: TestFDPassing 1164s # * @short_description: Generated C code for the test.FDPassing D-Bus interface 1164s # * 1164s # * This section contains code for working with the test.FDPassing D-Bus interface in C. 1164s # */ 1164s # 1164s # /* ---- Introspection data for test.FDPassing ---- */ 1164s # 1164s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_IN_ARG_greeting = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "greeting", 1164s # (gchar *) "s", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_IN_ARG_pointers[] = 1164s # { 1164s # &_test_fdpassing_method_info_hello_fd_IN_ARG_greeting.parent_struct, 1164s # NULL 1164s # }; 1164s # 1164s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_OUT_ARG_response = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "response", 1164s # (gchar *) "s", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_OUT_ARG_pointers[] = 1164s # { 1164s # &_test_fdpassing_method_info_hello_fd_OUT_ARG_response.parent_struct, 1164s # NULL 1164s # }; 1164s # 1164s # static const _ExtendedGDBusMethodInfo _test_fdpassing_method_info_hello_fd = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "HelloFD", 1164s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_IN_ARG_pointers, 1164s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_OUT_ARG_pointers, 1164s # NULL 1164s # }, 1164s # "handle-hello-fd", 1164s # TRUE 1164s # }; 1164s # 1164s # static const GDBusMethodInfo * const _test_fdpassing_method_info_pointers[] = 1164s # { 1164s # &_test_fdpassing_method_info_hello_fd.parent_struct, 1164s # NULL 1164s # }; 1164s # 1164s # static const _ExtendedGDBusInterfaceInfo _test_fdpassing_interface_info = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "test.FDPassing", 1164s # (GDBusMethodInfo **) &_test_fdpassing_method_info_pointers, 1164s # NULL, 1164s # NULL, 1164s # NULL 1164s # }, 1164s # "test-fdpassing", 1164s # }; 1164s # 1164s # 1164s # /** 1164s # * test_fdpassing_interface_info: 1164s # * 1164s # * Gets a machine-readable description of the test.FDPassing D-Bus interface. 1164s # * 1164s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1164s # */ 1164s # GDBusInterfaceInfo * 1164s # test_fdpassing_interface_info (void) 1164s # { 1164s # return (GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct; 1164s # } 1164s # 1164s # /** 1164s # * test_fdpassing_override_properties: 1164s # * @klass: The class structure for a #GObject derived class. 1164s # * @property_id_begin: The property id to assign to the first overridden property. 1164s # * 1164s # * Overrides all #GObject properties in the #TestFDPassing interface for a concrete class. 1164s # * The properties are overridden in the order they are defined. 1164s # * 1164s # * Returns: The last property id. 1164s # */ 1164s # guint 1164s # test_fdpassing_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1164s # { 1164s # return property_id_begin - 1; 1164s # } 1164s # 1164s # 1164s # inline static void 1164s # test_fdpassing_method_marshal_hello_fd ( 1164s # GClosure *closure, 1164s # GValue *return_value, 1164s # unsigned int n_param_values, 1164s # const GValue *param_values, 1164s # void *invocation_hint, 1164s # void *marshal_data) 1164s # { 1164s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING (closure, 1164s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1164s # } 1164s # 1164s # 1164s # /** 1164s # * TestFDPassing: 1164s # * 1164s # * Abstract interface type for the D-Bus interface test.FDPassing. 1164s # */ 1164s # 1164s # /** 1164s # * TestFDPassingIface: 1164s # * @parent_iface: The parent interface. 1164s # * @handle_hello_fd: Handler for the #TestFDPassing::handle-hello-fd signal. 1164s # * 1164s # * Virtual table for the D-Bus interface test.FDPassing. 1164s # */ 1164s # 1164s # typedef TestFDPassingIface TestFDPassingInterface; 1164s # G_DEFINE_INTERFACE (TestFDPassing, test_fdpassing, G_TYPE_OBJECT) 1164s # 1164s # static void 1164s # test_fdpassing_default_init (TestFDPassingIface *iface) 1164s # { 1164s # /* GObject signals for incoming D-Bus method calls: */ 1164s # /** 1164s # * TestFDPassing::handle-hello-fd: 1164s # * @object: A #TestFDPassing. 1164s # * @invocation: A #GDBusMethodInvocation. 1164s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 1164s # * @arg_greeting: Argument passed by remote caller. 1164s # * 1164s # * Signal emitted when a remote caller is invoking the HelloFD() D-Bus method. 1164s # * 1164s # * 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. 1164s # * 1164s # * 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. 1164s # */ 1164s # g_signal_new ("handle-hello-fd", 1164s # G_TYPE_FROM_INTERFACE (iface), 1164s # G_SIGNAL_RUN_LAST, 1164s # G_STRUCT_OFFSET (TestFDPassingIface, handle_hello_fd), 1164s # g_signal_accumulator_true_handled, 1164s # NULL, 1164s # test_fdpassing_method_marshal_hello_fd, 1164s # G_TYPE_BOOLEAN, 1164s # 3, 1164s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UNIX_FD_LIST, G_TYPE_STRING); 1164s # 1164s # } 1164s # 1164s # /** 1164s # * test_fdpassing_call_hello_fd: 1164s # * @proxy: A #TestFDPassingProxy. 1164s # * @arg_greeting: Argument to pass with the method invocation. 1164s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Asynchronously invokes the HelloFD() D-Bus method on @proxy. 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call test_fdpassing_call_hello_fd_finish() to get the result of the operation. 1164s # * 1164s # * See test_fdpassing_call_hello_fd_sync() for the synchronous, blocking version of this method. 1164s # */ 1164s # void 1164s # test_fdpassing_call_hello_fd ( 1164s # TestFDPassing *proxy, 1164s # const gchar *arg_greeting, 1164s # GUnixFDList *fd_list, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # g_dbus_proxy_call_with_unix_fd_list (G_DBUS_PROXY (proxy), 1164s # "HelloFD", 1164s # g_variant_new ("(s)", 1164s # arg_greeting), 1164s # G_DBUS_CALL_FLAGS_NONE, 1164s # -1, 1164s # fd_list, 1164s # cancellable, 1164s # callback, 1164s # user_data); 1164s # } 1164s # 1164s # /** 1164s # * test_fdpassing_call_hello_fd_finish: 1164s # * @proxy: A #TestFDPassingProxy. 1164s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore. 1164s # * @out_fd_list: (out) (optional): Return location for a #GUnixFDList or %NULL to ignore. 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_call_hello_fd(). 1164s # * @error: Return location for error or %NULL. 1164s # * 1164s # * Finishes an operation started with test_fdpassing_call_hello_fd(). 1164s # * 1164s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1164s # */ 1164s # gboolean 1164s # test_fdpassing_call_hello_fd_finish ( 1164s # TestFDPassing *proxy, 1164s # gchar **out_response, 1164s # GUnixFDList **out_fd_list, 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GVariant *_ret; 1164s # _ret = g_dbus_proxy_call_with_unix_fd_list_finish (G_DBUS_PROXY (proxy), out_fd_list, res, error); 1164s # if (_ret == NULL) 1164s # goto _out; 1164s # g_variant_get (_ret, 1164s # "(s)", 1164s # out_response); 1164s # g_variant_unref (_ret); 1164s # _out: 1164s # return _ret != NULL; 1164s # } 1164s # 1164s # /** 1164s # * test_fdpassing_call_hello_fd_sync: 1164s # * @proxy: A #TestFDPassingProxy. 1164s # * @arg_greeting: Argument to pass with the method invocation. 1164s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 1164s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore. 1164s # * @out_fd_list: (out): Return location for a #GUnixFDList or %NULL. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL. 1164s # * 1164s # * Synchronously invokes the HelloFD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1164s # * 1164s # * See test_fdpassing_call_hello_fd() for the asynchronous version of this method. 1164s # * 1164s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1164s # */ 1164s # gboolean 1164s # test_fdpassing_call_hello_fd_sync ( 1164s # TestFDPassing *proxy, 1164s # const gchar *arg_greeting, 1164s # GUnixFDList *fd_list, 1164s # gchar **out_response, 1164s # GUnixFDList **out_fd_list, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GVariant *_ret; 1164s # _ret = g_dbus_proxy_call_with_unix_fd_list_sync (G_DBUS_PROXY (proxy), 1164s # "HelloFD", 1164s # g_variant_new ("(s)", 1164s # arg_greeting), 1164s # G_DBUS_CALL_FLAGS_NONE, 1164s # -1, 1164s # fd_list, 1164s # out_fd_list, 1164s # cancellable, 1164s # error); 1164s # if (_ret == NULL) 1164s # goto _out; 1164s # g_variant_get (_ret, 1164s # "(s)", 1164s # out_response); 1164s # g_variant_unref (_ret); 1164s # _out: 1164s # return _ret != NULL; 1164s # } 1164s # 1164s # /** 1164s # * test_fdpassing_complete_hello_fd: 1164s # * @object: A #TestFDPassing. 1164s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1164s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 1164s # * @response: Parameter to return. 1164s # * 1164s # * 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. 1164s # * 1164s # * This method will free @invocation, you cannot use it afterwards. 1164s # */ 1164s # void 1164s # test_fdpassing_complete_hello_fd ( 1164s # TestFDPassing *object G_GNUC_UNUSED, 1164s # GDBusMethodInvocation *invocation, 1164s # GUnixFDList *fd_list, 1164s # const gchar *response) 1164s # { 1164s # g_dbus_method_invocation_return_value_with_unix_fd_list (invocation, 1164s # g_variant_new ("(s)", 1164s # response), 1164s # fd_list); 1164s # } 1164s # 1164s # /* ------------------------------------------------------------------------ */ 1164s # 1164s # /** 1164s # * TestFDPassingProxy: 1164s # * 1164s # * The #TestFDPassingProxy structure contains only private data and should only be accessed using the provided API. 1164s # */ 1164s # 1164s # /** 1164s # * TestFDPassingProxyClass: 1164s # * @parent_class: The parent class. 1164s # * 1164s # * Class structure for #TestFDPassingProxy. 1164s # */ 1164s # 1164s # struct _TestFDPassingProxyPrivate 1164s # { 1164s # GData *qdata; 1164s # }; 1164s # 1164s # static void test_fdpassing_proxy_iface_init (TestFDPassingIface *iface); 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY, 1164s # G_ADD_PRIVATE (TestFDPassingProxy) 1164s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init)) 1164s # 1164s # #else 1164s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY, 1164s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init)) 1164s # 1164s # #endif 1164s # static void 1164s # test_fdpassing_proxy_finalize (GObject *object) 1164s # { 1164s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (object); 1164s # g_datalist_clear (&proxy->priv->qdata); 1164s # G_OBJECT_CLASS (test_fdpassing_proxy_parent_class)->finalize (object); 1164s # } 1164s # 1164s # static void 1164s # test_fdpassing_proxy_get_property (GObject *object G_GNUC_UNUSED, 1164s # guint prop_id G_GNUC_UNUSED, 1164s # GValue *value G_GNUC_UNUSED, 1164s # GParamSpec *pspec G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void 1164s # test_fdpassing_proxy_set_property (GObject *object G_GNUC_UNUSED, 1164s # guint prop_id G_GNUC_UNUSED, 1164s # const GValue *value G_GNUC_UNUSED, 1164s # GParamSpec *pspec G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void 1164s # test_fdpassing_proxy_g_signal (GDBusProxy *proxy, 1164s # const gchar *sender_name G_GNUC_UNUSED, 1164s # const gchar *signal_name, 1164s # GVariant *parameters) 1164s # { 1164s # _ExtendedGDBusSignalInfo *info; 1164s # GVariantIter iter; 1164s # GVariant *child; 1164s # GValue *paramv; 1164s # gsize num_params; 1164s # gsize n; 1164s # guint signal_id; 1164s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, signal_name); 1164s # if (info == NULL) 1164s # return; 1164s # num_params = g_variant_n_children (parameters); 1164s # paramv = g_new0 (GValue, num_params + 1); 1164s # g_value_init (¶mv[0], TYPE_TEST_FDPASSING); 1164s # g_value_set_object (¶mv[0], proxy); 1164s # g_variant_iter_init (&iter, parameters); 1164s # n = 1; 1164s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1164s # { 1164s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1164s # if (arg_info->use_gvariant) 1164s # { 1164s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1164s # g_value_set_variant (¶mv[n], child); 1164s # n++; 1164s # } 1164s # else 1164s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1164s # g_variant_unref (child); 1164s # } 1164s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING); 1164s # g_signal_emitv (paramv, signal_id, 0, NULL); 1164s # for (n = 0; n < num_params + 1; n++) 1164s # g_value_unset (¶mv[n]); 1164s # g_free (paramv); 1164s # } 1164s # 1164s # static void 1164s # test_fdpassing_proxy_g_properties_changed (GDBusProxy *_proxy, 1164s # GVariant *changed_properties, 1164s # const gchar *const *invalidated_properties) 1164s # { 1164s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (_proxy); 1164s # guint n; 1164s # const gchar *key; 1164s # GVariantIter *iter; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # g_variant_get (changed_properties, "a{sv}", &iter); 1164s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1164s # { 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, key); 1164s # g_datalist_remove_data (&proxy->priv->qdata, key); 1164s # if (info != NULL) 1164s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1164s # } 1164s # g_variant_iter_free (iter); 1164s # for (n = 0; invalidated_properties[n] != NULL; n++) 1164s # { 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, invalidated_properties[n]); 1164s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1164s # if (info != NULL) 1164s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1164s # } 1164s # } 1164s # 1164s # static void 1164s # test_fdpassing_proxy_init (TestFDPassingProxy *proxy) 1164s # { 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # proxy->priv = test_fdpassing_proxy_get_instance_private (proxy); 1164s # #else 1164s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_TEST_FDPASSING_PROXY, TestFDPassingProxyPrivate); 1164s # #endif 1164s # 1164s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), test_fdpassing_interface_info ()); 1164s # } 1164s # 1164s # static void 1164s # test_fdpassing_proxy_class_init (TestFDPassingProxyClass *klass) 1164s # { 1164s # GObjectClass *gobject_class; 1164s # GDBusProxyClass *proxy_class; 1164s # 1164s # gobject_class = G_OBJECT_CLASS (klass); 1164s # gobject_class->finalize = test_fdpassing_proxy_finalize; 1164s # gobject_class->get_property = test_fdpassing_proxy_get_property; 1164s # gobject_class->set_property = test_fdpassing_proxy_set_property; 1164s # 1164s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1164s # proxy_class->g_signal = test_fdpassing_proxy_g_signal; 1164s # proxy_class->g_properties_changed = test_fdpassing_proxy_g_properties_changed; 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1164s # g_type_class_add_private (klass, sizeof (TestFDPassingProxyPrivate)); 1164s # #endif 1164s # } 1164s # 1164s # static void 1164s # test_fdpassing_proxy_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # /** 1164s # * test_fdpassing_proxy_new: 1164s # * @connection: A #GDBusConnection. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Asynchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new() for more details. 1164s # * 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call test_fdpassing_proxy_new_finish() to get the result of the operation. 1164s # * 1164s # * See test_fdpassing_proxy_new_sync() for the synchronous, blocking version of this constructor. 1164s # */ 1164s # void 1164s # test_fdpassing_proxy_new ( 1164s # GDBusConnection *connection, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # 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); 1164s # } 1164s # 1164s # /** 1164s # * test_fdpassing_proxy_new_finish: 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new(). 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Finishes an operation started with test_fdpassing_proxy_new(). 1164s # * 1164s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # TestFDPassing * 1164s # test_fdpassing_proxy_new_finish ( 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GObject *ret; 1164s # GObject *source_object; 1164s # source_object = g_async_result_get_source_object (res); 1164s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1164s # g_object_unref (source_object); 1164s # if (ret != NULL) 1164s # return TEST_FDPASSING (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # /** 1164s # * test_fdpassing_proxy_new_sync: 1164s # * @connection: A #GDBusConnection. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Synchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new_sync() for more details. 1164s # * 1164s # * The calling thread is blocked until a reply is received. 1164s # * 1164s # * See test_fdpassing_proxy_new() for the asynchronous version of this constructor. 1164s # * 1164s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # TestFDPassing * 1164s # test_fdpassing_proxy_new_sync ( 1164s # GDBusConnection *connection, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GInitable *ret; 1164s # 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); 1164s # if (ret != NULL) 1164s # return TEST_FDPASSING (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # 1164s # /** 1164s # * test_fdpassing_proxy_new_for_bus: 1164s # * @bus_type: A #GBusType. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: A bus name (well-known or unique). 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Like test_fdpassing_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1164s # * 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call test_fdpassing_proxy_new_for_bus_finish() to get the result of the operation. 1164s # * 1164s # * See test_fdpassing_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1164s # */ 1164s # void 1164s # test_fdpassing_proxy_new_for_bus ( 1164s # GBusType bus_type, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # 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); 1164s # } 1164s # 1164s # /** 1164s # * test_fdpassing_proxy_new_for_bus_finish: 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new_for_bus(). 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Finishes an operation started with test_fdpassing_proxy_new_for_bus(). 1164s # * 1164s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # TestFDPassing * 1164s # test_fdpassing_proxy_new_for_bus_finish ( 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GObject *ret; 1164s # GObject *source_object; 1164s # source_object = g_async_result_get_source_object (res); 1164s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1164s # g_object_unref (source_object); 1164s # if (ret != NULL) 1164s # return TEST_FDPASSING (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # /** 1164s # * test_fdpassing_proxy_new_for_bus_sync: 1164s # * @bus_type: A #GBusType. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: A bus name (well-known or unique). 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Like test_fdpassing_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1164s # * 1164s # * The calling thread is blocked until a reply is received. 1164s # * 1164s # * See test_fdpassing_proxy_new_for_bus() for the asynchronous version of this constructor. 1164s # * 1164s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # TestFDPassing * 1164s # test_fdpassing_proxy_new_for_bus_sync ( 1164s # GBusType bus_type, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GInitable *ret; 1164s # 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); 1164s # if (ret != NULL) 1164s # return TEST_FDPASSING (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # 1164s # /* ------------------------------------------------------------------------ */ 1164s # 1164s # /** 1164s # * TestFDPassingSkeleton: 1164s # * 1164s # * The #TestFDPassingSkeleton structure contains only private data and should only be accessed using the provided API. 1164s # */ 1164s # 1164s # /** 1164s # * TestFDPassingSkeletonClass: 1164s # * @parent_class: The parent class. 1164s # * 1164s # * Class structure for #TestFDPassingSkeleton. 1164s # */ 1164s # 1164s # struct _TestFDPassingSkeletonPrivate 1164s # { 1164s # GValue *properties; 1164s # GList *changed_properties; 1164s # GSource *changed_properties_idle_source; 1164s # GMainContext *context; 1164s # GMutex lock; 1164s # }; 1164s # 1164s # static void 1164s # _test_fdpassing_skeleton_handle_method_call ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name, 1164s # const gchar *method_name, 1164s # GVariant *parameters, 1164s # GDBusMethodInvocation *invocation, 1164s # gpointer user_data) 1164s # { 1164s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 1164s # _ExtendedGDBusMethodInfo *info; 1164s # GVariantIter iter; 1164s # GVariant *child; 1164s # GValue *paramv; 1164s # gsize num_params; 1164s # guint num_extra; 1164s # gsize n; 1164s # guint signal_id; 1164s # GValue return_value = G_VALUE_INIT; 1164s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1164s # g_assert (info != NULL); 1164s # num_params = g_variant_n_children (parameters); 1164s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1164s # n = 0; 1164s # g_value_init (¶mv[n], TYPE_TEST_FDPASSING); 1164s # g_value_set_object (¶mv[n++], skeleton); 1164s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1164s # g_value_set_object (¶mv[n++], invocation); 1164s # if (info->pass_fdlist) 1164s # { 1164s # #ifdef G_OS_UNIX 1164s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1164s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1164s # #else 1164s # g_assert_not_reached (); 1164s # #endif 1164s # } 1164s # g_variant_iter_init (&iter, parameters); 1164s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1164s # { 1164s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1164s # if (arg_info->use_gvariant) 1164s # { 1164s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1164s # g_value_set_variant (¶mv[n], child); 1164s # n++; 1164s # } 1164s # else 1164s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1164s # g_variant_unref (child); 1164s # } 1164s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING); 1164s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1164s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1164s # if (!g_value_get_boolean (&return_value)) 1164s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1164s # g_value_unset (&return_value); 1164s # for (n = 0; n < num_params + num_extra; n++) 1164s # g_value_unset (¶mv[n]); 1164s # g_free (paramv); 1164s # } 1164s # 1164s # static GVariant * 1164s # _test_fdpassing_skeleton_handle_get_property ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name G_GNUC_UNUSED, 1164s # const gchar *property_name, 1164s # GError **error, 1164s # gpointer user_data) 1164s # { 1164s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 1164s # GValue value = G_VALUE_INIT; 1164s # GParamSpec *pspec; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # GVariant *ret; 1164s # ret = NULL; 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name); 1164s # g_assert (info != NULL); 1164s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1164s # if (pspec == NULL) 1164s # { 1164s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1164s # } 1164s # else 1164s # { 1164s # g_value_init (&value, pspec->value_type); 1164s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1164s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1164s # g_value_unset (&value); 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static gboolean 1164s # _test_fdpassing_skeleton_handle_set_property ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name G_GNUC_UNUSED, 1164s # const gchar *property_name, 1164s # GVariant *variant, 1164s # GError **error, 1164s # gpointer user_data) 1164s # { 1164s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 1164s # GValue value = G_VALUE_INIT; 1164s # GParamSpec *pspec; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # gboolean ret; 1164s # ret = FALSE; 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name); 1164s # g_assert (info != NULL); 1164s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1164s # if (pspec == NULL) 1164s # { 1164s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1164s # } 1164s # else 1164s # { 1164s # if (info->use_gvariant) 1164s # g_value_set_variant (&value, variant); 1164s # else 1164s # g_dbus_gvariant_to_gvalue (variant, &value); 1164s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1164s # g_value_unset (&value); 1164s # ret = TRUE; 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static const GDBusInterfaceVTable _test_fdpassing_skeleton_vtable = 1164s # { 1164s # _test_fdpassing_skeleton_handle_method_call, 1164s # _test_fdpassing_skeleton_handle_get_property, 1164s # _test_fdpassing_skeleton_handle_set_property, 1164s # {NULL} 1164s # }; 1164s # 1164s # static GDBusInterfaceInfo * 1164s # test_fdpassing_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1164s # { 1164s # return test_fdpassing_interface_info (); 1164s # } 1164s # 1164s # static GDBusInterfaceVTable * 1164s # test_fdpassing_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1164s # { 1164s # return (GDBusInterfaceVTable *) &_test_fdpassing_skeleton_vtable; 1164s # } 1164s # 1164s # static GVariant * 1164s # test_fdpassing_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1164s # { 1164s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (_skeleton); 1164s # 1164s # GVariantBuilder builder; 1164s # guint n; 1164s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1164s # if (_test_fdpassing_interface_info.parent_struct.properties == NULL) 1164s # goto out; 1164s # for (n = 0; _test_fdpassing_interface_info.parent_struct.properties[n] != NULL; n++) 1164s # { 1164s # GDBusPropertyInfo *info = _test_fdpassing_interface_info.parent_struct.properties[n]; 1164s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1164s # { 1164s # GVariant *value; 1164s # 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); 1164s # if (value != NULL) 1164s # { 1164s # g_variant_take_ref (value); 1164s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1164s # g_variant_unref (value); 1164s # } 1164s # } 1164s # } 1164s # out: 1164s # return g_variant_builder_end (&builder); 1164s # } 1164s # 1164s # static void 1164s # test_fdpassing_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface); 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1164s # G_ADD_PRIVATE (TestFDPassingSkeleton) 1164s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init)) 1164s # 1164s # #else 1164s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1164s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init)) 1164s # 1164s # #endif 1164s # static void 1164s # test_fdpassing_skeleton_finalize (GObject *object) 1164s # { 1164s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (object); 1164s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1164s # if (skeleton->priv->changed_properties_idle_source != NULL) 1164s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1164s # g_main_context_unref (skeleton->priv->context); 1164s # g_mutex_clear (&skeleton->priv->lock); 1164s # G_OBJECT_CLASS (test_fdpassing_skeleton_parent_class)->finalize (object); 1164s # } 1164s # 1164s # static void 1164s # test_fdpassing_skeleton_init (TestFDPassingSkeleton *skeleton) 1164s # { 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # skeleton->priv = test_fdpassing_skeleton_get_instance_private (skeleton); 1164s # #else 1164s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_TEST_FDPASSING_SKELETON, TestFDPassingSkeletonPrivate); 1164s # #endif 1164s # 1164s # g_mutex_init (&skeleton->priv->lock); 1164s # skeleton->priv->context = g_main_context_ref_thread_default (); 1164s # } 1164s # 1164s # static void 1164s # test_fdpassing_skeleton_class_init (TestFDPassingSkeletonClass *klass) 1164s # { 1164s # GObjectClass *gobject_class; 1164s # GDBusInterfaceSkeletonClass *skeleton_class; 1164s # 1164s # gobject_class = G_OBJECT_CLASS (klass); 1164s # gobject_class->finalize = test_fdpassing_skeleton_finalize; 1164s # 1164s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1164s # skeleton_class->get_info = test_fdpassing_skeleton_dbus_interface_get_info; 1164s # skeleton_class->get_properties = test_fdpassing_skeleton_dbus_interface_get_properties; 1164s # skeleton_class->flush = test_fdpassing_skeleton_dbus_interface_flush; 1164s # skeleton_class->get_vtable = test_fdpassing_skeleton_dbus_interface_get_vtable; 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1164s # g_type_class_add_private (klass, sizeof (TestFDPassingSkeletonPrivate)); 1164s # #endif 1164s # } 1164s # 1164s # static void 1164s # test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # /** 1164s # * test_fdpassing_skeleton_new: 1164s # * 1164s # * Creates a skeleton object for the D-Bus interface test.FDPassing. 1164s # * 1164s # * Returns: (transfer full) (type TestFDPassingSkeleton): The skeleton object. 1164s # */ 1164s # TestFDPassing * 1164s # test_fdpassing_skeleton_new (void) 1164s # { 1164s # return TEST_FDPASSING (g_object_new (TYPE_TEST_FDPASSING_SKELETON, NULL)); 1164s # } 1164s ok 15 __main__.TestCodegen.test_generate_rst 1164s # tmpdir: /tmp/tmpu1zm21t4 1164s # codegen: /usr/bin/gdbus-codegen 1164s # /tmp/tmpu1zm21t4/tmpfjtey_2n.xml: 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpu1zm21t4/tmpfjtey_2n.xml', '--generate-rst', 'test'] 1164s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1164s # Output: 1164s ok 16 __main__.TestCodegen.test_generate_rst_method 1164s # tmpdir: /tmp/tmplir14itl 1164s # codegen: /usr/bin/gdbus-codegen 1164s # /tmp/tmplir14itl/tmpxedp0ewe.xml: 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmplir14itl/tmpxedp0ewe.xml', '--generate-rst', 'test'] 1164s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1164s # Output: 1164s ok 17 __main__.TestCodegen.test_generate_rst_property 1164s # tmpdir: /tmp/tmpktyupcqm 1164s # codegen: /usr/bin/gdbus-codegen 1164s # /tmp/tmpktyupcqm/tmp8970wvai.xml: 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpktyupcqm/tmp8970wvai.xml', '--generate-rst', 'test'] 1164s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1164s # Output: 1164s ok 18 __main__.TestCodegen.test_generate_rst_signal 1164s # tmpdir: /tmp/tmpwgef8adl 1164s # codegen: /usr/bin/gdbus-codegen 1164s # /tmp/tmpwgef8adl/tmp1em6059i.xml: 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwgef8adl/tmp1em6059i.xml', '--generate-rst', 'test'] 1164s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1164s # Output: 1164s ok 19 __main__.TestCodegen.test_generate_signal_id_multiple_signal_args_types 1164s # tmpdir: /tmp/tmp_qnsn73p 1164s # codegen: /usr/bin/gdbus-codegen 1164s # /tmp/tmp_qnsn73p/tmp0qjmycsk.xml: 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_qnsn73p/tmp0qjmycsk.xml', '--output', '-', '--body'] 1164s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1164s # Output: /* 1164s # * This file is generated by gdbus-codegen, do not modify it. 1164s # * 1164s # * The license of this code is the same as for the D-Bus interface description 1164s # * it was derived from. Note that it links to GLib, so must comply with the 1164s # * LGPL linking clauses. 1164s # */ 1164s # 1164s # #ifdef HAVE_CONFIG_H 1164s # # include "config.h" 1164s # #endif 1164s # 1164s # #include 1164s # #ifdef G_OS_UNIX 1164s # # include 1164s # #endif 1164s # 1164s # #ifdef G_ENABLE_DEBUG 1164s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1164s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1164s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1164s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1164s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1164s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1164s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1164s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1164s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1164s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1164s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1164s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1164s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1164s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1164s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1164s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1164s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1164s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1164s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1164s # #else /* !G_ENABLE_DEBUG */ 1164s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1164s # * Do not access GValues directly in your code. Instead, use the 1164s # * g_value_get_*() functions 1164s # */ 1164s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1164s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1164s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1164s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1164s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1164s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1164s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1164s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1164s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1164s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1164s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1164s # #endif /* !G_ENABLE_DEBUG */ 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusArgInfo parent_struct; 1164s # gboolean use_gvariant; 1164s # } _ExtendedGDBusArgInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusMethodInfo parent_struct; 1164s # const gchar *signal_name; 1164s # gboolean pass_fdlist; 1164s # } _ExtendedGDBusMethodInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusSignalInfo parent_struct; 1164s # const gchar *signal_name; 1164s # } _ExtendedGDBusSignalInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusPropertyInfo parent_struct; 1164s # const gchar *hyphen_name; 1164s # guint use_gvariant : 1; 1164s # guint emits_changed_signal : 1; 1164s # } _ExtendedGDBusPropertyInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusInterfaceInfo parent_struct; 1164s # const gchar *hyphen_name; 1164s # } _ExtendedGDBusInterfaceInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # const _ExtendedGDBusPropertyInfo *info; 1164s # guint prop_id; 1164s # GValue orig_value; /* the value before the change */ 1164s # } ChangedProperty; 1164s # 1164s # static void 1164s # _changed_property_free (ChangedProperty *data) 1164s # { 1164s # g_value_unset (&data->orig_value); 1164s # g_free (data); 1164s # } 1164s # 1164s # static gboolean 1164s # _g_strv_equal0 (gchar **a, gchar **b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # guint n; 1164s # if (a == NULL && b == NULL) 1164s # { 1164s # ret = TRUE; 1164s # goto out; 1164s # } 1164s # if (a == NULL || b == NULL) 1164s # goto out; 1164s # if (g_strv_length (a) != g_strv_length (b)) 1164s # goto out; 1164s # for (n = 0; a[n] != NULL; n++) 1164s # if (g_strcmp0 (a[n], b[n]) != 0) 1164s # goto out; 1164s # ret = TRUE; 1164s # out: 1164s # return ret; 1164s # } 1164s # 1164s # static gboolean 1164s # _g_variant_equal0 (GVariant *a, GVariant *b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # if (a == NULL && b == NULL) 1164s # { 1164s # ret = TRUE; 1164s # goto out; 1164s # } 1164s # if (a == NULL || b == NULL) 1164s # goto out; 1164s # ret = g_variant_equal (a, b); 1164s # out: 1164s # return ret; 1164s # } 1164s # 1164s # G_GNUC_UNUSED static gboolean 1164s # _g_value_equal (const GValue *a, const GValue *b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1164s # switch (G_VALUE_TYPE (a)) 1164s # { 1164s # case G_TYPE_BOOLEAN: 1164s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1164s # break; 1164s # case G_TYPE_UCHAR: 1164s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1164s # break; 1164s # case G_TYPE_INT: 1164s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1164s # break; 1164s # case G_TYPE_UINT: 1164s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1164s # break; 1164s # case G_TYPE_INT64: 1164s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1164s # break; 1164s # case G_TYPE_UINT64: 1164s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1164s # break; 1164s # case G_TYPE_DOUBLE: 1164s # { 1164s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1164s # gdouble da = g_value_get_double (a); 1164s # gdouble db = g_value_get_double (b); 1164s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1164s # } 1164s # break; 1164s # case G_TYPE_STRING: 1164s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1164s # break; 1164s # case G_TYPE_VARIANT: 1164s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1164s # break; 1164s # default: 1164s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1164s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1164s # else 1164s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1164s # break; 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static void 1164s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 1164s # GClosure *closure, 1164s # GValue *return_value G_GNUC_UNUSED, 1164s # unsigned int n_param_values, 1164s # const GValue *param_values, 1164s # void *invocation_hint G_GNUC_UNUSED, 1164s # void *marshal_data) 1164s # { 1164s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1164s # (void *data1, 1164s # gboolean arg_an_b, 1164s # guchar arg_an_y, 1164s # gint16 arg_an_n, 1164s # guint16 arg_an_q, 1164s # gint arg_an_i, 1164s # guint arg_an_u, 1164s # gint64 arg_an_x, 1164s # guint64 arg_an_t, 1164s # gdouble arg_an_d, 1164s # const gchar *arg_an_s, 1164s # const gchar *arg_an_o, 1164s # const gchar *arg_an_g, 1164s # GVariant *arg_an_h, 1164s # const gchar *arg_an_ay, 1164s # const gchar *const *arg_an_as, 1164s # const gchar *const *arg_an_ao, 1164s # const gchar *const *arg_an_aay, 1164s # GVariant *arg_an_asv, 1164s # void *data2); 1164s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 1164s # GCClosure *cc = (GCClosure*) closure; 1164s # void *data1, *data2; 1164s # 1164s # g_return_if_fail (n_param_values == 19); 1164s # 1164s # if (G_CCLOSURE_SWAP_DATA (closure)) 1164s # { 1164s # data1 = closure->data; 1164s # data2 = g_value_peek_pointer (param_values + 0); 1164s # } 1164s # else 1164s # { 1164s # data1 = g_value_peek_pointer (param_values + 0); 1164s # data2 = closure->data; 1164s # } 1164s # 1164s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1164s # (marshal_data ? marshal_data : cc->callback); 1164s # 1164s # callback (data1, 1164s # g_marshal_value_peek_boolean (param_values + 1), 1164s # g_marshal_value_peek_uchar (param_values + 2), 1164s # g_marshal_value_peek_int (param_values + 3), 1164s # g_marshal_value_peek_uint (param_values + 4), 1164s # g_marshal_value_peek_int (param_values + 5), 1164s # g_marshal_value_peek_uint (param_values + 6), 1164s # g_marshal_value_peek_int64 (param_values + 7), 1164s # g_marshal_value_peek_uint64 (param_values + 8), 1164s # g_marshal_value_peek_double (param_values + 9), 1164s # g_marshal_value_peek_string (param_values + 10), 1164s # g_marshal_value_peek_string (param_values + 11), 1164s # g_marshal_value_peek_string (param_values + 12), 1164s # g_marshal_value_peek_variant (param_values + 13), 1164s # g_marshal_value_peek_string (param_values + 14), 1164s # g_marshal_value_peek_boxed (param_values + 15), 1164s # g_marshal_value_peek_boxed (param_values + 16), 1164s # g_marshal_value_peek_boxed (param_values + 17), 1164s # g_marshal_value_peek_variant (param_values + 18), 1164s # data2); 1164s # } 1164s # 1164s # /* ------------------------------------------------------------------------ 1164s # * Code for interface org.project.SignalingIface 1164s # * ------------------------------------------------------------------------ 1164s # */ 1164s # 1164s # /** 1164s # * SECTION:OrgProjectSignalingIface 1164s # * @title: OrgProjectSignalingIface 1164s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1164s # * 1164s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1164s # */ 1164s # 1164s # enum 1164s # { 1164s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS, 1164s # }; 1164s # 1164s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 1164s # 1164s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "an_b", 1164s # (gchar *) "b", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "an_y", 1164s # (gchar *) "y", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "an_n", 1164s # (gchar *) "n", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "an_q", 1164s # (gchar *) "q", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "an_i", 1164s # (gchar *) "i", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "an_u", 1164s # (gchar *) "u", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "an_x", 1164s # (gchar *) "x", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "an_t", 1164s # (gchar *) "t", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "an_d", 1164s # (gchar *) "d", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "an_s", 1164s # (gchar *) "s", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "an_o", 1164s # (gchar *) "o", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "an_g", 1164s # (gchar *) "g", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "an_h", 1164s # (gchar *) "h", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "an_ay", 1164s # (gchar *) "ay", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "an_as", 1164s # (gchar *) "as", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "an_ao", 1164s # (gchar *) "ao", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "an_aay", 1164s # (gchar *) "aay", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "an_asv", 1164s # (gchar *) "a{sv}", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] = 1164s # { 1164s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct, 1164s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct, 1164s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct, 1164s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct, 1164s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct, 1164s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct, 1164s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct, 1164s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct, 1164s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct, 1164s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct, 1164s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct, 1164s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct, 1164s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct, 1164s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct, 1164s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct, 1164s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct, 1164s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct, 1164s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct, 1164s # NULL 1164s # }; 1164s # 1164s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "SignalWithManyArgs", 1164s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers, 1164s # NULL 1164s # }, 1164s # "signal-with-many-args" 1164s # }; 1164s # 1164s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1164s # { 1164s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct, 1164s # NULL 1164s # }; 1164s # 1164s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "org.project.SignalingIface", 1164s # NULL, 1164s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1164s # NULL, 1164s # NULL 1164s # }, 1164s # "org-project-signaling-iface", 1164s # }; 1164s # 1164s # 1164s # /** 1164s # * org_project_signaling_iface_interface_info: 1164s # * 1164s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1164s # * 1164s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1164s # */ 1164s # GDBusInterfaceInfo * 1164s # org_project_signaling_iface_interface_info (void) 1164s # { 1164s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1164s # } 1164s # 1164s # /** 1164s # * org_project_signaling_iface_override_properties: 1164s # * @klass: The class structure for a #GObject derived class. 1164s # * @property_id_begin: The property id to assign to the first overridden property. 1164s # * 1164s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1164s # * The properties are overridden in the order they are defined. 1164s # * 1164s # * Returns: The last property id. 1164s # */ 1164s # guint 1164s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1164s # { 1164s # return property_id_begin - 1; 1164s # } 1164s # 1164s # 1164s # inline static void 1164s # org_project_signaling_iface_signal_marshal_signal_with_many_args ( 1164s # GClosure *closure, 1164s # GValue *return_value, 1164s # unsigned int n_param_values, 1164s # const GValue *param_values, 1164s # void *invocation_hint, 1164s # void *marshal_data) 1164s # { 1164s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 1164s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1164s # } 1164s # 1164s # 1164s # /** 1164s # * OrgProjectSignalingIface: 1164s # * 1164s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectSignalingIfaceIface: 1164s # * @parent_iface: The parent interface. 1164s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal. 1164s # * 1164s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1164s # */ 1164s # 1164s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1164s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1164s # 1164s # static void 1164s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1164s # { 1164s # /* GObject signals for received D-Bus signals: */ 1164s # /** 1164s # * OrgProjectSignalingIface::signal-with-many-args: 1164s # * @object: A #OrgProjectSignalingIface. 1164s # * @arg_an_b: Argument. 1164s # * @arg_an_y: Argument. 1164s # * @arg_an_n: Argument. 1164s # * @arg_an_q: Argument. 1164s # * @arg_an_i: Argument. 1164s # * @arg_an_u: Argument. 1164s # * @arg_an_x: Argument. 1164s # * @arg_an_t: Argument. 1164s # * @arg_an_d: Argument. 1164s # * @arg_an_s: Argument. 1164s # * @arg_an_o: Argument. 1164s # * @arg_an_g: Argument. 1164s # * @arg_an_h: Argument. 1164s # * @arg_an_ay: Argument. 1164s # * @arg_an_as: Argument. 1164s # * @arg_an_ao: Argument. 1164s # * @arg_an_aay: Argument. 1164s # * @arg_an_asv: Argument. 1164s # * 1164s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received. 1164s # * 1164s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1164s # */ 1164s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] = 1164s # g_signal_new ("signal-with-many-args", 1164s # G_TYPE_FROM_INTERFACE (iface), 1164s # G_SIGNAL_RUN_LAST, 1164s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args), 1164s # NULL, 1164s # NULL, 1164s # org_project_signaling_iface_signal_marshal_signal_with_many_args, 1164s # G_TYPE_NONE, 1164s # 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); 1164s # 1164s # } 1164s # 1164s # /** 1164s # * org_project_signaling_iface_emit_signal_with_many_args: 1164s # * @object: A #OrgProjectSignalingIface. 1164s # * @arg_an_b: Argument to pass with the signal. 1164s # * @arg_an_y: Argument to pass with the signal. 1164s # * @arg_an_n: Argument to pass with the signal. 1164s # * @arg_an_q: Argument to pass with the signal. 1164s # * @arg_an_i: Argument to pass with the signal. 1164s # * @arg_an_u: Argument to pass with the signal. 1164s # * @arg_an_x: Argument to pass with the signal. 1164s # * @arg_an_t: Argument to pass with the signal. 1164s # * @arg_an_d: Argument to pass with the signal. 1164s # * @arg_an_s: Argument to pass with the signal. 1164s # * @arg_an_o: Argument to pass with the signal. 1164s # * @arg_an_g: Argument to pass with the signal. 1164s # * @arg_an_h: Argument to pass with the signal. 1164s # * @arg_an_ay: Argument to pass with the signal. 1164s # * @arg_an_as: Argument to pass with the signal. 1164s # * @arg_an_ao: Argument to pass with the signal. 1164s # * @arg_an_aay: Argument to pass with the signal. 1164s # * @arg_an_asv: Argument to pass with the signal. 1164s # * 1164s # * Emits the "SignalWithManyArgs" D-Bus signal. 1164s # */ 1164s # void 1164s # org_project_signaling_iface_emit_signal_with_many_args ( 1164s # OrgProjectSignalingIface *object, 1164s # gboolean arg_an_b, 1164s # guchar arg_an_y, 1164s # gint16 arg_an_n, 1164s # guint16 arg_an_q, 1164s # gint arg_an_i, 1164s # guint arg_an_u, 1164s # gint64 arg_an_x, 1164s # guint64 arg_an_t, 1164s # gdouble arg_an_d, 1164s # const gchar *arg_an_s, 1164s # const gchar *arg_an_o, 1164s # const gchar *arg_an_g, 1164s # GVariant *arg_an_h, 1164s # const gchar *arg_an_ay, 1164s # const gchar *const *arg_an_as, 1164s # const gchar *const *arg_an_ao, 1164s # const gchar *const *arg_an_aay, 1164s # GVariant *arg_an_asv) 1164s # { 1164s # 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); 1164s # } 1164s # 1164s # /* ------------------------------------------------------------------------ */ 1164s # 1164s # /** 1164s # * OrgProjectSignalingIfaceProxy: 1164s # * 1164s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectSignalingIfaceProxyClass: 1164s # * @parent_class: The parent class. 1164s # * 1164s # * Class structure for #OrgProjectSignalingIfaceProxy. 1164s # */ 1164s # 1164s # struct _OrgProjectSignalingIfaceProxyPrivate 1164s # { 1164s # GData *qdata; 1164s # }; 1164s # 1164s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1164s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1164s # 1164s # #else 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1164s # 1164s # #endif 1164s # static void 1164s # org_project_signaling_iface_proxy_finalize (GObject *object) 1164s # { 1164s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1164s # g_datalist_clear (&proxy->priv->qdata); 1164s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1164s # } 1164s # 1164s # static void 1164s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1164s # guint prop_id G_GNUC_UNUSED, 1164s # GValue *value G_GNUC_UNUSED, 1164s # GParamSpec *pspec G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void 1164s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1164s # guint prop_id G_GNUC_UNUSED, 1164s # const GValue *value G_GNUC_UNUSED, 1164s # GParamSpec *pspec G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void 1164s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1164s # const gchar *sender_name G_GNUC_UNUSED, 1164s # const gchar *signal_name, 1164s # GVariant *parameters) 1164s # { 1164s # _ExtendedGDBusSignalInfo *info; 1164s # GVariantIter iter; 1164s # GVariant *child; 1164s # GValue *paramv; 1164s # gsize num_params; 1164s # gsize n; 1164s # guint signal_id; 1164s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1164s # if (info == NULL) 1164s # return; 1164s # num_params = g_variant_n_children (parameters); 1164s # paramv = g_new0 (GValue, num_params + 1); 1164s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1164s # g_value_set_object (¶mv[0], proxy); 1164s # g_variant_iter_init (&iter, parameters); 1164s # n = 1; 1164s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1164s # { 1164s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1164s # if (arg_info->use_gvariant) 1164s # { 1164s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1164s # g_value_set_variant (¶mv[n], child); 1164s # n++; 1164s # } 1164s # else 1164s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1164s # g_variant_unref (child); 1164s # } 1164s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1164s # g_signal_emitv (paramv, signal_id, 0, NULL); 1164s # for (n = 0; n < num_params + 1; n++) 1164s # g_value_unset (¶mv[n]); 1164s # g_free (paramv); 1164s # } 1164s # 1164s # static void 1164s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1164s # GVariant *changed_properties, 1164s # const gchar *const *invalidated_properties) 1164s # { 1164s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1164s # guint n; 1164s # const gchar *key; 1164s # GVariantIter *iter; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # g_variant_get (changed_properties, "a{sv}", &iter); 1164s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1164s # { 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1164s # g_datalist_remove_data (&proxy->priv->qdata, key); 1164s # if (info != NULL) 1164s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1164s # } 1164s # g_variant_iter_free (iter); 1164s # for (n = 0; invalidated_properties[n] != NULL; n++) 1164s # { 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1164s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1164s # if (info != NULL) 1164s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1164s # } 1164s # } 1164s # 1164s # static void 1164s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1164s # { 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1164s # #else 1164s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1164s # #endif 1164s # 1164s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1164s # } 1164s # 1164s # static void 1164s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1164s # { 1164s # GObjectClass *gobject_class; 1164s # GDBusProxyClass *proxy_class; 1164s # 1164s # gobject_class = G_OBJECT_CLASS (klass); 1164s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1164s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1164s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1164s # 1164s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1164s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1164s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1164s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1164s # #endif 1164s # } 1164s # 1164s # static void 1164s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # /** 1164s # * org_project_signaling_iface_proxy_new: 1164s # * @connection: A #GDBusConnection. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1164s # * 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1164s # */ 1164s # void 1164s # org_project_signaling_iface_proxy_new ( 1164s # GDBusConnection *connection, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # 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); 1164s # } 1164s # 1164s # /** 1164s # * org_project_signaling_iface_proxy_new_finish: 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectSignalingIface * 1164s # org_project_signaling_iface_proxy_new_finish ( 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GObject *ret; 1164s # GObject *source_object; 1164s # source_object = g_async_result_get_source_object (res); 1164s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1164s # g_object_unref (source_object); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_signaling_iface_proxy_new_sync: 1164s # * @connection: A #GDBusConnection. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1164s # * 1164s # * The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectSignalingIface * 1164s # org_project_signaling_iface_proxy_new_sync ( 1164s # GDBusConnection *connection, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GInitable *ret; 1164s # 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); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # 1164s # /** 1164s # * org_project_signaling_iface_proxy_new_for_bus: 1164s # * @bus_type: A #GBusType. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: A bus name (well-known or unique). 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1164s # * 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1164s # */ 1164s # void 1164s # org_project_signaling_iface_proxy_new_for_bus ( 1164s # GBusType bus_type, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # 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); 1164s # } 1164s # 1164s # /** 1164s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectSignalingIface * 1164s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GObject *ret; 1164s # GObject *source_object; 1164s # source_object = g_async_result_get_source_object (res); 1164s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1164s # g_object_unref (source_object); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1164s # * @bus_type: A #GBusType. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: A bus name (well-known or unique). 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1164s # * 1164s # * The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectSignalingIface * 1164s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1164s # GBusType bus_type, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GInitable *ret; 1164s # 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); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # 1164s # /* ------------------------------------------------------------------------ */ 1164s # 1164s # /** 1164s # * OrgProjectSignalingIfaceSkeleton: 1164s # * 1164s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectSignalingIfaceSkeletonClass: 1164s # * @parent_class: The parent class. 1164s # * 1164s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1164s # */ 1164s # 1164s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1164s # { 1164s # GValue *properties; 1164s # GList *changed_properties; 1164s # GSource *changed_properties_idle_source; 1164s # GMainContext *context; 1164s # GMutex lock; 1164s # }; 1164s # 1164s # static void 1164s # _org_project_signaling_iface_skeleton_handle_method_call ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name, 1164s # const gchar *method_name, 1164s # GVariant *parameters, 1164s # GDBusMethodInvocation *invocation, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1164s # _ExtendedGDBusMethodInfo *info; 1164s # GVariantIter iter; 1164s # GVariant *child; 1164s # GValue *paramv; 1164s # gsize num_params; 1164s # guint num_extra; 1164s # gsize n; 1164s # guint signal_id; 1164s # GValue return_value = G_VALUE_INIT; 1164s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1164s # g_assert (info != NULL); 1164s # num_params = g_variant_n_children (parameters); 1164s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1164s # n = 0; 1164s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1164s # g_value_set_object (¶mv[n++], skeleton); 1164s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1164s # g_value_set_object (¶mv[n++], invocation); 1164s # if (info->pass_fdlist) 1164s # { 1164s # #ifdef G_OS_UNIX 1164s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1164s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1164s # #else 1164s # g_assert_not_reached (); 1164s # #endif 1164s # } 1164s # g_variant_iter_init (&iter, parameters); 1164s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1164s # { 1164s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1164s # if (arg_info->use_gvariant) 1164s # { 1164s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1164s # g_value_set_variant (¶mv[n], child); 1164s # n++; 1164s # } 1164s # else 1164s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1164s # g_variant_unref (child); 1164s # } 1164s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1164s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1164s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1164s # if (!g_value_get_boolean (&return_value)) 1164s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1164s # g_value_unset (&return_value); 1164s # for (n = 0; n < num_params + num_extra; n++) 1164s # g_value_unset (¶mv[n]); 1164s # g_free (paramv); 1164s # } 1164s # 1164s # static GVariant * 1164s # _org_project_signaling_iface_skeleton_handle_get_property ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name G_GNUC_UNUSED, 1164s # const gchar *property_name, 1164s # GError **error, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1164s # GValue value = G_VALUE_INIT; 1164s # GParamSpec *pspec; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # GVariant *ret; 1164s # ret = NULL; 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1164s # g_assert (info != NULL); 1164s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1164s # if (pspec == NULL) 1164s # { 1164s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1164s # } 1164s # else 1164s # { 1164s # g_value_init (&value, pspec->value_type); 1164s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1164s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1164s # g_value_unset (&value); 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static gboolean 1164s # _org_project_signaling_iface_skeleton_handle_set_property ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name G_GNUC_UNUSED, 1164s # const gchar *property_name, 1164s # GVariant *variant, 1164s # GError **error, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1164s # GValue value = G_VALUE_INIT; 1164s # GParamSpec *pspec; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # gboolean ret; 1164s # ret = FALSE; 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1164s # g_assert (info != NULL); 1164s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1164s # if (pspec == NULL) 1164s # { 1164s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1164s # } 1164s # else 1164s # { 1164s # if (info->use_gvariant) 1164s # g_value_set_variant (&value, variant); 1164s # else 1164s # g_dbus_gvariant_to_gvalue (variant, &value); 1164s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1164s # g_value_unset (&value); 1164s # ret = TRUE; 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1164s # { 1164s # _org_project_signaling_iface_skeleton_handle_method_call, 1164s # _org_project_signaling_iface_skeleton_handle_get_property, 1164s # _org_project_signaling_iface_skeleton_handle_set_property, 1164s # {NULL} 1164s # }; 1164s # 1164s # static GDBusInterfaceInfo * 1164s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1164s # { 1164s # return org_project_signaling_iface_interface_info (); 1164s # } 1164s # 1164s # static GDBusInterfaceVTable * 1164s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1164s # { 1164s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1164s # } 1164s # 1164s # static GVariant * 1164s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1164s # { 1164s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1164s # 1164s # GVariantBuilder builder; 1164s # guint n; 1164s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1164s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1164s # goto out; 1164s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1164s # { 1164s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1164s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1164s # { 1164s # GVariant *value; 1164s # 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); 1164s # if (value != NULL) 1164s # { 1164s # g_variant_take_ref (value); 1164s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1164s # g_variant_unref (value); 1164s # } 1164s # } 1164s # } 1164s # out: 1164s # return g_variant_builder_end (&builder); 1164s # } 1164s # 1164s # static void 1164s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void 1164s # _org_project_signaling_iface_on_signal_signal_with_many_args ( 1164s # OrgProjectSignalingIface *object, 1164s # gboolean arg_an_b, 1164s # guchar arg_an_y, 1164s # gint16 arg_an_n, 1164s # guint16 arg_an_q, 1164s # gint arg_an_i, 1164s # guint arg_an_u, 1164s # gint64 arg_an_x, 1164s # guint64 arg_an_t, 1164s # gdouble arg_an_d, 1164s # const gchar *arg_an_s, 1164s # const gchar *arg_an_o, 1164s # const gchar *arg_an_g, 1164s # GVariant *arg_an_h, 1164s # const gchar *arg_an_ay, 1164s # const gchar *const *arg_an_as, 1164s # const gchar *const *arg_an_ao, 1164s # const gchar *const *arg_an_aay, 1164s # GVariant *arg_an_asv) 1164s # { 1164s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1164s # 1164s # GList *connections, *l; 1164s # GVariant *signal_variant; 1164s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1164s # 1164s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1164s # arg_an_b, 1164s # arg_an_y, 1164s # arg_an_n, 1164s # arg_an_q, 1164s # arg_an_i, 1164s # arg_an_u, 1164s # arg_an_x, 1164s # arg_an_t, 1164s # arg_an_d, 1164s # arg_an_s, 1164s # arg_an_o, 1164s # arg_an_g, 1164s # arg_an_h, 1164s # arg_an_ay, 1164s # arg_an_as, 1164s # arg_an_ao, 1164s # arg_an_aay, 1164s # arg_an_asv)); 1164s # for (l = connections; l != NULL; l = l->next) 1164s # { 1164s # GDBusConnection *connection = l->data; 1164s # g_dbus_connection_emit_signal (connection, 1164s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs", 1164s # signal_variant, NULL); 1164s # } 1164s # g_variant_unref (signal_variant); 1164s # g_list_free_full (connections, g_object_unref); 1164s # } 1164s # 1164s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1164s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1164s # 1164s # #else 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1164s # 1164s # #endif 1164s # static void 1164s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1164s # { 1164s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1164s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1164s # if (skeleton->priv->changed_properties_idle_source != NULL) 1164s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1164s # g_main_context_unref (skeleton->priv->context); 1164s # g_mutex_clear (&skeleton->priv->lock); 1164s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1164s # } 1164s # 1164s # static void 1164s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1164s # { 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1164s # #else 1164s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1164s # #endif 1164s # 1164s # g_mutex_init (&skeleton->priv->lock); 1164s # skeleton->priv->context = g_main_context_ref_thread_default (); 1164s # } 1164s # 1164s # static void 1164s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1164s # { 1164s # GObjectClass *gobject_class; 1164s # GDBusInterfaceSkeletonClass *skeleton_class; 1164s # 1164s # gobject_class = G_OBJECT_CLASS (klass); 1164s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1164s # 1164s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1164s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1164s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1164s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1164s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1164s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1164s # #endif 1164s # } 1164s # 1164s # static void 1164s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1164s # { 1164s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args; 1164s # } 1164s # 1164s # /** 1164s # * org_project_signaling_iface_skeleton_new: 1164s # * 1164s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1164s # */ 1164s # OrgProjectSignalingIface * 1164s # org_project_signaling_iface_skeleton_new (void) 1164s # { 1164s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1164s # } 1164s ok 20 __main__.TestCodegen.test_generate_signal_id_multiple_signals_types 1164s # tmpdir: /tmp/tmpbirnsth2 1164s # codegen: /usr/bin/gdbus-codegen 1164s # /tmp/tmpbirnsth2/tmpkr0nwu14.xml: 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbirnsth2/tmpkr0nwu14.xml', '--output', '-', '--body'] 1164s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1164s # Output: /* 1164s # * This file is generated by gdbus-codegen, do not modify it. 1164s # * 1164s # * The license of this code is the same as for the D-Bus interface description 1164s # * it was derived from. Note that it links to GLib, so must comply with the 1164s # * LGPL linking clauses. 1164s # */ 1164s # 1164s # #ifdef HAVE_CONFIG_H 1164s # # include "config.h" 1164s # #endif 1164s # 1164s # #include 1164s # #ifdef G_OS_UNIX 1164s # # include 1164s # #endif 1164s # 1164s # #ifdef G_ENABLE_DEBUG 1164s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1164s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1164s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1164s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1164s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1164s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1164s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1164s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1164s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1164s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1164s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1164s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1164s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1164s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1164s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1164s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1164s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1164s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1164s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1164s # #else /* !G_ENABLE_DEBUG */ 1164s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1164s # * Do not access GValues directly in your code. Instead, use the 1164s # * g_value_get_*() functions 1164s # */ 1164s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1164s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1164s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1164s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1164s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1164s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1164s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1164s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1164s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1164s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1164s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1164s # #endif /* !G_ENABLE_DEBUG */ 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusArgInfo parent_struct; 1164s # gboolean use_gvariant; 1164s # } _ExtendedGDBusArgInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusMethodInfo parent_struct; 1164s # const gchar *signal_name; 1164s # gboolean pass_fdlist; 1164s # } _ExtendedGDBusMethodInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusSignalInfo parent_struct; 1164s # const gchar *signal_name; 1164s # } _ExtendedGDBusSignalInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusPropertyInfo parent_struct; 1164s # const gchar *hyphen_name; 1164s # guint use_gvariant : 1; 1164s # guint emits_changed_signal : 1; 1164s # } _ExtendedGDBusPropertyInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusInterfaceInfo parent_struct; 1164s # const gchar *hyphen_name; 1164s # } _ExtendedGDBusInterfaceInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # const _ExtendedGDBusPropertyInfo *info; 1164s # guint prop_id; 1164s # GValue orig_value; /* the value before the change */ 1164s # } ChangedProperty; 1164s # 1164s # static void 1164s # _changed_property_free (ChangedProperty *data) 1164s # { 1164s # g_value_unset (&data->orig_value); 1164s # g_free (data); 1164s # } 1164s # 1164s # static gboolean 1164s # _g_strv_equal0 (gchar **a, gchar **b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # guint n; 1164s # if (a == NULL && b == NULL) 1164s # { 1164s # ret = TRUE; 1164s # goto out; 1164s # } 1164s # if (a == NULL || b == NULL) 1164s # goto out; 1164s # if (g_strv_length (a) != g_strv_length (b)) 1164s # goto out; 1164s # for (n = 0; a[n] != NULL; n++) 1164s # if (g_strcmp0 (a[n], b[n]) != 0) 1164s # goto out; 1164s # ret = TRUE; 1164s # out: 1164s # return ret; 1164s # } 1164s # 1164s # static gboolean 1164s # _g_variant_equal0 (GVariant *a, GVariant *b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # if (a == NULL && b == NULL) 1164s # { 1164s # ret = TRUE; 1164s # goto out; 1164s # } 1164s # if (a == NULL || b == NULL) 1164s # goto out; 1164s # ret = g_variant_equal (a, b); 1164s # out: 1164s # return ret; 1164s # } 1164s # 1164s # G_GNUC_UNUSED static gboolean 1164s # _g_value_equal (const GValue *a, const GValue *b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1164s # switch (G_VALUE_TYPE (a)) 1164s # { 1164s # case G_TYPE_BOOLEAN: 1164s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1164s # break; 1164s # case G_TYPE_UCHAR: 1164s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1164s # break; 1164s # case G_TYPE_INT: 1164s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1164s # break; 1164s # case G_TYPE_UINT: 1164s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1164s # break; 1164s # case G_TYPE_INT64: 1164s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1164s # break; 1164s # case G_TYPE_UINT64: 1164s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1164s # break; 1164s # case G_TYPE_DOUBLE: 1164s # { 1164s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1164s # gdouble da = g_value_get_double (a); 1164s # gdouble db = g_value_get_double (b); 1164s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1164s # } 1164s # break; 1164s # case G_TYPE_STRING: 1164s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1164s # break; 1164s # case G_TYPE_VARIANT: 1164s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1164s # break; 1164s # default: 1164s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1164s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1164s # else 1164s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1164s # break; 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static void 1164s # _g_dbus_codegen_marshal_VOID__INT64 ( 1164s # GClosure *closure, 1164s # GValue *return_value G_GNUC_UNUSED, 1164s # unsigned int n_param_values, 1164s # const GValue *param_values, 1164s # void *invocation_hint G_GNUC_UNUSED, 1164s # void *marshal_data) 1164s # { 1164s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func) 1164s # (void *data1, 1164s # gint64 arg_an_x, 1164s # void *data2); 1164s # _GDbusCodegenMarshalVoid_Int64Func callback; 1164s # GCClosure *cc = (GCClosure*) closure; 1164s # void *data1, *data2; 1164s # 1164s # g_return_if_fail (n_param_values == 2); 1164s # 1164s # if (G_CCLOSURE_SWAP_DATA (closure)) 1164s # { 1164s # data1 = closure->data; 1164s # data2 = g_value_peek_pointer (param_values + 0); 1164s # } 1164s # else 1164s # { 1164s # data1 = g_value_peek_pointer (param_values + 0); 1164s # data2 = closure->data; 1164s # } 1164s # 1164s # callback = (_GDbusCodegenMarshalVoid_Int64Func) 1164s # (marshal_data ? marshal_data : cc->callback); 1164s # 1164s # callback (data1, 1164s # g_marshal_value_peek_int64 (param_values + 1), 1164s # data2); 1164s # } 1164s # 1164s # static void 1164s # _g_dbus_codegen_marshal_VOID__UINT64 ( 1164s # GClosure *closure, 1164s # GValue *return_value G_GNUC_UNUSED, 1164s # unsigned int n_param_values, 1164s # const GValue *param_values, 1164s # void *invocation_hint G_GNUC_UNUSED, 1164s # void *marshal_data) 1164s # { 1164s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func) 1164s # (void *data1, 1164s # guint64 arg_an_t, 1164s # void *data2); 1164s # _GDbusCodegenMarshalVoid_Uint64Func callback; 1164s # GCClosure *cc = (GCClosure*) closure; 1164s # void *data1, *data2; 1164s # 1164s # g_return_if_fail (n_param_values == 2); 1164s # 1164s # if (G_CCLOSURE_SWAP_DATA (closure)) 1164s # { 1164s # data1 = closure->data; 1164s # data2 = g_value_peek_pointer (param_values + 0); 1164s # } 1164s # else 1164s # { 1164s # data1 = g_value_peek_pointer (param_values + 0); 1164s # data2 = closure->data; 1164s # } 1164s # 1164s # callback = (_GDbusCodegenMarshalVoid_Uint64Func) 1164s # (marshal_data ? marshal_data : cc->callback); 1164s # 1164s # callback (data1, 1164s # g_marshal_value_peek_uint64 (param_values + 1), 1164s # data2); 1164s # } 1164s # 1164s # /* ------------------------------------------------------------------------ 1164s # * Code for interface org.project.SignalingIface 1164s # * ------------------------------------------------------------------------ 1164s # */ 1164s # 1164s # /** 1164s # * SECTION:OrgProjectSignalingIface 1164s # * @title: OrgProjectSignalingIface 1164s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1164s # * 1164s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1164s # */ 1164s # 1164s # enum 1164s # { 1164s # _ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL, 1164s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B, 1164s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y, 1164s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N, 1164s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q, 1164s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I, 1164s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U, 1164s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X, 1164s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T, 1164s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D, 1164s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S, 1164s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O, 1164s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G, 1164s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H, 1164s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY, 1164s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS, 1164s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO, 1164s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY, 1164s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV, 1164s # }; 1164s # 1164s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[19] = { 0 }; 1164s # 1164s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1164s # 1164s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_no_arg_signal = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "NoArgSignal", 1164s # NULL, 1164s # NULL 1164s # }, 1164s # "no-arg-signal" 1164s # }; 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "an_b", 1164s # (gchar *) "b", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] = 1164s # { 1164s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b.parent_struct, 1164s # NULL 1164s # }; 1164s # 1164s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "SingleArgSignalB", 1164s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers, 1164s # NULL 1164s # }, 1164s # "single-arg-signal-b" 1164s # }; 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "an_y", 1164s # (gchar *) "y", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] = 1164s # { 1164s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y.parent_struct, 1164s # NULL 1164s # }; 1164s # 1164s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "SingleArgSignalY", 1164s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers, 1164s # NULL 1164s # }, 1164s # "single-arg-signal-y" 1164s # }; 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "an_n", 1164s # (gchar *) "n", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] = 1164s # { 1164s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n.parent_struct, 1164s # NULL 1164s # }; 1164s # 1164s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "SingleArgSignalN", 1164s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers, 1164s # NULL 1164s # }, 1164s # "single-arg-signal-n" 1164s # }; 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "an_q", 1164s # (gchar *) "q", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] = 1164s # { 1164s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q.parent_struct, 1164s # NULL 1164s # }; 1164s # 1164s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "SingleArgSignalQ", 1164s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers, 1164s # NULL 1164s # }, 1164s # "single-arg-signal-q" 1164s # }; 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "an_i", 1164s # (gchar *) "i", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] = 1164s # { 1164s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i.parent_struct, 1164s # NULL 1164s # }; 1164s # 1164s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "SingleArgSignalI", 1164s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers, 1164s # NULL 1164s # }, 1164s # "single-arg-signal-i" 1164s # }; 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "an_u", 1164s # (gchar *) "u", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] = 1164s # { 1164s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u.parent_struct, 1164s # NULL 1164s # }; 1164s # 1164s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "SingleArgSignalU", 1164s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers, 1164s # NULL 1164s # }, 1164s # "single-arg-signal-u" 1164s # }; 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "an_x", 1164s # (gchar *) "x", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] = 1164s # { 1164s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x.parent_struct, 1164s # NULL 1164s # }; 1164s # 1164s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "SingleArgSignalX", 1164s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers, 1164s # NULL 1164s # }, 1164s # "single-arg-signal-x" 1164s # }; 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "an_t", 1164s # (gchar *) "t", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] = 1164s # { 1164s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t.parent_struct, 1164s # NULL 1164s # }; 1164s # 1164s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "SingleArgSignalT", 1164s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers, 1164s # NULL 1164s # }, 1164s # "single-arg-signal-t" 1164s # }; 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "an_d", 1164s # (gchar *) "d", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] = 1164s # { 1164s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d.parent_struct, 1164s # NULL 1164s # }; 1164s # 1164s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "SingleArgSignalD", 1164s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers, 1164s # NULL 1164s # }, 1164s # "single-arg-signal-d" 1164s # }; 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "an_s", 1164s # (gchar *) "s", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] = 1164s # { 1164s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s.parent_struct, 1164s # NULL 1164s # }; 1164s # 1164s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "SingleArgSignalS", 1164s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers, 1164s # NULL 1164s # }, 1164s # "single-arg-signal-s" 1164s # }; 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "an_o", 1164s # (gchar *) "o", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] = 1164s # { 1164s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o.parent_struct, 1164s # NULL 1164s # }; 1164s # 1164s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "SingleArgSignalO", 1164s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers, 1164s # NULL 1164s # }, 1164s # "single-arg-signal-o" 1164s # }; 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "an_g", 1164s # (gchar *) "g", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] = 1164s # { 1164s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g.parent_struct, 1164s # NULL 1164s # }; 1164s # 1164s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "SingleArgSignalG", 1164s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers, 1164s # NULL 1164s # }, 1164s # "single-arg-signal-g" 1164s # }; 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "an_h", 1164s # (gchar *) "h", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] = 1164s # { 1164s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h.parent_struct, 1164s # NULL 1164s # }; 1164s # 1164s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "SingleArgSignalH", 1164s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers, 1164s # NULL 1164s # }, 1164s # "single-arg-signal-h" 1164s # }; 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "an_ay", 1164s # (gchar *) "ay", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] = 1164s # { 1164s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay.parent_struct, 1164s # NULL 1164s # }; 1164s # 1164s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "SingleArgSignalAY", 1164s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers, 1164s # NULL 1164s # }, 1164s # "single-arg-signal-ay" 1164s # }; 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "an_as", 1164s # (gchar *) "as", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] = 1164s # { 1164s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as.parent_struct, 1164s # NULL 1164s # }; 1164s # 1164s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "SingleArgSignalAS", 1164s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers, 1164s # NULL 1164s # }, 1164s # "single-arg-signal-as" 1164s # }; 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "an_ao", 1164s # (gchar *) "ao", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] = 1164s # { 1164s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao.parent_struct, 1164s # NULL 1164s # }; 1164s # 1164s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "SingleArgSignalAO", 1164s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers, 1164s # NULL 1164s # }, 1164s # "single-arg-signal-ao" 1164s # }; 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "an_aay", 1164s # (gchar *) "aay", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] = 1164s # { 1164s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay.parent_struct, 1164s # NULL 1164s # }; 1164s # 1164s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "SingleArgSignalAAY", 1164s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers, 1164s # NULL 1164s # }, 1164s # "single-arg-signal-aay" 1164s # }; 1164s # 1164s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "an_asv", 1164s # (gchar *) "a{sv}", 1164s # NULL 1164s # }, 1164s # FALSE 1164s # }; 1164s # 1164s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] = 1164s # { 1164s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv.parent_struct, 1164s # NULL 1164s # }; 1164s # 1164s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "SingleArgSignalASV", 1164s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers, 1164s # NULL 1164s # }, 1164s # "single-arg-signal-asv" 1164s # }; 1164s # 1164s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1164s # { 1164s # &_org_project_signaling_iface_signal_info_no_arg_signal.parent_struct, 1164s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct, 1164s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct, 1164s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct, 1164s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct, 1164s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct, 1164s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct, 1164s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct, 1164s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct, 1164s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct, 1164s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct, 1164s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct, 1164s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct, 1164s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct, 1164s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct, 1164s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct, 1164s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct, 1164s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct, 1164s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct, 1164s # NULL 1164s # }; 1164s # 1164s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "org.project.SignalingIface", 1164s # NULL, 1164s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1164s # NULL, 1164s # NULL 1164s # }, 1164s # "org-project-signaling-iface", 1164s # }; 1164s # 1164s # 1164s # /** 1164s # * org_project_signaling_iface_interface_info: 1164s # * 1164s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1164s # * 1164s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1164s # */ 1164s # GDBusInterfaceInfo * 1164s # org_project_signaling_iface_interface_info (void) 1164s # { 1164s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1164s # } 1164s # 1164s # /** 1164s # * org_project_signaling_iface_override_properties: 1164s # * @klass: The class structure for a #GObject derived class. 1164s # * @property_id_begin: The property id to assign to the first overridden property. 1164s # * 1164s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1164s # * The properties are overridden in the order they are defined. 1164s # * 1164s # * Returns: The last property id. 1164s # */ 1164s # guint 1164s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1164s # { 1164s # return property_id_begin - 1; 1164s # } 1164s # 1164s # 1164s # inline static void 1164s # org_project_signaling_iface_signal_marshal_no_arg_signal ( 1164s # GClosure *closure, 1164s # GValue *return_value, 1164s # unsigned int n_param_values, 1164s # const GValue *param_values, 1164s # void *invocation_hint, 1164s # void *marshal_data) 1164s # { 1164s # g_cclosure_marshal_VOID__VOID (closure, 1164s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1164s # } 1164s # 1164s # inline static void 1164s # org_project_signaling_iface_signal_marshal_single_arg_signal_b ( 1164s # GClosure *closure, 1164s # GValue *return_value, 1164s # unsigned int n_param_values, 1164s # const GValue *param_values, 1164s # void *invocation_hint, 1164s # void *marshal_data) 1164s # { 1164s # g_cclosure_marshal_VOID__BOOLEAN (closure, 1164s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1164s # } 1164s # 1164s # inline static void 1164s # org_project_signaling_iface_signal_marshal_single_arg_signal_y ( 1164s # GClosure *closure, 1164s # GValue *return_value, 1164s # unsigned int n_param_values, 1164s # const GValue *param_values, 1164s # void *invocation_hint, 1164s # void *marshal_data) 1164s # { 1164s # g_cclosure_marshal_VOID__UCHAR (closure, 1164s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1164s # } 1164s # 1164s # inline static void 1164s # org_project_signaling_iface_signal_marshal_single_arg_signal_n ( 1164s # GClosure *closure, 1164s # GValue *return_value, 1164s # unsigned int n_param_values, 1164s # const GValue *param_values, 1164s # void *invocation_hint, 1164s # void *marshal_data) 1164s # { 1164s # g_cclosure_marshal_VOID__INT (closure, 1164s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1164s # } 1164s # 1164s # inline static void 1164s # org_project_signaling_iface_signal_marshal_single_arg_signal_q ( 1164s # GClosure *closure, 1164s # GValue *return_value, 1164s # unsigned int n_param_values, 1164s # const GValue *param_values, 1164s # void *invocation_hint, 1164s # void *marshal_data) 1164s # { 1164s # g_cclosure_marshal_VOID__UINT (closure, 1164s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1164s # } 1164s # 1164s # inline static void 1164s # org_project_signaling_iface_signal_marshal_single_arg_signal_i ( 1164s # GClosure *closure, 1164s # GValue *return_value, 1164s # unsigned int n_param_values, 1164s # const GValue *param_values, 1164s # void *invocation_hint, 1164s # void *marshal_data) 1164s # { 1164s # g_cclosure_marshal_VOID__INT (closure, 1164s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1164s # } 1164s # 1164s # inline static void 1164s # org_project_signaling_iface_signal_marshal_single_arg_signal_u ( 1164s # GClosure *closure, 1164s # GValue *return_value, 1164s # unsigned int n_param_values, 1164s # const GValue *param_values, 1164s # void *invocation_hint, 1164s # void *marshal_data) 1164s # { 1164s # g_cclosure_marshal_VOID__UINT (closure, 1164s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1164s # } 1164s # 1164s # inline static void 1164s # org_project_signaling_iface_signal_marshal_single_arg_signal_x ( 1164s # GClosure *closure, 1164s # GValue *return_value, 1164s # unsigned int n_param_values, 1164s # const GValue *param_values, 1164s # void *invocation_hint, 1164s # void *marshal_data) 1164s # { 1164s # _g_dbus_codegen_marshal_VOID__INT64 (closure, 1164s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1164s # } 1164s # 1164s # inline static void 1164s # org_project_signaling_iface_signal_marshal_single_arg_signal_t ( 1164s # GClosure *closure, 1164s # GValue *return_value, 1164s # unsigned int n_param_values, 1164s # const GValue *param_values, 1164s # void *invocation_hint, 1164s # void *marshal_data) 1164s # { 1164s # _g_dbus_codegen_marshal_VOID__UINT64 (closure, 1164s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1164s # } 1164s # 1164s # inline static void 1164s # org_project_signaling_iface_signal_marshal_single_arg_signal_d ( 1164s # GClosure *closure, 1164s # GValue *return_value, 1164s # unsigned int n_param_values, 1164s # const GValue *param_values, 1164s # void *invocation_hint, 1164s # void *marshal_data) 1164s # { 1164s # g_cclosure_marshal_VOID__DOUBLE (closure, 1164s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1164s # } 1164s # 1164s # inline static void 1164s # org_project_signaling_iface_signal_marshal_single_arg_signal_s ( 1164s # GClosure *closure, 1164s # GValue *return_value, 1164s # unsigned int n_param_values, 1164s # const GValue *param_values, 1164s # void *invocation_hint, 1164s # void *marshal_data) 1164s # { 1164s # g_cclosure_marshal_VOID__STRING (closure, 1164s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1164s # } 1164s # 1164s # inline static void 1164s # org_project_signaling_iface_signal_marshal_single_arg_signal_o ( 1164s # GClosure *closure, 1164s # GValue *return_value, 1164s # unsigned int n_param_values, 1164s # const GValue *param_values, 1164s # void *invocation_hint, 1164s # void *marshal_data) 1164s # { 1164s # g_cclosure_marshal_VOID__STRING (closure, 1164s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1164s # } 1164s # 1164s # inline static void 1164s # org_project_signaling_iface_signal_marshal_single_arg_signal_g ( 1164s # GClosure *closure, 1164s # GValue *return_value, 1164s # unsigned int n_param_values, 1164s # const GValue *param_values, 1164s # void *invocation_hint, 1164s # void *marshal_data) 1164s # { 1164s # g_cclosure_marshal_VOID__STRING (closure, 1164s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1164s # } 1164s # 1164s # inline static void 1164s # org_project_signaling_iface_signal_marshal_single_arg_signal_h ( 1164s # GClosure *closure, 1164s # GValue *return_value, 1164s # unsigned int n_param_values, 1164s # const GValue *param_values, 1164s # void *invocation_hint, 1164s # void *marshal_data) 1164s # { 1164s # g_cclosure_marshal_VOID__VARIANT (closure, 1164s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1164s # } 1164s # 1164s # inline static void 1164s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay ( 1164s # GClosure *closure, 1164s # GValue *return_value, 1164s # unsigned int n_param_values, 1164s # const GValue *param_values, 1164s # void *invocation_hint, 1164s # void *marshal_data) 1164s # { 1164s # g_cclosure_marshal_VOID__STRING (closure, 1164s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1164s # } 1164s # 1164s # inline static void 1164s # org_project_signaling_iface_signal_marshal_single_arg_signal_as ( 1164s # GClosure *closure, 1164s # GValue *return_value, 1164s # unsigned int n_param_values, 1164s # const GValue *param_values, 1164s # void *invocation_hint, 1164s # void *marshal_data) 1164s # { 1164s # g_cclosure_marshal_VOID__BOXED (closure, 1164s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1164s # } 1164s # 1164s # inline static void 1164s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao ( 1164s # GClosure *closure, 1164s # GValue *return_value, 1164s # unsigned int n_param_values, 1164s # const GValue *param_values, 1164s # void *invocation_hint, 1164s # void *marshal_data) 1164s # { 1164s # g_cclosure_marshal_VOID__BOXED (closure, 1164s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1164s # } 1164s # 1164s # inline static void 1164s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay ( 1164s # GClosure *closure, 1164s # GValue *return_value, 1164s # unsigned int n_param_values, 1164s # const GValue *param_values, 1164s # void *invocation_hint, 1164s # void *marshal_data) 1164s # { 1164s # g_cclosure_marshal_VOID__BOXED (closure, 1164s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1164s # } 1164s # 1164s # inline static void 1164s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv ( 1164s # GClosure *closure, 1164s # GValue *return_value, 1164s # unsigned int n_param_values, 1164s # const GValue *param_values, 1164s # void *invocation_hint, 1164s # void *marshal_data) 1164s # { 1164s # g_cclosure_marshal_VOID__VARIANT (closure, 1164s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1164s # } 1164s # 1164s # 1164s # /** 1164s # * OrgProjectSignalingIface: 1164s # * 1164s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectSignalingIfaceIface: 1164s # * @parent_iface: The parent interface. 1164s # * @no_arg_signal: Handler for the #OrgProjectSignalingIface::no-arg-signal signal. 1164s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal. 1164s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal. 1164s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal. 1164s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal. 1164s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal. 1164s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal. 1164s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal. 1164s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal. 1164s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal. 1164s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal. 1164s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal. 1164s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal. 1164s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal. 1164s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal. 1164s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal. 1164s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal. 1164s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal. 1164s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal. 1164s # * 1164s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1164s # */ 1164s # 1164s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1164s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1164s # 1164s # static void 1164s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1164s # { 1164s # /* GObject signals for received D-Bus signals: */ 1164s # /** 1164s # * OrgProjectSignalingIface::no-arg-signal: 1164s # * @object: A #OrgProjectSignalingIface. 1164s # * 1164s # * On the client-side, this signal is emitted whenever the D-Bus signal "NoArgSignal" is received. 1164s # * 1164s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1164s # */ 1164s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL] = 1164s # g_signal_new ("no-arg-signal", 1164s # G_TYPE_FROM_INTERFACE (iface), 1164s # G_SIGNAL_RUN_LAST, 1164s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, no_arg_signal), 1164s # NULL, 1164s # NULL, 1164s # org_project_signaling_iface_signal_marshal_no_arg_signal, 1164s # G_TYPE_NONE, 1164s # 0); 1164s # 1164s # /** 1164s # * OrgProjectSignalingIface::single-arg-signal-b: 1164s # * @object: A #OrgProjectSignalingIface. 1164s # * @arg_an_b: Argument. 1164s # * 1164s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received. 1164s # * 1164s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1164s # */ 1164s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] = 1164s # g_signal_new ("single-arg-signal-b", 1164s # G_TYPE_FROM_INTERFACE (iface), 1164s # G_SIGNAL_RUN_LAST, 1164s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b), 1164s # NULL, 1164s # NULL, 1164s # org_project_signaling_iface_signal_marshal_single_arg_signal_b, 1164s # G_TYPE_NONE, 1164s # 1, G_TYPE_BOOLEAN); 1164s # 1164s # /** 1164s # * OrgProjectSignalingIface::single-arg-signal-y: 1164s # * @object: A #OrgProjectSignalingIface. 1164s # * @arg_an_y: Argument. 1164s # * 1164s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received. 1164s # * 1164s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1164s # */ 1164s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] = 1164s # g_signal_new ("single-arg-signal-y", 1164s # G_TYPE_FROM_INTERFACE (iface), 1164s # G_SIGNAL_RUN_LAST, 1164s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y), 1164s # NULL, 1164s # NULL, 1164s # org_project_signaling_iface_signal_marshal_single_arg_signal_y, 1164s # G_TYPE_NONE, 1164s # 1, G_TYPE_UCHAR); 1164s # 1164s # /** 1164s # * OrgProjectSignalingIface::single-arg-signal-n: 1164s # * @object: A #OrgProjectSignalingIface. 1164s # * @arg_an_n: Argument. 1164s # * 1164s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received. 1164s # * 1164s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1164s # */ 1164s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] = 1164s # g_signal_new ("single-arg-signal-n", 1164s # G_TYPE_FROM_INTERFACE (iface), 1164s # G_SIGNAL_RUN_LAST, 1164s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n), 1164s # NULL, 1164s # NULL, 1164s # org_project_signaling_iface_signal_marshal_single_arg_signal_n, 1164s # G_TYPE_NONE, 1164s # 1, G_TYPE_INT); 1164s # 1164s # /** 1164s # * OrgProjectSignalingIface::single-arg-signal-q: 1164s # * @object: A #OrgProjectSignalingIface. 1164s # * @arg_an_q: Argument. 1164s # * 1164s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received. 1164s # * 1164s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1164s # */ 1164s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] = 1164s # g_signal_new ("single-arg-signal-q", 1164s # G_TYPE_FROM_INTERFACE (iface), 1164s # G_SIGNAL_RUN_LAST, 1164s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q), 1164s # NULL, 1164s # NULL, 1164s # org_project_signaling_iface_signal_marshal_single_arg_signal_q, 1164s # G_TYPE_NONE, 1164s # 1, G_TYPE_UINT); 1164s # 1164s # /** 1164s # * OrgProjectSignalingIface::single-arg-signal-i: 1164s # * @object: A #OrgProjectSignalingIface. 1164s # * @arg_an_i: Argument. 1164s # * 1164s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received. 1164s # * 1164s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1164s # */ 1164s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] = 1164s # g_signal_new ("single-arg-signal-i", 1164s # G_TYPE_FROM_INTERFACE (iface), 1164s # G_SIGNAL_RUN_LAST, 1164s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i), 1164s # NULL, 1164s # NULL, 1164s # org_project_signaling_iface_signal_marshal_single_arg_signal_i, 1164s # G_TYPE_NONE, 1164s # 1, G_TYPE_INT); 1164s # 1164s # /** 1164s # * OrgProjectSignalingIface::single-arg-signal-u: 1164s # * @object: A #OrgProjectSignalingIface. 1164s # * @arg_an_u: Argument. 1164s # * 1164s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received. 1164s # * 1164s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1164s # */ 1164s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] = 1164s # g_signal_new ("single-arg-signal-u", 1164s # G_TYPE_FROM_INTERFACE (iface), 1164s # G_SIGNAL_RUN_LAST, 1164s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u), 1164s # NULL, 1164s # NULL, 1164s # org_project_signaling_iface_signal_marshal_single_arg_signal_u, 1164s # G_TYPE_NONE, 1164s # 1, G_TYPE_UINT); 1164s # 1164s # /** 1164s # * OrgProjectSignalingIface::single-arg-signal-x: 1164s # * @object: A #OrgProjectSignalingIface. 1164s # * @arg_an_x: Argument. 1164s # * 1164s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received. 1164s # * 1164s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1164s # */ 1164s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] = 1164s # g_signal_new ("single-arg-signal-x", 1164s # G_TYPE_FROM_INTERFACE (iface), 1164s # G_SIGNAL_RUN_LAST, 1164s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x), 1164s # NULL, 1164s # NULL, 1164s # org_project_signaling_iface_signal_marshal_single_arg_signal_x, 1164s # G_TYPE_NONE, 1164s # 1, G_TYPE_INT64); 1164s # 1164s # /** 1164s # * OrgProjectSignalingIface::single-arg-signal-t: 1164s # * @object: A #OrgProjectSignalingIface. 1164s # * @arg_an_t: Argument. 1164s # * 1164s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received. 1164s # * 1164s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1164s # */ 1164s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] = 1164s # g_signal_new ("single-arg-signal-t", 1164s # G_TYPE_FROM_INTERFACE (iface), 1164s # G_SIGNAL_RUN_LAST, 1164s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t), 1164s # NULL, 1164s # NULL, 1164s # org_project_signaling_iface_signal_marshal_single_arg_signal_t, 1164s # G_TYPE_NONE, 1164s # 1, G_TYPE_UINT64); 1164s # 1164s # /** 1164s # * OrgProjectSignalingIface::single-arg-signal-d: 1164s # * @object: A #OrgProjectSignalingIface. 1164s # * @arg_an_d: Argument. 1164s # * 1164s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received. 1164s # * 1164s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1164s # */ 1164s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] = 1164s # g_signal_new ("single-arg-signal-d", 1164s # G_TYPE_FROM_INTERFACE (iface), 1164s # G_SIGNAL_RUN_LAST, 1164s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d), 1164s # NULL, 1164s # NULL, 1164s # org_project_signaling_iface_signal_marshal_single_arg_signal_d, 1164s # G_TYPE_NONE, 1164s # 1, G_TYPE_DOUBLE); 1164s # 1164s # /** 1164s # * OrgProjectSignalingIface::single-arg-signal-s: 1164s # * @object: A #OrgProjectSignalingIface. 1164s # * @arg_an_s: Argument. 1164s # * 1164s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received. 1164s # * 1164s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1164s # */ 1164s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] = 1164s # g_signal_new ("single-arg-signal-s", 1164s # G_TYPE_FROM_INTERFACE (iface), 1164s # G_SIGNAL_RUN_LAST, 1164s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s), 1164s # NULL, 1164s # NULL, 1164s # org_project_signaling_iface_signal_marshal_single_arg_signal_s, 1164s # G_TYPE_NONE, 1164s # 1, G_TYPE_STRING); 1164s # 1164s # /** 1164s # * OrgProjectSignalingIface::single-arg-signal-o: 1164s # * @object: A #OrgProjectSignalingIface. 1164s # * @arg_an_o: Argument. 1164s # * 1164s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received. 1164s # * 1164s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1164s # */ 1164s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] = 1164s # g_signal_new ("single-arg-signal-o", 1164s # G_TYPE_FROM_INTERFACE (iface), 1164s # G_SIGNAL_RUN_LAST, 1164s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o), 1164s # NULL, 1164s # NULL, 1164s # org_project_signaling_iface_signal_marshal_single_arg_signal_o, 1164s # G_TYPE_NONE, 1164s # 1, G_TYPE_STRING); 1164s # 1164s # /** 1164s # * OrgProjectSignalingIface::single-arg-signal-g: 1164s # * @object: A #OrgProjectSignalingIface. 1164s # * @arg_an_g: Argument. 1164s # * 1164s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received. 1164s # * 1164s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1164s # */ 1164s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] = 1164s # g_signal_new ("single-arg-signal-g", 1164s # G_TYPE_FROM_INTERFACE (iface), 1164s # G_SIGNAL_RUN_LAST, 1164s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g), 1164s # NULL, 1164s # NULL, 1164s # org_project_signaling_iface_signal_marshal_single_arg_signal_g, 1164s # G_TYPE_NONE, 1164s # 1, G_TYPE_STRING); 1164s # 1164s # /** 1164s # * OrgProjectSignalingIface::single-arg-signal-h: 1164s # * @object: A #OrgProjectSignalingIface. 1164s # * @arg_an_h: Argument. 1164s # * 1164s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received. 1164s # * 1164s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1164s # */ 1164s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] = 1164s # g_signal_new ("single-arg-signal-h", 1164s # G_TYPE_FROM_INTERFACE (iface), 1164s # G_SIGNAL_RUN_LAST, 1164s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h), 1164s # NULL, 1164s # NULL, 1164s # org_project_signaling_iface_signal_marshal_single_arg_signal_h, 1164s # G_TYPE_NONE, 1164s # 1, G_TYPE_VARIANT); 1164s # 1164s # /** 1164s # * OrgProjectSignalingIface::single-arg-signal-ay: 1164s # * @object: A #OrgProjectSignalingIface. 1164s # * @arg_an_ay: Argument. 1164s # * 1164s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAY" is received. 1164s # * 1164s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1164s # */ 1164s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] = 1164s # g_signal_new ("single-arg-signal-ay", 1164s # G_TYPE_FROM_INTERFACE (iface), 1164s # G_SIGNAL_RUN_LAST, 1164s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay), 1164s # NULL, 1164s # NULL, 1164s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay, 1164s # G_TYPE_NONE, 1164s # 1, G_TYPE_STRING); 1164s # 1164s # /** 1164s # * OrgProjectSignalingIface::single-arg-signal-as: 1164s # * @object: A #OrgProjectSignalingIface. 1164s # * @arg_an_as: Argument. 1164s # * 1164s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAS" is received. 1164s # * 1164s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1164s # */ 1164s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] = 1164s # g_signal_new ("single-arg-signal-as", 1164s # G_TYPE_FROM_INTERFACE (iface), 1164s # G_SIGNAL_RUN_LAST, 1164s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as), 1164s # NULL, 1164s # NULL, 1164s # org_project_signaling_iface_signal_marshal_single_arg_signal_as, 1164s # G_TYPE_NONE, 1164s # 1, G_TYPE_STRV); 1164s # 1164s # /** 1164s # * OrgProjectSignalingIface::single-arg-signal-ao: 1164s # * @object: A #OrgProjectSignalingIface. 1164s # * @arg_an_ao: Argument. 1164s # * 1164s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAO" is received. 1164s # * 1164s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1164s # */ 1164s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] = 1164s # g_signal_new ("single-arg-signal-ao", 1164s # G_TYPE_FROM_INTERFACE (iface), 1164s # G_SIGNAL_RUN_LAST, 1164s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao), 1164s # NULL, 1164s # NULL, 1164s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao, 1164s # G_TYPE_NONE, 1164s # 1, G_TYPE_STRV); 1164s # 1164s # /** 1164s # * OrgProjectSignalingIface::single-arg-signal-aay: 1164s # * @object: A #OrgProjectSignalingIface. 1164s # * @arg_an_aay: Argument. 1164s # * 1164s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAAY" is received. 1164s # * 1164s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1164s # */ 1164s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] = 1164s # g_signal_new ("single-arg-signal-aay", 1164s # G_TYPE_FROM_INTERFACE (iface), 1164s # G_SIGNAL_RUN_LAST, 1164s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay), 1164s # NULL, 1164s # NULL, 1164s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay, 1164s # G_TYPE_NONE, 1164s # 1, G_TYPE_STRV); 1164s # 1164s # /** 1164s # * OrgProjectSignalingIface::single-arg-signal-asv: 1164s # * @object: A #OrgProjectSignalingIface. 1164s # * @arg_an_asv: Argument. 1164s # * 1164s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalASV" is received. 1164s # * 1164s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1164s # */ 1164s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] = 1164s # g_signal_new ("single-arg-signal-asv", 1164s # G_TYPE_FROM_INTERFACE (iface), 1164s # G_SIGNAL_RUN_LAST, 1164s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv), 1164s # NULL, 1164s # NULL, 1164s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv, 1164s # G_TYPE_NONE, 1164s # 1, G_TYPE_VARIANT); 1164s # 1164s # } 1164s # 1164s # /** 1164s # * org_project_signaling_iface_emit_no_arg_signal: 1164s # * @object: A #OrgProjectSignalingIface. 1164s # * 1164s # * Emits the "NoArgSignal" D-Bus signal. 1164s # */ 1164s # void 1164s # org_project_signaling_iface_emit_no_arg_signal ( 1164s # OrgProjectSignalingIface *object) 1164s # { 1164s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL], 0); 1164s # } 1164s # 1164s # /** 1164s # * org_project_signaling_iface_emit_single_arg_signal_b: 1164s # * @object: A #OrgProjectSignalingIface. 1164s # * @arg_an_b: Argument to pass with the signal. 1164s # * 1164s # * Emits the "SingleArgSignalB" D-Bus signal. 1164s # */ 1164s # void 1164s # org_project_signaling_iface_emit_single_arg_signal_b ( 1164s # OrgProjectSignalingIface *object, 1164s # gboolean arg_an_b) 1164s # { 1164s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_an_b); 1164s # } 1164s # 1164s # /** 1164s # * org_project_signaling_iface_emit_single_arg_signal_y: 1164s # * @object: A #OrgProjectSignalingIface. 1164s # * @arg_an_y: Argument to pass with the signal. 1164s # * 1164s # * Emits the "SingleArgSignalY" D-Bus signal. 1164s # */ 1164s # void 1164s # org_project_signaling_iface_emit_single_arg_signal_y ( 1164s # OrgProjectSignalingIface *object, 1164s # guchar arg_an_y) 1164s # { 1164s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_an_y); 1164s # } 1164s # 1164s # /** 1164s # * org_project_signaling_iface_emit_single_arg_signal_n: 1164s # * @object: A #OrgProjectSignalingIface. 1164s # * @arg_an_n: Argument to pass with the signal. 1164s # * 1164s # * Emits the "SingleArgSignalN" D-Bus signal. 1164s # */ 1164s # void 1164s # org_project_signaling_iface_emit_single_arg_signal_n ( 1164s # OrgProjectSignalingIface *object, 1164s # gint16 arg_an_n) 1164s # { 1164s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_an_n); 1164s # } 1164s # 1164s # /** 1164s # * org_project_signaling_iface_emit_single_arg_signal_q: 1164s # * @object: A #OrgProjectSignalingIface. 1164s # * @arg_an_q: Argument to pass with the signal. 1164s # * 1164s # * Emits the "SingleArgSignalQ" D-Bus signal. 1164s # */ 1164s # void 1164s # org_project_signaling_iface_emit_single_arg_signal_q ( 1164s # OrgProjectSignalingIface *object, 1164s # guint16 arg_an_q) 1164s # { 1164s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_an_q); 1164s # } 1164s # 1164s # /** 1164s # * org_project_signaling_iface_emit_single_arg_signal_i: 1164s # * @object: A #OrgProjectSignalingIface. 1164s # * @arg_an_i: Argument to pass with the signal. 1164s # * 1164s # * Emits the "SingleArgSignalI" D-Bus signal. 1164s # */ 1164s # void 1164s # org_project_signaling_iface_emit_single_arg_signal_i ( 1164s # OrgProjectSignalingIface *object, 1164s # gint arg_an_i) 1164s # { 1164s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_an_i); 1164s # } 1164s # 1164s # /** 1164s # * org_project_signaling_iface_emit_single_arg_signal_u: 1164s # * @object: A #OrgProjectSignalingIface. 1164s # * @arg_an_u: Argument to pass with the signal. 1164s # * 1164s # * Emits the "SingleArgSignalU" D-Bus signal. 1164s # */ 1164s # void 1164s # org_project_signaling_iface_emit_single_arg_signal_u ( 1164s # OrgProjectSignalingIface *object, 1164s # guint arg_an_u) 1164s # { 1164s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_an_u); 1164s # } 1164s # 1164s # /** 1164s # * org_project_signaling_iface_emit_single_arg_signal_x: 1164s # * @object: A #OrgProjectSignalingIface. 1164s # * @arg_an_x: Argument to pass with the signal. 1164s # * 1164s # * Emits the "SingleArgSignalX" D-Bus signal. 1164s # */ 1164s # void 1164s # org_project_signaling_iface_emit_single_arg_signal_x ( 1164s # OrgProjectSignalingIface *object, 1164s # gint64 arg_an_x) 1164s # { 1164s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_an_x); 1164s # } 1164s # 1164s # /** 1164s # * org_project_signaling_iface_emit_single_arg_signal_t: 1164s # * @object: A #OrgProjectSignalingIface. 1164s # * @arg_an_t: Argument to pass with the signal. 1164s # * 1164s # * Emits the "SingleArgSignalT" D-Bus signal. 1164s # */ 1164s # void 1164s # org_project_signaling_iface_emit_single_arg_signal_t ( 1164s # OrgProjectSignalingIface *object, 1164s # guint64 arg_an_t) 1164s # { 1164s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_an_t); 1164s # } 1164s # 1164s # /** 1164s # * org_project_signaling_iface_emit_single_arg_signal_d: 1164s # * @object: A #OrgProjectSignalingIface. 1164s # * @arg_an_d: Argument to pass with the signal. 1164s # * 1164s # * Emits the "SingleArgSignalD" D-Bus signal. 1164s # */ 1164s # void 1164s # org_project_signaling_iface_emit_single_arg_signal_d ( 1164s # OrgProjectSignalingIface *object, 1164s # gdouble arg_an_d) 1164s # { 1164s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_an_d); 1164s # } 1164s # 1164s # /** 1164s # * org_project_signaling_iface_emit_single_arg_signal_s: 1164s # * @object: A #OrgProjectSignalingIface. 1164s # * @arg_an_s: Argument to pass with the signal. 1164s # * 1164s # * Emits the "SingleArgSignalS" D-Bus signal. 1164s # */ 1164s # void 1164s # org_project_signaling_iface_emit_single_arg_signal_s ( 1164s # OrgProjectSignalingIface *object, 1164s # const gchar *arg_an_s) 1164s # { 1164s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_an_s); 1164s # } 1164s # 1164s # /** 1164s # * org_project_signaling_iface_emit_single_arg_signal_o: 1164s # * @object: A #OrgProjectSignalingIface. 1164s # * @arg_an_o: Argument to pass with the signal. 1164s # * 1164s # * Emits the "SingleArgSignalO" D-Bus signal. 1164s # */ 1164s # void 1164s # org_project_signaling_iface_emit_single_arg_signal_o ( 1164s # OrgProjectSignalingIface *object, 1164s # const gchar *arg_an_o) 1164s # { 1164s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_an_o); 1164s # } 1164s # 1164s # /** 1164s # * org_project_signaling_iface_emit_single_arg_signal_g: 1164s # * @object: A #OrgProjectSignalingIface. 1164s # * @arg_an_g: Argument to pass with the signal. 1164s # * 1164s # * Emits the "SingleArgSignalG" D-Bus signal. 1164s # */ 1164s # void 1164s # org_project_signaling_iface_emit_single_arg_signal_g ( 1164s # OrgProjectSignalingIface *object, 1164s # const gchar *arg_an_g) 1164s # { 1164s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_an_g); 1164s # } 1164s # 1164s # /** 1164s # * org_project_signaling_iface_emit_single_arg_signal_h: 1164s # * @object: A #OrgProjectSignalingIface. 1164s # * @arg_an_h: Argument to pass with the signal. 1164s # * 1164s # * Emits the "SingleArgSignalH" D-Bus signal. 1164s # */ 1164s # void 1164s # org_project_signaling_iface_emit_single_arg_signal_h ( 1164s # OrgProjectSignalingIface *object, 1164s # GVariant *arg_an_h) 1164s # { 1164s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_an_h); 1164s # } 1164s # 1164s # /** 1164s # * org_project_signaling_iface_emit_single_arg_signal_ay: 1164s # * @object: A #OrgProjectSignalingIface. 1164s # * @arg_an_ay: Argument to pass with the signal. 1164s # * 1164s # * Emits the "SingleArgSignalAY" D-Bus signal. 1164s # */ 1164s # void 1164s # org_project_signaling_iface_emit_single_arg_signal_ay ( 1164s # OrgProjectSignalingIface *object, 1164s # const gchar *arg_an_ay) 1164s # { 1164s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_an_ay); 1164s # } 1164s # 1164s # /** 1164s # * org_project_signaling_iface_emit_single_arg_signal_as: 1164s # * @object: A #OrgProjectSignalingIface. 1164s # * @arg_an_as: Argument to pass with the signal. 1164s # * 1164s # * Emits the "SingleArgSignalAS" D-Bus signal. 1164s # */ 1164s # void 1164s # org_project_signaling_iface_emit_single_arg_signal_as ( 1164s # OrgProjectSignalingIface *object, 1164s # const gchar *const *arg_an_as) 1164s # { 1164s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_an_as); 1164s # } 1164s # 1164s # /** 1164s # * org_project_signaling_iface_emit_single_arg_signal_ao: 1164s # * @object: A #OrgProjectSignalingIface. 1164s # * @arg_an_ao: Argument to pass with the signal. 1164s # * 1164s # * Emits the "SingleArgSignalAO" D-Bus signal. 1164s # */ 1164s # void 1164s # org_project_signaling_iface_emit_single_arg_signal_ao ( 1164s # OrgProjectSignalingIface *object, 1164s # const gchar *const *arg_an_ao) 1164s # { 1164s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_an_ao); 1164s # } 1164s # 1164s # /** 1164s # * org_project_signaling_iface_emit_single_arg_signal_aay: 1164s # * @object: A #OrgProjectSignalingIface. 1164s # * @arg_an_aay: Argument to pass with the signal. 1164s # * 1164s # * Emits the "SingleArgSignalAAY" D-Bus signal. 1164s # */ 1164s # void 1164s # org_project_signaling_iface_emit_single_arg_signal_aay ( 1164s # OrgProjectSignalingIface *object, 1164s # const gchar *const *arg_an_aay) 1164s # { 1164s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_an_aay); 1164s # } 1164s # 1164s # /** 1164s # * org_project_signaling_iface_emit_single_arg_signal_asv: 1164s # * @object: A #OrgProjectSignalingIface. 1164s # * @arg_an_asv: Argument to pass with the signal. 1164s # * 1164s # * Emits the "SingleArgSignalASV" D-Bus signal. 1164s # */ 1164s # void 1164s # org_project_signaling_iface_emit_single_arg_signal_asv ( 1164s # OrgProjectSignalingIface *object, 1164s # GVariant *arg_an_asv) 1164s # { 1164s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_an_asv); 1164s # } 1164s # 1164s # /* ------------------------------------------------------------------------ */ 1164s # 1164s # /** 1164s # * OrgProjectSignalingIfaceProxy: 1164s # * 1164s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectSignalingIfaceProxyClass: 1164s # * @parent_class: The parent class. 1164s # * 1164s # * Class structure for #OrgProjectSignalingIfaceProxy. 1164s # */ 1164s # 1164s # struct _OrgProjectSignalingIfaceProxyPrivate 1164s # { 1164s # GData *qdata; 1164s # }; 1164s # 1164s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1164s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1164s # 1164s # #else 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1164s # 1164s # #endif 1164s # static void 1164s # org_project_signaling_iface_proxy_finalize (GObject *object) 1164s # { 1164s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1164s # g_datalist_clear (&proxy->priv->qdata); 1164s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1164s # } 1164s # 1164s # static void 1164s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1164s # guint prop_id G_GNUC_UNUSED, 1164s # GValue *value G_GNUC_UNUSED, 1164s # GParamSpec *pspec G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void 1164s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1164s # guint prop_id G_GNUC_UNUSED, 1164s # const GValue *value G_GNUC_UNUSED, 1164s # GParamSpec *pspec G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void 1164s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1164s # const gchar *sender_name G_GNUC_UNUSED, 1164s # const gchar *signal_name, 1164s # GVariant *parameters) 1164s # { 1164s # _ExtendedGDBusSignalInfo *info; 1164s # GVariantIter iter; 1164s # GVariant *child; 1164s # GValue *paramv; 1164s # gsize num_params; 1164s # gsize n; 1164s # guint signal_id; 1164s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1164s # if (info == NULL) 1164s # return; 1164s # num_params = g_variant_n_children (parameters); 1164s # paramv = g_new0 (GValue, num_params + 1); 1164s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1164s # g_value_set_object (¶mv[0], proxy); 1164s # g_variant_iter_init (&iter, parameters); 1164s # n = 1; 1164s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1164s # { 1164s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1164s # if (arg_info->use_gvariant) 1164s # { 1164s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1164s # g_value_set_variant (¶mv[n], child); 1164s # n++; 1164s # } 1164s # else 1164s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1164s # g_variant_unref (child); 1164s # } 1164s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1164s # g_signal_emitv (paramv, signal_id, 0, NULL); 1164s # for (n = 0; n < num_params + 1; n++) 1164s # g_value_unset (¶mv[n]); 1164s # g_free (paramv); 1164s # } 1164s # 1164s # static void 1164s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1164s # GVariant *changed_properties, 1164s # const gchar *const *invalidated_properties) 1164s # { 1164s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1164s # guint n; 1164s # const gchar *key; 1164s # GVariantIter *iter; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # g_variant_get (changed_properties, "a{sv}", &iter); 1164s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1164s # { 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1164s # g_datalist_remove_data (&proxy->priv->qdata, key); 1164s # if (info != NULL) 1164s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1164s # } 1164s # g_variant_iter_free (iter); 1164s # for (n = 0; invalidated_properties[n] != NULL; n++) 1164s # { 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1164s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1164s # if (info != NULL) 1164s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1164s # } 1164s # } 1164s # 1164s # static void 1164s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1164s # { 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1164s # #else 1164s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1164s # #endif 1164s # 1164s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1164s # } 1164s # 1164s # static void 1164s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1164s # { 1164s # GObjectClass *gobject_class; 1164s # GDBusProxyClass *proxy_class; 1164s # 1164s # gobject_class = G_OBJECT_CLASS (klass); 1164s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1164s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1164s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1164s # 1164s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1164s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1164s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1164s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1164s # #endif 1164s # } 1164s # 1164s # static void 1164s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # /** 1164s # * org_project_signaling_iface_proxy_new: 1164s # * @connection: A #GDBusConnection. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1164s # * 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1164s # */ 1164s # void 1164s # org_project_signaling_iface_proxy_new ( 1164s # GDBusConnection *connection, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # 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); 1164s # } 1164s # 1164s # /** 1164s # * org_project_signaling_iface_proxy_new_finish: 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectSignalingIface * 1164s # org_project_signaling_iface_proxy_new_finish ( 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GObject *ret; 1164s # GObject *source_object; 1164s # source_object = g_async_result_get_source_object (res); 1164s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1164s # g_object_unref (source_object); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_signaling_iface_proxy_new_sync: 1164s # * @connection: A #GDBusConnection. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1164s # * 1164s # * The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectSignalingIface * 1164s # org_project_signaling_iface_proxy_new_sync ( 1164s # GDBusConnection *connection, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GInitable *ret; 1164s # 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); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # 1164s # /** 1164s # * org_project_signaling_iface_proxy_new_for_bus: 1164s # * @bus_type: A #GBusType. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: A bus name (well-known or unique). 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1164s # * 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1164s # */ 1164s # void 1164s # org_project_signaling_iface_proxy_new_for_bus ( 1164s # GBusType bus_type, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # 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); 1164s # } 1164s # 1164s # /** 1164s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectSignalingIface * 1164s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GObject *ret; 1164s # GObject *source_object; 1164s # source_object = g_async_result_get_source_object (res); 1164s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1164s # g_object_unref (source_object); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1164s # * @bus_type: A #GBusType. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: A bus name (well-known or unique). 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1164s # * 1164s # * The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectSignalingIface * 1164s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1164s # GBusType bus_type, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GInitable *ret; 1164s # 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); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # 1164s # /* ------------------------------------------------------------------------ */ 1164s # 1164s # /** 1164s # * OrgProjectSignalingIfaceSkeleton: 1164s # * 1164s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectSignalingIfaceSkeletonClass: 1164s # * @parent_class: The parent class. 1164s # * 1164s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1164s # */ 1164s # 1164s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1164s # { 1164s # GValue *properties; 1164s # GList *changed_properties; 1164s # GSource *changed_properties_idle_source; 1164s # GMainContext *context; 1164s # GMutex lock; 1164s # }; 1164s # 1164s # static void 1164s # _org_project_signaling_iface_skeleton_handle_method_call ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name, 1164s # const gchar *method_name, 1164s # GVariant *parameters, 1164s # GDBusMethodInvocation *invocation, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1164s # _ExtendedGDBusMethodInfo *info; 1164s # GVariantIter iter; 1164s # GVariant *child; 1164s # GValue *paramv; 1164s # gsize num_params; 1164s # guint num_extra; 1164s # gsize n; 1164s # guint signal_id; 1164s # GValue return_value = G_VALUE_INIT; 1164s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1164s # g_assert (info != NULL); 1164s # num_params = g_variant_n_children (parameters); 1164s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1164s # n = 0; 1164s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1164s # g_value_set_object (¶mv[n++], skeleton); 1164s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1164s # g_value_set_object (¶mv[n++], invocation); 1164s # if (info->pass_fdlist) 1164s # { 1164s # #ifdef G_OS_UNIX 1164s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1164s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1164s # #else 1164s # g_assert_not_reached (); 1164s # #endif 1164s # } 1164s # g_variant_iter_init (&iter, parameters); 1164s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1164s # { 1164s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1164s # if (arg_info->use_gvariant) 1164s # { 1164s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1164s # g_value_set_variant (¶mv[n], child); 1164s # n++; 1164s # } 1164s # else 1164s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1164s # g_variant_unref (child); 1164s # } 1164s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1164s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1164s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1164s # if (!g_value_get_boolean (&return_value)) 1164s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1164s # g_value_unset (&return_value); 1164s # for (n = 0; n < num_params + num_extra; n++) 1164s # g_value_unset (¶mv[n]); 1164s # g_free (paramv); 1164s # } 1164s # 1164s # static GVariant * 1164s # _org_project_signaling_iface_skeleton_handle_get_property ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name G_GNUC_UNUSED, 1164s # const gchar *property_name, 1164s # GError **error, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1164s # GValue value = G_VALUE_INIT; 1164s # GParamSpec *pspec; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # GVariant *ret; 1164s # ret = NULL; 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1164s # g_assert (info != NULL); 1164s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1164s # if (pspec == NULL) 1164s # { 1164s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1164s # } 1164s # else 1164s # { 1164s # g_value_init (&value, pspec->value_type); 1164s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1164s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1164s # g_value_unset (&value); 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static gboolean 1164s # _org_project_signaling_iface_skeleton_handle_set_property ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name G_GNUC_UNUSED, 1164s # const gchar *property_name, 1164s # GVariant *variant, 1164s # GError **error, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1164s # GValue value = G_VALUE_INIT; 1164s # GParamSpec *pspec; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # gboolean ret; 1164s # ret = FALSE; 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1164s # g_assert (info != NULL); 1164s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1164s # if (pspec == NULL) 1164s # { 1164s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1164s # } 1164s # else 1164s # { 1164s # if (info->use_gvariant) 1164s # g_value_set_variant (&value, variant); 1164s # else 1164s # g_dbus_gvariant_to_gvalue (variant, &value); 1164s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1164s # g_value_unset (&value); 1164s # ret = TRUE; 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1164s # { 1164s # _org_project_signaling_iface_skeleton_handle_method_call, 1164s # _org_project_signaling_iface_skeleton_handle_get_property, 1164s # _org_project_signaling_iface_skeleton_handle_set_property, 1164s # {NULL} 1164s # }; 1164s # 1164s # static GDBusInterfaceInfo * 1164s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1164s # { 1164s # return org_project_signaling_iface_interface_info (); 1164s # } 1164s # 1164s # static GDBusInterfaceVTable * 1164s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1164s # { 1164s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1164s # } 1164s # 1164s # static GVariant * 1164s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1164s # { 1164s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1164s # 1164s # GVariantBuilder builder; 1164s # guint n; 1164s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1164s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1164s # goto out; 1164s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1164s # { 1164s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1164s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1164s # { 1164s # GVariant *value; 1164s # 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); 1164s # if (value != NULL) 1164s # { 1164s # g_variant_take_ref (value); 1164s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1164s # g_variant_unref (value); 1164s # } 1164s # } 1164s # } 1164s # out: 1164s # return g_variant_builder_end (&builder); 1164s # } 1164s # 1164s # static void 1164s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void 1164s # _org_project_signaling_iface_on_signal_no_arg_signal ( 1164s # OrgProjectSignalingIface *object) 1164s # { 1164s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1164s # 1164s # GList *connections, *l; 1164s # GVariant *signal_variant; 1164s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1164s # 1164s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1164s # for (l = connections; l != NULL; l = l->next) 1164s # { 1164s # GDBusConnection *connection = l->data; 1164s # g_dbus_connection_emit_signal (connection, 1164s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "NoArgSignal", 1164s # signal_variant, NULL); 1164s # } 1164s # g_variant_unref (signal_variant); 1164s # g_list_free_full (connections, g_object_unref); 1164s # } 1164s # 1164s # static void 1164s # _org_project_signaling_iface_on_signal_single_arg_signal_b ( 1164s # OrgProjectSignalingIface *object, 1164s # gboolean arg_an_b) 1164s # { 1164s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1164s # 1164s # GList *connections, *l; 1164s # GVariant *signal_variant; 1164s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1164s # 1164s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)", 1164s # arg_an_b)); 1164s # for (l = connections; l != NULL; l = l->next) 1164s # { 1164s # GDBusConnection *connection = l->data; 1164s # g_dbus_connection_emit_signal (connection, 1164s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB", 1164s # signal_variant, NULL); 1164s # } 1164s # g_variant_unref (signal_variant); 1164s # g_list_free_full (connections, g_object_unref); 1164s # } 1164s # 1164s # static void 1164s # _org_project_signaling_iface_on_signal_single_arg_signal_y ( 1164s # OrgProjectSignalingIface *object, 1164s # guchar arg_an_y) 1164s # { 1164s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1164s # 1164s # GList *connections, *l; 1164s # GVariant *signal_variant; 1164s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1164s # 1164s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)", 1164s # arg_an_y)); 1164s # for (l = connections; l != NULL; l = l->next) 1164s # { 1164s # GDBusConnection *connection = l->data; 1164s # g_dbus_connection_emit_signal (connection, 1164s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY", 1164s # signal_variant, NULL); 1164s # } 1164s # g_variant_unref (signal_variant); 1164s # g_list_free_full (connections, g_object_unref); 1164s # } 1164s # 1164s # static void 1164s # _org_project_signaling_iface_on_signal_single_arg_signal_n ( 1164s # OrgProjectSignalingIface *object, 1164s # gint16 arg_an_n) 1164s # { 1164s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1164s # 1164s # GList *connections, *l; 1164s # GVariant *signal_variant; 1164s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1164s # 1164s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)", 1164s # arg_an_n)); 1164s # for (l = connections; l != NULL; l = l->next) 1164s # { 1164s # GDBusConnection *connection = l->data; 1164s # g_dbus_connection_emit_signal (connection, 1164s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN", 1164s # signal_variant, NULL); 1164s # } 1164s # g_variant_unref (signal_variant); 1164s # g_list_free_full (connections, g_object_unref); 1164s # } 1164s # 1164s # static void 1164s # _org_project_signaling_iface_on_signal_single_arg_signal_q ( 1164s # OrgProjectSignalingIface *object, 1164s # guint16 arg_an_q) 1164s # { 1164s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1164s # 1164s # GList *connections, *l; 1164s # GVariant *signal_variant; 1164s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1164s # 1164s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)", 1164s # arg_an_q)); 1164s # for (l = connections; l != NULL; l = l->next) 1164s # { 1164s # GDBusConnection *connection = l->data; 1164s # g_dbus_connection_emit_signal (connection, 1164s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ", 1164s # signal_variant, NULL); 1164s # } 1164s # g_variant_unref (signal_variant); 1164s # g_list_free_full (connections, g_object_unref); 1164s # } 1164s # 1164s # static void 1164s # _org_project_signaling_iface_on_signal_single_arg_signal_i ( 1164s # OrgProjectSignalingIface *object, 1164s # gint arg_an_i) 1164s # { 1164s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1164s # 1164s # GList *connections, *l; 1164s # GVariant *signal_variant; 1164s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1164s # 1164s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)", 1164s # arg_an_i)); 1164s # for (l = connections; l != NULL; l = l->next) 1164s # { 1164s # GDBusConnection *connection = l->data; 1164s # g_dbus_connection_emit_signal (connection, 1164s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI", 1164s # signal_variant, NULL); 1164s # } 1164s # g_variant_unref (signal_variant); 1164s # g_list_free_full (connections, g_object_unref); 1164s # } 1164s # 1164s # static void 1164s # _org_project_signaling_iface_on_signal_single_arg_signal_u ( 1164s # OrgProjectSignalingIface *object, 1164s # guint arg_an_u) 1164s # { 1164s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1164s # 1164s # GList *connections, *l; 1164s # GVariant *signal_variant; 1164s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1164s # 1164s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)", 1164s # arg_an_u)); 1164s # for (l = connections; l != NULL; l = l->next) 1164s # { 1164s # GDBusConnection *connection = l->data; 1164s # g_dbus_connection_emit_signal (connection, 1164s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU", 1164s # signal_variant, NULL); 1164s # } 1164s # g_variant_unref (signal_variant); 1164s # g_list_free_full (connections, g_object_unref); 1164s # } 1164s # 1164s # static void 1164s # _org_project_signaling_iface_on_signal_single_arg_signal_x ( 1164s # OrgProjectSignalingIface *object, 1164s # gint64 arg_an_x) 1164s # { 1164s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1164s # 1164s # GList *connections, *l; 1164s # GVariant *signal_variant; 1164s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1164s # 1164s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)", 1164s # arg_an_x)); 1164s # for (l = connections; l != NULL; l = l->next) 1164s # { 1164s # GDBusConnection *connection = l->data; 1164s # g_dbus_connection_emit_signal (connection, 1164s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX", 1164s # signal_variant, NULL); 1164s # } 1164s # g_variant_unref (signal_variant); 1164s # g_list_free_full (connections, g_object_unref); 1164s # } 1164s # 1164s # static void 1164s # _org_project_signaling_iface_on_signal_single_arg_signal_t ( 1164s # OrgProjectSignalingIface *object, 1164s # guint64 arg_an_t) 1164s # { 1164s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1164s # 1164s # GList *connections, *l; 1164s # GVariant *signal_variant; 1164s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1164s # 1164s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)", 1164s # arg_an_t)); 1164s # for (l = connections; l != NULL; l = l->next) 1164s # { 1164s # GDBusConnection *connection = l->data; 1164s # g_dbus_connection_emit_signal (connection, 1164s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT", 1164s # signal_variant, NULL); 1164s # } 1164s # g_variant_unref (signal_variant); 1164s # g_list_free_full (connections, g_object_unref); 1164s # } 1164s # 1164s # static void 1164s # _org_project_signaling_iface_on_signal_single_arg_signal_d ( 1164s # OrgProjectSignalingIface *object, 1164s # gdouble arg_an_d) 1164s # { 1164s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1164s # 1164s # GList *connections, *l; 1164s # GVariant *signal_variant; 1164s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1164s # 1164s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)", 1164s # arg_an_d)); 1164s # for (l = connections; l != NULL; l = l->next) 1164s # { 1164s # GDBusConnection *connection = l->data; 1164s # g_dbus_connection_emit_signal (connection, 1164s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD", 1164s # signal_variant, NULL); 1164s # } 1164s # g_variant_unref (signal_variant); 1164s # g_list_free_full (connections, g_object_unref); 1164s # } 1164s # 1164s # static void 1164s # _org_project_signaling_iface_on_signal_single_arg_signal_s ( 1164s # OrgProjectSignalingIface *object, 1164s # const gchar *arg_an_s) 1164s # { 1164s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1164s # 1164s # GList *connections, *l; 1164s # GVariant *signal_variant; 1164s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1164s # 1164s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)", 1164s # arg_an_s)); 1164s # for (l = connections; l != NULL; l = l->next) 1164s # { 1164s # GDBusConnection *connection = l->data; 1164s # g_dbus_connection_emit_signal (connection, 1164s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS", 1164s # signal_variant, NULL); 1164s # } 1164s # g_variant_unref (signal_variant); 1164s # g_list_free_full (connections, g_object_unref); 1164s # } 1164s # 1164s # static void 1164s # _org_project_signaling_iface_on_signal_single_arg_signal_o ( 1164s # OrgProjectSignalingIface *object, 1164s # const gchar *arg_an_o) 1164s # { 1164s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1164s # 1164s # GList *connections, *l; 1164s # GVariant *signal_variant; 1164s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1164s # 1164s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)", 1164s # arg_an_o)); 1164s # for (l = connections; l != NULL; l = l->next) 1164s # { 1164s # GDBusConnection *connection = l->data; 1164s # g_dbus_connection_emit_signal (connection, 1164s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO", 1164s # signal_variant, NULL); 1164s # } 1164s # g_variant_unref (signal_variant); 1164s # g_list_free_full (connections, g_object_unref); 1164s # } 1164s # 1164s # static void 1164s # _org_project_signaling_iface_on_signal_single_arg_signal_g ( 1164s # OrgProjectSignalingIface *object, 1164s # const gchar *arg_an_g) 1164s # { 1164s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1164s # 1164s # GList *connections, *l; 1164s # GVariant *signal_variant; 1164s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1164s # 1164s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)", 1164s # arg_an_g)); 1164s # for (l = connections; l != NULL; l = l->next) 1164s # { 1164s # GDBusConnection *connection = l->data; 1164s # g_dbus_connection_emit_signal (connection, 1164s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG", 1164s # signal_variant, NULL); 1164s # } 1164s # g_variant_unref (signal_variant); 1164s # g_list_free_full (connections, g_object_unref); 1164s # } 1164s # 1164s # static void 1164s # _org_project_signaling_iface_on_signal_single_arg_signal_h ( 1164s # OrgProjectSignalingIface *object, 1164s # GVariant *arg_an_h) 1164s # { 1164s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1164s # 1164s # GList *connections, *l; 1164s # GVariant *signal_variant; 1164s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1164s # 1164s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)", 1164s # arg_an_h)); 1164s # for (l = connections; l != NULL; l = l->next) 1164s # { 1164s # GDBusConnection *connection = l->data; 1164s # g_dbus_connection_emit_signal (connection, 1164s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH", 1164s # signal_variant, NULL); 1164s # } 1164s # g_variant_unref (signal_variant); 1164s # g_list_free_full (connections, g_object_unref); 1164s # } 1164s # 1164s # static void 1164s # _org_project_signaling_iface_on_signal_single_arg_signal_ay ( 1164s # OrgProjectSignalingIface *object, 1164s # const gchar *arg_an_ay) 1164s # { 1164s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1164s # 1164s # GList *connections, *l; 1164s # GVariant *signal_variant; 1164s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1164s # 1164s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)", 1164s # arg_an_ay)); 1164s # for (l = connections; l != NULL; l = l->next) 1164s # { 1164s # GDBusConnection *connection = l->data; 1164s # g_dbus_connection_emit_signal (connection, 1164s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAY", 1164s # signal_variant, NULL); 1164s # } 1164s # g_variant_unref (signal_variant); 1164s # g_list_free_full (connections, g_object_unref); 1164s # } 1164s # 1164s # static void 1164s # _org_project_signaling_iface_on_signal_single_arg_signal_as ( 1164s # OrgProjectSignalingIface *object, 1164s # const gchar *const *arg_an_as) 1164s # { 1164s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1164s # 1164s # GList *connections, *l; 1164s # GVariant *signal_variant; 1164s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1164s # 1164s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)", 1164s # arg_an_as)); 1164s # for (l = connections; l != NULL; l = l->next) 1164s # { 1164s # GDBusConnection *connection = l->data; 1164s # g_dbus_connection_emit_signal (connection, 1164s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAS", 1164s # signal_variant, NULL); 1164s # } 1164s # g_variant_unref (signal_variant); 1164s # g_list_free_full (connections, g_object_unref); 1164s # } 1164s # 1164s # static void 1164s # _org_project_signaling_iface_on_signal_single_arg_signal_ao ( 1164s # OrgProjectSignalingIface *object, 1164s # const gchar *const *arg_an_ao) 1164s # { 1164s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1164s # 1164s # GList *connections, *l; 1164s # GVariant *signal_variant; 1164s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1164s # 1164s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)", 1164s # arg_an_ao)); 1164s # for (l = connections; l != NULL; l = l->next) 1164s # { 1164s # GDBusConnection *connection = l->data; 1164s # g_dbus_connection_emit_signal (connection, 1164s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAO", 1164s # signal_variant, NULL); 1164s # } 1164s # g_variant_unref (signal_variant); 1164s # g_list_free_full (connections, g_object_unref); 1164s # } 1164s # 1164s # static void 1164s # _org_project_signaling_iface_on_signal_single_arg_signal_aay ( 1164s # OrgProjectSignalingIface *object, 1164s # const gchar *const *arg_an_aay) 1164s # { 1164s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1164s # 1164s # GList *connections, *l; 1164s # GVariant *signal_variant; 1164s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1164s # 1164s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)", 1164s # arg_an_aay)); 1164s # for (l = connections; l != NULL; l = l->next) 1164s # { 1164s # GDBusConnection *connection = l->data; 1164s # g_dbus_connection_emit_signal (connection, 1164s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAAY", 1164s # signal_variant, NULL); 1164s # } 1164s # g_variant_unref (signal_variant); 1164s # g_list_free_full (connections, g_object_unref); 1164s # } 1164s # 1164s # static void 1164s # _org_project_signaling_iface_on_signal_single_arg_signal_asv ( 1164s # OrgProjectSignalingIface *object, 1164s # GVariant *arg_an_asv) 1164s # { 1164s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1164s # 1164s # GList *connections, *l; 1164s # GVariant *signal_variant; 1164s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1164s # 1164s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})", 1164s # arg_an_asv)); 1164s # for (l = connections; l != NULL; l = l->next) 1164s # { 1164s # GDBusConnection *connection = l->data; 1164s # g_dbus_connection_emit_signal (connection, 1164s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalASV", 1164s # signal_variant, NULL); 1164s # } 1164s # g_variant_unref (signal_variant); 1164s # g_list_free_full (connections, g_object_unref); 1164s # } 1164s # 1164s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1164s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1164s # 1164s # #else 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1164s # 1164s # #endif 1164s # static void 1164s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1164s # { 1164s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1164s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1164s # if (skeleton->priv->changed_properties_idle_source != NULL) 1164s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1164s # g_main_context_unref (skeleton->priv->context); 1164s # g_mutex_clear (&skeleton->priv->lock); 1164s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1164s # } 1164s # 1164s # static void 1164s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1164s # { 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1164s # #else 1164s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1164s # #endif 1164s # 1164s # g_mutex_init (&skeleton->priv->lock); 1164s # skeleton->priv->context = g_main_context_ref_thread_default (); 1164s # } 1164s # 1164s # static void 1164s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1164s # { 1164s # GObjectClass *gobject_class; 1164s # GDBusInterfaceSkeletonClass *skeleton_class; 1164s # 1164s # gobject_class = G_OBJECT_CLASS (klass); 1164s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1164s # 1164s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1164s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1164s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1164s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1164s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1164s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1164s # #endif 1164s # } 1164s # 1164s # static void 1164s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1164s # { 1164s # iface->no_arg_signal = _org_project_signaling_iface_on_signal_no_arg_signal; 1164s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b; 1164s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y; 1164s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n; 1164s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q; 1164s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i; 1164s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u; 1164s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x; 1164s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t; 1164s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d; 1164s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s; 1164s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o; 1164s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g; 1164s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h; 1164s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay; 1164s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as; 1164s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao; 1164s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay; 1164s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv; 1164s # } 1164s # 1164s # /** 1164s # * org_project_signaling_iface_skeleton_new: 1164s # * 1164s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1164s # */ 1164s # OrgProjectSignalingIface * 1164s # org_project_signaling_iface_skeleton_new (void) 1164s # { 1164s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1164s # } 1164s ok 21 __main__.TestCodegen.test_generate_signal_id_simple_signal 1164s # tmpdir: /tmp/tmp57lfxy05 1164s # codegen: /usr/bin/gdbus-codegen 1164s # /tmp/tmp57lfxy05/tmp56i1p11a.xml: 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp57lfxy05/tmp56i1p11a.xml', '--output', '-', '--body'] 1164s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1164s # Output: /* 1164s # * This file is generated by gdbus-codegen, do not modify it. 1164s # * 1164s # * The license of this code is the same as for the D-Bus interface description 1164s # * it was derived from. Note that it links to GLib, so must comply with the 1164s # * LGPL linking clauses. 1164s # */ 1164s # 1164s # #ifdef HAVE_CONFIG_H 1164s # # include "config.h" 1164s # #endif 1164s # 1164s # #include 1164s # #ifdef G_OS_UNIX 1164s # # include 1164s # #endif 1164s # 1164s # #ifdef G_ENABLE_DEBUG 1164s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1164s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1164s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1164s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1164s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1164s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1164s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1164s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1164s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1164s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1164s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1164s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1164s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1164s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1164s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1164s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1164s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1164s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1164s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1164s # #else /* !G_ENABLE_DEBUG */ 1164s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1164s # * Do not access GValues directly in your code. Instead, use the 1164s # * g_value_get_*() functions 1164s # */ 1164s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1164s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1164s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1164s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1164s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1164s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1164s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1164s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1164s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1164s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1164s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1164s # #endif /* !G_ENABLE_DEBUG */ 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusArgInfo parent_struct; 1164s # gboolean use_gvariant; 1164s # } _ExtendedGDBusArgInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusMethodInfo parent_struct; 1164s # const gchar *signal_name; 1164s # gboolean pass_fdlist; 1164s # } _ExtendedGDBusMethodInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusSignalInfo parent_struct; 1164s # const gchar *signal_name; 1164s # } _ExtendedGDBusSignalInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusPropertyInfo parent_struct; 1164s # const gchar *hyphen_name; 1164s # guint use_gvariant : 1; 1164s # guint emits_changed_signal : 1; 1164s # } _ExtendedGDBusPropertyInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusInterfaceInfo parent_struct; 1164s # const gchar *hyphen_name; 1164s # } _ExtendedGDBusInterfaceInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # const _ExtendedGDBusPropertyInfo *info; 1164s # guint prop_id; 1164s # GValue orig_value; /* the value before the change */ 1164s # } ChangedProperty; 1164s # 1164s # static void 1164s # _changed_property_free (ChangedProperty *data) 1164s # { 1164s # g_value_unset (&data->orig_value); 1164s # g_free (data); 1164s # } 1164s # 1164s # static gboolean 1164s # _g_strv_equal0 (gchar **a, gchar **b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # guint n; 1164s # if (a == NULL && b == NULL) 1164s # { 1164s # ret = TRUE; 1164s # goto out; 1164s # } 1164s # if (a == NULL || b == NULL) 1164s # goto out; 1164s # if (g_strv_length (a) != g_strv_length (b)) 1164s # goto out; 1164s # for (n = 0; a[n] != NULL; n++) 1164s # if (g_strcmp0 (a[n], b[n]) != 0) 1164s # goto out; 1164s # ret = TRUE; 1164s # out: 1164s # return ret; 1164s # } 1164s # 1164s # static gboolean 1164s # _g_variant_equal0 (GVariant *a, GVariant *b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # if (a == NULL && b == NULL) 1164s # { 1164s # ret = TRUE; 1164s # goto out; 1164s # } 1164s # if (a == NULL || b == NULL) 1164s # goto out; 1164s # ret = g_variant_equal (a, b); 1164s # out: 1164s # return ret; 1164s # } 1164s # 1164s # G_GNUC_UNUSED static gboolean 1164s # _g_value_equal (const GValue *a, const GValue *b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1164s # switch (G_VALUE_TYPE (a)) 1164s # { 1164s # case G_TYPE_BOOLEAN: 1164s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1164s # break; 1164s # case G_TYPE_UCHAR: 1164s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1164s # break; 1164s # case G_TYPE_INT: 1164s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1164s # break; 1164s # case G_TYPE_UINT: 1164s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1164s # break; 1164s # case G_TYPE_INT64: 1164s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1164s # break; 1164s # case G_TYPE_UINT64: 1164s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1164s # break; 1164s # case G_TYPE_DOUBLE: 1164s # { 1164s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1164s # gdouble da = g_value_get_double (a); 1164s # gdouble db = g_value_get_double (b); 1164s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1164s # } 1164s # break; 1164s # case G_TYPE_STRING: 1164s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1164s # break; 1164s # case G_TYPE_VARIANT: 1164s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1164s # break; 1164s # default: 1164s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1164s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1164s # else 1164s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1164s # break; 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # /* ------------------------------------------------------------------------ 1164s # * Code for interface org.project.UsefulInterface 1164s # * ------------------------------------------------------------------------ 1164s # */ 1164s # 1164s # /** 1164s # * SECTION:OrgProjectUsefulInterface 1164s # * @title: OrgProjectUsefulInterface 1164s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1164s # * 1164s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1164s # */ 1164s # 1164s # enum 1164s # { 1164s # _ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL, 1164s # }; 1164s # 1164s # static unsigned _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[1] = { 0 }; 1164s # 1164s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1164s # 1164s # static const _ExtendedGDBusSignalInfo _org_project_useful_interface_signal_info_simple_signal = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "SimpleSignal", 1164s # NULL, 1164s # NULL 1164s # }, 1164s # "simple-signal" 1164s # }; 1164s # 1164s # static const GDBusSignalInfo * const _org_project_useful_interface_signal_info_pointers[] = 1164s # { 1164s # &_org_project_useful_interface_signal_info_simple_signal.parent_struct, 1164s # NULL 1164s # }; 1164s # 1164s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "org.project.UsefulInterface", 1164s # NULL, 1164s # (GDBusSignalInfo **) &_org_project_useful_interface_signal_info_pointers, 1164s # NULL, 1164s # NULL 1164s # }, 1164s # "org-project-useful-interface", 1164s # }; 1164s # 1164s # 1164s # /** 1164s # * org_project_useful_interface_interface_info: 1164s # * 1164s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1164s # * 1164s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1164s # */ 1164s # GDBusInterfaceInfo * 1164s # org_project_useful_interface_interface_info (void) 1164s # { 1164s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_override_properties: 1164s # * @klass: The class structure for a #GObject derived class. 1164s # * @property_id_begin: The property id to assign to the first overridden property. 1164s # * 1164s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1164s # * The properties are overridden in the order they are defined. 1164s # * 1164s # * Returns: The last property id. 1164s # */ 1164s # guint 1164s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1164s # { 1164s # return property_id_begin - 1; 1164s # } 1164s # 1164s # 1164s # inline static void 1164s # org_project_useful_interface_signal_marshal_simple_signal ( 1164s # GClosure *closure, 1164s # GValue *return_value, 1164s # unsigned int n_param_values, 1164s # const GValue *param_values, 1164s # void *invocation_hint, 1164s # void *marshal_data) 1164s # { 1164s # g_cclosure_marshal_VOID__VOID (closure, 1164s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1164s # } 1164s # 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterface: 1164s # * 1164s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceIface: 1164s # * @parent_iface: The parent interface. 1164s # * @simple_signal: Handler for the #OrgProjectUsefulInterface::simple-signal signal. 1164s # * 1164s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1164s # */ 1164s # 1164s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1164s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1164s # 1164s # static void 1164s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1164s # { 1164s # /* GObject signals for received D-Bus signals: */ 1164s # /** 1164s # * OrgProjectUsefulInterface::simple-signal: 1164s # * @object: A #OrgProjectUsefulInterface. 1164s # * 1164s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1164s # * 1164s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1164s # */ 1164s # _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL] = 1164s # g_signal_new ("simple-signal", 1164s # G_TYPE_FROM_INTERFACE (iface), 1164s # G_SIGNAL_RUN_LAST, 1164s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, simple_signal), 1164s # NULL, 1164s # NULL, 1164s # org_project_useful_interface_signal_marshal_simple_signal, 1164s # G_TYPE_NONE, 1164s # 0); 1164s # 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_emit_simple_signal: 1164s # * @object: A #OrgProjectUsefulInterface. 1164s # * 1164s # * Emits the "SimpleSignal" D-Bus signal. 1164s # */ 1164s # void 1164s # org_project_useful_interface_emit_simple_signal ( 1164s # OrgProjectUsefulInterface *object) 1164s # { 1164s # g_signal_emit (object, _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL], 0); 1164s # } 1164s # 1164s # /* ------------------------------------------------------------------------ */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceProxy: 1164s # * 1164s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceProxyClass: 1164s # * @parent_class: The parent class. 1164s # * 1164s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1164s # */ 1164s # 1164s # struct _OrgProjectUsefulInterfaceProxyPrivate 1164s # { 1164s # GData *qdata; 1164s # }; 1164s # 1164s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1164s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1164s # 1164s # #else 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1164s # 1164s # #endif 1164s # static void 1164s # org_project_useful_interface_proxy_finalize (GObject *object) 1164s # { 1164s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1164s # g_datalist_clear (&proxy->priv->qdata); 1164s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1164s # guint prop_id G_GNUC_UNUSED, 1164s # GValue *value G_GNUC_UNUSED, 1164s # GParamSpec *pspec G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1164s # guint prop_id G_GNUC_UNUSED, 1164s # const GValue *value G_GNUC_UNUSED, 1164s # GParamSpec *pspec G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1164s # const gchar *sender_name G_GNUC_UNUSED, 1164s # const gchar *signal_name, 1164s # GVariant *parameters) 1164s # { 1164s # _ExtendedGDBusSignalInfo *info; 1164s # GVariantIter iter; 1164s # GVariant *child; 1164s # GValue *paramv; 1164s # gsize num_params; 1164s # gsize n; 1164s # guint signal_id; 1164s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1164s # if (info == NULL) 1164s # return; 1164s # num_params = g_variant_n_children (parameters); 1164s # paramv = g_new0 (GValue, num_params + 1); 1164s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_value_set_object (¶mv[0], proxy); 1164s # g_variant_iter_init (&iter, parameters); 1164s # n = 1; 1164s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1164s # { 1164s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1164s # if (arg_info->use_gvariant) 1164s # { 1164s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1164s # g_value_set_variant (¶mv[n], child); 1164s # n++; 1164s # } 1164s # else 1164s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1164s # g_variant_unref (child); 1164s # } 1164s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_signal_emitv (paramv, signal_id, 0, NULL); 1164s # for (n = 0; n < num_params + 1; n++) 1164s # g_value_unset (¶mv[n]); 1164s # g_free (paramv); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1164s # GVariant *changed_properties, 1164s # const gchar *const *invalidated_properties) 1164s # { 1164s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1164s # guint n; 1164s # const gchar *key; 1164s # GVariantIter *iter; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # g_variant_get (changed_properties, "a{sv}", &iter); 1164s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1164s # { 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1164s # g_datalist_remove_data (&proxy->priv->qdata, key); 1164s # if (info != NULL) 1164s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1164s # } 1164s # g_variant_iter_free (iter); 1164s # for (n = 0; invalidated_properties[n] != NULL; n++) 1164s # { 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1164s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1164s # if (info != NULL) 1164s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1164s # } 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1164s # { 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1164s # #else 1164s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1164s # #endif 1164s # 1164s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1164s # { 1164s # GObjectClass *gobject_class; 1164s # GDBusProxyClass *proxy_class; 1164s # 1164s # gobject_class = G_OBJECT_CLASS (klass); 1164s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1164s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1164s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1164s # 1164s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1164s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1164s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1164s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1164s # #endif 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new: 1164s # * @connection: A #GDBusConnection. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1164s # * 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1164s # */ 1164s # void 1164s # org_project_useful_interface_proxy_new ( 1164s # GDBusConnection *connection, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # g_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); 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_finish: 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_finish ( 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GObject *ret; 1164s # GObject *source_object; 1164s # source_object = g_async_result_get_source_object (res); 1164s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1164s # g_object_unref (source_object); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_sync: 1164s # * @connection: A #GDBusConnection. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1164s # * 1164s # * The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_sync ( 1164s # GDBusConnection *connection, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GInitable *ret; 1164s # 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); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_for_bus: 1164s # * @bus_type: A #GBusType. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: A bus name (well-known or unique). 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1164s # * 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1164s # */ 1164s # void 1164s # org_project_useful_interface_proxy_new_for_bus ( 1164s # GBusType bus_type, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # g_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); 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_for_bus_finish: 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_for_bus_finish ( 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GObject *ret; 1164s # GObject *source_object; 1164s # source_object = g_async_result_get_source_object (res); 1164s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1164s # g_object_unref (source_object); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_proxy_new_for_bus_sync: 1164s # * @bus_type: A #GBusType. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: A bus name (well-known or unique). 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1164s # * 1164s # * The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_proxy_new_for_bus_sync ( 1164s # GBusType bus_type, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GInitable *ret; 1164s # 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); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # 1164s # /* ------------------------------------------------------------------------ */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceSkeleton: 1164s # * 1164s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectUsefulInterfaceSkeletonClass: 1164s # * @parent_class: The parent class. 1164s # * 1164s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1164s # */ 1164s # 1164s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1164s # { 1164s # GValue *properties; 1164s # GList *changed_properties; 1164s # GSource *changed_properties_idle_source; 1164s # GMainContext *context; 1164s # GMutex lock; 1164s # }; 1164s # 1164s # static void 1164s # _org_project_useful_interface_skeleton_handle_method_call ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name, 1164s # const gchar *method_name, 1164s # GVariant *parameters, 1164s # GDBusMethodInvocation *invocation, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1164s # _ExtendedGDBusMethodInfo *info; 1164s # GVariantIter iter; 1164s # GVariant *child; 1164s # GValue *paramv; 1164s # gsize num_params; 1164s # guint num_extra; 1164s # gsize n; 1164s # guint signal_id; 1164s # GValue return_value = G_VALUE_INIT; 1164s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1164s # g_assert (info != NULL); 1164s # num_params = g_variant_n_children (parameters); 1164s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1164s # n = 0; 1164s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_value_set_object (¶mv[n++], skeleton); 1164s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1164s # g_value_set_object (¶mv[n++], invocation); 1164s # if (info->pass_fdlist) 1164s # { 1164s # #ifdef G_OS_UNIX 1164s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1164s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1164s # #else 1164s # g_assert_not_reached (); 1164s # #endif 1164s # } 1164s # g_variant_iter_init (&iter, parameters); 1164s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1164s # { 1164s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1164s # if (arg_info->use_gvariant) 1164s # { 1164s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1164s # g_value_set_variant (¶mv[n], child); 1164s # n++; 1164s # } 1164s # else 1164s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1164s # g_variant_unref (child); 1164s # } 1164s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1164s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1164s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1164s # if (!g_value_get_boolean (&return_value)) 1164s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1164s # g_value_unset (&return_value); 1164s # for (n = 0; n < num_params + num_extra; n++) 1164s # g_value_unset (¶mv[n]); 1164s # g_free (paramv); 1164s # } 1164s # 1164s # static GVariant * 1164s # _org_project_useful_interface_skeleton_handle_get_property ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name G_GNUC_UNUSED, 1164s # const gchar *property_name, 1164s # GError **error, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1164s # GValue value = G_VALUE_INIT; 1164s # GParamSpec *pspec; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # GVariant *ret; 1164s # ret = NULL; 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1164s # g_assert (info != NULL); 1164s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1164s # if (pspec == NULL) 1164s # { 1164s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1164s # } 1164s # else 1164s # { 1164s # g_value_init (&value, pspec->value_type); 1164s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1164s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1164s # g_value_unset (&value); 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static gboolean 1164s # _org_project_useful_interface_skeleton_handle_set_property ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name G_GNUC_UNUSED, 1164s # const gchar *property_name, 1164s # GVariant *variant, 1164s # GError **error, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1164s # GValue value = G_VALUE_INIT; 1164s # GParamSpec *pspec; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # gboolean ret; 1164s # ret = FALSE; 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1164s # g_assert (info != NULL); 1164s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1164s # if (pspec == NULL) 1164s # { 1164s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1164s # } 1164s # else 1164s # { 1164s # if (info->use_gvariant) 1164s # g_value_set_variant (&value, variant); 1164s # else 1164s # g_dbus_gvariant_to_gvalue (variant, &value); 1164s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1164s # g_value_unset (&value); 1164s # ret = TRUE; 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1164s # { 1164s # _org_project_useful_interface_skeleton_handle_method_call, 1164s # _org_project_useful_interface_skeleton_handle_get_property, 1164s # _org_project_useful_interface_skeleton_handle_set_property, 1164s # {NULL} 1164s # }; 1164s # 1164s # static GDBusInterfaceInfo * 1164s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1164s # { 1164s # return org_project_useful_interface_interface_info (); 1164s # } 1164s # 1164s # static GDBusInterfaceVTable * 1164s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1164s # { 1164s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1164s # } 1164s # 1164s # static GVariant * 1164s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1164s # 1164s # GVariantBuilder builder; 1164s # guint n; 1164s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1164s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1164s # goto out; 1164s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1164s # { 1164s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1164s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1164s # { 1164s # GVariant *value; 1164s # 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); 1164s # if (value != NULL) 1164s # { 1164s # g_variant_take_ref (value); 1164s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1164s # g_variant_unref (value); 1164s # } 1164s # } 1164s # } 1164s # out: 1164s # return g_variant_builder_end (&builder); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void 1164s # _org_project_useful_interface_on_signal_simple_signal ( 1164s # OrgProjectUsefulInterface *object) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1164s # 1164s # GList *connections, *l; 1164s # GVariant *signal_variant; 1164s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1164s # 1164s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1164s # for (l = connections; l != NULL; l = l->next) 1164s # { 1164s # GDBusConnection *connection = l->data; 1164s # g_dbus_connection_emit_signal (connection, 1164s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", "SimpleSignal", 1164s # signal_variant, NULL); 1164s # } 1164s # g_variant_unref (signal_variant); 1164s # g_list_free_full (connections, g_object_unref); 1164s # } 1164s # 1164s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1164s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1164s # 1164s # #else 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1164s # 1164s # #endif 1164s # static void 1164s # org_project_useful_interface_skeleton_finalize (GObject *object) 1164s # { 1164s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1164s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1164s # if (skeleton->priv->changed_properties_idle_source != NULL) 1164s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1164s # g_main_context_unref (skeleton->priv->context); 1164s # g_mutex_clear (&skeleton->priv->lock); 1164s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1164s # { 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1164s # #else 1164s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1164s # #endif 1164s # 1164s # g_mutex_init (&skeleton->priv->lock); 1164s # skeleton->priv->context = g_main_context_ref_thread_default (); 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1164s # { 1164s # GObjectClass *gobject_class; 1164s # GDBusInterfaceSkeletonClass *skeleton_class; 1164s # 1164s # gobject_class = G_OBJECT_CLASS (klass); 1164s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1164s # 1164s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1164s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1164s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1164s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1164s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1164s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1164s # #endif 1164s # } 1164s # 1164s # static void 1164s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface) 1164s # { 1164s # iface->simple_signal = _org_project_useful_interface_on_signal_simple_signal; 1164s # } 1164s # 1164s # /** 1164s # * org_project_useful_interface_skeleton_new: 1164s # * 1164s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1164s # */ 1164s # OrgProjectUsefulInterface * 1164s # org_project_useful_interface_skeleton_new (void) 1164s # { 1164s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1164s # } 1164s # 1164s # /* ------------------------------------------------------------------------ 1164s # * Code for interface org.project.OtherIface 1164s # * ------------------------------------------------------------------------ 1164s # */ 1164s # 1164s # /** 1164s # * SECTION:OrgProjectOtherIface 1164s # * @title: OrgProjectOtherIface 1164s # * @short_description: Generated C code for the org.project.OtherIface D-Bus interface 1164s # * 1164s # * This section contains code for working with the org.project.OtherIface D-Bus interface in C. 1164s # */ 1164s # 1164s # enum 1164s # { 1164s # _ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL, 1164s # }; 1164s # 1164s # static unsigned _ORG_PROJECT_OTHER_IFACE_SIGNALS[1] = { 0 }; 1164s # 1164s # /* ---- Introspection data for org.project.OtherIface ---- */ 1164s # 1164s # static const _ExtendedGDBusSignalInfo _org_project_other_iface_signal_info_simple_signal = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "SimpleSignal", 1164s # NULL, 1164s # NULL 1164s # }, 1164s # "simple-signal" 1164s # }; 1164s # 1164s # static const GDBusSignalInfo * const _org_project_other_iface_signal_info_pointers[] = 1164s # { 1164s # &_org_project_other_iface_signal_info_simple_signal.parent_struct, 1164s # NULL 1164s # }; 1164s # 1164s # static const _ExtendedGDBusInterfaceInfo _org_project_other_iface_interface_info = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "org.project.OtherIface", 1164s # NULL, 1164s # (GDBusSignalInfo **) &_org_project_other_iface_signal_info_pointers, 1164s # NULL, 1164s # NULL 1164s # }, 1164s # "org-project-other-iface", 1164s # }; 1164s # 1164s # 1164s # /** 1164s # * org_project_other_iface_interface_info: 1164s # * 1164s # * Gets a machine-readable description of the org.project.OtherIface D-Bus interface. 1164s # * 1164s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1164s # */ 1164s # GDBusInterfaceInfo * 1164s # org_project_other_iface_interface_info (void) 1164s # { 1164s # return (GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct; 1164s # } 1164s # 1164s # /** 1164s # * org_project_other_iface_override_properties: 1164s # * @klass: The class structure for a #GObject derived class. 1164s # * @property_id_begin: The property id to assign to the first overridden property. 1164s # * 1164s # * Overrides all #GObject properties in the #OrgProjectOtherIface interface for a concrete class. 1164s # * The properties are overridden in the order they are defined. 1164s # * 1164s # * Returns: The last property id. 1164s # */ 1164s # guint 1164s # org_project_other_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1164s # { 1164s # return property_id_begin - 1; 1164s # } 1164s # 1164s # 1164s # inline static void 1164s # org_project_other_iface_signal_marshal_simple_signal ( 1164s # GClosure *closure, 1164s # GValue *return_value, 1164s # unsigned int n_param_values, 1164s # const GValue *param_values, 1164s # void *invocation_hint, 1164s # void *marshal_data) 1164s # { 1164s # g_cclosure_marshal_VOID__VOID (closure, 1164s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1164s # } 1164s # 1164s # 1164s # /** 1164s # * OrgProjectOtherIface: 1164s # * 1164s # * Abstract interface type for the D-Bus interface org.project.OtherIface. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectOtherIfaceIface: 1164s # * @parent_iface: The parent interface. 1164s # * @simple_signal: Handler for the #OrgProjectOtherIface::simple-signal signal. 1164s # * 1164s # * Virtual table for the D-Bus interface org.project.OtherIface. 1164s # */ 1164s # 1164s # typedef OrgProjectOtherIfaceIface OrgProjectOtherIfaceInterface; 1164s # G_DEFINE_INTERFACE (OrgProjectOtherIface, org_project_other_iface, G_TYPE_OBJECT) 1164s # 1164s # static void 1164s # org_project_other_iface_default_init (OrgProjectOtherIfaceIface *iface) 1164s # { 1164s # /* GObject signals for received D-Bus signals: */ 1164s # /** 1164s # * OrgProjectOtherIface::simple-signal: 1164s # * @object: A #OrgProjectOtherIface. 1164s # * 1164s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1164s # * 1164s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1164s # */ 1164s # _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL] = 1164s # g_signal_new ("simple-signal", 1164s # G_TYPE_FROM_INTERFACE (iface), 1164s # G_SIGNAL_RUN_LAST, 1164s # G_STRUCT_OFFSET (OrgProjectOtherIfaceIface, simple_signal), 1164s # NULL, 1164s # NULL, 1164s # org_project_other_iface_signal_marshal_simple_signal, 1164s # G_TYPE_NONE, 1164s # 0); 1164s # 1164s # } 1164s # 1164s # /** 1164s # * org_project_other_iface_emit_simple_signal: 1164s # * @object: A #OrgProjectOtherIface. 1164s # * 1164s # * Emits the "SimpleSignal" D-Bus signal. 1164s # */ 1164s # void 1164s # org_project_other_iface_emit_simple_signal ( 1164s # OrgProjectOtherIface *object) 1164s # { 1164s # g_signal_emit (object, _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL], 0); 1164s # } 1164s # 1164s # /* ------------------------------------------------------------------------ */ 1164s # 1164s # /** 1164s # * OrgProjectOtherIfaceProxy: 1164s # * 1164s # * The #OrgProjectOtherIfaceProxy structure contains only private data and should only be accessed using the provided API. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectOtherIfaceProxyClass: 1164s # * @parent_class: The parent class. 1164s # * 1164s # * Class structure for #OrgProjectOtherIfaceProxy. 1164s # */ 1164s # 1164s # struct _OrgProjectOtherIfaceProxyPrivate 1164s # { 1164s # GData *qdata; 1164s # }; 1164s # 1164s # static void org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface); 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY, 1164s # G_ADD_PRIVATE (OrgProjectOtherIfaceProxy) 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init)) 1164s # 1164s # #else 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY, 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init)) 1164s # 1164s # #endif 1164s # static void 1164s # org_project_other_iface_proxy_finalize (GObject *object) 1164s # { 1164s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (object); 1164s # g_datalist_clear (&proxy->priv->qdata); 1164s # G_OBJECT_CLASS (org_project_other_iface_proxy_parent_class)->finalize (object); 1164s # } 1164s # 1164s # static void 1164s # org_project_other_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1164s # guint prop_id G_GNUC_UNUSED, 1164s # GValue *value G_GNUC_UNUSED, 1164s # GParamSpec *pspec G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void 1164s # org_project_other_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1164s # guint prop_id G_GNUC_UNUSED, 1164s # const GValue *value G_GNUC_UNUSED, 1164s # GParamSpec *pspec G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void 1164s # org_project_other_iface_proxy_g_signal (GDBusProxy *proxy, 1164s # const gchar *sender_name G_GNUC_UNUSED, 1164s # const gchar *signal_name, 1164s # GVariant *parameters) 1164s # { 1164s # _ExtendedGDBusSignalInfo *info; 1164s # GVariantIter iter; 1164s # GVariant *child; 1164s # GValue *paramv; 1164s # gsize num_params; 1164s # gsize n; 1164s # guint signal_id; 1164s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, signal_name); 1164s # if (info == NULL) 1164s # return; 1164s # num_params = g_variant_n_children (parameters); 1164s # paramv = g_new0 (GValue, num_params + 1); 1164s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_IFACE); 1164s # g_value_set_object (¶mv[0], proxy); 1164s # g_variant_iter_init (&iter, parameters); 1164s # n = 1; 1164s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1164s # { 1164s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1164s # if (arg_info->use_gvariant) 1164s # { 1164s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1164s # g_value_set_variant (¶mv[n], child); 1164s # n++; 1164s # } 1164s # else 1164s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1164s # g_variant_unref (child); 1164s # } 1164s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE); 1164s # g_signal_emitv (paramv, signal_id, 0, NULL); 1164s # for (n = 0; n < num_params + 1; n++) 1164s # g_value_unset (¶mv[n]); 1164s # g_free (paramv); 1164s # } 1164s # 1164s # static void 1164s # org_project_other_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1164s # GVariant *changed_properties, 1164s # const gchar *const *invalidated_properties) 1164s # { 1164s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (_proxy); 1164s # guint n; 1164s # const gchar *key; 1164s # GVariantIter *iter; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # g_variant_get (changed_properties, "a{sv}", &iter); 1164s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1164s # { 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, key); 1164s # g_datalist_remove_data (&proxy->priv->qdata, key); 1164s # if (info != NULL) 1164s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1164s # } 1164s # g_variant_iter_free (iter); 1164s # for (n = 0; invalidated_properties[n] != NULL; n++) 1164s # { 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, invalidated_properties[n]); 1164s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1164s # if (info != NULL) 1164s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1164s # } 1164s # } 1164s # 1164s # static void 1164s # org_project_other_iface_proxy_init (OrgProjectOtherIfaceProxy *proxy) 1164s # { 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # proxy->priv = org_project_other_iface_proxy_get_instance_private (proxy); 1164s # #else 1164s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_IFACE_PROXY, OrgProjectOtherIfaceProxyPrivate); 1164s # #endif 1164s # 1164s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_iface_interface_info ()); 1164s # } 1164s # 1164s # static void 1164s # org_project_other_iface_proxy_class_init (OrgProjectOtherIfaceProxyClass *klass) 1164s # { 1164s # GObjectClass *gobject_class; 1164s # GDBusProxyClass *proxy_class; 1164s # 1164s # gobject_class = G_OBJECT_CLASS (klass); 1164s # gobject_class->finalize = org_project_other_iface_proxy_finalize; 1164s # gobject_class->get_property = org_project_other_iface_proxy_get_property; 1164s # gobject_class->set_property = org_project_other_iface_proxy_set_property; 1164s # 1164s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1164s # proxy_class->g_signal = org_project_other_iface_proxy_g_signal; 1164s # proxy_class->g_properties_changed = org_project_other_iface_proxy_g_properties_changed; 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1164s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceProxyPrivate)); 1164s # #endif 1164s # } 1164s # 1164s # static void 1164s # org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # /** 1164s # * org_project_other_iface_proxy_new: 1164s # * @connection: A #GDBusConnection. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new() for more details. 1164s # * 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_other_iface_proxy_new_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_other_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1164s # */ 1164s # void 1164s # org_project_other_iface_proxy_new ( 1164s # GDBusConnection *connection, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # 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); 1164s # } 1164s # 1164s # /** 1164s # * org_project_other_iface_proxy_new_finish: 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new(). 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Finishes an operation started with org_project_other_iface_proxy_new(). 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectOtherIface * 1164s # org_project_other_iface_proxy_new_finish ( 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GObject *ret; 1164s # GObject *source_object; 1164s # source_object = g_async_result_get_source_object (res); 1164s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1164s # g_object_unref (source_object); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_OTHER_IFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_other_iface_proxy_new_sync: 1164s # * @connection: A #GDBusConnection. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new_sync() for more details. 1164s # * 1164s # * The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_other_iface_proxy_new() for the asynchronous version of this constructor. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectOtherIface * 1164s # org_project_other_iface_proxy_new_sync ( 1164s # GDBusConnection *connection, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GInitable *ret; 1164s # 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); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_OTHER_IFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # 1164s # /** 1164s # * org_project_other_iface_proxy_new_for_bus: 1164s # * @bus_type: A #GBusType. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: A bus name (well-known or unique). 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Like org_project_other_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1164s # * 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_other_iface_proxy_new_for_bus_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_other_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1164s # */ 1164s # void 1164s # org_project_other_iface_proxy_new_for_bus ( 1164s # GBusType bus_type, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # 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); 1164s # } 1164s # 1164s # /** 1164s # * org_project_other_iface_proxy_new_for_bus_finish: 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new_for_bus(). 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Finishes an operation started with org_project_other_iface_proxy_new_for_bus(). 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectOtherIface * 1164s # org_project_other_iface_proxy_new_for_bus_finish ( 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GObject *ret; 1164s # GObject *source_object; 1164s # source_object = g_async_result_get_source_object (res); 1164s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1164s # g_object_unref (source_object); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_OTHER_IFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_other_iface_proxy_new_for_bus_sync: 1164s # * @bus_type: A #GBusType. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: A bus name (well-known or unique). 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Like org_project_other_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1164s # * 1164s # * The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_other_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectOtherIface * 1164s # org_project_other_iface_proxy_new_for_bus_sync ( 1164s # GBusType bus_type, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GInitable *ret; 1164s # 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); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_OTHER_IFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # 1164s # /* ------------------------------------------------------------------------ */ 1164s # 1164s # /** 1164s # * OrgProjectOtherIfaceSkeleton: 1164s # * 1164s # * The #OrgProjectOtherIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectOtherIfaceSkeletonClass: 1164s # * @parent_class: The parent class. 1164s # * 1164s # * Class structure for #OrgProjectOtherIfaceSkeleton. 1164s # */ 1164s # 1164s # struct _OrgProjectOtherIfaceSkeletonPrivate 1164s # { 1164s # GValue *properties; 1164s # GList *changed_properties; 1164s # GSource *changed_properties_idle_source; 1164s # GMainContext *context; 1164s # GMutex lock; 1164s # }; 1164s # 1164s # static void 1164s # _org_project_other_iface_skeleton_handle_method_call ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name, 1164s # const gchar *method_name, 1164s # GVariant *parameters, 1164s # GDBusMethodInvocation *invocation, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 1164s # _ExtendedGDBusMethodInfo *info; 1164s # GVariantIter iter; 1164s # GVariant *child; 1164s # GValue *paramv; 1164s # gsize num_params; 1164s # guint num_extra; 1164s # gsize n; 1164s # guint signal_id; 1164s # GValue return_value = G_VALUE_INIT; 1164s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1164s # g_assert (info != NULL); 1164s # num_params = g_variant_n_children (parameters); 1164s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1164s # n = 0; 1164s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_IFACE); 1164s # g_value_set_object (¶mv[n++], skeleton); 1164s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1164s # g_value_set_object (¶mv[n++], invocation); 1164s # if (info->pass_fdlist) 1164s # { 1164s # #ifdef G_OS_UNIX 1164s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1164s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1164s # #else 1164s # g_assert_not_reached (); 1164s # #endif 1164s # } 1164s # g_variant_iter_init (&iter, parameters); 1164s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1164s # { 1164s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1164s # if (arg_info->use_gvariant) 1164s # { 1164s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1164s # g_value_set_variant (¶mv[n], child); 1164s # n++; 1164s # } 1164s # else 1164s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1164s # g_variant_unref (child); 1164s # } 1164s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE); 1164s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1164s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1164s # if (!g_value_get_boolean (&return_value)) 1164s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1164s # g_value_unset (&return_value); 1164s # for (n = 0; n < num_params + num_extra; n++) 1164s # g_value_unset (¶mv[n]); 1164s # g_free (paramv); 1164s # } 1164s # 1164s # static GVariant * 1164s # _org_project_other_iface_skeleton_handle_get_property ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name G_GNUC_UNUSED, 1164s # const gchar *property_name, 1164s # GError **error, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 1164s # GValue value = G_VALUE_INIT; 1164s # GParamSpec *pspec; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # GVariant *ret; 1164s # ret = NULL; 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name); 1164s # g_assert (info != NULL); 1164s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1164s # if (pspec == NULL) 1164s # { 1164s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1164s # } 1164s # else 1164s # { 1164s # g_value_init (&value, pspec->value_type); 1164s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1164s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1164s # g_value_unset (&value); 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static gboolean 1164s # _org_project_other_iface_skeleton_handle_set_property ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name G_GNUC_UNUSED, 1164s # const gchar *property_name, 1164s # GVariant *variant, 1164s # GError **error, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 1164s # GValue value = G_VALUE_INIT; 1164s # GParamSpec *pspec; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # gboolean ret; 1164s # ret = FALSE; 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name); 1164s # g_assert (info != NULL); 1164s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1164s # if (pspec == NULL) 1164s # { 1164s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1164s # } 1164s # else 1164s # { 1164s # if (info->use_gvariant) 1164s # g_value_set_variant (&value, variant); 1164s # else 1164s # g_dbus_gvariant_to_gvalue (variant, &value); 1164s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1164s # g_value_unset (&value); 1164s # ret = TRUE; 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static const GDBusInterfaceVTable _org_project_other_iface_skeleton_vtable = 1164s # { 1164s # _org_project_other_iface_skeleton_handle_method_call, 1164s # _org_project_other_iface_skeleton_handle_get_property, 1164s # _org_project_other_iface_skeleton_handle_set_property, 1164s # {NULL} 1164s # }; 1164s # 1164s # static GDBusInterfaceInfo * 1164s # org_project_other_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1164s # { 1164s # return org_project_other_iface_interface_info (); 1164s # } 1164s # 1164s # static GDBusInterfaceVTable * 1164s # org_project_other_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1164s # { 1164s # return (GDBusInterfaceVTable *) &_org_project_other_iface_skeleton_vtable; 1164s # } 1164s # 1164s # static GVariant * 1164s # org_project_other_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1164s # { 1164s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (_skeleton); 1164s # 1164s # GVariantBuilder builder; 1164s # guint n; 1164s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1164s # if (_org_project_other_iface_interface_info.parent_struct.properties == NULL) 1164s # goto out; 1164s # for (n = 0; _org_project_other_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1164s # { 1164s # GDBusPropertyInfo *info = _org_project_other_iface_interface_info.parent_struct.properties[n]; 1164s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1164s # { 1164s # GVariant *value; 1164s # 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); 1164s # if (value != NULL) 1164s # { 1164s # g_variant_take_ref (value); 1164s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1164s # g_variant_unref (value); 1164s # } 1164s # } 1164s # } 1164s # out: 1164s # return g_variant_builder_end (&builder); 1164s # } 1164s # 1164s # static void 1164s # org_project_other_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void 1164s # _org_project_other_iface_on_signal_simple_signal ( 1164s # OrgProjectOtherIface *object) 1164s # { 1164s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object); 1164s # 1164s # GList *connections, *l; 1164s # GVariant *signal_variant; 1164s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1164s # 1164s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1164s # for (l = connections; l != NULL; l = l->next) 1164s # { 1164s # GDBusConnection *connection = l->data; 1164s # g_dbus_connection_emit_signal (connection, 1164s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherIface", "SimpleSignal", 1164s # signal_variant, NULL); 1164s # } 1164s # g_variant_unref (signal_variant); 1164s # g_list_free_full (connections, g_object_unref); 1164s # } 1164s # 1164s # static void org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface); 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1164s # G_ADD_PRIVATE (OrgProjectOtherIfaceSkeleton) 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init)) 1164s # 1164s # #else 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init)) 1164s # 1164s # #endif 1164s # static void 1164s # org_project_other_iface_skeleton_finalize (GObject *object) 1164s # { 1164s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object); 1164s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1164s # if (skeleton->priv->changed_properties_idle_source != NULL) 1164s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1164s # g_main_context_unref (skeleton->priv->context); 1164s # g_mutex_clear (&skeleton->priv->lock); 1164s # G_OBJECT_CLASS (org_project_other_iface_skeleton_parent_class)->finalize (object); 1164s # } 1164s # 1164s # static void 1164s # org_project_other_iface_skeleton_init (OrgProjectOtherIfaceSkeleton *skeleton) 1164s # { 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # skeleton->priv = org_project_other_iface_skeleton_get_instance_private (skeleton); 1164s # #else 1164s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, OrgProjectOtherIfaceSkeletonPrivate); 1164s # #endif 1164s # 1164s # g_mutex_init (&skeleton->priv->lock); 1164s # skeleton->priv->context = g_main_context_ref_thread_default (); 1164s # } 1164s # 1164s # static void 1164s # org_project_other_iface_skeleton_class_init (OrgProjectOtherIfaceSkeletonClass *klass) 1164s # { 1164s # GObjectClass *gobject_class; 1164s # GDBusInterfaceSkeletonClass *skeleton_class; 1164s # 1164s # gobject_class = G_OBJECT_CLASS (klass); 1164s # gobject_class->finalize = org_project_other_iface_skeleton_finalize; 1164s # 1164s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1164s # skeleton_class->get_info = org_project_other_iface_skeleton_dbus_interface_get_info; 1164s # skeleton_class->get_properties = org_project_other_iface_skeleton_dbus_interface_get_properties; 1164s # skeleton_class->flush = org_project_other_iface_skeleton_dbus_interface_flush; 1164s # skeleton_class->get_vtable = org_project_other_iface_skeleton_dbus_interface_get_vtable; 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1164s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceSkeletonPrivate)); 1164s # #endif 1164s # } 1164s # 1164s # static void 1164s # org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface) 1164s # { 1164s # iface->simple_signal = _org_project_other_iface_on_signal_simple_signal; 1164s # } 1164s # 1164s # /** 1164s # * org_project_other_iface_skeleton_new: 1164s # * 1164s # * Creates a skeleton object for the D-Bus interface org.project.OtherIface. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectOtherIfaceSkeleton): The skeleton object. 1164s # */ 1164s # OrgProjectOtherIface * 1164s # org_project_other_iface_skeleton_new (void) 1164s # { 1164s # return ORG_PROJECT_OTHER_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, NULL)); 1164s # } 1164s ok 22 __main__.TestCodegen.test_generate_signals_marshaller_simple_signal 1164s # tmpdir: /tmp/tmpiohj7jdf 1164s # codegen: /usr/bin/gdbus-codegen 1164s # /tmp/tmpiohj7jdf/tmpmmz5y8o3.xml: 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # 1164s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpiohj7jdf/tmpmmz5y8o3.xml', '--output', '-', '--body'] 1164s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1164s # Output: /* 1164s # * This file is generated by gdbus-codegen, do not modify it. 1164s # * 1164s # * The license of this code is the same as for the D-Bus interface description 1164s # * it was derived from. Note that it links to GLib, so must comply with the 1164s # * LGPL linking clauses. 1164s # */ 1164s # 1164s # #ifdef HAVE_CONFIG_H 1164s # # include "config.h" 1164s # #endif 1164s # 1164s # #include 1164s # #ifdef G_OS_UNIX 1164s # # include 1164s # #endif 1164s # 1164s # #ifdef G_ENABLE_DEBUG 1164s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1164s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1164s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1164s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1164s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1164s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1164s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1164s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1164s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1164s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1164s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1164s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1164s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1164s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1164s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1164s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1164s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1164s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1164s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1164s # #else /* !G_ENABLE_DEBUG */ 1164s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1164s # * Do not access GValues directly in your code. Instead, use the 1164s # * g_value_get_*() functions 1164s # */ 1164s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1164s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1164s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1164s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1164s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1164s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1164s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1164s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1164s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1164s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1164s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1164s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1164s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1164s # #endif /* !G_ENABLE_DEBUG */ 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusArgInfo parent_struct; 1164s # gboolean use_gvariant; 1164s # } _ExtendedGDBusArgInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusMethodInfo parent_struct; 1164s # const gchar *signal_name; 1164s # gboolean pass_fdlist; 1164s # } _ExtendedGDBusMethodInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusSignalInfo parent_struct; 1164s # const gchar *signal_name; 1164s # } _ExtendedGDBusSignalInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusPropertyInfo parent_struct; 1164s # const gchar *hyphen_name; 1164s # guint use_gvariant : 1; 1164s # guint emits_changed_signal : 1; 1164s # } _ExtendedGDBusPropertyInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # GDBusInterfaceInfo parent_struct; 1164s # const gchar *hyphen_name; 1164s # } _ExtendedGDBusInterfaceInfo; 1164s # 1164s # typedef struct 1164s # { 1164s # const _ExtendedGDBusPropertyInfo *info; 1164s # guint prop_id; 1164s # GValue orig_value; /* the value before the change */ 1164s # } ChangedProperty; 1164s # 1164s # static void 1164s # _changed_property_free (ChangedProperty *data) 1164s # { 1164s # g_value_unset (&data->orig_value); 1164s # g_free (data); 1164s # } 1164s # 1164s # static gboolean 1164s # _g_strv_equal0 (gchar **a, gchar **b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # guint n; 1164s # if (a == NULL && b == NULL) 1164s # { 1164s # ret = TRUE; 1164s # goto out; 1164s # } 1164s # if (a == NULL || b == NULL) 1164s # goto out; 1164s # if (g_strv_length (a) != g_strv_length (b)) 1164s # goto out; 1164s # for (n = 0; a[n] != NULL; n++) 1164s # if (g_strcmp0 (a[n], b[n]) != 0) 1164s # goto out; 1164s # ret = TRUE; 1164s # out: 1164s # return ret; 1164s # } 1164s # 1164s # static gboolean 1164s # _g_variant_equal0 (GVariant *a, GVariant *b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # if (a == NULL && b == NULL) 1164s # { 1164s # ret = TRUE; 1164s # goto out; 1164s # } 1164s # if (a == NULL || b == NULL) 1164s # goto out; 1164s # ret = g_variant_equal (a, b); 1164s # out: 1164s # return ret; 1164s # } 1164s # 1164s # G_GNUC_UNUSED static gboolean 1164s # _g_value_equal (const GValue *a, const GValue *b) 1164s # { 1164s # gboolean ret = FALSE; 1164s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1164s # switch (G_VALUE_TYPE (a)) 1164s # { 1164s # case G_TYPE_BOOLEAN: 1164s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1164s # break; 1164s # case G_TYPE_UCHAR: 1164s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1164s # break; 1164s # case G_TYPE_INT: 1164s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1164s # break; 1164s # case G_TYPE_UINT: 1164s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1164s # break; 1164s # case G_TYPE_INT64: 1164s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1164s # break; 1164s # case G_TYPE_UINT64: 1164s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1164s # break; 1164s # case G_TYPE_DOUBLE: 1164s # { 1164s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1164s # gdouble da = g_value_get_double (a); 1164s # gdouble db = g_value_get_double (b); 1164s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1164s # } 1164s # break; 1164s # case G_TYPE_STRING: 1164s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1164s # break; 1164s # case G_TYPE_VARIANT: 1164s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1164s # break; 1164s # default: 1164s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1164s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1164s # else 1164s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1164s # break; 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # /* ------------------------------------------------------------------------ 1164s # * Code for interface org.project.SignalingIface 1164s # * ------------------------------------------------------------------------ 1164s # */ 1164s # 1164s # /** 1164s # * SECTION:OrgProjectSignalingIface 1164s # * @title: OrgProjectSignalingIface 1164s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1164s # * 1164s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1164s # */ 1164s # 1164s # enum 1164s # { 1164s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1164s # }; 1164s # 1164s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 1164s # 1164s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1164s # 1164s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "SimpleSignal", 1164s # NULL, 1164s # NULL 1164s # }, 1164s # "simple-signal" 1164s # }; 1164s # 1164s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1164s # { 1164s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1164s # NULL 1164s # }; 1164s # 1164s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1164s # { 1164s # { 1164s # -1, 1164s # (gchar *) "org.project.SignalingIface", 1164s # NULL, 1164s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1164s # NULL, 1164s # NULL 1164s # }, 1164s # "org-project-signaling-iface", 1164s # }; 1164s # 1164s # 1164s # /** 1164s # * org_project_signaling_iface_interface_info: 1164s # * 1164s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1164s # * 1164s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1164s # */ 1164s # GDBusInterfaceInfo * 1164s # org_project_signaling_iface_interface_info (void) 1164s # { 1164s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1164s # } 1164s # 1164s # /** 1164s # * org_project_signaling_iface_override_properties: 1164s # * @klass: The class structure for a #GObject derived class. 1164s # * @property_id_begin: The property id to assign to the first overridden property. 1164s # * 1164s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1164s # * The properties are overridden in the order they are defined. 1164s # * 1164s # * Returns: The last property id. 1164s # */ 1164s # guint 1164s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1164s # { 1164s # return property_id_begin - 1; 1164s # } 1164s # 1164s # 1164s # inline static void 1164s # org_project_signaling_iface_signal_marshal_simple_signal ( 1164s # GClosure *closure, 1164s # GValue *return_value, 1164s # unsigned int n_param_values, 1164s # const GValue *param_values, 1164s # void *invocation_hint, 1164s # void *marshal_data) 1164s # { 1164s # g_cclosure_marshal_VOID__VOID (closure, 1164s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1164s # } 1164s # 1164s # 1164s # /** 1164s # * OrgProjectSignalingIface: 1164s # * 1164s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectSignalingIfaceIface: 1164s # * @parent_iface: The parent interface. 1164s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1164s # * 1164s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1164s # */ 1164s # 1164s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1164s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1164s # 1164s # static void 1164s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1164s # { 1164s # /* GObject signals for received D-Bus signals: */ 1164s # /** 1164s # * OrgProjectSignalingIface::simple-signal: 1164s # * @object: A #OrgProjectSignalingIface. 1164s # * 1164s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1164s # * 1164s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1164s # */ 1164s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1164s # g_signal_new ("simple-signal", 1164s # G_TYPE_FROM_INTERFACE (iface), 1164s # G_SIGNAL_RUN_LAST, 1164s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1164s # NULL, 1164s # NULL, 1164s # org_project_signaling_iface_signal_marshal_simple_signal, 1164s # G_TYPE_NONE, 1164s # 0); 1164s # 1164s # } 1164s # 1164s # /** 1164s # * org_project_signaling_iface_emit_simple_signal: 1164s # * @object: A #OrgProjectSignalingIface. 1164s # * 1164s # * Emits the "SimpleSignal" D-Bus signal. 1164s # */ 1164s # void 1164s # org_project_signaling_iface_emit_simple_signal ( 1164s # OrgProjectSignalingIface *object) 1164s # { 1164s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1164s # } 1164s # 1164s # /* ------------------------------------------------------------------------ */ 1164s # 1164s # /** 1164s # * OrgProjectSignalingIfaceProxy: 1164s # * 1164s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectSignalingIfaceProxyClass: 1164s # * @parent_class: The parent class. 1164s # * 1164s # * Class structure for #OrgProjectSignalingIfaceProxy. 1164s # */ 1164s # 1164s # struct _OrgProjectSignalingIfaceProxyPrivate 1164s # { 1164s # GData *qdata; 1164s # }; 1164s # 1164s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1164s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1164s # 1164s # #else 1164s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1164s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1164s # 1164s # #endif 1164s # static void 1164s # org_project_signaling_iface_proxy_finalize (GObject *object) 1164s # { 1164s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1164s # g_datalist_clear (&proxy->priv->qdata); 1164s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1164s # } 1164s # 1164s # static void 1164s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1164s # guint prop_id G_GNUC_UNUSED, 1164s # GValue *value G_GNUC_UNUSED, 1164s # GParamSpec *pspec G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void 1164s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1164s # guint prop_id G_GNUC_UNUSED, 1164s # const GValue *value G_GNUC_UNUSED, 1164s # GParamSpec *pspec G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # static void 1164s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1164s # const gchar *sender_name G_GNUC_UNUSED, 1164s # const gchar *signal_name, 1164s # GVariant *parameters) 1164s # { 1164s # _ExtendedGDBusSignalInfo *info; 1164s # GVariantIter iter; 1164s # GVariant *child; 1164s # GValue *paramv; 1164s # gsize num_params; 1164s # gsize n; 1164s # guint signal_id; 1164s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1164s # if (info == NULL) 1164s # return; 1164s # num_params = g_variant_n_children (parameters); 1164s # paramv = g_new0 (GValue, num_params + 1); 1164s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1164s # g_value_set_object (¶mv[0], proxy); 1164s # g_variant_iter_init (&iter, parameters); 1164s # n = 1; 1164s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1164s # { 1164s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1164s # if (arg_info->use_gvariant) 1164s # { 1164s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1164s # g_value_set_variant (¶mv[n], child); 1164s # n++; 1164s # } 1164s # else 1164s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1164s # g_variant_unref (child); 1164s # } 1164s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1164s # g_signal_emitv (paramv, signal_id, 0, NULL); 1164s # for (n = 0; n < num_params + 1; n++) 1164s # g_value_unset (¶mv[n]); 1164s # g_free (paramv); 1164s # } 1164s # 1164s # static void 1164s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1164s # GVariant *changed_properties, 1164s # const gchar *const *invalidated_properties) 1164s # { 1164s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1164s # guint n; 1164s # const gchar *key; 1164s # GVariantIter *iter; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # g_variant_get (changed_properties, "a{sv}", &iter); 1164s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1164s # { 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1164s # g_datalist_remove_data (&proxy->priv->qdata, key); 1164s # if (info != NULL) 1164s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1164s # } 1164s # g_variant_iter_free (iter); 1164s # for (n = 0; invalidated_properties[n] != NULL; n++) 1164s # { 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1164s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1164s # if (info != NULL) 1164s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1164s # } 1164s # } 1164s # 1164s # static void 1164s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1164s # { 1164s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1164s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1164s # #else 1164s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1164s # #endif 1164s # 1164s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1164s # } 1164s # 1164s # static void 1164s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1164s # { 1164s # GObjectClass *gobject_class; 1164s # GDBusProxyClass *proxy_class; 1164s # 1164s # gobject_class = G_OBJECT_CLASS (klass); 1164s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1164s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1164s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1164s # 1164s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1164s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1164s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1164s # 1164s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1164s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1164s # #endif 1164s # } 1164s # 1164s # static void 1164s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1164s # { 1164s # } 1164s # 1164s # /** 1164s # * org_project_signaling_iface_proxy_new: 1164s # * @connection: A #GDBusConnection. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1164s # * 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1164s # */ 1164s # void 1164s # org_project_signaling_iface_proxy_new ( 1164s # GDBusConnection *connection, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # 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); 1164s # } 1164s # 1164s # /** 1164s # * org_project_signaling_iface_proxy_new_finish: 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectSignalingIface * 1164s # org_project_signaling_iface_proxy_new_finish ( 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GObject *ret; 1164s # GObject *source_object; 1164s # source_object = g_async_result_get_source_object (res); 1164s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1164s # g_object_unref (source_object); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_signaling_iface_proxy_new_sync: 1164s # * @connection: A #GDBusConnection. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1164s # * 1164s # * The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectSignalingIface * 1164s # org_project_signaling_iface_proxy_new_sync ( 1164s # GDBusConnection *connection, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GInitable *ret; 1164s # 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); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # 1164s # /** 1164s # * org_project_signaling_iface_proxy_new_for_bus: 1164s # * @bus_type: A #GBusType. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: A bus name (well-known or unique). 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1164s # * @user_data: User data to pass to @callback. 1164s # * 1164s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1164s # * 1164s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1164s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1164s # * 1164s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1164s # */ 1164s # void 1164s # org_project_signaling_iface_proxy_new_for_bus ( 1164s # GBusType bus_type, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GAsyncReadyCallback callback, 1164s # gpointer user_data) 1164s # { 1164s # 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); 1164s # } 1164s # 1164s # /** 1164s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1164s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectSignalingIface * 1164s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1164s # GAsyncResult *res, 1164s # GError **error) 1164s # { 1164s # GObject *ret; 1164s # GObject *source_object; 1164s # source_object = g_async_result_get_source_object (res); 1164s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1164s # g_object_unref (source_object); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # /** 1164s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1164s # * @bus_type: A #GBusType. 1164s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1164s # * @name: A bus name (well-known or unique). 1164s # * @object_path: An object path. 1164s # * @cancellable: (nullable): A #GCancellable or %NULL. 1164s # * @error: Return location for error or %NULL 1164s # * 1164s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1164s # * 1164s # * The calling thread is blocked until a reply is received. 1164s # * 1164s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1164s # * 1164s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1164s # */ 1164s # OrgProjectSignalingIface * 1164s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1164s # GBusType bus_type, 1164s # GDBusProxyFlags flags, 1164s # const gchar *name, 1164s # const gchar *object_path, 1164s # GCancellable *cancellable, 1164s # GError **error) 1164s # { 1164s # GInitable *ret; 1164s # 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); 1164s # if (ret != NULL) 1164s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1164s # else 1164s # return NULL; 1164s # } 1164s # 1164s # 1164s # /* ------------------------------------------------------------------------ */ 1164s # 1164s # /** 1164s # * OrgProjectSignalingIfaceSkeleton: 1164s # * 1164s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1164s # */ 1164s # 1164s # /** 1164s # * OrgProjectSignalingIfaceSkeletonClass: 1164s # * @parent_class: The parent class. 1164s # * 1164s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1164s # */ 1164s # 1164s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1164s # { 1164s # GValue *properties; 1164s # GList *changed_properties; 1164s # GSource *changed_properties_idle_source; 1164s # GMainContext *context; 1164s # GMutex lock; 1164s # }; 1164s # 1164s # static void 1164s # _org_project_signaling_iface_skeleton_handle_method_call ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name, 1164s # const gchar *method_name, 1164s # GVariant *parameters, 1164s # GDBusMethodInvocation *invocation, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1164s # _ExtendedGDBusMethodInfo *info; 1164s # GVariantIter iter; 1164s # GVariant *child; 1164s # GValue *paramv; 1164s # gsize num_params; 1164s # guint num_extra; 1164s # gsize n; 1164s # guint signal_id; 1164s # GValue return_value = G_VALUE_INIT; 1164s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1164s # g_assert (info != NULL); 1164s # num_params = g_variant_n_children (parameters); 1164s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1164s # n = 0; 1164s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1164s # g_value_set_object (¶mv[n++], skeleton); 1164s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1164s # g_value_set_object (¶mv[n++], invocation); 1164s # if (info->pass_fdlist) 1164s # { 1164s # #ifdef G_OS_UNIX 1164s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1164s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1164s # #else 1164s # g_assert_not_reached (); 1164s # #endif 1164s # } 1164s # g_variant_iter_init (&iter, parameters); 1164s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1164s # { 1164s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1164s # if (arg_info->use_gvariant) 1164s # { 1164s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1164s # g_value_set_variant (¶mv[n], child); 1164s # n++; 1164s # } 1164s # else 1164s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1164s # g_variant_unref (child); 1164s # } 1164s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1164s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1164s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1164s # if (!g_value_get_boolean (&return_value)) 1164s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1164s # g_value_unset (&return_value); 1164s # for (n = 0; n < num_params + num_extra; n++) 1164s # g_value_unset (¶mv[n]); 1164s # g_free (paramv); 1164s # } 1164s # 1164s # static GVariant * 1164s # _org_project_signaling_iface_skeleton_handle_get_property ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name G_GNUC_UNUSED, 1164s # const gchar *property_name, 1164s # GError **error, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1164s # GValue value = G_VALUE_INIT; 1164s # GParamSpec *pspec; 1164s # _ExtendedGDBusPropertyInfo *info; 1164s # GVariant *ret; 1164s # ret = NULL; 1164s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1164s # g_assert (info != NULL); 1164s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1164s # if (pspec == NULL) 1164s # { 1164s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1164s # } 1164s # else 1164s # { 1164s # g_value_init (&value, pspec->value_type); 1164s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1164s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1164s # g_value_unset (&value); 1164s # } 1164s # return ret; 1164s # } 1164s # 1164s # static gboolean 1164s # _org_project_signaling_iface_skeleton_handle_set_property ( 1164s # GDBusConnection *connection G_GNUC_UNUSED, 1164s # const gchar *sender G_GNUC_UNUSED, 1164s # const gchar *object_path G_GNUC_UNUSED, 1164s # const gchar *interface_name G_GNUC_UNUSED, 1164s # const gchar *property_name, 1164s # GVariant *variant, 1164s # GError **error, 1164s # gpointer user_data) 1164s # { 1164s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1165s # GValue value = G_VALUE_INIT; 1165s # GParamSpec *pspec; 1165s # _ExtendedGDBusPropertyInfo *info; 1165s # gboolean ret; 1165s # ret = FALSE; 1165s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1165s # g_assert (info != NULL); 1165s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1165s # if (pspec == NULL) 1165s # { 1165s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1165s # } 1165s # else 1165s # { 1165s # if (info->use_gvariant) 1165s # g_value_set_variant (&value, variant); 1165s # else 1165s # g_dbus_gvariant_to_gvalue (variant, &value); 1165s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1165s # g_value_unset (&value); 1165s # ret = TRUE; 1165s # } 1165s # return ret; 1165s # } 1165s # 1165s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1165s # { 1165s # _org_project_signaling_iface_skeleton_handle_method_call, 1165s # _org_project_signaling_iface_skeleton_handle_get_property, 1165s # _org_project_signaling_iface_skeleton_handle_set_property, 1165s # {NULL} 1165s # }; 1165s # 1165s # static GDBusInterfaceInfo * 1165s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1165s # { 1165s # return org_project_signaling_iface_interface_info (); 1165s # } 1165s # 1165s # static GDBusInterfaceVTable * 1165s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1165s # { 1165s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1165s # } 1165s # 1165s # static GVariant * 1165s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1165s # 1165s # GVariantBuilder builder; 1165s # guint n; 1165s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1165s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1165s # goto out; 1165s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1165s # { 1165s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1165s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1165s # { 1165s # GVariant *value; 1165s # 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); 1165s # if (value != NULL) 1165s # { 1165s # g_variant_take_ref (value); 1165s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1165s # g_variant_unref (value); 1165s # } 1165s # } 1165s # } 1165s # out: 1165s # return g_variant_builder_end (&builder); 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1165s # { 1165s # } 1165s # 1165s # static void 1165s # _org_project_signaling_iface_on_signal_simple_signal ( 1165s # OrgProjectSignalingIface *object) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1165s # 1165s # GList *connections, *l; 1165s # GVariant *signal_variant; 1165s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1165s # 1165s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1165s # for (l = connections; l != NULL; l = l->next) 1165s # { 1165s # GDBusConnection *connection = l->data; 1165s # g_dbus_connection_emit_signal (connection, 1165s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1165s # signal_variant, NULL); 1165s # } 1165s # g_variant_unref (signal_variant); 1165s # g_list_free_full (connections, g_object_unref); 1165s # } 1165s # 1165s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1165s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1165s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1165s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1165s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1165s # 1165s # #else 1165s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1165s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1165s # 1165s # #endif 1165s # static void 1165s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1165s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1165s # if (skeleton->priv->changed_properties_idle_source != NULL) 1165s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1165s # g_main_context_unref (skeleton->priv->context); 1165s # g_mutex_clear (&skeleton->priv->lock); 1165s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1165s # { 1165s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1165s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1165s # #else 1165s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1165s # #endif 1165s # 1165s # g_mutex_init (&skeleton->priv->lock); 1165s # skeleton->priv->context = g_main_context_ref_thread_default (); 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1165s # { 1165s # GObjectClass *gobject_class; 1165s # GDBusInterfaceSkeletonClass *skeleton_class; 1165s # 1165s # gobject_class = G_OBJECT_CLASS (klass); 1165s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1165s # 1165s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1165s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1165s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1165s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1165s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1165s # 1165s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1165s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1165s # #endif 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1165s # { 1165s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_skeleton_new: 1165s # * 1165s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1165s # * 1165s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1165s # */ 1165s # OrgProjectSignalingIface * 1165s # org_project_signaling_iface_skeleton_new (void) 1165s # { 1165s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1165s # } 1165s # 1165s # /* ------------------------------------------------------------------------ 1165s # * Code for interface org.project.OtherSignalingIface 1165s # * ------------------------------------------------------------------------ 1165s # */ 1165s # 1165s # /** 1165s # * SECTION:OrgProjectOtherSignalingIface 1165s # * @title: OrgProjectOtherSignalingIface 1165s # * @short_description: Generated C code for the org.project.OtherSignalingIface D-Bus interface 1165s # * 1165s # * This section contains code for working with the org.project.OtherSignalingIface D-Bus interface in C. 1165s # */ 1165s # 1165s # enum 1165s # { 1165s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL, 1165s # }; 1165s # 1165s # static unsigned _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 1165s # 1165s # /* ---- Introspection data for org.project.OtherSignalingIface ---- */ 1165s # 1165s # static const _ExtendedGDBusSignalInfo _org_project_other_signaling_iface_signal_info_simple_signal = 1165s # { 1165s # { 1165s # -1, 1165s # (gchar *) "SimpleSignal", 1165s # NULL, 1165s # NULL 1165s # }, 1165s # "simple-signal" 1165s # }; 1165s # 1165s # static const GDBusSignalInfo * const _org_project_other_signaling_iface_signal_info_pointers[] = 1165s # { 1165s # &_org_project_other_signaling_iface_signal_info_simple_signal.parent_struct, 1165s # NULL 1165s # }; 1165s # 1165s # static const _ExtendedGDBusInterfaceInfo _org_project_other_signaling_iface_interface_info = 1165s # { 1165s # { 1165s # -1, 1165s # (gchar *) "org.project.OtherSignalingIface", 1165s # NULL, 1165s # (GDBusSignalInfo **) &_org_project_other_signaling_iface_signal_info_pointers, 1165s # NULL, 1165s # NULL 1165s # }, 1165s # "org-project-other-signaling-iface", 1165s # }; 1165s # 1165s # 1165s # /** 1165s # * org_project_other_signaling_iface_interface_info: 1165s # * 1165s # * Gets a machine-readable description of the org.project.OtherSignalingIface D-Bus interface. 1165s # * 1165s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1165s # */ 1165s # GDBusInterfaceInfo * 1165s # org_project_other_signaling_iface_interface_info (void) 1165s # { 1165s # return (GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct; 1165s # } 1165s # 1165s # /** 1165s # * org_project_other_signaling_iface_override_properties: 1165s # * @klass: The class structure for a #GObject derived class. 1165s # * @property_id_begin: The property id to assign to the first overridden property. 1165s # * 1165s # * Overrides all #GObject properties in the #OrgProjectOtherSignalingIface interface for a concrete class. 1165s # * The properties are overridden in the order they are defined. 1165s # * 1165s # * Returns: The last property id. 1165s # */ 1165s # guint 1165s # org_project_other_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1165s # { 1165s # return property_id_begin - 1; 1165s # } 1165s # 1165s # 1165s # inline static void 1165s # org_project_other_signaling_iface_signal_marshal_simple_signal ( 1165s # GClosure *closure, 1165s # GValue *return_value, 1165s # unsigned int n_param_values, 1165s # const GValue *param_values, 1165s # void *invocation_hint, 1165s # void *marshal_data) 1165s # { 1165s # g_cclosure_marshal_VOID__VOID (closure, 1165s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1165s # } 1165s # 1165s # 1165s # /** 1165s # * OrgProjectOtherSignalingIface: 1165s # * 1165s # * Abstract interface type for the D-Bus interface org.project.OtherSignalingIface. 1165s # */ 1165s # 1165s # /** 1165s # * OrgProjectOtherSignalingIfaceIface: 1165s # * @parent_iface: The parent interface. 1165s # * @simple_signal: Handler for the #OrgProjectOtherSignalingIface::simple-signal signal. 1165s # * 1165s # * Virtual table for the D-Bus interface org.project.OtherSignalingIface. 1165s # */ 1165s # 1165s # typedef OrgProjectOtherSignalingIfaceIface OrgProjectOtherSignalingIfaceInterface; 1165s # G_DEFINE_INTERFACE (OrgProjectOtherSignalingIface, org_project_other_signaling_iface, G_TYPE_OBJECT) 1165s # 1165s # static void 1165s # org_project_other_signaling_iface_default_init (OrgProjectOtherSignalingIfaceIface *iface) 1165s # { 1165s # /* GObject signals for received D-Bus signals: */ 1165s # /** 1165s # * OrgProjectOtherSignalingIface::simple-signal: 1165s # * @object: A #OrgProjectOtherSignalingIface. 1165s # * 1165s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1165s # * 1165s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1165s # */ 1165s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1165s # g_signal_new ("simple-signal", 1165s # G_TYPE_FROM_INTERFACE (iface), 1165s # G_SIGNAL_RUN_LAST, 1165s # G_STRUCT_OFFSET (OrgProjectOtherSignalingIfaceIface, simple_signal), 1165s # NULL, 1165s # NULL, 1165s # org_project_other_signaling_iface_signal_marshal_simple_signal, 1165s # G_TYPE_NONE, 1165s # 0); 1165s # 1165s # } 1165s # 1165s # /** 1165s # * org_project_other_signaling_iface_emit_simple_signal: 1165s # * @object: A #OrgProjectOtherSignalingIface. 1165s # * 1165s # * Emits the "SimpleSignal" D-Bus signal. 1165s # */ 1165s # void 1165s # org_project_other_signaling_iface_emit_simple_signal ( 1165s # OrgProjectOtherSignalingIface *object) 1165s # { 1165s # g_signal_emit (object, _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1165s # } 1165s # 1165s # /* ------------------------------------------------------------------------ */ 1165s # 1165s # /** 1165s # * OrgProjectOtherSignalingIfaceProxy: 1165s # * 1165s # * The #OrgProjectOtherSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1165s # */ 1165s # 1165s # /** 1165s # * OrgProjectOtherSignalingIfaceProxyClass: 1165s # * @parent_class: The parent class. 1165s # * 1165s # * Class structure for #OrgProjectOtherSignalingIfaceProxy. 1165s # */ 1165s # 1165s # struct _OrgProjectOtherSignalingIfaceProxyPrivate 1165s # { 1165s # GData *qdata; 1165s # }; 1165s # 1165s # static void org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface); 1165s # 1165s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1165s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1165s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceProxy) 1165s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init)) 1165s # 1165s # #else 1165s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1165s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init)) 1165s # 1165s # #endif 1165s # static void 1165s # org_project_other_signaling_iface_proxy_finalize (GObject *object) 1165s # { 1165s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (object); 1165s # g_datalist_clear (&proxy->priv->qdata); 1165s # G_OBJECT_CLASS (org_project_other_signaling_iface_proxy_parent_class)->finalize (object); 1165s # } 1165s # 1165s # static void 1165s # org_project_other_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1165s # guint prop_id G_GNUC_UNUSED, 1165s # GValue *value G_GNUC_UNUSED, 1165s # GParamSpec *pspec G_GNUC_UNUSED) 1165s # { 1165s # } 1165s # 1165s # static void 1165s # org_project_other_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1165s # guint prop_id G_GNUC_UNUSED, 1165s # const GValue *value G_GNUC_UNUSED, 1165s # GParamSpec *pspec G_GNUC_UNUSED) 1165s # { 1165s # } 1165s # 1165s # static void 1165s # org_project_other_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1165s # const gchar *sender_name G_GNUC_UNUSED, 1165s # const gchar *signal_name, 1165s # GVariant *parameters) 1165s # { 1165s # _ExtendedGDBusSignalInfo *info; 1165s # GVariantIter iter; 1165s # GVariant *child; 1165s # GValue *paramv; 1165s # gsize num_params; 1165s # gsize n; 1165s # guint signal_id; 1165s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, signal_name); 1165s # if (info == NULL) 1165s # return; 1165s # num_params = g_variant_n_children (parameters); 1165s # paramv = g_new0 (GValue, num_params + 1); 1165s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 1165s # g_value_set_object (¶mv[0], proxy); 1165s # g_variant_iter_init (&iter, parameters); 1165s # n = 1; 1165s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1165s # { 1165s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1165s # if (arg_info->use_gvariant) 1165s # { 1165s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1165s # g_value_set_variant (¶mv[n], child); 1165s # n++; 1165s # } 1165s # else 1165s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1165s # g_variant_unref (child); 1165s # } 1165s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 1165s # g_signal_emitv (paramv, signal_id, 0, NULL); 1165s # for (n = 0; n < num_params + 1; n++) 1165s # g_value_unset (¶mv[n]); 1165s # g_free (paramv); 1165s # } 1165s # 1165s # static void 1165s # org_project_other_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1165s # GVariant *changed_properties, 1165s # const gchar *const *invalidated_properties) 1165s # { 1165s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (_proxy); 1165s # guint n; 1165s # const gchar *key; 1165s # GVariantIter *iter; 1165s # _ExtendedGDBusPropertyInfo *info; 1165s # g_variant_get (changed_properties, "a{sv}", &iter); 1165s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1165s # { 1165s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, key); 1165s # g_datalist_remove_data (&proxy->priv->qdata, key); 1165s # if (info != NULL) 1165s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1165s # } 1165s # g_variant_iter_free (iter); 1165s # for (n = 0; invalidated_properties[n] != NULL; n++) 1165s # { 1165s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1165s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1165s # if (info != NULL) 1165s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1165s # } 1165s # } 1165s # 1165s # static void 1165s # org_project_other_signaling_iface_proxy_init (OrgProjectOtherSignalingIfaceProxy *proxy) 1165s # { 1165s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1165s # proxy->priv = org_project_other_signaling_iface_proxy_get_instance_private (proxy); 1165s # #else 1165s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY, OrgProjectOtherSignalingIfaceProxyPrivate); 1165s # #endif 1165s # 1165s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_signaling_iface_interface_info ()); 1165s # } 1165s # 1165s # static void 1165s # org_project_other_signaling_iface_proxy_class_init (OrgProjectOtherSignalingIfaceProxyClass *klass) 1165s # { 1165s # GObjectClass *gobject_class; 1165s # GDBusProxyClass *proxy_class; 1165s # 1165s # gobject_class = G_OBJECT_CLASS (klass); 1165s # gobject_class->finalize = org_project_other_signaling_iface_proxy_finalize; 1165s # gobject_class->get_property = org_project_other_signaling_iface_proxy_get_property; 1165s # gobject_class->set_property = org_project_other_signaling_iface_proxy_set_property; 1165s # 1165s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1165s # proxy_class->g_signal = org_project_other_signaling_iface_proxy_g_signal; 1165s # proxy_class->g_properties_changed = org_project_other_signaling_iface_proxy_g_properties_changed; 1165s # 1165s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1165s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceProxyPrivate)); 1165s # #endif 1165s # } 1165s # 1165s # static void 1165s # org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface G_GNUC_UNUSED) 1165s # { 1165s # } 1165s # 1165s # /** 1165s # * org_project_other_signaling_iface_proxy_new: 1165s # * @connection: A #GDBusConnection. 1165s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1165s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1165s # * @object_path: An object path. 1165s # * @cancellable: (nullable): A #GCancellable or %NULL. 1165s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1165s # * @user_data: User data to pass to @callback. 1165s # * 1165s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new() for more details. 1165s # * 1165s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1165s # * You can then call org_project_other_signaling_iface_proxy_new_finish() to get the result of the operation. 1165s # * 1165s # * See org_project_other_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1165s # */ 1165s # void 1165s # org_project_other_signaling_iface_proxy_new ( 1165s # GDBusConnection *connection, 1165s # GDBusProxyFlags flags, 1165s # const gchar *name, 1165s # const gchar *object_path, 1165s # GCancellable *cancellable, 1165s # GAsyncReadyCallback callback, 1165s # gpointer user_data) 1165s # { 1165s # 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); 1165s # } 1165s # 1165s # /** 1165s # * org_project_other_signaling_iface_proxy_new_finish: 1165s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new(). 1165s # * @error: Return location for error or %NULL 1165s # * 1165s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new(). 1165s # * 1165s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1165s # */ 1165s # OrgProjectOtherSignalingIface * 1165s # org_project_other_signaling_iface_proxy_new_finish ( 1165s # GAsyncResult *res, 1165s # GError **error) 1165s # { 1165s # GObject *ret; 1165s # GObject *source_object; 1165s # source_object = g_async_result_get_source_object (res); 1165s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1165s # g_object_unref (source_object); 1165s # if (ret != NULL) 1165s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 1165s # else 1165s # return NULL; 1165s # } 1165s # 1165s # /** 1165s # * org_project_other_signaling_iface_proxy_new_sync: 1165s # * @connection: A #GDBusConnection. 1165s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1165s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1165s # * @object_path: An object path. 1165s # * @cancellable: (nullable): A #GCancellable or %NULL. 1165s # * @error: Return location for error or %NULL 1165s # * 1165s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new_sync() for more details. 1165s # * 1165s # * The calling thread is blocked until a reply is received. 1165s # * 1165s # * See org_project_other_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1165s # * 1165s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1165s # */ 1165s # OrgProjectOtherSignalingIface * 1165s # org_project_other_signaling_iface_proxy_new_sync ( 1165s # GDBusConnection *connection, 1165s # GDBusProxyFlags flags, 1165s # const gchar *name, 1165s # const gchar *object_path, 1165s # GCancellable *cancellable, 1165s # GError **error) 1165s # { 1165s # GInitable *ret; 1165s # 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); 1165s # if (ret != NULL) 1165s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 1165s # else 1165s # return NULL; 1165s # } 1165s # 1165s # 1165s # /** 1165s # * org_project_other_signaling_iface_proxy_new_for_bus: 1165s # * @bus_type: A #GBusType. 1165s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1165s # * @name: A bus name (well-known or unique). 1165s # * @object_path: An object path. 1165s # * @cancellable: (nullable): A #GCancellable or %NULL. 1165s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1165s # * @user_data: User data to pass to @callback. 1165s # * 1165s # * Like org_project_other_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1165s # * 1165s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1165s # * You can then call org_project_other_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1165s # * 1165s # * See org_project_other_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1165s # */ 1165s # void 1165s # org_project_other_signaling_iface_proxy_new_for_bus ( 1165s # GBusType bus_type, 1165s # GDBusProxyFlags flags, 1165s # const gchar *name, 1165s # const gchar *object_path, 1165s # GCancellable *cancellable, 1165s # GAsyncReadyCallback callback, 1165s # gpointer user_data) 1165s # { 1165s # 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); 1165s # } 1165s # 1165s # /** 1165s # * org_project_other_signaling_iface_proxy_new_for_bus_finish: 1165s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new_for_bus(). 1165s # * @error: Return location for error or %NULL 1165s # * 1165s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new_for_bus(). 1165s # * 1165s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1165s # */ 1165s # OrgProjectOtherSignalingIface * 1165s # org_project_other_signaling_iface_proxy_new_for_bus_finish ( 1165s # GAsyncResult *res, 1165s # GError **error) 1165s # { 1165s # GObject *ret; 1165s # GObject *source_object; 1165s # source_object = g_async_result_get_source_object (res); 1165s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1165s # g_object_unref (source_object); 1165s # if (ret != NULL) 1165s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 1165s # else 1165s # return NULL; 1165s # } 1165s # 1165s # /** 1165s # * org_project_other_signaling_iface_proxy_new_for_bus_sync: 1165s # * @bus_type: A #GBusType. 1165s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1165s # * @name: A bus name (well-known or unique). 1165s # * @object_path: An object path. 1165s # * @cancellable: (nullable): A #GCancellable or %NULL. 1165s # * @error: Return location for error or %NULL 1165s # * 1165s # * Like org_project_other_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1165s # * 1165s # * The calling thread is blocked until a reply is received. 1165s # * 1165s # * See org_project_other_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1165s # * 1165s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1165s # */ 1165s # OrgProjectOtherSignalingIface * 1165s # org_project_other_signaling_iface_proxy_new_for_bus_sync ( 1165s # GBusType bus_type, 1165s # GDBusProxyFlags flags, 1165s # const gchar *name, 1165s # const gchar *object_path, 1165s # GCancellable *cancellable, 1165s # GError **error) 1165s # { 1165s # GInitable *ret; 1165s # 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); 1165s # if (ret != NULL) 1165s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 1165s # else 1165s # return NULL; 1165s # } 1165s # 1165s # 1165s # /* ------------------------------------------------------------------------ */ 1165s # 1165s # /** 1165s # * OrgProjectOtherSignalingIfaceSkeleton: 1165s # * 1165s # * The #OrgProjectOtherSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1165s # */ 1165s # 1165s # /** 1165s # * OrgProjectOtherSignalingIfaceSkeletonClass: 1165s # * @parent_class: The parent class. 1165s # * 1165s # * Class structure for #OrgProjectOtherSignalingIfaceSkeleton. 1165s # */ 1165s # 1165s # struct _OrgProjectOtherSignalingIfaceSkeletonPrivate 1165s # { 1165s # GValue *properties; 1165s # GList *changed_properties; 1165s # GSource *changed_properties_idle_source; 1165s # GMainContext *context; 1165s # GMutex lock; 1165s # }; 1165s # 1165s # static void 1165s # _org_project_other_signaling_iface_skeleton_handle_method_call ( 1165s # GDBusConnection *connection G_GNUC_UNUSED, 1165s # const gchar *sender G_GNUC_UNUSED, 1165s # const gchar *object_path G_GNUC_UNUSED, 1165s # const gchar *interface_name, 1165s # const gchar *method_name, 1165s # GVariant *parameters, 1165s # GDBusMethodInvocation *invocation, 1165s # gpointer user_data) 1165s # { 1165s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 1165s # _ExtendedGDBusMethodInfo *info; 1165s # GVariantIter iter; 1165s # GVariant *child; 1165s # GValue *paramv; 1165s # gsize num_params; 1165s # guint num_extra; 1165s # gsize n; 1165s # guint signal_id; 1165s # GValue return_value = G_VALUE_INIT; 1165s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1165s # g_assert (info != NULL); 1165s # num_params = g_variant_n_children (parameters); 1165s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1165s # n = 0; 1165s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 1165s # g_value_set_object (¶mv[n++], skeleton); 1165s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1165s # g_value_set_object (¶mv[n++], invocation); 1165s # if (info->pass_fdlist) 1165s # { 1165s # #ifdef G_OS_UNIX 1165s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1165s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1165s # #else 1165s # g_assert_not_reached (); 1165s # #endif 1165s # } 1165s # g_variant_iter_init (&iter, parameters); 1165s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1165s # { 1165s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1165s # if (arg_info->use_gvariant) 1165s # { 1165s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1165s # g_value_set_variant (¶mv[n], child); 1165s # n++; 1165s # } 1165s # else 1165s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1165s # g_variant_unref (child); 1165s # } 1165s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 1165s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1165s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1165s # if (!g_value_get_boolean (&return_value)) 1165s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1165s # g_value_unset (&return_value); 1165s # for (n = 0; n < num_params + num_extra; n++) 1165s # g_value_unset (¶mv[n]); 1165s # g_free (paramv); 1165s # } 1165s # 1165s # static GVariant * 1165s # _org_project_other_signaling_iface_skeleton_handle_get_property ( 1165s # GDBusConnection *connection G_GNUC_UNUSED, 1165s # const gchar *sender G_GNUC_UNUSED, 1165s # const gchar *object_path G_GNUC_UNUSED, 1165s # const gchar *interface_name G_GNUC_UNUSED, 1165s # const gchar *property_name, 1165s # GError **error, 1165s # gpointer user_data) 1165s # { 1165s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 1165s # GValue value = G_VALUE_INIT; 1165s # GParamSpec *pspec; 1165s # _ExtendedGDBusPropertyInfo *info; 1165s # GVariant *ret; 1165s # ret = NULL; 1165s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name); 1165s # g_assert (info != NULL); 1165s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1165s # if (pspec == NULL) 1165s # { 1165s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1165s # } 1165s # else 1165s # { 1165s # g_value_init (&value, pspec->value_type); 1165s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1165s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1165s # g_value_unset (&value); 1165s # } 1165s # return ret; 1165s # } 1165s # 1165s # static gboolean 1165s # _org_project_other_signaling_iface_skeleton_handle_set_property ( 1165s # GDBusConnection *connection G_GNUC_UNUSED, 1165s # const gchar *sender G_GNUC_UNUSED, 1165s # const gchar *object_path G_GNUC_UNUSED, 1165s # const gchar *interface_name G_GNUC_UNUSED, 1165s # const gchar *property_name, 1165s # GVariant *variant, 1165s # GError **error, 1165s # gpointer user_data) 1165s # { 1165s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 1165s # GValue value = G_VALUE_INIT; 1165s # GParamSpec *pspec; 1165s # _ExtendedGDBusPropertyInfo *info; 1165s # gboolean ret; 1165s # ret = FALSE; 1165s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name); 1165s # g_assert (info != NULL); 1165s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1165s # if (pspec == NULL) 1165s # { 1165s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1165s # } 1165s # else 1165s # { 1165s # if (info->use_gvariant) 1165s # g_value_set_variant (&value, variant); 1165s # else 1165s # g_dbus_gvariant_to_gvalue (variant, &value); 1165s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1165s # g_value_unset (&value); 1165s # ret = TRUE; 1165s # } 1165s # return ret; 1165s # } 1165s # 1165s # static const GDBusInterfaceVTable _org_project_other_signaling_iface_skeleton_vtable = 1165s # { 1165s # _org_project_other_signaling_iface_skeleton_handle_method_call, 1165s # _org_project_other_signaling_iface_skeleton_handle_get_property, 1165s # _org_project_other_signaling_iface_skeleton_handle_set_property, 1165s # {NULL} 1165s # }; 1165s # 1165s # static GDBusInterfaceInfo * 1165s # org_project_other_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1165s # { 1165s # return org_project_other_signaling_iface_interface_info (); 1165s # } 1165s # 1165s # static GDBusInterfaceVTable * 1165s # org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1165s # { 1165s # return (GDBusInterfaceVTable *) &_org_project_other_signaling_iface_skeleton_vtable; 1165s # } 1165s # 1165s # static GVariant * 1165s # org_project_other_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1165s # { 1165s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (_skeleton); 1165s # 1165s # GVariantBuilder builder; 1165s # guint n; 1165s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1165s # if (_org_project_other_signaling_iface_interface_info.parent_struct.properties == NULL) 1165s # goto out; 1165s # for (n = 0; _org_project_other_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1165s # { 1165s # GDBusPropertyInfo *info = _org_project_other_signaling_iface_interface_info.parent_struct.properties[n]; 1165s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1165s # { 1165s # GVariant *value; 1165s # 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); 1165s # if (value != NULL) 1165s # { 1165s # g_variant_take_ref (value); 1165s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1165s # g_variant_unref (value); 1165s # } 1165s # } 1165s # } 1165s # out: 1165s # return g_variant_builder_end (&builder); 1165s # } 1165s # 1165s # static void 1165s # org_project_other_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1165s # { 1165s # } 1165s # 1165s # static void 1165s # _org_project_other_signaling_iface_on_signal_simple_signal ( 1165s # OrgProjectOtherSignalingIface *object) 1165s # { 1165s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object); 1165s # 1165s # GList *connections, *l; 1165s # GVariant *signal_variant; 1165s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1165s # 1165s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1165s # for (l = connections; l != NULL; l = l->next) 1165s # { 1165s # GDBusConnection *connection = l->data; 1165s # g_dbus_connection_emit_signal (connection, 1165s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherSignalingIface", "SimpleSignal", 1165s # signal_variant, NULL); 1165s # } 1165s # g_variant_unref (signal_variant); 1165s # g_list_free_full (connections, g_object_unref); 1165s # } 1165s # 1165s # static void org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface); 1165s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1165s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1165s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceSkeleton) 1165s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init)) 1165s # 1165s # #else 1165s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1165s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init)) 1165s # 1165s # #endif 1165s # static void 1165s # org_project_other_signaling_iface_skeleton_finalize (GObject *object) 1165s # { 1165s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object); 1165s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1165s # if (skeleton->priv->changed_properties_idle_source != NULL) 1165s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1165s # g_main_context_unref (skeleton->priv->context); 1165s # g_mutex_clear (&skeleton->priv->lock); 1165s # G_OBJECT_CLASS (org_project_other_signaling_iface_skeleton_parent_class)->finalize (object); 1165s # } 1165s # 1165s # static void 1165s # org_project_other_signaling_iface_skeleton_init (OrgProjectOtherSignalingIfaceSkeleton *skeleton) 1165s # { 1165s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1165s # skeleton->priv = org_project_other_signaling_iface_skeleton_get_instance_private (skeleton); 1165s # #else 1165s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, OrgProjectOtherSignalingIfaceSkeletonPrivate); 1165s # #endif 1165s # 1165s # g_mutex_init (&skeleton->priv->lock); 1165s # skeleton->priv->context = g_main_context_ref_thread_default (); 1165s # } 1165s # 1165s # static void 1165s # org_project_other_signaling_iface_skeleton_class_init (OrgProjectOtherSignalingIfaceSkeletonClass *klass) 1165s # { 1165s # GObjectClass *gobject_class; 1165s # GDBusInterfaceSkeletonClass *skeleton_class; 1165s # 1165s # gobject_class = G_OBJECT_CLASS (klass); 1165s # gobject_class->finalize = org_project_other_signaling_iface_skeleton_finalize; 1165s # 1165s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1165s # skeleton_class->get_info = org_project_other_signaling_iface_skeleton_dbus_interface_get_info; 1165s # skeleton_class->get_properties = org_project_other_signaling_iface_skeleton_dbus_interface_get_properties; 1165s # skeleton_class->flush = org_project_other_signaling_iface_skeleton_dbus_interface_flush; 1165s # skeleton_class->get_vtable = org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable; 1165s # 1165s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1165s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceSkeletonPrivate)); 1165s # #endif 1165s # } 1165s # 1165s # static void 1165s # org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface) 1165s # { 1165s # iface->simple_signal = _org_project_other_signaling_iface_on_signal_simple_signal; 1165s # } 1165s # 1165s # /** 1165s # * org_project_other_signaling_iface_skeleton_new: 1165s # * 1165s # * Creates a skeleton object for the D-Bus interface org.project.OtherSignalingIface. 1165s # * 1165s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceSkeleton): The skeleton object. 1165s # */ 1165s # OrgProjectOtherSignalingIface * 1165s # org_project_other_signaling_iface_skeleton_new (void) 1165s # { 1165s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, NULL)); 1165s # } 1165s ok 23 __main__.TestCodegen.test_generate_signals_marshaller_single_typed_args 1165s # tmpdir: /tmp/tmplam8bnnq 1165s # codegen: /usr/bin/gdbus-codegen 1165s # /tmp/tmplam8bnnq/tmphenj_09l.xml: 1165s # 1165s # 1165s # 1165s # 1165s # 1165s # 1165s # 1165s # 1165s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmplam8bnnq/tmphenj_09l.xml', '--output', '-', '--body'] 1165s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1165s # Output: /* 1165s # * This file is generated by gdbus-codegen, do not modify it. 1165s # * 1165s # * The license of this code is the same as for the D-Bus interface description 1165s # * it was derived from. Note that it links to GLib, so must comply with the 1165s # * LGPL linking clauses. 1165s # */ 1165s # 1165s # #ifdef HAVE_CONFIG_H 1165s # # include "config.h" 1165s # #endif 1165s # 1165s # #include 1165s # #ifdef G_OS_UNIX 1165s # # include 1165s # #endif 1165s # 1165s # #ifdef G_ENABLE_DEBUG 1165s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1165s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1165s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1165s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1165s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1165s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1165s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1165s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1165s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1165s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1165s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1165s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1165s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1165s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1165s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1165s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1165s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1165s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1165s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1165s # #else /* !G_ENABLE_DEBUG */ 1165s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1165s # * Do not access GValues directly in your code. Instead, use the 1165s # * g_value_get_*() functions 1165s # */ 1165s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1165s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1165s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1165s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1165s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1165s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1165s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1165s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1165s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1165s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1165s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1165s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1165s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1165s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1165s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1165s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1165s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1165s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1165s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1165s # #endif /* !G_ENABLE_DEBUG */ 1165s # 1165s # typedef struct 1165s # { 1165s # GDBusArgInfo parent_struct; 1165s # gboolean use_gvariant; 1165s # } _ExtendedGDBusArgInfo; 1165s # 1165s # typedef struct 1165s # { 1165s # GDBusMethodInfo parent_struct; 1165s # const gchar *signal_name; 1165s # gboolean pass_fdlist; 1165s # } _ExtendedGDBusMethodInfo; 1165s # 1165s # typedef struct 1165s # { 1165s # GDBusSignalInfo parent_struct; 1165s # const gchar *signal_name; 1165s # } _ExtendedGDBusSignalInfo; 1165s # 1165s # typedef struct 1165s # { 1165s # GDBusPropertyInfo parent_struct; 1165s # const gchar *hyphen_name; 1165s # guint use_gvariant : 1; 1165s # guint emits_changed_signal : 1; 1165s # } _ExtendedGDBusPropertyInfo; 1165s # 1165s # typedef struct 1165s # { 1165s # GDBusInterfaceInfo parent_struct; 1165s # const gchar *hyphen_name; 1165s # } _ExtendedGDBusInterfaceInfo; 1165s # 1165s # typedef struct 1165s # { 1165s # const _ExtendedGDBusPropertyInfo *info; 1165s # guint prop_id; 1165s # GValue orig_value; /* the value before the change */ 1165s # } ChangedProperty; 1165s # 1165s # static void 1165s # _changed_property_free (ChangedProperty *data) 1165s # { 1165s # g_value_unset (&data->orig_value); 1165s # g_free (data); 1165s # } 1165s # 1165s # static gboolean 1165s # _g_strv_equal0 (gchar **a, gchar **b) 1165s # { 1165s # gboolean ret = FALSE; 1165s # guint n; 1165s # if (a == NULL && b == NULL) 1165s # { 1165s # ret = TRUE; 1165s # goto out; 1165s # } 1165s # if (a == NULL || b == NULL) 1165s # goto out; 1165s # if (g_strv_length (a) != g_strv_length (b)) 1165s # goto out; 1165s # for (n = 0; a[n] != NULL; n++) 1165s # if (g_strcmp0 (a[n], b[n]) != 0) 1165s # goto out; 1165s # ret = TRUE; 1165s # out: 1165s # return ret; 1165s # } 1165s # 1165s # static gboolean 1165s # _g_variant_equal0 (GVariant *a, GVariant *b) 1165s # { 1165s # gboolean ret = FALSE; 1165s # if (a == NULL && b == NULL) 1165s # { 1165s # ret = TRUE; 1165s # goto out; 1165s # } 1165s # if (a == NULL || b == NULL) 1165s # goto out; 1165s # ret = g_variant_equal (a, b); 1165s # out: 1165s # return ret; 1165s # } 1165s # 1165s # G_GNUC_UNUSED static gboolean 1165s # _g_value_equal (const GValue *a, const GValue *b) 1165s # { 1165s # gboolean ret = FALSE; 1165s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1165s # switch (G_VALUE_TYPE (a)) 1165s # { 1165s # case G_TYPE_BOOLEAN: 1165s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1165s # break; 1165s # case G_TYPE_UCHAR: 1165s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1165s # break; 1165s # case G_TYPE_INT: 1165s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1165s # break; 1165s # case G_TYPE_UINT: 1165s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1165s # break; 1165s # case G_TYPE_INT64: 1165s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1165s # break; 1165s # case G_TYPE_UINT64: 1165s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1165s # break; 1165s # case G_TYPE_DOUBLE: 1165s # { 1165s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1165s # gdouble da = g_value_get_double (a); 1165s # gdouble db = g_value_get_double (b); 1165s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1165s # } 1165s # break; 1165s # case G_TYPE_STRING: 1165s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1165s # break; 1165s # case G_TYPE_VARIANT: 1165s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1165s # break; 1165s # default: 1165s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1165s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1165s # else 1165s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1165s # break; 1165s # } 1165s # return ret; 1165s # } 1165s # 1165s # /* ------------------------------------------------------------------------ 1165s # * Code for interface org.project.SignalingIface 1165s # * ------------------------------------------------------------------------ 1165s # */ 1165s # 1165s # /** 1165s # * SECTION:OrgProjectSignalingIface 1165s # * @title: OrgProjectSignalingIface 1165s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1165s # * 1165s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1165s # */ 1165s # 1165s # enum 1165s # { 1165s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1165s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B, 1165s # }; 1165s # 1165s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1165s # 1165s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1165s # 1165s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1165s # { 1165s # { 1165s # -1, 1165s # (gchar *) "SimpleSignal", 1165s # NULL, 1165s # NULL 1165s # }, 1165s # "simple-signal" 1165s # }; 1165s # 1165s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b = 1165s # { 1165s # { 1165s # -1, 1165s # (gchar *) "arg_b", 1165s # (gchar *) "b", 1165s # NULL 1165s # }, 1165s # FALSE 1165s # }; 1165s # 1165s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] = 1165s # { 1165s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b.parent_struct, 1165s # NULL 1165s # }; 1165s # 1165s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b = 1165s # { 1165s # { 1165s # -1, 1165s # (gchar *) "SingleArgSignalB", 1165s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers, 1165s # NULL 1165s # }, 1165s # "single-arg-signal-b" 1165s # }; 1165s # 1165s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1165s # { 1165s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1165s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct, 1165s # NULL 1165s # }; 1165s # 1165s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1165s # { 1165s # { 1165s # -1, 1165s # (gchar *) "org.project.SignalingIface", 1165s # NULL, 1165s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1165s # NULL, 1165s # NULL 1165s # }, 1165s # "org-project-signaling-iface", 1165s # }; 1165s # 1165s # 1165s # /** 1165s # * org_project_signaling_iface_interface_info: 1165s # * 1165s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1165s # * 1165s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1165s # */ 1165s # GDBusInterfaceInfo * 1165s # org_project_signaling_iface_interface_info (void) 1165s # { 1165s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_override_properties: 1165s # * @klass: The class structure for a #GObject derived class. 1165s # * @property_id_begin: The property id to assign to the first overridden property. 1165s # * 1165s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1165s # * The properties are overridden in the order they are defined. 1165s # * 1165s # * Returns: The last property id. 1165s # */ 1165s # guint 1165s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1165s # { 1165s # return property_id_begin - 1; 1165s # } 1165s # 1165s # 1165s # inline static void 1165s # org_project_signaling_iface_signal_marshal_simple_signal ( 1165s # GClosure *closure, 1165s # GValue *return_value, 1165s # unsigned int n_param_values, 1165s # const GValue *param_values, 1165s # void *invocation_hint, 1165s # void *marshal_data) 1165s # { 1165s # g_cclosure_marshal_VOID__VOID (closure, 1165s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1165s # } 1165s # 1165s # inline static void 1165s # org_project_signaling_iface_signal_marshal_single_arg_signal_b ( 1165s # GClosure *closure, 1165s # GValue *return_value, 1165s # unsigned int n_param_values, 1165s # const GValue *param_values, 1165s # void *invocation_hint, 1165s # void *marshal_data) 1165s # { 1165s # g_cclosure_marshal_VOID__BOOLEAN (closure, 1165s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1165s # } 1165s # 1165s # 1165s # /** 1165s # * OrgProjectSignalingIface: 1165s # * 1165s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1165s # */ 1165s # 1165s # /** 1165s # * OrgProjectSignalingIfaceIface: 1165s # * @parent_iface: The parent interface. 1165s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1165s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal. 1165s # * 1165s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1165s # */ 1165s # 1165s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1165s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1165s # 1165s # static void 1165s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1165s # { 1165s # /* GObject signals for received D-Bus signals: */ 1165s # /** 1165s # * OrgProjectSignalingIface::simple-signal: 1165s # * @object: A #OrgProjectSignalingIface. 1165s # * 1165s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1165s # * 1165s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1165s # */ 1165s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1165s # g_signal_new ("simple-signal", 1165s # G_TYPE_FROM_INTERFACE (iface), 1165s # G_SIGNAL_RUN_LAST, 1165s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1165s # NULL, 1165s # NULL, 1165s # org_project_signaling_iface_signal_marshal_simple_signal, 1165s # G_TYPE_NONE, 1165s # 0); 1165s # 1165s # /** 1165s # * OrgProjectSignalingIface::single-arg-signal-b: 1165s # * @object: A #OrgProjectSignalingIface. 1165s # * @arg_arg_b: Argument. 1165s # * 1165s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received. 1165s # * 1165s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1165s # */ 1165s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] = 1165s # g_signal_new ("single-arg-signal-b", 1165s # G_TYPE_FROM_INTERFACE (iface), 1165s # G_SIGNAL_RUN_LAST, 1165s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b), 1165s # NULL, 1165s # NULL, 1165s # org_project_signaling_iface_signal_marshal_single_arg_signal_b, 1165s # G_TYPE_NONE, 1165s # 1, G_TYPE_BOOLEAN); 1165s # 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_emit_simple_signal: 1165s # * @object: A #OrgProjectSignalingIface. 1165s # * 1165s # * Emits the "SimpleSignal" D-Bus signal. 1165s # */ 1165s # void 1165s # org_project_signaling_iface_emit_simple_signal ( 1165s # OrgProjectSignalingIface *object) 1165s # { 1165s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_emit_single_arg_signal_b: 1165s # * @object: A #OrgProjectSignalingIface. 1165s # * @arg_arg_b: Argument to pass with the signal. 1165s # * 1165s # * Emits the "SingleArgSignalB" D-Bus signal. 1165s # */ 1165s # void 1165s # org_project_signaling_iface_emit_single_arg_signal_b ( 1165s # OrgProjectSignalingIface *object, 1165s # gboolean arg_arg_b) 1165s # { 1165s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_arg_b); 1165s # } 1165s # 1165s # /* ------------------------------------------------------------------------ */ 1165s # 1165s # /** 1165s # * OrgProjectSignalingIfaceProxy: 1165s # * 1165s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1165s # */ 1165s # 1165s # /** 1165s # * OrgProjectSignalingIfaceProxyClass: 1165s # * @parent_class: The parent class. 1165s # * 1165s # * Class structure for #OrgProjectSignalingIfaceProxy. 1165s # */ 1165s # 1165s # struct _OrgProjectSignalingIfaceProxyPrivate 1165s # { 1165s # GData *qdata; 1165s # }; 1165s # 1165s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1165s # 1165s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1165s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1165s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1165s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1165s # 1165s # #else 1165s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1165s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1165s # 1165s # #endif 1165s # static void 1165s # org_project_signaling_iface_proxy_finalize (GObject *object) 1165s # { 1165s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1165s # g_datalist_clear (&proxy->priv->qdata); 1165s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1165s # guint prop_id G_GNUC_UNUSED, 1165s # GValue *value G_GNUC_UNUSED, 1165s # GParamSpec *pspec G_GNUC_UNUSED) 1165s # { 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1165s # guint prop_id G_GNUC_UNUSED, 1165s # const GValue *value G_GNUC_UNUSED, 1165s # GParamSpec *pspec G_GNUC_UNUSED) 1165s # { 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1165s # const gchar *sender_name G_GNUC_UNUSED, 1165s # const gchar *signal_name, 1165s # GVariant *parameters) 1165s # { 1165s # _ExtendedGDBusSignalInfo *info; 1165s # GVariantIter iter; 1165s # GVariant *child; 1165s # GValue *paramv; 1165s # gsize num_params; 1165s # gsize n; 1165s # guint signal_id; 1165s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1165s # if (info == NULL) 1165s # return; 1165s # num_params = g_variant_n_children (parameters); 1165s # paramv = g_new0 (GValue, num_params + 1); 1165s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1165s # g_value_set_object (¶mv[0], proxy); 1165s # g_variant_iter_init (&iter, parameters); 1165s # n = 1; 1165s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1165s # { 1165s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1165s # if (arg_info->use_gvariant) 1165s # { 1165s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1165s # g_value_set_variant (¶mv[n], child); 1165s # n++; 1165s # } 1165s # else 1165s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1165s # g_variant_unref (child); 1165s # } 1165s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1165s # g_signal_emitv (paramv, signal_id, 0, NULL); 1165s # for (n = 0; n < num_params + 1; n++) 1165s # g_value_unset (¶mv[n]); 1165s # g_free (paramv); 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1165s # GVariant *changed_properties, 1165s # const gchar *const *invalidated_properties) 1165s # { 1165s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1165s # guint n; 1165s # const gchar *key; 1165s # GVariantIter *iter; 1165s # _ExtendedGDBusPropertyInfo *info; 1165s # g_variant_get (changed_properties, "a{sv}", &iter); 1165s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1165s # { 1165s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1165s # g_datalist_remove_data (&proxy->priv->qdata, key); 1165s # if (info != NULL) 1165s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1165s # } 1165s # g_variant_iter_free (iter); 1165s # for (n = 0; invalidated_properties[n] != NULL; n++) 1165s # { 1165s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1165s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1165s # if (info != NULL) 1165s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1165s # } 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1165s # { 1165s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1165s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1165s # #else 1165s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1165s # #endif 1165s # 1165s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1165s # { 1165s # GObjectClass *gobject_class; 1165s # GDBusProxyClass *proxy_class; 1165s # 1165s # gobject_class = G_OBJECT_CLASS (klass); 1165s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1165s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1165s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1165s # 1165s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1165s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1165s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1165s # 1165s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1165s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1165s # #endif 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1165s # { 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_proxy_new: 1165s # * @connection: A #GDBusConnection. 1165s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1165s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1165s # * @object_path: An object path. 1165s # * @cancellable: (nullable): A #GCancellable or %NULL. 1165s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1165s # * @user_data: User data to pass to @callback. 1165s # * 1165s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1165s # * 1165s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1165s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1165s # * 1165s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1165s # */ 1165s # void 1165s # org_project_signaling_iface_proxy_new ( 1165s # GDBusConnection *connection, 1165s # GDBusProxyFlags flags, 1165s # const gchar *name, 1165s # const gchar *object_path, 1165s # GCancellable *cancellable, 1165s # GAsyncReadyCallback callback, 1165s # gpointer user_data) 1165s # { 1165s # 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); 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_proxy_new_finish: 1165s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1165s # * @error: Return location for error or %NULL 1165s # * 1165s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1165s # * 1165s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1165s # */ 1165s # OrgProjectSignalingIface * 1165s # org_project_signaling_iface_proxy_new_finish ( 1165s # GAsyncResult *res, 1165s # GError **error) 1165s # { 1165s # GObject *ret; 1165s # GObject *source_object; 1165s # source_object = g_async_result_get_source_object (res); 1165s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1165s # g_object_unref (source_object); 1165s # if (ret != NULL) 1165s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1165s # else 1165s # return NULL; 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_proxy_new_sync: 1165s # * @connection: A #GDBusConnection. 1165s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1165s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1165s # * @object_path: An object path. 1165s # * @cancellable: (nullable): A #GCancellable or %NULL. 1165s # * @error: Return location for error or %NULL 1165s # * 1165s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1165s # * 1165s # * The calling thread is blocked until a reply is received. 1165s # * 1165s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1165s # * 1165s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1165s # */ 1165s # OrgProjectSignalingIface * 1165s # org_project_signaling_iface_proxy_new_sync ( 1165s # GDBusConnection *connection, 1165s # GDBusProxyFlags flags, 1165s # const gchar *name, 1165s # const gchar *object_path, 1165s # GCancellable *cancellable, 1165s # GError **error) 1165s # { 1165s # GInitable *ret; 1165s # 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); 1165s # if (ret != NULL) 1165s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1165s # else 1165s # return NULL; 1165s # } 1165s # 1165s # 1165s # /** 1165s # * org_project_signaling_iface_proxy_new_for_bus: 1165s # * @bus_type: A #GBusType. 1165s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1165s # * @name: A bus name (well-known or unique). 1165s # * @object_path: An object path. 1165s # * @cancellable: (nullable): A #GCancellable or %NULL. 1165s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1165s # * @user_data: User data to pass to @callback. 1165s # * 1165s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1165s # * 1165s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1165s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1165s # * 1165s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1165s # */ 1165s # void 1165s # org_project_signaling_iface_proxy_new_for_bus ( 1165s # GBusType bus_type, 1165s # GDBusProxyFlags flags, 1165s # const gchar *name, 1165s # const gchar *object_path, 1165s # GCancellable *cancellable, 1165s # GAsyncReadyCallback callback, 1165s # gpointer user_data) 1165s # { 1165s # 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); 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1165s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1165s # * @error: Return location for error or %NULL 1165s # * 1165s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1165s # * 1165s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1165s # */ 1165s # OrgProjectSignalingIface * 1165s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1165s # GAsyncResult *res, 1165s # GError **error) 1165s # { 1165s # GObject *ret; 1165s # GObject *source_object; 1165s # source_object = g_async_result_get_source_object (res); 1165s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1165s # g_object_unref (source_object); 1165s # if (ret != NULL) 1165s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1165s # else 1165s # return NULL; 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1165s # * @bus_type: A #GBusType. 1165s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1165s # * @name: A bus name (well-known or unique). 1165s # * @object_path: An object path. 1165s # * @cancellable: (nullable): A #GCancellable or %NULL. 1165s # * @error: Return location for error or %NULL 1165s # * 1165s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1165s # * 1165s # * The calling thread is blocked until a reply is received. 1165s # * 1165s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1165s # * 1165s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1165s # */ 1165s # OrgProjectSignalingIface * 1165s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1165s # GBusType bus_type, 1165s # GDBusProxyFlags flags, 1165s # const gchar *name, 1165s # const gchar *object_path, 1165s # GCancellable *cancellable, 1165s # GError **error) 1165s # { 1165s # GInitable *ret; 1165s # 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); 1165s # if (ret != NULL) 1165s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1165s # else 1165s # return NULL; 1165s # } 1165s # 1165s # 1165s # /* ------------------------------------------------------------------------ */ 1165s # 1165s # /** 1165s # * OrgProjectSignalingIfaceSkeleton: 1165s # * 1165s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1165s # */ 1165s # 1165s # /** 1165s # * OrgProjectSignalingIfaceSkeletonClass: 1165s # * @parent_class: The parent class. 1165s # * 1165s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1165s # */ 1165s # 1165s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1165s # { 1165s # GValue *properties; 1165s # GList *changed_properties; 1165s # GSource *changed_properties_idle_source; 1165s # GMainContext *context; 1165s # GMutex lock; 1165s # }; 1165s # 1165s # static void 1165s # _org_project_signaling_iface_skeleton_handle_method_call ( 1165s # GDBusConnection *connection G_GNUC_UNUSED, 1165s # const gchar *sender G_GNUC_UNUSED, 1165s # const gchar *object_path G_GNUC_UNUSED, 1165s # const gchar *interface_name, 1165s # const gchar *method_name, 1165s # GVariant *parameters, 1165s # GDBusMethodInvocation *invocation, 1165s # gpointer user_data) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1165s # _ExtendedGDBusMethodInfo *info; 1165s # GVariantIter iter; 1165s # GVariant *child; 1165s # GValue *paramv; 1165s # gsize num_params; 1165s # guint num_extra; 1165s # gsize n; 1165s # guint signal_id; 1165s # GValue return_value = G_VALUE_INIT; 1165s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1165s # g_assert (info != NULL); 1165s # num_params = g_variant_n_children (parameters); 1165s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1165s # n = 0; 1165s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1165s # g_value_set_object (¶mv[n++], skeleton); 1165s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1165s # g_value_set_object (¶mv[n++], invocation); 1165s # if (info->pass_fdlist) 1165s # { 1165s # #ifdef G_OS_UNIX 1165s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1165s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1165s # #else 1165s # g_assert_not_reached (); 1165s # #endif 1165s # } 1165s # g_variant_iter_init (&iter, parameters); 1165s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1165s # { 1165s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1165s # if (arg_info->use_gvariant) 1165s # { 1165s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1165s # g_value_set_variant (¶mv[n], child); 1165s # n++; 1165s # } 1165s # else 1165s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1165s # g_variant_unref (child); 1165s # } 1165s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1165s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1165s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1165s # if (!g_value_get_boolean (&return_value)) 1165s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1165s # g_value_unset (&return_value); 1165s # for (n = 0; n < num_params + num_extra; n++) 1165s # g_value_unset (¶mv[n]); 1165s # g_free (paramv); 1165s # } 1165s # 1165s # static GVariant * 1165s # _org_project_signaling_iface_skeleton_handle_get_property ( 1165s # GDBusConnection *connection G_GNUC_UNUSED, 1165s # const gchar *sender G_GNUC_UNUSED, 1165s # const gchar *object_path G_GNUC_UNUSED, 1165s # const gchar *interface_name G_GNUC_UNUSED, 1165s # const gchar *property_name, 1165s # GError **error, 1165s # gpointer user_data) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1165s # GValue value = G_VALUE_INIT; 1165s # GParamSpec *pspec; 1165s # _ExtendedGDBusPropertyInfo *info; 1165s # GVariant *ret; 1165s # ret = NULL; 1165s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1165s # g_assert (info != NULL); 1165s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1165s # if (pspec == NULL) 1165s # { 1165s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1165s # } 1165s # else 1165s # { 1165s # g_value_init (&value, pspec->value_type); 1165s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1165s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1165s # g_value_unset (&value); 1165s # } 1165s # return ret; 1165s # } 1165s # 1165s # static gboolean 1165s # _org_project_signaling_iface_skeleton_handle_set_property ( 1165s # GDBusConnection *connection G_GNUC_UNUSED, 1165s # const gchar *sender G_GNUC_UNUSED, 1165s # const gchar *object_path G_GNUC_UNUSED, 1165s # const gchar *interface_name G_GNUC_UNUSED, 1165s # const gchar *property_name, 1165s # GVariant *variant, 1165s # GError **error, 1165s # gpointer user_data) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1165s # GValue value = G_VALUE_INIT; 1165s # GParamSpec *pspec; 1165s # _ExtendedGDBusPropertyInfo *info; 1165s # gboolean ret; 1165s # ret = FALSE; 1165s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1165s # g_assert (info != NULL); 1165s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1165s # if (pspec == NULL) 1165s # { 1165s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1165s # } 1165s # else 1165s # { 1165s # if (info->use_gvariant) 1165s # g_value_set_variant (&value, variant); 1165s # else 1165s # g_dbus_gvariant_to_gvalue (variant, &value); 1165s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1165s # g_value_unset (&value); 1165s # ret = TRUE; 1165s # } 1165s # return ret; 1165s # } 1165s # 1165s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1165s # { 1165s # _org_project_signaling_iface_skeleton_handle_method_call, 1165s # _org_project_signaling_iface_skeleton_handle_get_property, 1165s # _org_project_signaling_iface_skeleton_handle_set_property, 1165s # {NULL} 1165s # }; 1165s # 1165s # static GDBusInterfaceInfo * 1165s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1165s # { 1165s # return org_project_signaling_iface_interface_info (); 1165s # } 1165s # 1165s # static GDBusInterfaceVTable * 1165s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1165s # { 1165s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1165s # } 1165s # 1165s # static GVariant * 1165s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1165s # 1165s # GVariantBuilder builder; 1165s # guint n; 1165s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1165s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1165s # goto out; 1165s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1165s # { 1165s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1165s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1165s # { 1165s # GVariant *value; 1165s # 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); 1165s # if (value != NULL) 1165s # { 1165s # g_variant_take_ref (value); 1165s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1165s # g_variant_unref (value); 1165s # } 1165s # } 1165s # } 1165s # out: 1165s # return g_variant_builder_end (&builder); 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1165s # { 1165s # } 1165s # 1165s # static void 1165s # _org_project_signaling_iface_on_signal_simple_signal ( 1165s # OrgProjectSignalingIface *object) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1165s # 1165s # GList *connections, *l; 1165s # GVariant *signal_variant; 1165s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1165s # 1165s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1165s # for (l = connections; l != NULL; l = l->next) 1165s # { 1165s # GDBusConnection *connection = l->data; 1165s # g_dbus_connection_emit_signal (connection, 1165s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1165s # signal_variant, NULL); 1165s # } 1165s # g_variant_unref (signal_variant); 1165s # g_list_free_full (connections, g_object_unref); 1165s # } 1165s # 1165s # static void 1165s # _org_project_signaling_iface_on_signal_single_arg_signal_b ( 1165s # OrgProjectSignalingIface *object, 1165s # gboolean arg_arg_b) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1165s # 1165s # GList *connections, *l; 1165s # GVariant *signal_variant; 1165s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1165s # 1165s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)", 1165s # arg_arg_b)); 1165s # for (l = connections; l != NULL; l = l->next) 1165s # { 1165s # GDBusConnection *connection = l->data; 1165s # g_dbus_connection_emit_signal (connection, 1165s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB", 1165s # signal_variant, NULL); 1165s # } 1165s # g_variant_unref (signal_variant); 1165s # g_list_free_full (connections, g_object_unref); 1165s # } 1165s # 1165s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1165s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1165s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1165s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1165s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1165s # 1165s # #else 1165s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1165s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1165s # 1165s # #endif 1165s # static void 1165s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1165s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1165s # if (skeleton->priv->changed_properties_idle_source != NULL) 1165s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1165s # g_main_context_unref (skeleton->priv->context); 1165s # g_mutex_clear (&skeleton->priv->lock); 1165s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1165s # { 1165s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1165s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1165s # #else 1165s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1165s # #endif 1165s # 1165s # g_mutex_init (&skeleton->priv->lock); 1165s # skeleton->priv->context = g_main_context_ref_thread_default (); 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1165s # { 1165s # GObjectClass *gobject_class; 1165s # GDBusInterfaceSkeletonClass *skeleton_class; 1165s # 1165s # gobject_class = G_OBJECT_CLASS (klass); 1165s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1165s # 1165s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1165s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1165s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1165s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1165s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1165s # 1165s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1165s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1165s # #endif 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1165s # { 1165s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1165s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b; 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_skeleton_new: 1165s # * 1165s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1165s # * 1165s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1165s # */ 1165s # OrgProjectSignalingIface * 1165s # org_project_signaling_iface_skeleton_new (void) 1165s # { 1165s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1165s # } 1165s # /tmp/tmplam8bnnq/tmpvsi4clgw.xml: 1165s # 1165s # 1165s # 1165s # 1165s # 1165s # 1165s # 1165s # 1165s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmplam8bnnq/tmpvsi4clgw.xml', '--output', '-', '--body'] 1165s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1165s # Output: /* 1165s # * This file is generated by gdbus-codegen, do not modify it. 1165s # * 1165s # * The license of this code is the same as for the D-Bus interface description 1165s # * it was derived from. Note that it links to GLib, so must comply with the 1165s # * LGPL linking clauses. 1165s # */ 1165s # 1165s # #ifdef HAVE_CONFIG_H 1165s # # include "config.h" 1165s # #endif 1165s # 1165s # #include 1165s # #ifdef G_OS_UNIX 1165s # # include 1165s # #endif 1165s # 1165s # #ifdef G_ENABLE_DEBUG 1165s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1165s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1165s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1165s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1165s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1165s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1165s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1165s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1165s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1165s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1165s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1165s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1165s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1165s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1165s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1165s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1165s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1165s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1165s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1165s # #else /* !G_ENABLE_DEBUG */ 1165s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1165s # * Do not access GValues directly in your code. Instead, use the 1165s # * g_value_get_*() functions 1165s # */ 1165s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1165s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1165s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1165s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1165s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1165s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1165s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1165s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1165s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1165s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1165s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1165s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1165s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1165s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1165s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1165s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1165s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1165s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1165s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1165s # #endif /* !G_ENABLE_DEBUG */ 1165s # 1165s # typedef struct 1165s # { 1165s # GDBusArgInfo parent_struct; 1165s # gboolean use_gvariant; 1165s # } _ExtendedGDBusArgInfo; 1165s # 1165s # typedef struct 1165s # { 1165s # GDBusMethodInfo parent_struct; 1165s # const gchar *signal_name; 1165s # gboolean pass_fdlist; 1165s # } _ExtendedGDBusMethodInfo; 1165s # 1165s # typedef struct 1165s # { 1165s # GDBusSignalInfo parent_struct; 1165s # const gchar *signal_name; 1165s # } _ExtendedGDBusSignalInfo; 1165s # 1165s # typedef struct 1165s # { 1165s # GDBusPropertyInfo parent_struct; 1165s # const gchar *hyphen_name; 1165s # guint use_gvariant : 1; 1165s # guint emits_changed_signal : 1; 1165s # } _ExtendedGDBusPropertyInfo; 1165s # 1165s # typedef struct 1165s # { 1165s # GDBusInterfaceInfo parent_struct; 1165s # const gchar *hyphen_name; 1165s # } _ExtendedGDBusInterfaceInfo; 1165s # 1165s # typedef struct 1165s # { 1165s # const _ExtendedGDBusPropertyInfo *info; 1165s # guint prop_id; 1165s # GValue orig_value; /* the value before the change */ 1165s # } ChangedProperty; 1165s # 1165s # static void 1165s # _changed_property_free (ChangedProperty *data) 1165s # { 1165s # g_value_unset (&data->orig_value); 1165s # g_free (data); 1165s # } 1165s # 1165s # static gboolean 1165s # _g_strv_equal0 (gchar **a, gchar **b) 1165s # { 1165s # gboolean ret = FALSE; 1165s # guint n; 1165s # if (a == NULL && b == NULL) 1165s # { 1165s # ret = TRUE; 1165s # goto out; 1165s # } 1165s # if (a == NULL || b == NULL) 1165s # goto out; 1165s # if (g_strv_length (a) != g_strv_length (b)) 1165s # goto out; 1165s # for (n = 0; a[n] != NULL; n++) 1165s # if (g_strcmp0 (a[n], b[n]) != 0) 1165s # goto out; 1165s # ret = TRUE; 1165s # out: 1165s # return ret; 1165s # } 1165s # 1165s # static gboolean 1165s # _g_variant_equal0 (GVariant *a, GVariant *b) 1165s # { 1165s # gboolean ret = FALSE; 1165s # if (a == NULL && b == NULL) 1165s # { 1165s # ret = TRUE; 1165s # goto out; 1165s # } 1165s # if (a == NULL || b == NULL) 1165s # goto out; 1165s # ret = g_variant_equal (a, b); 1165s # out: 1165s # return ret; 1165s # } 1165s # 1165s # G_GNUC_UNUSED static gboolean 1165s # _g_value_equal (const GValue *a, const GValue *b) 1165s # { 1165s # gboolean ret = FALSE; 1165s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1165s # switch (G_VALUE_TYPE (a)) 1165s # { 1165s # case G_TYPE_BOOLEAN: 1165s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1165s # break; 1165s # case G_TYPE_UCHAR: 1165s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1165s # break; 1165s # case G_TYPE_INT: 1165s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1165s # break; 1165s # case G_TYPE_UINT: 1165s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1165s # break; 1165s # case G_TYPE_INT64: 1165s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1165s # break; 1165s # case G_TYPE_UINT64: 1165s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1165s # break; 1165s # case G_TYPE_DOUBLE: 1165s # { 1165s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1165s # gdouble da = g_value_get_double (a); 1165s # gdouble db = g_value_get_double (b); 1165s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1165s # } 1165s # break; 1165s # case G_TYPE_STRING: 1165s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1165s # break; 1165s # case G_TYPE_VARIANT: 1165s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1165s # break; 1165s # default: 1165s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1165s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1165s # else 1165s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1165s # break; 1165s # } 1165s # return ret; 1165s # } 1165s # 1165s # /* ------------------------------------------------------------------------ 1165s # * Code for interface org.project.SignalingIface 1165s # * ------------------------------------------------------------------------ 1165s # */ 1165s # 1165s # /** 1165s # * SECTION:OrgProjectSignalingIface 1165s # * @title: OrgProjectSignalingIface 1165s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1165s # * 1165s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1165s # */ 1165s # 1165s # enum 1165s # { 1165s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1165s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y, 1165s # }; 1165s # 1165s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1165s # 1165s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1165s # 1165s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1165s # { 1165s # { 1165s # -1, 1165s # (gchar *) "SimpleSignal", 1165s # NULL, 1165s # NULL 1165s # }, 1165s # "simple-signal" 1165s # }; 1165s # 1165s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y = 1165s # { 1165s # { 1165s # -1, 1165s # (gchar *) "arg_y", 1165s # (gchar *) "y", 1165s # NULL 1165s # }, 1165s # FALSE 1165s # }; 1165s # 1165s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] = 1165s # { 1165s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y.parent_struct, 1165s # NULL 1165s # }; 1165s # 1165s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y = 1165s # { 1165s # { 1165s # -1, 1165s # (gchar *) "SingleArgSignalY", 1165s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers, 1165s # NULL 1165s # }, 1165s # "single-arg-signal-y" 1165s # }; 1165s # 1165s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1165s # { 1165s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1165s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct, 1165s # NULL 1165s # }; 1165s # 1165s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1165s # { 1165s # { 1165s # -1, 1165s # (gchar *) "org.project.SignalingIface", 1165s # NULL, 1165s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1165s # NULL, 1165s # NULL 1165s # }, 1165s # "org-project-signaling-iface", 1165s # }; 1165s # 1165s # 1165s # /** 1165s # * org_project_signaling_iface_interface_info: 1165s # * 1165s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1165s # * 1165s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1165s # */ 1165s # GDBusInterfaceInfo * 1165s # org_project_signaling_iface_interface_info (void) 1165s # { 1165s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_override_properties: 1165s # * @klass: The class structure for a #GObject derived class. 1165s # * @property_id_begin: The property id to assign to the first overridden property. 1165s # * 1165s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1165s # * The properties are overridden in the order they are defined. 1165s # * 1165s # * Returns: The last property id. 1165s # */ 1165s # guint 1165s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1165s # { 1165s # return property_id_begin - 1; 1165s # } 1165s # 1165s # 1165s # inline static void 1165s # org_project_signaling_iface_signal_marshal_simple_signal ( 1165s # GClosure *closure, 1165s # GValue *return_value, 1165s # unsigned int n_param_values, 1165s # const GValue *param_values, 1165s # void *invocation_hint, 1165s # void *marshal_data) 1165s # { 1165s # g_cclosure_marshal_VOID__VOID (closure, 1165s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1165s # } 1165s # 1165s # inline static void 1165s # org_project_signaling_iface_signal_marshal_single_arg_signal_y ( 1165s # GClosure *closure, 1165s # GValue *return_value, 1165s # unsigned int n_param_values, 1165s # const GValue *param_values, 1165s # void *invocation_hint, 1165s # void *marshal_data) 1165s # { 1165s # g_cclosure_marshal_VOID__UCHAR (closure, 1165s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1165s # } 1165s # 1165s # 1165s # /** 1165s # * OrgProjectSignalingIface: 1165s # * 1165s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1165s # */ 1165s # 1165s # /** 1165s # * OrgProjectSignalingIfaceIface: 1165s # * @parent_iface: The parent interface. 1165s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1165s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal. 1165s # * 1165s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1165s # */ 1165s # 1165s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1165s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1165s # 1165s # static void 1165s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1165s # { 1165s # /* GObject signals for received D-Bus signals: */ 1165s # /** 1165s # * OrgProjectSignalingIface::simple-signal: 1165s # * @object: A #OrgProjectSignalingIface. 1165s # * 1165s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1165s # * 1165s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1165s # */ 1165s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1165s # g_signal_new ("simple-signal", 1165s # G_TYPE_FROM_INTERFACE (iface), 1165s # G_SIGNAL_RUN_LAST, 1165s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1165s # NULL, 1165s # NULL, 1165s # org_project_signaling_iface_signal_marshal_simple_signal, 1165s # G_TYPE_NONE, 1165s # 0); 1165s # 1165s # /** 1165s # * OrgProjectSignalingIface::single-arg-signal-y: 1165s # * @object: A #OrgProjectSignalingIface. 1165s # * @arg_arg_y: Argument. 1165s # * 1165s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received. 1165s # * 1165s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1165s # */ 1165s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] = 1165s # g_signal_new ("single-arg-signal-y", 1165s # G_TYPE_FROM_INTERFACE (iface), 1165s # G_SIGNAL_RUN_LAST, 1165s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y), 1165s # NULL, 1165s # NULL, 1165s # org_project_signaling_iface_signal_marshal_single_arg_signal_y, 1165s # G_TYPE_NONE, 1165s # 1, G_TYPE_UCHAR); 1165s # 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_emit_simple_signal: 1165s # * @object: A #OrgProjectSignalingIface. 1165s # * 1165s # * Emits the "SimpleSignal" D-Bus signal. 1165s # */ 1165s # void 1165s # org_project_signaling_iface_emit_simple_signal ( 1165s # OrgProjectSignalingIface *object) 1165s # { 1165s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_emit_single_arg_signal_y: 1165s # * @object: A #OrgProjectSignalingIface. 1165s # * @arg_arg_y: Argument to pass with the signal. 1165s # * 1165s # * Emits the "SingleArgSignalY" D-Bus signal. 1165s # */ 1165s # void 1165s # org_project_signaling_iface_emit_single_arg_signal_y ( 1165s # OrgProjectSignalingIface *object, 1165s # guchar arg_arg_y) 1165s # { 1165s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_arg_y); 1165s # } 1165s # 1165s # /* ------------------------------------------------------------------------ */ 1165s # 1165s # /** 1165s # * OrgProjectSignalingIfaceProxy: 1165s # * 1165s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1165s # */ 1165s # 1165s # /** 1165s # * OrgProjectSignalingIfaceProxyClass: 1165s # * @parent_class: The parent class. 1165s # * 1165s # * Class structure for #OrgProjectSignalingIfaceProxy. 1165s # */ 1165s # 1165s # struct _OrgProjectSignalingIfaceProxyPrivate 1165s # { 1165s # GData *qdata; 1165s # }; 1165s # 1165s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1165s # 1165s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1165s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1165s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1165s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1165s # 1165s # #else 1165s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1165s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1165s # 1165s # #endif 1165s # static void 1165s # org_project_signaling_iface_proxy_finalize (GObject *object) 1165s # { 1165s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1165s # g_datalist_clear (&proxy->priv->qdata); 1165s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1165s # guint prop_id G_GNUC_UNUSED, 1165s # GValue *value G_GNUC_UNUSED, 1165s # GParamSpec *pspec G_GNUC_UNUSED) 1165s # { 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1165s # guint prop_id G_GNUC_UNUSED, 1165s # const GValue *value G_GNUC_UNUSED, 1165s # GParamSpec *pspec G_GNUC_UNUSED) 1165s # { 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1165s # const gchar *sender_name G_GNUC_UNUSED, 1165s # const gchar *signal_name, 1165s # GVariant *parameters) 1165s # { 1165s # _ExtendedGDBusSignalInfo *info; 1165s # GVariantIter iter; 1165s # GVariant *child; 1165s # GValue *paramv; 1165s # gsize num_params; 1165s # gsize n; 1165s # guint signal_id; 1165s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1165s # if (info == NULL) 1165s # return; 1165s # num_params = g_variant_n_children (parameters); 1165s # paramv = g_new0 (GValue, num_params + 1); 1165s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1165s # g_value_set_object (¶mv[0], proxy); 1165s # g_variant_iter_init (&iter, parameters); 1165s # n = 1; 1165s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1165s # { 1165s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1165s # if (arg_info->use_gvariant) 1165s # { 1165s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1165s # g_value_set_variant (¶mv[n], child); 1165s # n++; 1165s # } 1165s # else 1165s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1165s # g_variant_unref (child); 1165s # } 1165s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1165s # g_signal_emitv (paramv, signal_id, 0, NULL); 1165s # for (n = 0; n < num_params + 1; n++) 1165s # g_value_unset (¶mv[n]); 1165s # g_free (paramv); 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1165s # GVariant *changed_properties, 1165s # const gchar *const *invalidated_properties) 1165s # { 1165s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1165s # guint n; 1165s # const gchar *key; 1165s # GVariantIter *iter; 1165s # _ExtendedGDBusPropertyInfo *info; 1165s # g_variant_get (changed_properties, "a{sv}", &iter); 1165s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1165s # { 1165s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1165s # g_datalist_remove_data (&proxy->priv->qdata, key); 1165s # if (info != NULL) 1165s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1165s # } 1165s # g_variant_iter_free (iter); 1165s # for (n = 0; invalidated_properties[n] != NULL; n++) 1165s # { 1165s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1165s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1165s # if (info != NULL) 1165s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1165s # } 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1165s # { 1165s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1165s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1165s # #else 1165s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1165s # #endif 1165s # 1165s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1165s # { 1165s # GObjectClass *gobject_class; 1165s # GDBusProxyClass *proxy_class; 1165s # 1165s # gobject_class = G_OBJECT_CLASS (klass); 1165s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1165s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1165s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1165s # 1165s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1165s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1165s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1165s # 1165s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1165s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1165s # #endif 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1165s # { 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_proxy_new: 1165s # * @connection: A #GDBusConnection. 1165s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1165s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1165s # * @object_path: An object path. 1165s # * @cancellable: (nullable): A #GCancellable or %NULL. 1165s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1165s # * @user_data: User data to pass to @callback. 1165s # * 1165s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1165s # * 1165s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1165s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1165s # * 1165s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1165s # */ 1165s # void 1165s # org_project_signaling_iface_proxy_new ( 1165s # GDBusConnection *connection, 1165s # GDBusProxyFlags flags, 1165s # const gchar *name, 1165s # const gchar *object_path, 1165s # GCancellable *cancellable, 1165s # GAsyncReadyCallback callback, 1165s # gpointer user_data) 1165s # { 1165s # 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); 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_proxy_new_finish: 1165s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1165s # * @error: Return location for error or %NULL 1165s # * 1165s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1165s # * 1165s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1165s # */ 1165s # OrgProjectSignalingIface * 1165s # org_project_signaling_iface_proxy_new_finish ( 1165s # GAsyncResult *res, 1165s # GError **error) 1165s # { 1165s # GObject *ret; 1165s # GObject *source_object; 1165s # source_object = g_async_result_get_source_object (res); 1165s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1165s # g_object_unref (source_object); 1165s # if (ret != NULL) 1165s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1165s # else 1165s # return NULL; 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_proxy_new_sync: 1165s # * @connection: A #GDBusConnection. 1165s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1165s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1165s # * @object_path: An object path. 1165s # * @cancellable: (nullable): A #GCancellable or %NULL. 1165s # * @error: Return location for error or %NULL 1165s # * 1165s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1165s # * 1165s # * The calling thread is blocked until a reply is received. 1165s # * 1165s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1165s # * 1165s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1165s # */ 1165s # OrgProjectSignalingIface * 1165s # org_project_signaling_iface_proxy_new_sync ( 1165s # GDBusConnection *connection, 1165s # GDBusProxyFlags flags, 1165s # const gchar *name, 1165s # const gchar *object_path, 1165s # GCancellable *cancellable, 1165s # GError **error) 1165s # { 1165s # GInitable *ret; 1165s # 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); 1165s # if (ret != NULL) 1165s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1165s # else 1165s # return NULL; 1165s # } 1165s # 1165s # 1165s # /** 1165s # * org_project_signaling_iface_proxy_new_for_bus: 1165s # * @bus_type: A #GBusType. 1165s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1165s # * @name: A bus name (well-known or unique). 1165s # * @object_path: An object path. 1165s # * @cancellable: (nullable): A #GCancellable or %NULL. 1165s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1165s # * @user_data: User data to pass to @callback. 1165s # * 1165s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1165s # * 1165s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1165s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1165s # * 1165s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1165s # */ 1165s # void 1165s # org_project_signaling_iface_proxy_new_for_bus ( 1165s # GBusType bus_type, 1165s # GDBusProxyFlags flags, 1165s # const gchar *name, 1165s # const gchar *object_path, 1165s # GCancellable *cancellable, 1165s # GAsyncReadyCallback callback, 1165s # gpointer user_data) 1165s # { 1165s # 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); 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1165s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1165s # * @error: Return location for error or %NULL 1165s # * 1165s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1165s # * 1165s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1165s # */ 1165s # OrgProjectSignalingIface * 1165s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1165s # GAsyncResult *res, 1165s # GError **error) 1165s # { 1165s # GObject *ret; 1165s # GObject *source_object; 1165s # source_object = g_async_result_get_source_object (res); 1165s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1165s # g_object_unref (source_object); 1165s # if (ret != NULL) 1165s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1165s # else 1165s # return NULL; 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1165s # * @bus_type: A #GBusType. 1165s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1165s # * @name: A bus name (well-known or unique). 1165s # * @object_path: An object path. 1165s # * @cancellable: (nullable): A #GCancellable or %NULL. 1165s # * @error: Return location for error or %NULL 1165s # * 1165s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1165s # * 1165s # * The calling thread is blocked until a reply is received. 1165s # * 1165s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1165s # * 1165s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1165s # */ 1165s # OrgProjectSignalingIface * 1165s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1165s # GBusType bus_type, 1165s # GDBusProxyFlags flags, 1165s # const gchar *name, 1165s # const gchar *object_path, 1165s # GCancellable *cancellable, 1165s # GError **error) 1165s # { 1165s # GInitable *ret; 1165s # 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); 1165s # if (ret != NULL) 1165s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1165s # else 1165s # return NULL; 1165s # } 1165s # 1165s # 1165s # /* ------------------------------------------------------------------------ */ 1165s # 1165s # /** 1165s # * OrgProjectSignalingIfaceSkeleton: 1165s # * 1165s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1165s # */ 1165s # 1165s # /** 1165s # * OrgProjectSignalingIfaceSkeletonClass: 1165s # * @parent_class: The parent class. 1165s # * 1165s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1165s # */ 1165s # 1165s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1165s # { 1165s # GValue *properties; 1165s # GList *changed_properties; 1165s # GSource *changed_properties_idle_source; 1165s # GMainContext *context; 1165s # GMutex lock; 1165s # }; 1165s # 1165s # static void 1165s # _org_project_signaling_iface_skeleton_handle_method_call ( 1165s # GDBusConnection *connection G_GNUC_UNUSED, 1165s # const gchar *sender G_GNUC_UNUSED, 1165s # const gchar *object_path G_GNUC_UNUSED, 1165s # const gchar *interface_name, 1165s # const gchar *method_name, 1165s # GVariant *parameters, 1165s # GDBusMethodInvocation *invocation, 1165s # gpointer user_data) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1165s # _ExtendedGDBusMethodInfo *info; 1165s # GVariantIter iter; 1165s # GVariant *child; 1165s # GValue *paramv; 1165s # gsize num_params; 1165s # guint num_extra; 1165s # gsize n; 1165s # guint signal_id; 1165s # GValue return_value = G_VALUE_INIT; 1165s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1165s # g_assert (info != NULL); 1165s # num_params = g_variant_n_children (parameters); 1165s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1165s # n = 0; 1165s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1165s # g_value_set_object (¶mv[n++], skeleton); 1165s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1165s # g_value_set_object (¶mv[n++], invocation); 1165s # if (info->pass_fdlist) 1165s # { 1165s # #ifdef G_OS_UNIX 1165s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1165s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1165s # #else 1165s # g_assert_not_reached (); 1165s # #endif 1165s # } 1165s # g_variant_iter_init (&iter, parameters); 1165s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1165s # { 1165s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1165s # if (arg_info->use_gvariant) 1165s # { 1165s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1165s # g_value_set_variant (¶mv[n], child); 1165s # n++; 1165s # } 1165s # else 1165s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1165s # g_variant_unref (child); 1165s # } 1165s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1165s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1165s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1165s # if (!g_value_get_boolean (&return_value)) 1165s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1165s # g_value_unset (&return_value); 1165s # for (n = 0; n < num_params + num_extra; n++) 1165s # g_value_unset (¶mv[n]); 1165s # g_free (paramv); 1165s # } 1165s # 1165s # static GVariant * 1165s # _org_project_signaling_iface_skeleton_handle_get_property ( 1165s # GDBusConnection *connection G_GNUC_UNUSED, 1165s # const gchar *sender G_GNUC_UNUSED, 1165s # const gchar *object_path G_GNUC_UNUSED, 1165s # const gchar *interface_name G_GNUC_UNUSED, 1165s # const gchar *property_name, 1165s # GError **error, 1165s # gpointer user_data) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1165s # GValue value = G_VALUE_INIT; 1165s # GParamSpec *pspec; 1165s # _ExtendedGDBusPropertyInfo *info; 1165s # GVariant *ret; 1165s # ret = NULL; 1165s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1165s # g_assert (info != NULL); 1165s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1165s # if (pspec == NULL) 1165s # { 1165s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1165s # } 1165s # else 1165s # { 1165s # g_value_init (&value, pspec->value_type); 1165s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1165s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1165s # g_value_unset (&value); 1165s # } 1165s # return ret; 1165s # } 1165s # 1165s # static gboolean 1165s # _org_project_signaling_iface_skeleton_handle_set_property ( 1165s # GDBusConnection *connection G_GNUC_UNUSED, 1165s # const gchar *sender G_GNUC_UNUSED, 1165s # const gchar *object_path G_GNUC_UNUSED, 1165s # const gchar *interface_name G_GNUC_UNUSED, 1165s # const gchar *property_name, 1165s # GVariant *variant, 1165s # GError **error, 1165s # gpointer user_data) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1165s # GValue value = G_VALUE_INIT; 1165s # GParamSpec *pspec; 1165s # _ExtendedGDBusPropertyInfo *info; 1165s # gboolean ret; 1165s # ret = FALSE; 1165s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1165s # g_assert (info != NULL); 1165s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1165s # if (pspec == NULL) 1165s # { 1165s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1165s # } 1165s # else 1165s # { 1165s # if (info->use_gvariant) 1165s # g_value_set_variant (&value, variant); 1165s # else 1165s # g_dbus_gvariant_to_gvalue (variant, &value); 1165s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1165s # g_value_unset (&value); 1165s # ret = TRUE; 1165s # } 1165s # return ret; 1165s # } 1165s # 1165s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1165s # { 1165s # _org_project_signaling_iface_skeleton_handle_method_call, 1165s # _org_project_signaling_iface_skeleton_handle_get_property, 1165s # _org_project_signaling_iface_skeleton_handle_set_property, 1165s # {NULL} 1165s # }; 1165s # 1165s # static GDBusInterfaceInfo * 1165s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1165s # { 1165s # return org_project_signaling_iface_interface_info (); 1165s # } 1165s # 1165s # static GDBusInterfaceVTable * 1165s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1165s # { 1165s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1165s # } 1165s # 1165s # static GVariant * 1165s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1165s # 1165s # GVariantBuilder builder; 1165s # guint n; 1165s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1165s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1165s # goto out; 1165s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1165s # { 1165s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1165s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1165s # { 1165s # GVariant *value; 1165s # 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); 1165s # if (value != NULL) 1165s # { 1165s # g_variant_take_ref (value); 1165s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1165s # g_variant_unref (value); 1165s # } 1165s # } 1165s # } 1165s # out: 1165s # return g_variant_builder_end (&builder); 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1165s # { 1165s # } 1165s # 1165s # static void 1165s # _org_project_signaling_iface_on_signal_simple_signal ( 1165s # OrgProjectSignalingIface *object) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1165s # 1165s # GList *connections, *l; 1165s # GVariant *signal_variant; 1165s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1165s # 1165s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1165s # for (l = connections; l != NULL; l = l->next) 1165s # { 1165s # GDBusConnection *connection = l->data; 1165s # g_dbus_connection_emit_signal (connection, 1165s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1165s # signal_variant, NULL); 1165s # } 1165s # g_variant_unref (signal_variant); 1165s # g_list_free_full (connections, g_object_unref); 1165s # } 1165s # 1165s # static void 1165s # _org_project_signaling_iface_on_signal_single_arg_signal_y ( 1165s # OrgProjectSignalingIface *object, 1165s # guchar arg_arg_y) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1165s # 1165s # GList *connections, *l; 1165s # GVariant *signal_variant; 1165s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1165s # 1165s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)", 1165s # arg_arg_y)); 1165s # for (l = connections; l != NULL; l = l->next) 1165s # { 1165s # GDBusConnection *connection = l->data; 1165s # g_dbus_connection_emit_signal (connection, 1165s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY", 1165s # signal_variant, NULL); 1165s # } 1165s # g_variant_unref (signal_variant); 1165s # g_list_free_full (connections, g_object_unref); 1165s # } 1165s # 1165s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1165s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1165s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1165s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1165s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1165s # 1165s # #else 1165s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1165s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1165s # 1165s # #endif 1165s # static void 1165s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1165s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1165s # if (skeleton->priv->changed_properties_idle_source != NULL) 1165s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1165s # g_main_context_unref (skeleton->priv->context); 1165s # g_mutex_clear (&skeleton->priv->lock); 1165s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1165s # { 1165s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1165s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1165s # #else 1165s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1165s # #endif 1165s # 1165s # g_mutex_init (&skeleton->priv->lock); 1165s # skeleton->priv->context = g_main_context_ref_thread_default (); 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1165s # { 1165s # GObjectClass *gobject_class; 1165s # GDBusInterfaceSkeletonClass *skeleton_class; 1165s # 1165s # gobject_class = G_OBJECT_CLASS (klass); 1165s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1165s # 1165s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1165s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1165s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1165s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1165s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1165s # 1165s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1165s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1165s # #endif 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1165s # { 1165s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1165s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y; 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_skeleton_new: 1165s # * 1165s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1165s # * 1165s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1165s # */ 1165s # OrgProjectSignalingIface * 1165s # org_project_signaling_iface_skeleton_new (void) 1165s # { 1165s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1165s # } 1165s # /tmp/tmplam8bnnq/tmpk3grxjz0.xml: 1165s # 1165s # 1165s # 1165s # 1165s # 1165s # 1165s # 1165s # 1165s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmplam8bnnq/tmpk3grxjz0.xml', '--output', '-', '--body'] 1165s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1165s # Output: /* 1165s # * This file is generated by gdbus-codegen, do not modify it. 1165s # * 1165s # * The license of this code is the same as for the D-Bus interface description 1165s # * it was derived from. Note that it links to GLib, so must comply with the 1165s # * LGPL linking clauses. 1165s # */ 1165s # 1165s # #ifdef HAVE_CONFIG_H 1165s # # include "config.h" 1165s # #endif 1165s # 1165s # #include 1165s # #ifdef G_OS_UNIX 1165s # # include 1165s # #endif 1165s # 1165s # #ifdef G_ENABLE_DEBUG 1165s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1165s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1165s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1165s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1165s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1165s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1165s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1165s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1165s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1165s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1165s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1165s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1165s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1165s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1165s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1165s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1165s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1165s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1165s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1165s # #else /* !G_ENABLE_DEBUG */ 1165s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1165s # * Do not access GValues directly in your code. Instead, use the 1165s # * g_value_get_*() functions 1165s # */ 1165s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1165s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1165s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1165s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1165s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1165s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1165s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1165s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1165s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1165s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1165s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1165s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1165s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1165s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1165s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1165s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1165s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1165s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1165s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1165s # #endif /* !G_ENABLE_DEBUG */ 1165s # 1165s # typedef struct 1165s # { 1165s # GDBusArgInfo parent_struct; 1165s # gboolean use_gvariant; 1165s # } _ExtendedGDBusArgInfo; 1165s # 1165s # typedef struct 1165s # { 1165s # GDBusMethodInfo parent_struct; 1165s # const gchar *signal_name; 1165s # gboolean pass_fdlist; 1165s # } _ExtendedGDBusMethodInfo; 1165s # 1165s # typedef struct 1165s # { 1165s # GDBusSignalInfo parent_struct; 1165s # const gchar *signal_name; 1165s # } _ExtendedGDBusSignalInfo; 1165s # 1165s # typedef struct 1165s # { 1165s # GDBusPropertyInfo parent_struct; 1165s # const gchar *hyphen_name; 1165s # guint use_gvariant : 1; 1165s # guint emits_changed_signal : 1; 1165s # } _ExtendedGDBusPropertyInfo; 1165s # 1165s # typedef struct 1165s # { 1165s # GDBusInterfaceInfo parent_struct; 1165s # const gchar *hyphen_name; 1165s # } _ExtendedGDBusInterfaceInfo; 1165s # 1165s # typedef struct 1165s # { 1165s # const _ExtendedGDBusPropertyInfo *info; 1165s # guint prop_id; 1165s # GValue orig_value; /* the value before the change */ 1165s # } ChangedProperty; 1165s # 1165s # static void 1165s # _changed_property_free (ChangedProperty *data) 1165s # { 1165s # g_value_unset (&data->orig_value); 1165s # g_free (data); 1165s # } 1165s # 1165s # static gboolean 1165s # _g_strv_equal0 (gchar **a, gchar **b) 1165s # { 1165s # gboolean ret = FALSE; 1165s # guint n; 1165s # if (a == NULL && b == NULL) 1165s # { 1165s # ret = TRUE; 1165s # goto out; 1165s # } 1165s # if (a == NULL || b == NULL) 1165s # goto out; 1165s # if (g_strv_length (a) != g_strv_length (b)) 1165s # goto out; 1165s # for (n = 0; a[n] != NULL; n++) 1165s # if (g_strcmp0 (a[n], b[n]) != 0) 1165s # goto out; 1165s # ret = TRUE; 1165s # out: 1165s # return ret; 1165s # } 1165s # 1165s # static gboolean 1165s # _g_variant_equal0 (GVariant *a, GVariant *b) 1165s # { 1165s # gboolean ret = FALSE; 1165s # if (a == NULL && b == NULL) 1165s # { 1165s # ret = TRUE; 1165s # goto out; 1165s # } 1165s # if (a == NULL || b == NULL) 1165s # goto out; 1165s # ret = g_variant_equal (a, b); 1165s # out: 1165s # return ret; 1165s # } 1165s # 1165s # G_GNUC_UNUSED static gboolean 1165s # _g_value_equal (const GValue *a, const GValue *b) 1165s # { 1165s # gboolean ret = FALSE; 1165s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1165s # switch (G_VALUE_TYPE (a)) 1165s # { 1165s # case G_TYPE_BOOLEAN: 1165s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1165s # break; 1165s # case G_TYPE_UCHAR: 1165s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1165s # break; 1165s # case G_TYPE_INT: 1165s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1165s # break; 1165s # case G_TYPE_UINT: 1165s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1165s # break; 1165s # case G_TYPE_INT64: 1165s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1165s # break; 1165s # case G_TYPE_UINT64: 1165s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1165s # break; 1165s # case G_TYPE_DOUBLE: 1165s # { 1165s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1165s # gdouble da = g_value_get_double (a); 1165s # gdouble db = g_value_get_double (b); 1165s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1165s # } 1165s # break; 1165s # case G_TYPE_STRING: 1165s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1165s # break; 1165s # case G_TYPE_VARIANT: 1165s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1165s # break; 1165s # default: 1165s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1165s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1165s # else 1165s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1165s # break; 1165s # } 1165s # return ret; 1165s # } 1165s # 1165s # /* ------------------------------------------------------------------------ 1165s # * Code for interface org.project.SignalingIface 1165s # * ------------------------------------------------------------------------ 1165s # */ 1165s # 1165s # /** 1165s # * SECTION:OrgProjectSignalingIface 1165s # * @title: OrgProjectSignalingIface 1165s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1165s # * 1165s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1165s # */ 1165s # 1165s # enum 1165s # { 1165s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1165s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N, 1165s # }; 1165s # 1165s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1165s # 1165s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1165s # 1165s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1165s # { 1165s # { 1165s # -1, 1165s # (gchar *) "SimpleSignal", 1165s # NULL, 1165s # NULL 1165s # }, 1165s # "simple-signal" 1165s # }; 1165s # 1165s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n = 1165s # { 1165s # { 1165s # -1, 1165s # (gchar *) "arg_n", 1165s # (gchar *) "n", 1165s # NULL 1165s # }, 1165s # FALSE 1165s # }; 1165s # 1165s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] = 1165s # { 1165s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n.parent_struct, 1165s # NULL 1165s # }; 1165s # 1165s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n = 1165s # { 1165s # { 1165s # -1, 1165s # (gchar *) "SingleArgSignalN", 1165s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers, 1165s # NULL 1165s # }, 1165s # "single-arg-signal-n" 1165s # }; 1165s # 1165s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1165s # { 1165s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1165s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct, 1165s # NULL 1165s # }; 1165s # 1165s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1165s # { 1165s # { 1165s # -1, 1165s # (gchar *) "org.project.SignalingIface", 1165s # NULL, 1165s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1165s # NULL, 1165s # NULL 1165s # }, 1165s # "org-project-signaling-iface", 1165s # }; 1165s # 1165s # 1165s # /** 1165s # * org_project_signaling_iface_interface_info: 1165s # * 1165s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1165s # * 1165s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1165s # */ 1165s # GDBusInterfaceInfo * 1165s # org_project_signaling_iface_interface_info (void) 1165s # { 1165s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_override_properties: 1165s # * @klass: The class structure for a #GObject derived class. 1165s # * @property_id_begin: The property id to assign to the first overridden property. 1165s # * 1165s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1165s # * The properties are overridden in the order they are defined. 1165s # * 1165s # * Returns: The last property id. 1165s # */ 1165s # guint 1165s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1165s # { 1165s # return property_id_begin - 1; 1165s # } 1165s # 1165s # 1165s # inline static void 1165s # org_project_signaling_iface_signal_marshal_simple_signal ( 1165s # GClosure *closure, 1165s # GValue *return_value, 1165s # unsigned int n_param_values, 1165s # const GValue *param_values, 1165s # void *invocation_hint, 1165s # void *marshal_data) 1165s # { 1165s # g_cclosure_marshal_VOID__VOID (closure, 1165s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1165s # } 1165s # 1165s # inline static void 1165s # org_project_signaling_iface_signal_marshal_single_arg_signal_n ( 1165s # GClosure *closure, 1165s # GValue *return_value, 1165s # unsigned int n_param_values, 1165s # const GValue *param_values, 1165s # void *invocation_hint, 1165s # void *marshal_data) 1165s # { 1165s # g_cclosure_marshal_VOID__INT (closure, 1165s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1165s # } 1165s # 1165s # 1165s # /** 1165s # * OrgProjectSignalingIface: 1165s # * 1165s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1165s # */ 1165s # 1165s # /** 1165s # * OrgProjectSignalingIfaceIface: 1165s # * @parent_iface: The parent interface. 1165s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1165s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal. 1165s # * 1165s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1165s # */ 1165s # 1165s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1165s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1165s # 1165s # static void 1165s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1165s # { 1165s # /* GObject signals for received D-Bus signals: */ 1165s # /** 1165s # * OrgProjectSignalingIface::simple-signal: 1165s # * @object: A #OrgProjectSignalingIface. 1165s # * 1165s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1165s # * 1165s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1165s # */ 1165s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1165s # g_signal_new ("simple-signal", 1165s # G_TYPE_FROM_INTERFACE (iface), 1165s # G_SIGNAL_RUN_LAST, 1165s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1165s # NULL, 1165s # NULL, 1165s # org_project_signaling_iface_signal_marshal_simple_signal, 1165s # G_TYPE_NONE, 1165s # 0); 1165s # 1165s # /** 1165s # * OrgProjectSignalingIface::single-arg-signal-n: 1165s # * @object: A #OrgProjectSignalingIface. 1165s # * @arg_arg_n: Argument. 1165s # * 1165s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received. 1165s # * 1165s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1165s # */ 1165s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] = 1165s # g_signal_new ("single-arg-signal-n", 1165s # G_TYPE_FROM_INTERFACE (iface), 1165s # G_SIGNAL_RUN_LAST, 1165s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n), 1165s # NULL, 1165s # NULL, 1165s # org_project_signaling_iface_signal_marshal_single_arg_signal_n, 1165s # G_TYPE_NONE, 1165s # 1, G_TYPE_INT); 1165s # 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_emit_simple_signal: 1165s # * @object: A #OrgProjectSignalingIface. 1165s # * 1165s # * Emits the "SimpleSignal" D-Bus signal. 1165s # */ 1165s # void 1165s # org_project_signaling_iface_emit_simple_signal ( 1165s # OrgProjectSignalingIface *object) 1165s # { 1165s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_emit_single_arg_signal_n: 1165s # * @object: A #OrgProjectSignalingIface. 1165s # * @arg_arg_n: Argument to pass with the signal. 1165s # * 1165s # * Emits the "SingleArgSignalN" D-Bus signal. 1165s # */ 1165s # void 1165s # org_project_signaling_iface_emit_single_arg_signal_n ( 1165s # OrgProjectSignalingIface *object, 1165s # gint16 arg_arg_n) 1165s # { 1165s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_arg_n); 1165s # } 1165s # 1165s # /* ------------------------------------------------------------------------ */ 1165s # 1165s # /** 1165s # * OrgProjectSignalingIfaceProxy: 1165s # * 1165s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1165s # */ 1165s # 1165s # /** 1165s # * OrgProjectSignalingIfaceProxyClass: 1165s # * @parent_class: The parent class. 1165s # * 1165s # * Class structure for #OrgProjectSignalingIfaceProxy. 1165s # */ 1165s # 1165s # struct _OrgProjectSignalingIfaceProxyPrivate 1165s # { 1165s # GData *qdata; 1165s # }; 1165s # 1165s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1165s # 1165s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1165s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1165s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1165s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1165s # 1165s # #else 1165s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1165s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1165s # 1165s # #endif 1165s # static void 1165s # org_project_signaling_iface_proxy_finalize (GObject *object) 1165s # { 1165s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1165s # g_datalist_clear (&proxy->priv->qdata); 1165s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1165s # guint prop_id G_GNUC_UNUSED, 1165s # GValue *value G_GNUC_UNUSED, 1165s # GParamSpec *pspec G_GNUC_UNUSED) 1165s # { 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1165s # guint prop_id G_GNUC_UNUSED, 1165s # const GValue *value G_GNUC_UNUSED, 1165s # GParamSpec *pspec G_GNUC_UNUSED) 1165s # { 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1165s # const gchar *sender_name G_GNUC_UNUSED, 1165s # const gchar *signal_name, 1165s # GVariant *parameters) 1165s # { 1165s # _ExtendedGDBusSignalInfo *info; 1165s # GVariantIter iter; 1165s # GVariant *child; 1165s # GValue *paramv; 1165s # gsize num_params; 1165s # gsize n; 1165s # guint signal_id; 1165s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1165s # if (info == NULL) 1165s # return; 1165s # num_params = g_variant_n_children (parameters); 1165s # paramv = g_new0 (GValue, num_params + 1); 1165s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1165s # g_value_set_object (¶mv[0], proxy); 1165s # g_variant_iter_init (&iter, parameters); 1165s # n = 1; 1165s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1165s # { 1165s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1165s # if (arg_info->use_gvariant) 1165s # { 1165s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1165s # g_value_set_variant (¶mv[n], child); 1165s # n++; 1165s # } 1165s # else 1165s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1165s # g_variant_unref (child); 1165s # } 1165s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1165s # g_signal_emitv (paramv, signal_id, 0, NULL); 1165s # for (n = 0; n < num_params + 1; n++) 1165s # g_value_unset (¶mv[n]); 1165s # g_free (paramv); 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1165s # GVariant *changed_properties, 1165s # const gchar *const *invalidated_properties) 1165s # { 1165s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1165s # guint n; 1165s # const gchar *key; 1165s # GVariantIter *iter; 1165s # _ExtendedGDBusPropertyInfo *info; 1165s # g_variant_get (changed_properties, "a{sv}", &iter); 1165s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1165s # { 1165s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1165s # g_datalist_remove_data (&proxy->priv->qdata, key); 1165s # if (info != NULL) 1165s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1165s # } 1165s # g_variant_iter_free (iter); 1165s # for (n = 0; invalidated_properties[n] != NULL; n++) 1165s # { 1165s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1165s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1165s # if (info != NULL) 1165s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1165s # } 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1165s # { 1165s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1165s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1165s # #else 1165s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1165s # #endif 1165s # 1165s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1165s # { 1165s # GObjectClass *gobject_class; 1165s # GDBusProxyClass *proxy_class; 1165s # 1165s # gobject_class = G_OBJECT_CLASS (klass); 1165s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1165s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1165s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1165s # 1165s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1165s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1165s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1165s # 1165s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1165s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1165s # #endif 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1165s # { 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_proxy_new: 1165s # * @connection: A #GDBusConnection. 1165s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1165s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1165s # * @object_path: An object path. 1165s # * @cancellable: (nullable): A #GCancellable or %NULL. 1165s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1165s # * @user_data: User data to pass to @callback. 1165s # * 1165s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1165s # * 1165s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1165s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1165s # * 1165s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1165s # */ 1165s # void 1165s # org_project_signaling_iface_proxy_new ( 1165s # GDBusConnection *connection, 1165s # GDBusProxyFlags flags, 1165s # const gchar *name, 1165s # const gchar *object_path, 1165s # GCancellable *cancellable, 1165s # GAsyncReadyCallback callback, 1165s # gpointer user_data) 1165s # { 1165s # 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); 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_proxy_new_finish: 1165s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1165s # * @error: Return location for error or %NULL 1165s # * 1165s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1165s # * 1165s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1165s # */ 1165s # OrgProjectSignalingIface * 1165s # org_project_signaling_iface_proxy_new_finish ( 1165s # GAsyncResult *res, 1165s # GError **error) 1165s # { 1165s # GObject *ret; 1165s # GObject *source_object; 1165s # source_object = g_async_result_get_source_object (res); 1165s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1165s # g_object_unref (source_object); 1165s # if (ret != NULL) 1165s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1165s # else 1165s # return NULL; 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_proxy_new_sync: 1165s # * @connection: A #GDBusConnection. 1165s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1165s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1165s # * @object_path: An object path. 1165s # * @cancellable: (nullable): A #GCancellable or %NULL. 1165s # * @error: Return location for error or %NULL 1165s # * 1165s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1165s # * 1165s # * The calling thread is blocked until a reply is received. 1165s # * 1165s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1165s # * 1165s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1165s # */ 1165s # OrgProjectSignalingIface * 1165s # org_project_signaling_iface_proxy_new_sync ( 1165s # GDBusConnection *connection, 1165s # GDBusProxyFlags flags, 1165s # const gchar *name, 1165s # const gchar *object_path, 1165s # GCancellable *cancellable, 1165s # GError **error) 1165s # { 1165s # GInitable *ret; 1165s # 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); 1165s # if (ret != NULL) 1165s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1165s # else 1165s # return NULL; 1165s # } 1165s # 1165s # 1165s # /** 1165s # * org_project_signaling_iface_proxy_new_for_bus: 1165s # * @bus_type: A #GBusType. 1165s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1165s # * @name: A bus name (well-known or unique). 1165s # * @object_path: An object path. 1165s # * @cancellable: (nullable): A #GCancellable or %NULL. 1165s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1165s # * @user_data: User data to pass to @callback. 1165s # * 1165s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1165s # * 1165s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1165s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1165s # * 1165s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1165s # */ 1165s # void 1165s # org_project_signaling_iface_proxy_new_for_bus ( 1165s # GBusType bus_type, 1165s # GDBusProxyFlags flags, 1165s # const gchar *name, 1165s # const gchar *object_path, 1165s # GCancellable *cancellable, 1165s # GAsyncReadyCallback callback, 1165s # gpointer user_data) 1165s # { 1165s # 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); 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1165s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1165s # * @error: Return location for error or %NULL 1165s # * 1165s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1165s # * 1165s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1165s # */ 1165s # OrgProjectSignalingIface * 1165s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1165s # GAsyncResult *res, 1165s # GError **error) 1165s # { 1165s # GObject *ret; 1165s # GObject *source_object; 1165s # source_object = g_async_result_get_source_object (res); 1165s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1165s # g_object_unref (source_object); 1165s # if (ret != NULL) 1165s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1165s # else 1165s # return NULL; 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1165s # * @bus_type: A #GBusType. 1165s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1165s # * @name: A bus name (well-known or unique). 1165s # * @object_path: An object path. 1165s # * @cancellable: (nullable): A #GCancellable or %NULL. 1165s # * @error: Return location for error or %NULL 1165s # * 1165s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1165s # * 1165s # * The calling thread is blocked until a reply is received. 1165s # * 1165s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1165s # * 1165s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1165s # */ 1165s # OrgProjectSignalingIface * 1165s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1165s # GBusType bus_type, 1165s # GDBusProxyFlags flags, 1165s # const gchar *name, 1165s # const gchar *object_path, 1165s # GCancellable *cancellable, 1165s # GError **error) 1165s # { 1165s # GInitable *ret; 1165s # 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); 1165s # if (ret != NULL) 1165s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1165s # else 1165s # return NULL; 1165s # } 1165s # 1165s # 1165s # /* ------------------------------------------------------------------------ */ 1165s # 1165s # /** 1165s # * OrgProjectSignalingIfaceSkeleton: 1165s # * 1165s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1165s # */ 1165s # 1165s # /** 1165s # * OrgProjectSignalingIfaceSkeletonClass: 1165s # * @parent_class: The parent class. 1165s # * 1165s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1165s # */ 1165s # 1165s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1165s # { 1165s # GValue *properties; 1165s # GList *changed_properties; 1165s # GSource *changed_properties_idle_source; 1165s # GMainContext *context; 1165s # GMutex lock; 1165s # }; 1165s # 1165s # static void 1165s # _org_project_signaling_iface_skeleton_handle_method_call ( 1165s # GDBusConnection *connection G_GNUC_UNUSED, 1165s # const gchar *sender G_GNUC_UNUSED, 1165s # const gchar *object_path G_GNUC_UNUSED, 1165s # const gchar *interface_name, 1165s # const gchar *method_name, 1165s # GVariant *parameters, 1165s # GDBusMethodInvocation *invocation, 1165s # gpointer user_data) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1165s # _ExtendedGDBusMethodInfo *info; 1165s # GVariantIter iter; 1165s # GVariant *child; 1165s # GValue *paramv; 1165s # gsize num_params; 1165s # guint num_extra; 1165s # gsize n; 1165s # guint signal_id; 1165s # GValue return_value = G_VALUE_INIT; 1165s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1165s # g_assert (info != NULL); 1165s # num_params = g_variant_n_children (parameters); 1165s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1165s # n = 0; 1165s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1165s # g_value_set_object (¶mv[n++], skeleton); 1165s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1165s # g_value_set_object (¶mv[n++], invocation); 1165s # if (info->pass_fdlist) 1165s # { 1165s # #ifdef G_OS_UNIX 1165s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1165s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1165s # #else 1165s # g_assert_not_reached (); 1165s # #endif 1165s # } 1165s # g_variant_iter_init (&iter, parameters); 1165s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1165s # { 1165s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1165s # if (arg_info->use_gvariant) 1165s # { 1165s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1165s # g_value_set_variant (¶mv[n], child); 1165s # n++; 1165s # } 1165s # else 1165s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1165s # g_variant_unref (child); 1165s # } 1165s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1165s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1165s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1165s # if (!g_value_get_boolean (&return_value)) 1165s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1165s # g_value_unset (&return_value); 1165s # for (n = 0; n < num_params + num_extra; n++) 1165s # g_value_unset (¶mv[n]); 1165s # g_free (paramv); 1165s # } 1165s # 1165s # static GVariant * 1165s # _org_project_signaling_iface_skeleton_handle_get_property ( 1165s # GDBusConnection *connection G_GNUC_UNUSED, 1165s # const gchar *sender G_GNUC_UNUSED, 1165s # const gchar *object_path G_GNUC_UNUSED, 1165s # const gchar *interface_name G_GNUC_UNUSED, 1165s # const gchar *property_name, 1165s # GError **error, 1165s # gpointer user_data) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1165s # GValue value = G_VALUE_INIT; 1165s # GParamSpec *pspec; 1165s # _ExtendedGDBusPropertyInfo *info; 1165s # GVariant *ret; 1165s # ret = NULL; 1165s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1165s # g_assert (info != NULL); 1165s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1165s # if (pspec == NULL) 1165s # { 1165s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1165s # } 1165s # else 1165s # { 1165s # g_value_init (&value, pspec->value_type); 1165s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1165s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1165s # g_value_unset (&value); 1165s # } 1165s # return ret; 1165s # } 1165s # 1165s # static gboolean 1165s # _org_project_signaling_iface_skeleton_handle_set_property ( 1165s # GDBusConnection *connection G_GNUC_UNUSED, 1165s # const gchar *sender G_GNUC_UNUSED, 1165s # const gchar *object_path G_GNUC_UNUSED, 1165s # const gchar *interface_name G_GNUC_UNUSED, 1165s # const gchar *property_name, 1165s # GVariant *variant, 1165s # GError **error, 1165s # gpointer user_data) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1165s # GValue value = G_VALUE_INIT; 1165s # GParamSpec *pspec; 1165s # _ExtendedGDBusPropertyInfo *info; 1165s # gboolean ret; 1165s # ret = FALSE; 1165s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1165s # g_assert (info != NULL); 1165s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1165s # if (pspec == NULL) 1165s # { 1165s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1165s # } 1165s # else 1165s # { 1165s # if (info->use_gvariant) 1165s # g_value_set_variant (&value, variant); 1165s # else 1165s # g_dbus_gvariant_to_gvalue (variant, &value); 1165s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1165s # g_value_unset (&value); 1165s # ret = TRUE; 1165s # } 1165s # return ret; 1165s # } 1165s # 1165s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1165s # { 1165s # _org_project_signaling_iface_skeleton_handle_method_call, 1165s # _org_project_signaling_iface_skeleton_handle_get_property, 1165s # _org_project_signaling_iface_skeleton_handle_set_property, 1165s # {NULL} 1165s # }; 1165s # 1165s # static GDBusInterfaceInfo * 1165s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1165s # { 1165s # return org_project_signaling_iface_interface_info (); 1165s # } 1165s # 1165s # static GDBusInterfaceVTable * 1165s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1165s # { 1165s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1165s # } 1165s # 1165s # static GVariant * 1165s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1165s # 1165s # GVariantBuilder builder; 1165s # guint n; 1165s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1165s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1165s # goto out; 1165s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1165s # { 1165s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1165s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1165s # { 1165s # GVariant *value; 1165s # 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); 1165s # if (value != NULL) 1165s # { 1165s # g_variant_take_ref (value); 1165s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1165s # g_variant_unref (value); 1165s # } 1165s # } 1165s # } 1165s # out: 1165s # return g_variant_builder_end (&builder); 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1165s # { 1165s # } 1165s # 1165s # static void 1165s # _org_project_signaling_iface_on_signal_simple_signal ( 1165s # OrgProjectSignalingIface *object) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1165s # 1165s # GList *connections, *l; 1165s # GVariant *signal_variant; 1165s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1165s # 1165s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1165s # for (l = connections; l != NULL; l = l->next) 1165s # { 1165s # GDBusConnection *connection = l->data; 1165s # g_dbus_connection_emit_signal (connection, 1165s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1165s # signal_variant, NULL); 1165s # } 1165s # g_variant_unref (signal_variant); 1165s # g_list_free_full (connections, g_object_unref); 1165s # } 1165s # 1165s # static void 1165s # _org_project_signaling_iface_on_signal_single_arg_signal_n ( 1165s # OrgProjectSignalingIface *object, 1165s # gint16 arg_arg_n) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1165s # 1165s # GList *connections, *l; 1165s # GVariant *signal_variant; 1165s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1165s # 1165s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)", 1165s # arg_arg_n)); 1165s # for (l = connections; l != NULL; l = l->next) 1165s # { 1165s # GDBusConnection *connection = l->data; 1165s # g_dbus_connection_emit_signal (connection, 1165s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN", 1165s # signal_variant, NULL); 1165s # } 1165s # g_variant_unref (signal_variant); 1165s # g_list_free_full (connections, g_object_unref); 1165s # } 1165s # 1165s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1165s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1165s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1165s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1165s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1165s # 1165s # #else 1165s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1165s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1165s # 1165s # #endif 1165s # static void 1165s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1165s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1165s # if (skeleton->priv->changed_properties_idle_source != NULL) 1165s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1165s # g_main_context_unref (skeleton->priv->context); 1165s # g_mutex_clear (&skeleton->priv->lock); 1165s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1165s # { 1165s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1165s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1165s # #else 1165s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1165s # #endif 1165s # 1165s # g_mutex_init (&skeleton->priv->lock); 1165s # skeleton->priv->context = g_main_context_ref_thread_default (); 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1165s # { 1165s # GObjectClass *gobject_class; 1165s # GDBusInterfaceSkeletonClass *skeleton_class; 1165s # 1165s # gobject_class = G_OBJECT_CLASS (klass); 1165s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1165s # 1165s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1165s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1165s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1165s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1165s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1165s # 1165s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1165s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1165s # #endif 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1165s # { 1165s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1165s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n; 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_skeleton_new: 1165s # * 1165s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1165s # * 1165s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1165s # */ 1165s # OrgProjectSignalingIface * 1165s # org_project_signaling_iface_skeleton_new (void) 1165s # { 1165s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1165s # } 1165s # /tmp/tmplam8bnnq/tmpwiequrqa.xml: 1165s # 1165s # 1165s # 1165s # 1165s # 1165s # 1165s # 1165s # 1165s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmplam8bnnq/tmpwiequrqa.xml', '--output', '-', '--body'] 1165s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1165s # Output: /* 1165s # * This file is generated by gdbus-codegen, do not modify it. 1165s # * 1165s # * The license of this code is the same as for the D-Bus interface description 1165s # * it was derived from. Note that it links to GLib, so must comply with the 1165s # * LGPL linking clauses. 1165s # */ 1165s # 1165s # #ifdef HAVE_CONFIG_H 1165s # # include "config.h" 1165s # #endif 1165s # 1165s # #include 1165s # #ifdef G_OS_UNIX 1165s # # include 1165s # #endif 1165s # 1165s # #ifdef G_ENABLE_DEBUG 1165s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1165s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1165s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1165s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1165s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1165s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1165s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1165s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1165s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1165s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1165s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1165s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1165s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1165s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1165s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1165s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1165s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1165s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1165s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1165s # #else /* !G_ENABLE_DEBUG */ 1165s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1165s # * Do not access GValues directly in your code. Instead, use the 1165s # * g_value_get_*() functions 1165s # */ 1165s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1165s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1165s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1165s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1165s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1165s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1165s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1165s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1165s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1165s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1165s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1165s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1165s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1165s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1165s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1165s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1165s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1165s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1165s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1165s # #endif /* !G_ENABLE_DEBUG */ 1165s # 1165s # typedef struct 1165s # { 1165s # GDBusArgInfo parent_struct; 1165s # gboolean use_gvariant; 1165s # } _ExtendedGDBusArgInfo; 1165s # 1165s # typedef struct 1165s # { 1165s # GDBusMethodInfo parent_struct; 1165s # const gchar *signal_name; 1165s # gboolean pass_fdlist; 1165s # } _ExtendedGDBusMethodInfo; 1165s # 1165s # typedef struct 1165s # { 1165s # GDBusSignalInfo parent_struct; 1165s # const gchar *signal_name; 1165s # } _ExtendedGDBusSignalInfo; 1165s # 1165s # typedef struct 1165s # { 1165s # GDBusPropertyInfo parent_struct; 1165s # const gchar *hyphen_name; 1165s # guint use_gvariant : 1; 1165s # guint emits_changed_signal : 1; 1165s # } _ExtendedGDBusPropertyInfo; 1165s # 1165s # typedef struct 1165s # { 1165s # GDBusInterfaceInfo parent_struct; 1165s # const gchar *hyphen_name; 1165s # } _ExtendedGDBusInterfaceInfo; 1165s # 1165s # typedef struct 1165s # { 1165s # const _ExtendedGDBusPropertyInfo *info; 1165s # guint prop_id; 1165s # GValue orig_value; /* the value before the change */ 1165s # } ChangedProperty; 1165s # 1165s # static void 1165s # _changed_property_free (ChangedProperty *data) 1165s # { 1165s # g_value_unset (&data->orig_value); 1165s # g_free (data); 1165s # } 1165s # 1165s # static gboolean 1165s # _g_strv_equal0 (gchar **a, gchar **b) 1165s # { 1165s # gboolean ret = FALSE; 1165s # guint n; 1165s # if (a == NULL && b == NULL) 1165s # { 1165s # ret = TRUE; 1165s # goto out; 1165s # } 1165s # if (a == NULL || b == NULL) 1165s # goto out; 1165s # if (g_strv_length (a) != g_strv_length (b)) 1165s # goto out; 1165s # for (n = 0; a[n] != NULL; n++) 1165s # if (g_strcmp0 (a[n], b[n]) != 0) 1165s # goto out; 1165s # ret = TRUE; 1165s # out: 1165s # return ret; 1165s # } 1165s # 1165s # static gboolean 1165s # _g_variant_equal0 (GVariant *a, GVariant *b) 1165s # { 1165s # gboolean ret = FALSE; 1165s # if (a == NULL && b == NULL) 1165s # { 1165s # ret = TRUE; 1165s # goto out; 1165s # } 1165s # if (a == NULL || b == NULL) 1165s # goto out; 1165s # ret = g_variant_equal (a, b); 1165s # out: 1165s # return ret; 1165s # } 1165s # 1165s # G_GNUC_UNUSED static gboolean 1165s # _g_value_equal (const GValue *a, const GValue *b) 1165s # { 1165s # gboolean ret = FALSE; 1165s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1165s # switch (G_VALUE_TYPE (a)) 1165s # { 1165s # case G_TYPE_BOOLEAN: 1165s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1165s # break; 1165s # case G_TYPE_UCHAR: 1165s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1165s # break; 1165s # case G_TYPE_INT: 1165s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1165s # break; 1165s # case G_TYPE_UINT: 1165s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1165s # break; 1165s # case G_TYPE_INT64: 1165s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1165s # break; 1165s # case G_TYPE_UINT64: 1165s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1165s # break; 1165s # case G_TYPE_DOUBLE: 1165s # { 1165s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1165s # gdouble da = g_value_get_double (a); 1165s # gdouble db = g_value_get_double (b); 1165s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1165s # } 1165s # break; 1165s # case G_TYPE_STRING: 1165s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1165s # break; 1165s # case G_TYPE_VARIANT: 1165s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1165s # break; 1165s # default: 1165s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1165s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1165s # else 1165s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1165s # break; 1165s # } 1165s # return ret; 1165s # } 1165s # 1165s # /* ------------------------------------------------------------------------ 1165s # * Code for interface org.project.SignalingIface 1165s # * ------------------------------------------------------------------------ 1165s # */ 1165s # 1165s # /** 1165s # * SECTION:OrgProjectSignalingIface 1165s # * @title: OrgProjectSignalingIface 1165s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1165s # * 1165s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1165s # */ 1165s # 1165s # enum 1165s # { 1165s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1165s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q, 1165s # }; 1165s # 1165s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1165s # 1165s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1165s # 1165s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1165s # { 1165s # { 1165s # -1, 1165s # (gchar *) "SimpleSignal", 1165s # NULL, 1165s # NULL 1165s # }, 1165s # "simple-signal" 1165s # }; 1165s # 1165s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q = 1165s # { 1165s # { 1165s # -1, 1165s # (gchar *) "arg_q", 1165s # (gchar *) "q", 1165s # NULL 1165s # }, 1165s # FALSE 1165s # }; 1165s # 1165s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] = 1165s # { 1165s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q.parent_struct, 1165s # NULL 1165s # }; 1165s # 1165s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q = 1165s # { 1165s # { 1165s # -1, 1165s # (gchar *) "SingleArgSignalQ", 1165s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers, 1165s # NULL 1165s # }, 1165s # "single-arg-signal-q" 1165s # }; 1165s # 1165s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1165s # { 1165s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1165s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct, 1165s # NULL 1165s # }; 1165s # 1165s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1165s # { 1165s # { 1165s # -1, 1165s # (gchar *) "org.project.SignalingIface", 1165s # NULL, 1165s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1165s # NULL, 1165s # NULL 1165s # }, 1165s # "org-project-signaling-iface", 1165s # }; 1165s # 1165s # 1165s # /** 1165s # * org_project_signaling_iface_interface_info: 1165s # * 1165s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1165s # * 1165s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1165s # */ 1165s # GDBusInterfaceInfo * 1165s # org_project_signaling_iface_interface_info (void) 1165s # { 1165s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_override_properties: 1165s # * @klass: The class structure for a #GObject derived class. 1165s # * @property_id_begin: The property id to assign to the first overridden property. 1165s # * 1165s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1165s # * The properties are overridden in the order they are defined. 1165s # * 1165s # * Returns: The last property id. 1165s # */ 1165s # guint 1165s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1165s # { 1165s # return property_id_begin - 1; 1165s # } 1165s # 1165s # 1165s # inline static void 1165s # org_project_signaling_iface_signal_marshal_simple_signal ( 1165s # GClosure *closure, 1165s # GValue *return_value, 1165s # unsigned int n_param_values, 1165s # const GValue *param_values, 1165s # void *invocation_hint, 1165s # void *marshal_data) 1165s # { 1165s # g_cclosure_marshal_VOID__VOID (closure, 1165s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1165s # } 1165s # 1165s # inline static void 1165s # org_project_signaling_iface_signal_marshal_single_arg_signal_q ( 1165s # GClosure *closure, 1165s # GValue *return_value, 1165s # unsigned int n_param_values, 1165s # const GValue *param_values, 1165s # void *invocation_hint, 1165s # void *marshal_data) 1165s # { 1165s # g_cclosure_marshal_VOID__UINT (closure, 1165s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1165s # } 1165s # 1165s # 1165s # /** 1165s # * OrgProjectSignalingIface: 1165s # * 1165s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1165s # */ 1165s # 1165s # /** 1165s # * OrgProjectSignalingIfaceIface: 1165s # * @parent_iface: The parent interface. 1165s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1165s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal. 1165s # * 1165s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1165s # */ 1165s # 1165s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1165s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1165s # 1165s # static void 1165s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1165s # { 1165s # /* GObject signals for received D-Bus signals: */ 1165s # /** 1165s # * OrgProjectSignalingIface::simple-signal: 1165s # * @object: A #OrgProjectSignalingIface. 1165s # * 1165s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1165s # * 1165s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1165s # */ 1165s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1165s # g_signal_new ("simple-signal", 1165s # G_TYPE_FROM_INTERFACE (iface), 1165s # G_SIGNAL_RUN_LAST, 1165s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1165s # NULL, 1165s # NULL, 1165s # org_project_signaling_iface_signal_marshal_simple_signal, 1165s # G_TYPE_NONE, 1165s # 0); 1165s # 1165s # /** 1165s # * OrgProjectSignalingIface::single-arg-signal-q: 1165s # * @object: A #OrgProjectSignalingIface. 1165s # * @arg_arg_q: Argument. 1165s # * 1165s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received. 1165s # * 1165s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1165s # */ 1165s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] = 1165s # g_signal_new ("single-arg-signal-q", 1165s # G_TYPE_FROM_INTERFACE (iface), 1165s # G_SIGNAL_RUN_LAST, 1165s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q), 1165s # NULL, 1165s # NULL, 1165s # org_project_signaling_iface_signal_marshal_single_arg_signal_q, 1165s # G_TYPE_NONE, 1165s # 1, G_TYPE_UINT); 1165s # 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_emit_simple_signal: 1165s # * @object: A #OrgProjectSignalingIface. 1165s # * 1165s # * Emits the "SimpleSignal" D-Bus signal. 1165s # */ 1165s # void 1165s # org_project_signaling_iface_emit_simple_signal ( 1165s # OrgProjectSignalingIface *object) 1165s # { 1165s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_emit_single_arg_signal_q: 1165s # * @object: A #OrgProjectSignalingIface. 1165s # * @arg_arg_q: Argument to pass with the signal. 1165s # * 1165s # * Emits the "SingleArgSignalQ" D-Bus signal. 1165s # */ 1165s # void 1165s # org_project_signaling_iface_emit_single_arg_signal_q ( 1165s # OrgProjectSignalingIface *object, 1165s # guint16 arg_arg_q) 1165s # { 1165s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_arg_q); 1165s # } 1165s # 1165s # /* ------------------------------------------------------------------------ */ 1165s # 1165s # /** 1165s # * OrgProjectSignalingIfaceProxy: 1165s # * 1165s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1165s # */ 1165s # 1165s # /** 1165s # * OrgProjectSignalingIfaceProxyClass: 1165s # * @parent_class: The parent class. 1165s # * 1165s # * Class structure for #OrgProjectSignalingIfaceProxy. 1165s # */ 1165s # 1165s # struct _OrgProjectSignalingIfaceProxyPrivate 1165s # { 1165s # GData *qdata; 1165s # }; 1165s # 1165s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1165s # 1165s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1165s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1165s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1165s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1165s # 1165s # #else 1165s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1165s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1165s # 1165s # #endif 1165s # static void 1165s # org_project_signaling_iface_proxy_finalize (GObject *object) 1165s # { 1165s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1165s # g_datalist_clear (&proxy->priv->qdata); 1165s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1165s # guint prop_id G_GNUC_UNUSED, 1165s # GValue *value G_GNUC_UNUSED, 1165s # GParamSpec *pspec G_GNUC_UNUSED) 1165s # { 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1165s # guint prop_id G_GNUC_UNUSED, 1165s # const GValue *value G_GNUC_UNUSED, 1165s # GParamSpec *pspec G_GNUC_UNUSED) 1165s # { 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1165s # const gchar *sender_name G_GNUC_UNUSED, 1165s # const gchar *signal_name, 1165s # GVariant *parameters) 1165s # { 1165s # _ExtendedGDBusSignalInfo *info; 1165s # GVariantIter iter; 1165s # GVariant *child; 1165s # GValue *paramv; 1165s # gsize num_params; 1165s # gsize n; 1165s # guint signal_id; 1165s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1165s # if (info == NULL) 1165s # return; 1165s # num_params = g_variant_n_children (parameters); 1165s # paramv = g_new0 (GValue, num_params + 1); 1165s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1165s # g_value_set_object (¶mv[0], proxy); 1165s # g_variant_iter_init (&iter, parameters); 1165s # n = 1; 1165s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1165s # { 1165s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1165s # if (arg_info->use_gvariant) 1165s # { 1165s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1165s # g_value_set_variant (¶mv[n], child); 1165s # n++; 1165s # } 1165s # else 1165s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1165s # g_variant_unref (child); 1165s # } 1165s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1165s # g_signal_emitv (paramv, signal_id, 0, NULL); 1165s # for (n = 0; n < num_params + 1; n++) 1165s # g_value_unset (¶mv[n]); 1165s # g_free (paramv); 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1165s # GVariant *changed_properties, 1165s # const gchar *const *invalidated_properties) 1165s # { 1165s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1165s # guint n; 1165s # const gchar *key; 1165s # GVariantIter *iter; 1165s # _ExtendedGDBusPropertyInfo *info; 1165s # g_variant_get (changed_properties, "a{sv}", &iter); 1165s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1165s # { 1165s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1165s # g_datalist_remove_data (&proxy->priv->qdata, key); 1165s # if (info != NULL) 1165s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1165s # } 1165s # g_variant_iter_free (iter); 1165s # for (n = 0; invalidated_properties[n] != NULL; n++) 1165s # { 1165s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1165s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1165s # if (info != NULL) 1165s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1165s # } 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1165s # { 1165s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1165s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1165s # #else 1165s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1165s # #endif 1165s # 1165s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1165s # { 1165s # GObjectClass *gobject_class; 1165s # GDBusProxyClass *proxy_class; 1165s # 1165s # gobject_class = G_OBJECT_CLASS (klass); 1165s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1165s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1165s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1165s # 1165s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1165s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1165s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1165s # 1165s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1165s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1165s # #endif 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1165s # { 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_proxy_new: 1165s # * @connection: A #GDBusConnection. 1165s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1165s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1165s # * @object_path: An object path. 1165s # * @cancellable: (nullable): A #GCancellable or %NULL. 1165s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1165s # * @user_data: User data to pass to @callback. 1165s # * 1165s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1165s # * 1165s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1165s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1165s # * 1165s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1165s # */ 1165s # void 1165s # org_project_signaling_iface_proxy_new ( 1165s # GDBusConnection *connection, 1165s # GDBusProxyFlags flags, 1165s # const gchar *name, 1165s # const gchar *object_path, 1165s # GCancellable *cancellable, 1165s # GAsyncReadyCallback callback, 1165s # gpointer user_data) 1165s # { 1165s # 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); 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_proxy_new_finish: 1165s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1165s # * @error: Return location for error or %NULL 1165s # * 1165s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1165s # * 1165s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1165s # */ 1165s # OrgProjectSignalingIface * 1165s # org_project_signaling_iface_proxy_new_finish ( 1165s # GAsyncResult *res, 1165s # GError **error) 1165s # { 1165s # GObject *ret; 1165s # GObject *source_object; 1165s # source_object = g_async_result_get_source_object (res); 1165s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1165s # g_object_unref (source_object); 1165s # if (ret != NULL) 1165s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1165s # else 1165s # return NULL; 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_proxy_new_sync: 1165s # * @connection: A #GDBusConnection. 1165s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1165s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1165s # * @object_path: An object path. 1165s # * @cancellable: (nullable): A #GCancellable or %NULL. 1165s # * @error: Return location for error or %NULL 1165s # * 1165s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1165s # * 1165s # * The calling thread is blocked until a reply is received. 1165s # * 1165s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1165s # * 1165s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1165s # */ 1165s # OrgProjectSignalingIface * 1165s # org_project_signaling_iface_proxy_new_sync ( 1165s # GDBusConnection *connection, 1165s # GDBusProxyFlags flags, 1165s # const gchar *name, 1165s # const gchar *object_path, 1165s # GCancellable *cancellable, 1165s # GError **error) 1165s # { 1165s # GInitable *ret; 1165s # 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); 1165s # if (ret != NULL) 1165s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1165s # else 1165s # return NULL; 1165s # } 1165s # 1165s # 1165s # /** 1165s # * org_project_signaling_iface_proxy_new_for_bus: 1165s # * @bus_type: A #GBusType. 1165s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1165s # * @name: A bus name (well-known or unique). 1165s # * @object_path: An object path. 1165s # * @cancellable: (nullable): A #GCancellable or %NULL. 1165s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1165s # * @user_data: User data to pass to @callback. 1165s # * 1165s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1165s # * 1165s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1165s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1165s # * 1165s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1165s # */ 1165s # void 1165s # org_project_signaling_iface_proxy_new_for_bus ( 1165s # GBusType bus_type, 1165s # GDBusProxyFlags flags, 1165s # const gchar *name, 1165s # const gchar *object_path, 1165s # GCancellable *cancellable, 1165s # GAsyncReadyCallback callback, 1165s # gpointer user_data) 1165s # { 1165s # 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); 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1165s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1165s # * @error: Return location for error or %NULL 1165s # * 1165s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1165s # * 1165s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1165s # */ 1165s # OrgProjectSignalingIface * 1165s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1165s # GAsyncResult *res, 1165s # GError **error) 1165s # { 1165s # GObject *ret; 1165s # GObject *source_object; 1165s # source_object = g_async_result_get_source_object (res); 1165s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1165s # g_object_unref (source_object); 1165s # if (ret != NULL) 1165s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1165s # else 1165s # return NULL; 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1165s # * @bus_type: A #GBusType. 1165s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1165s # * @name: A bus name (well-known or unique). 1165s # * @object_path: An object path. 1165s # * @cancellable: (nullable): A #GCancellable or %NULL. 1165s # * @error: Return location for error or %NULL 1165s # * 1165s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1165s # * 1165s # * The calling thread is blocked until a reply is received. 1165s # * 1165s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1165s # * 1165s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1165s # */ 1165s # OrgProjectSignalingIface * 1165s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1165s # GBusType bus_type, 1165s # GDBusProxyFlags flags, 1165s # const gchar *name, 1165s # const gchar *object_path, 1165s # GCancellable *cancellable, 1165s # GError **error) 1165s # { 1165s # GInitable *ret; 1165s # 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); 1165s # if (ret != NULL) 1165s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1165s # else 1165s # return NULL; 1165s # } 1165s # 1165s # 1165s # /* ------------------------------------------------------------------------ */ 1165s # 1165s # /** 1165s # * OrgProjectSignalingIfaceSkeleton: 1165s # * 1165s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1165s # */ 1165s # 1165s # /** 1165s # * OrgProjectSignalingIfaceSkeletonClass: 1165s # * @parent_class: The parent class. 1165s # * 1165s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1165s # */ 1165s # 1165s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1165s # { 1165s # GValue *properties; 1165s # GList *changed_properties; 1165s # GSource *changed_properties_idle_source; 1165s # GMainContext *context; 1165s # GMutex lock; 1165s # }; 1165s # 1165s # static void 1165s # _org_project_signaling_iface_skeleton_handle_method_call ( 1165s # GDBusConnection *connection G_GNUC_UNUSED, 1165s # const gchar *sender G_GNUC_UNUSED, 1165s # const gchar *object_path G_GNUC_UNUSED, 1165s # const gchar *interface_name, 1165s # const gchar *method_name, 1165s # GVariant *parameters, 1165s # GDBusMethodInvocation *invocation, 1165s # gpointer user_data) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1165s # _ExtendedGDBusMethodInfo *info; 1165s # GVariantIter iter; 1165s # GVariant *child; 1165s # GValue *paramv; 1165s # gsize num_params; 1165s # guint num_extra; 1165s # gsize n; 1165s # guint signal_id; 1165s # GValue return_value = G_VALUE_INIT; 1165s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1165s # g_assert (info != NULL); 1165s # num_params = g_variant_n_children (parameters); 1165s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1165s # n = 0; 1165s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1165s # g_value_set_object (¶mv[n++], skeleton); 1165s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1165s # g_value_set_object (¶mv[n++], invocation); 1165s # if (info->pass_fdlist) 1165s # { 1165s # #ifdef G_OS_UNIX 1165s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1165s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1165s # #else 1165s # g_assert_not_reached (); 1165s # #endif 1165s # } 1165s # g_variant_iter_init (&iter, parameters); 1165s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1165s # { 1165s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1165s # if (arg_info->use_gvariant) 1165s # { 1165s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1165s # g_value_set_variant (¶mv[n], child); 1165s # n++; 1165s # } 1165s # else 1165s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1165s # g_variant_unref (child); 1165s # } 1165s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1165s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1165s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1165s # if (!g_value_get_boolean (&return_value)) 1165s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1165s # g_value_unset (&return_value); 1165s # for (n = 0; n < num_params + num_extra; n++) 1165s # g_value_unset (¶mv[n]); 1165s # g_free (paramv); 1165s # } 1165s # 1165s # static GVariant * 1165s # _org_project_signaling_iface_skeleton_handle_get_property ( 1165s # GDBusConnection *connection G_GNUC_UNUSED, 1165s # const gchar *sender G_GNUC_UNUSED, 1165s # const gchar *object_path G_GNUC_UNUSED, 1165s # const gchar *interface_name G_GNUC_UNUSED, 1165s # const gchar *property_name, 1165s # GError **error, 1165s # gpointer user_data) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1165s # GValue value = G_VALUE_INIT; 1165s # GParamSpec *pspec; 1165s # _ExtendedGDBusPropertyInfo *info; 1165s # GVariant *ret; 1165s # ret = NULL; 1165s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1165s # g_assert (info != NULL); 1165s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1165s # if (pspec == NULL) 1165s # { 1165s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1165s # } 1165s # else 1165s # { 1165s # g_value_init (&value, pspec->value_type); 1165s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1165s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1165s # g_value_unset (&value); 1165s # } 1165s # return ret; 1165s # } 1165s # 1165s # static gboolean 1165s # _org_project_signaling_iface_skeleton_handle_set_property ( 1165s # GDBusConnection *connection G_GNUC_UNUSED, 1165s # const gchar *sender G_GNUC_UNUSED, 1165s # const gchar *object_path G_GNUC_UNUSED, 1165s # const gchar *interface_name G_GNUC_UNUSED, 1165s # const gchar *property_name, 1165s # GVariant *variant, 1165s # GError **error, 1165s # gpointer user_data) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1165s # GValue value = G_VALUE_INIT; 1165s # GParamSpec *pspec; 1165s # _ExtendedGDBusPropertyInfo *info; 1165s # gboolean ret; 1165s # ret = FALSE; 1165s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1165s # g_assert (info != NULL); 1165s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1165s # if (pspec == NULL) 1165s # { 1165s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1165s # } 1165s # else 1165s # { 1165s # if (info->use_gvariant) 1165s # g_value_set_variant (&value, variant); 1165s # else 1165s # g_dbus_gvariant_to_gvalue (variant, &value); 1165s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1165s # g_value_unset (&value); 1165s # ret = TRUE; 1165s # } 1165s # return ret; 1165s # } 1165s # 1165s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1165s # { 1165s # _org_project_signaling_iface_skeleton_handle_method_call, 1165s # _org_project_signaling_iface_skeleton_handle_get_property, 1165s # _org_project_signaling_iface_skeleton_handle_set_property, 1165s # {NULL} 1165s # }; 1165s # 1165s # static GDBusInterfaceInfo * 1165s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1165s # { 1165s # return org_project_signaling_iface_interface_info (); 1165s # } 1165s # 1165s # static GDBusInterfaceVTable * 1165s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1165s # { 1165s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1165s # } 1165s # 1165s # static GVariant * 1165s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1165s # 1165s # GVariantBuilder builder; 1165s # guint n; 1165s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1165s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1165s # goto out; 1165s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1165s # { 1165s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1165s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1165s # { 1165s # GVariant *value; 1165s # 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); 1165s # if (value != NULL) 1165s # { 1165s # g_variant_take_ref (value); 1165s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1165s # g_variant_unref (value); 1165s # } 1165s # } 1165s # } 1165s # out: 1165s # return g_variant_builder_end (&builder); 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1165s # { 1165s # } 1165s # 1165s # static void 1165s # _org_project_signaling_iface_on_signal_simple_signal ( 1165s # OrgProjectSignalingIface *object) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1165s # 1165s # GList *connections, *l; 1165s # GVariant *signal_variant; 1165s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1165s # 1165s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1165s # for (l = connections; l != NULL; l = l->next) 1165s # { 1165s # GDBusConnection *connection = l->data; 1165s # g_dbus_connection_emit_signal (connection, 1165s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1165s # signal_variant, NULL); 1165s # } 1165s # g_variant_unref (signal_variant); 1165s # g_list_free_full (connections, g_object_unref); 1165s # } 1165s # 1165s # static void 1165s # _org_project_signaling_iface_on_signal_single_arg_signal_q ( 1165s # OrgProjectSignalingIface *object, 1165s # guint16 arg_arg_q) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1165s # 1165s # GList *connections, *l; 1165s # GVariant *signal_variant; 1165s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1165s # 1165s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)", 1165s # arg_arg_q)); 1165s # for (l = connections; l != NULL; l = l->next) 1165s # { 1165s # GDBusConnection *connection = l->data; 1165s # g_dbus_connection_emit_signal (connection, 1165s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ", 1165s # signal_variant, NULL); 1165s # } 1165s # g_variant_unref (signal_variant); 1165s # g_list_free_full (connections, g_object_unref); 1165s # } 1165s # 1165s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1165s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1165s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1165s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1165s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1165s # 1165s # #else 1165s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1165s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1165s # 1165s # #endif 1165s # static void 1165s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1165s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1165s # if (skeleton->priv->changed_properties_idle_source != NULL) 1165s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1165s # g_main_context_unref (skeleton->priv->context); 1165s # g_mutex_clear (&skeleton->priv->lock); 1165s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1165s # { 1165s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1165s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1165s # #else 1165s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1165s # #endif 1165s # 1165s # g_mutex_init (&skeleton->priv->lock); 1165s # skeleton->priv->context = g_main_context_ref_thread_default (); 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1165s # { 1165s # GObjectClass *gobject_class; 1165s # GDBusInterfaceSkeletonClass *skeleton_class; 1165s # 1165s # gobject_class = G_OBJECT_CLASS (klass); 1165s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1165s # 1165s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1165s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1165s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1165s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1165s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1165s # 1165s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1165s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1165s # #endif 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1165s # { 1165s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1165s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q; 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_skeleton_new: 1165s # * 1165s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1165s # * 1165s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1165s # */ 1165s # OrgProjectSignalingIface * 1165s # org_project_signaling_iface_skeleton_new (void) 1165s # { 1165s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1165s # } 1165s # /tmp/tmplam8bnnq/tmpdgn96h4e.xml: 1165s # 1165s # 1165s # 1165s # 1165s # 1165s # 1165s # 1165s # 1165s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmplam8bnnq/tmpdgn96h4e.xml', '--output', '-', '--body'] 1165s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1165s # Output: /* 1165s # * This file is generated by gdbus-codegen, do not modify it. 1165s # * 1165s # * The license of this code is the same as for the D-Bus interface description 1165s # * it was derived from. Note that it links to GLib, so must comply with the 1165s # * LGPL linking clauses. 1165s # */ 1165s # 1165s # #ifdef HAVE_CONFIG_H 1165s # # include "config.h" 1165s # #endif 1165s # 1165s # #include 1165s # #ifdef G_OS_UNIX 1165s # # include 1165s # #endif 1165s # 1165s # #ifdef G_ENABLE_DEBUG 1165s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1165s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1165s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1165s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1165s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1165s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1165s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1165s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1165s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1165s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1165s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1165s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1165s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1165s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1165s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1165s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1165s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1165s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1165s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1165s # #else /* !G_ENABLE_DEBUG */ 1165s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1165s # * Do not access GValues directly in your code. Instead, use the 1165s # * g_value_get_*() functions 1165s # */ 1165s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1165s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1165s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1165s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1165s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1165s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1165s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1165s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1165s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1165s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1165s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1165s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1165s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1165s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1165s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1165s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1165s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1165s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1165s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1165s # #endif /* !G_ENABLE_DEBUG */ 1165s # 1165s # typedef struct 1165s # { 1165s # GDBusArgInfo parent_struct; 1165s # gboolean use_gvariant; 1165s # } _ExtendedGDBusArgInfo; 1165s # 1165s # typedef struct 1165s # { 1165s # GDBusMethodInfo parent_struct; 1165s # const gchar *signal_name; 1165s # gboolean pass_fdlist; 1165s # } _ExtendedGDBusMethodInfo; 1165s # 1165s # typedef struct 1165s # { 1165s # GDBusSignalInfo parent_struct; 1165s # const gchar *signal_name; 1165s # } _ExtendedGDBusSignalInfo; 1165s # 1165s # typedef struct 1165s # { 1165s # GDBusPropertyInfo parent_struct; 1165s # const gchar *hyphen_name; 1165s # guint use_gvariant : 1; 1165s # guint emits_changed_signal : 1; 1165s # } _ExtendedGDBusPropertyInfo; 1165s # 1165s # typedef struct 1165s # { 1165s # GDBusInterfaceInfo parent_struct; 1165s # const gchar *hyphen_name; 1165s # } _ExtendedGDBusInterfaceInfo; 1165s # 1165s # typedef struct 1165s # { 1165s # const _ExtendedGDBusPropertyInfo *info; 1165s # guint prop_id; 1165s # GValue orig_value; /* the value before the change */ 1165s # } ChangedProperty; 1165s # 1165s # static void 1165s # _changed_property_free (ChangedProperty *data) 1165s # { 1165s # g_value_unset (&data->orig_value); 1165s # g_free (data); 1165s # } 1165s # 1165s # static gboolean 1165s # _g_strv_equal0 (gchar **a, gchar **b) 1165s # { 1165s # gboolean ret = FALSE; 1165s # guint n; 1165s # if (a == NULL && b == NULL) 1165s # { 1165s # ret = TRUE; 1165s # goto out; 1165s # } 1165s # if (a == NULL || b == NULL) 1165s # goto out; 1165s # if (g_strv_length (a) != g_strv_length (b)) 1165s # goto out; 1165s # for (n = 0; a[n] != NULL; n++) 1165s # if (g_strcmp0 (a[n], b[n]) != 0) 1165s # goto out; 1165s # ret = TRUE; 1165s # out: 1165s # return ret; 1165s # } 1165s # 1165s # static gboolean 1165s # _g_variant_equal0 (GVariant *a, GVariant *b) 1165s # { 1165s # gboolean ret = FALSE; 1165s # if (a == NULL && b == NULL) 1165s # { 1165s # ret = TRUE; 1165s # goto out; 1165s # } 1165s # if (a == NULL || b == NULL) 1165s # goto out; 1165s # ret = g_variant_equal (a, b); 1165s # out: 1165s # return ret; 1165s # } 1165s # 1165s # G_GNUC_UNUSED static gboolean 1165s # _g_value_equal (const GValue *a, const GValue *b) 1165s # { 1165s # gboolean ret = FALSE; 1165s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1165s # switch (G_VALUE_TYPE (a)) 1165s # { 1165s # case G_TYPE_BOOLEAN: 1165s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1165s # break; 1165s # case G_TYPE_UCHAR: 1165s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1165s # break; 1165s # case G_TYPE_INT: 1165s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1165s # break; 1165s # case G_TYPE_UINT: 1165s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1165s # break; 1165s # case G_TYPE_INT64: 1165s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1165s # break; 1165s # case G_TYPE_UINT64: 1165s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1165s # break; 1165s # case G_TYPE_DOUBLE: 1165s # { 1165s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1165s # gdouble da = g_value_get_double (a); 1165s # gdouble db = g_value_get_double (b); 1165s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1165s # } 1165s # break; 1165s # case G_TYPE_STRING: 1165s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1165s # break; 1165s # case G_TYPE_VARIANT: 1165s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1165s # break; 1165s # default: 1165s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1165s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1165s # else 1165s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1165s # break; 1165s # } 1165s # return ret; 1165s # } 1165s # 1165s # /* ------------------------------------------------------------------------ 1165s # * Code for interface org.project.SignalingIface 1165s # * ------------------------------------------------------------------------ 1165s # */ 1165s # 1165s # /** 1165s # * SECTION:OrgProjectSignalingIface 1165s # * @title: OrgProjectSignalingIface 1165s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1165s # * 1165s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1165s # */ 1165s # 1165s # enum 1165s # { 1165s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1165s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I, 1165s # }; 1165s # 1165s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1165s # 1165s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1165s # 1165s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1165s # { 1165s # { 1165s # -1, 1165s # (gchar *) "SimpleSignal", 1165s # NULL, 1165s # NULL 1165s # }, 1165s # "simple-signal" 1165s # }; 1165s # 1165s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i = 1165s # { 1165s # { 1165s # -1, 1165s # (gchar *) "arg_i", 1165s # (gchar *) "i", 1165s # NULL 1165s # }, 1165s # FALSE 1165s # }; 1165s # 1165s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] = 1165s # { 1165s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i.parent_struct, 1165s # NULL 1165s # }; 1165s # 1165s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i = 1165s # { 1165s # { 1165s # -1, 1165s # (gchar *) "SingleArgSignalI", 1165s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers, 1165s # NULL 1165s # }, 1165s # "single-arg-signal-i" 1165s # }; 1165s # 1165s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1165s # { 1165s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1165s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct, 1165s # NULL 1165s # }; 1165s # 1165s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1165s # { 1165s # { 1165s # -1, 1165s # (gchar *) "org.project.SignalingIface", 1165s # NULL, 1165s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1165s # NULL, 1165s # NULL 1165s # }, 1165s # "org-project-signaling-iface", 1165s # }; 1165s # 1165s # 1165s # /** 1165s # * org_project_signaling_iface_interface_info: 1165s # * 1165s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1165s # * 1165s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1165s # */ 1165s # GDBusInterfaceInfo * 1165s # org_project_signaling_iface_interface_info (void) 1165s # { 1165s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_override_properties: 1165s # * @klass: The class structure for a #GObject derived class. 1165s # * @property_id_begin: The property id to assign to the first overridden property. 1165s # * 1165s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1165s # * The properties are overridden in the order they are defined. 1165s # * 1165s # * Returns: The last property id. 1165s # */ 1165s # guint 1165s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1165s # { 1165s # return property_id_begin - 1; 1165s # } 1165s # 1165s # 1165s # inline static void 1165s # org_project_signaling_iface_signal_marshal_simple_signal ( 1165s # GClosure *closure, 1165s # GValue *return_value, 1165s # unsigned int n_param_values, 1165s # const GValue *param_values, 1165s # void *invocation_hint, 1165s # void *marshal_data) 1165s # { 1165s # g_cclosure_marshal_VOID__VOID (closure, 1165s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1165s # } 1165s # 1165s # inline static void 1165s # org_project_signaling_iface_signal_marshal_single_arg_signal_i ( 1165s # GClosure *closure, 1165s # GValue *return_value, 1165s # unsigned int n_param_values, 1165s # const GValue *param_values, 1165s # void *invocation_hint, 1165s # void *marshal_data) 1165s # { 1165s # g_cclosure_marshal_VOID__INT (closure, 1165s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1165s # } 1165s # 1165s # 1165s # /** 1165s # * OrgProjectSignalingIface: 1165s # * 1165s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1165s # */ 1165s # 1165s # /** 1165s # * OrgProjectSignalingIfaceIface: 1165s # * @parent_iface: The parent interface. 1165s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1165s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal. 1165s # * 1165s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1165s # */ 1165s # 1165s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1165s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1165s # 1165s # static void 1165s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1165s # { 1165s # /* GObject signals for received D-Bus signals: */ 1165s # /** 1165s # * OrgProjectSignalingIface::simple-signal: 1165s # * @object: A #OrgProjectSignalingIface. 1165s # * 1165s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1165s # * 1165s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1165s # */ 1165s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1165s # g_signal_new ("simple-signal", 1165s # G_TYPE_FROM_INTERFACE (iface), 1165s # G_SIGNAL_RUN_LAST, 1165s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1165s # NULL, 1165s # NULL, 1165s # org_project_signaling_iface_signal_marshal_simple_signal, 1165s # G_TYPE_NONE, 1165s # 0); 1165s # 1165s # /** 1165s # * OrgProjectSignalingIface::single-arg-signal-i: 1165s # * @object: A #OrgProjectSignalingIface. 1165s # * @arg_arg_i: Argument. 1165s # * 1165s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received. 1165s # * 1165s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1165s # */ 1165s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] = 1165s # g_signal_new ("single-arg-signal-i", 1165s # G_TYPE_FROM_INTERFACE (iface), 1165s # G_SIGNAL_RUN_LAST, 1165s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i), 1165s # NULL, 1165s # NULL, 1165s # org_project_signaling_iface_signal_marshal_single_arg_signal_i, 1165s # G_TYPE_NONE, 1165s # 1, G_TYPE_INT); 1165s # 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_emit_simple_signal: 1165s # * @object: A #OrgProjectSignalingIface. 1165s # * 1165s # * Emits the "SimpleSignal" D-Bus signal. 1165s # */ 1165s # void 1165s # org_project_signaling_iface_emit_simple_signal ( 1165s # OrgProjectSignalingIface *object) 1165s # { 1165s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_emit_single_arg_signal_i: 1165s # * @object: A #OrgProjectSignalingIface. 1165s # * @arg_arg_i: Argument to pass with the signal. 1165s # * 1165s # * Emits the "SingleArgSignalI" D-Bus signal. 1165s # */ 1165s # void 1165s # org_project_signaling_iface_emit_single_arg_signal_i ( 1165s # OrgProjectSignalingIface *object, 1165s # gint arg_arg_i) 1165s # { 1165s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_arg_i); 1165s # } 1165s # 1165s # /* ------------------------------------------------------------------------ */ 1165s # 1165s # /** 1165s # * OrgProjectSignalingIfaceProxy: 1165s # * 1165s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1165s # */ 1165s # 1165s # /** 1165s # * OrgProjectSignalingIfaceProxyClass: 1165s # * @parent_class: The parent class. 1165s # * 1165s # * Class structure for #OrgProjectSignalingIfaceProxy. 1165s # */ 1165s # 1165s # struct _OrgProjectSignalingIfaceProxyPrivate 1165s # { 1165s # GData *qdata; 1165s # }; 1165s # 1165s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1165s # 1165s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1165s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1165s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1165s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1165s # 1165s # #else 1165s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1165s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1165s # 1165s # #endif 1165s # static void 1165s # org_project_signaling_iface_proxy_finalize (GObject *object) 1165s # { 1165s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1165s # g_datalist_clear (&proxy->priv->qdata); 1165s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1165s # guint prop_id G_GNUC_UNUSED, 1165s # GValue *value G_GNUC_UNUSED, 1165s # GParamSpec *pspec G_GNUC_UNUSED) 1165s # { 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1165s # guint prop_id G_GNUC_UNUSED, 1165s # const GValue *value G_GNUC_UNUSED, 1165s # GParamSpec *pspec G_GNUC_UNUSED) 1165s # { 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1165s # const gchar *sender_name G_GNUC_UNUSED, 1165s # const gchar *signal_name, 1165s # GVariant *parameters) 1165s # { 1165s # _ExtendedGDBusSignalInfo *info; 1165s # GVariantIter iter; 1165s # GVariant *child; 1165s # GValue *paramv; 1165s # gsize num_params; 1165s # gsize n; 1165s # guint signal_id; 1165s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1165s # if (info == NULL) 1165s # return; 1165s # num_params = g_variant_n_children (parameters); 1165s # paramv = g_new0 (GValue, num_params + 1); 1165s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1165s # g_value_set_object (¶mv[0], proxy); 1165s # g_variant_iter_init (&iter, parameters); 1165s # n = 1; 1165s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1165s # { 1165s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1165s # if (arg_info->use_gvariant) 1165s # { 1165s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1165s # g_value_set_variant (¶mv[n], child); 1165s # n++; 1165s # } 1165s # else 1165s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1165s # g_variant_unref (child); 1165s # } 1165s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1165s # g_signal_emitv (paramv, signal_id, 0, NULL); 1165s # for (n = 0; n < num_params + 1; n++) 1165s # g_value_unset (¶mv[n]); 1165s # g_free (paramv); 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1165s # GVariant *changed_properties, 1165s # const gchar *const *invalidated_properties) 1165s # { 1165s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1165s # guint n; 1165s # const gchar *key; 1165s # GVariantIter *iter; 1165s # _ExtendedGDBusPropertyInfo *info; 1165s # g_variant_get (changed_properties, "a{sv}", &iter); 1165s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1165s # { 1165s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1165s # g_datalist_remove_data (&proxy->priv->qdata, key); 1165s # if (info != NULL) 1165s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1165s # } 1165s # g_variant_iter_free (iter); 1165s # for (n = 0; invalidated_properties[n] != NULL; n++) 1165s # { 1165s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1165s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1165s # if (info != NULL) 1165s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1165s # } 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1165s # { 1165s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1165s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1165s # #else 1165s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1165s # #endif 1165s # 1165s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1165s # { 1165s # GObjectClass *gobject_class; 1165s # GDBusProxyClass *proxy_class; 1165s # 1165s # gobject_class = G_OBJECT_CLASS (klass); 1165s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1165s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1165s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1165s # 1165s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1165s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1165s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1165s # 1165s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1165s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1165s # #endif 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1165s # { 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_proxy_new: 1165s # * @connection: A #GDBusConnection. 1165s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1165s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1165s # * @object_path: An object path. 1165s # * @cancellable: (nullable): A #GCancellable or %NULL. 1165s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1165s # * @user_data: User data to pass to @callback. 1165s # * 1165s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1165s # * 1165s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1165s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1165s # * 1165s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1165s # */ 1165s # void 1165s # org_project_signaling_iface_proxy_new ( 1165s # GDBusConnection *connection, 1165s # GDBusProxyFlags flags, 1165s # const gchar *name, 1165s # const gchar *object_path, 1165s # GCancellable *cancellable, 1165s # GAsyncReadyCallback callback, 1165s # gpointer user_data) 1165s # { 1165s # 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); 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_proxy_new_finish: 1165s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1165s # * @error: Return location for error or %NULL 1165s # * 1165s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1165s # * 1165s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1165s # */ 1165s # OrgProjectSignalingIface * 1165s # org_project_signaling_iface_proxy_new_finish ( 1165s # GAsyncResult *res, 1165s # GError **error) 1165s # { 1165s # GObject *ret; 1165s # GObject *source_object; 1165s # source_object = g_async_result_get_source_object (res); 1165s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1165s # g_object_unref (source_object); 1165s # if (ret != NULL) 1165s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1165s # else 1165s # return NULL; 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_proxy_new_sync: 1165s # * @connection: A #GDBusConnection. 1165s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1165s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1165s # * @object_path: An object path. 1165s # * @cancellable: (nullable): A #GCancellable or %NULL. 1165s # * @error: Return location for error or %NULL 1165s # * 1165s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1165s # * 1165s # * The calling thread is blocked until a reply is received. 1165s # * 1165s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1165s # * 1165s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1165s # */ 1165s # OrgProjectSignalingIface * 1165s # org_project_signaling_iface_proxy_new_sync ( 1165s # GDBusConnection *connection, 1165s # GDBusProxyFlags flags, 1165s # const gchar *name, 1165s # const gchar *object_path, 1165s # GCancellable *cancellable, 1165s # GError **error) 1165s # { 1165s # GInitable *ret; 1165s # 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); 1165s # if (ret != NULL) 1165s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1165s # else 1165s # return NULL; 1165s # } 1165s # 1165s # 1165s # /** 1165s # * org_project_signaling_iface_proxy_new_for_bus: 1165s # * @bus_type: A #GBusType. 1165s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1165s # * @name: A bus name (well-known or unique). 1165s # * @object_path: An object path. 1165s # * @cancellable: (nullable): A #GCancellable or %NULL. 1165s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1165s # * @user_data: User data to pass to @callback. 1165s # * 1165s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1165s # * 1165s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1165s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1165s # * 1165s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1165s # */ 1165s # void 1165s # org_project_signaling_iface_proxy_new_for_bus ( 1165s # GBusType bus_type, 1165s # GDBusProxyFlags flags, 1165s # const gchar *name, 1165s # const gchar *object_path, 1165s # GCancellable *cancellable, 1165s # GAsyncReadyCallback callback, 1165s # gpointer user_data) 1165s # { 1165s # 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); 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1165s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1165s # * @error: Return location for error or %NULL 1165s # * 1165s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1165s # * 1165s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1165s # */ 1165s # OrgProjectSignalingIface * 1165s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1165s # GAsyncResult *res, 1165s # GError **error) 1165s # { 1165s # GObject *ret; 1165s # GObject *source_object; 1165s # source_object = g_async_result_get_source_object (res); 1165s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1165s # g_object_unref (source_object); 1165s # if (ret != NULL) 1165s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1165s # else 1165s # return NULL; 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1165s # * @bus_type: A #GBusType. 1165s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1165s # * @name: A bus name (well-known or unique). 1165s # * @object_path: An object path. 1165s # * @cancellable: (nullable): A #GCancellable or %NULL. 1165s # * @error: Return location for error or %NULL 1165s # * 1165s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1165s # * 1165s # * The calling thread is blocked until a reply is received. 1165s # * 1165s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1165s # * 1165s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1165s # */ 1165s # OrgProjectSignalingIface * 1165s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1165s # GBusType bus_type, 1165s # GDBusProxyFlags flags, 1165s # const gchar *name, 1165s # const gchar *object_path, 1165s # GCancellable *cancellable, 1165s # GError **error) 1165s # { 1165s # GInitable *ret; 1165s # 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); 1165s # if (ret != NULL) 1165s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1165s # else 1165s # return NULL; 1165s # } 1165s # 1165s # 1165s # /* ------------------------------------------------------------------------ */ 1165s # 1165s # /** 1165s # * OrgProjectSignalingIfaceSkeleton: 1165s # * 1165s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1165s # */ 1165s # 1165s # /** 1165s # * OrgProjectSignalingIfaceSkeletonClass: 1165s # * @parent_class: The parent class. 1165s # * 1165s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1165s # */ 1165s # 1165s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1165s # { 1165s # GValue *properties; 1165s # GList *changed_properties; 1165s # GSource *changed_properties_idle_source; 1165s # GMainContext *context; 1165s # GMutex lock; 1165s # }; 1165s # 1165s # static void 1165s # _org_project_signaling_iface_skeleton_handle_method_call ( 1165s # GDBusConnection *connection G_GNUC_UNUSED, 1165s # const gchar *sender G_GNUC_UNUSED, 1165s # const gchar *object_path G_GNUC_UNUSED, 1165s # const gchar *interface_name, 1165s # const gchar *method_name, 1165s # GVariant *parameters, 1165s # GDBusMethodInvocation *invocation, 1165s # gpointer user_data) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1165s # _ExtendedGDBusMethodInfo *info; 1165s # GVariantIter iter; 1165s # GVariant *child; 1165s # GValue *paramv; 1165s # gsize num_params; 1165s # guint num_extra; 1165s # gsize n; 1165s # guint signal_id; 1165s # GValue return_value = G_VALUE_INIT; 1165s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1165s # g_assert (info != NULL); 1165s # num_params = g_variant_n_children (parameters); 1165s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1165s # n = 0; 1165s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1165s # g_value_set_object (¶mv[n++], skeleton); 1165s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1165s # g_value_set_object (¶mv[n++], invocation); 1165s # if (info->pass_fdlist) 1165s # { 1165s # #ifdef G_OS_UNIX 1165s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1165s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1165s # #else 1165s # g_assert_not_reached (); 1165s # #endif 1165s # } 1165s # g_variant_iter_init (&iter, parameters); 1165s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1165s # { 1165s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1165s # if (arg_info->use_gvariant) 1165s # { 1165s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1165s # g_value_set_variant (¶mv[n], child); 1165s # n++; 1165s # } 1165s # else 1165s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1165s # g_variant_unref (child); 1165s # } 1165s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1165s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1165s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1165s # if (!g_value_get_boolean (&return_value)) 1165s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1165s # g_value_unset (&return_value); 1165s # for (n = 0; n < num_params + num_extra; n++) 1165s # g_value_unset (¶mv[n]); 1165s # g_free (paramv); 1165s # } 1165s # 1165s # static GVariant * 1165s # _org_project_signaling_iface_skeleton_handle_get_property ( 1165s # GDBusConnection *connection G_GNUC_UNUSED, 1165s # const gchar *sender G_GNUC_UNUSED, 1165s # const gchar *object_path G_GNUC_UNUSED, 1165s # const gchar *interface_name G_GNUC_UNUSED, 1165s # const gchar *property_name, 1165s # GError **error, 1165s # gpointer user_data) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1165s # GValue value = G_VALUE_INIT; 1165s # GParamSpec *pspec; 1165s # _ExtendedGDBusPropertyInfo *info; 1165s # GVariant *ret; 1165s # ret = NULL; 1165s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1165s # g_assert (info != NULL); 1165s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1165s # if (pspec == NULL) 1165s # { 1165s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1165s # } 1165s # else 1165s # { 1165s # g_value_init (&value, pspec->value_type); 1165s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1165s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1165s # g_value_unset (&value); 1165s # } 1165s # return ret; 1165s # } 1165s # 1165s # static gboolean 1165s # _org_project_signaling_iface_skeleton_handle_set_property ( 1165s # GDBusConnection *connection G_GNUC_UNUSED, 1165s # const gchar *sender G_GNUC_UNUSED, 1165s # const gchar *object_path G_GNUC_UNUSED, 1165s # const gchar *interface_name G_GNUC_UNUSED, 1165s # const gchar *property_name, 1165s # GVariant *variant, 1165s # GError **error, 1165s # gpointer user_data) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1165s # GValue value = G_VALUE_INIT; 1165s # GParamSpec *pspec; 1165s # _ExtendedGDBusPropertyInfo *info; 1165s # gboolean ret; 1165s # ret = FALSE; 1165s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1165s # g_assert (info != NULL); 1165s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1165s # if (pspec == NULL) 1165s # { 1165s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1165s # } 1165s # else 1165s # { 1165s # if (info->use_gvariant) 1165s # g_value_set_variant (&value, variant); 1165s # else 1165s # g_dbus_gvariant_to_gvalue (variant, &value); 1165s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1165s # g_value_unset (&value); 1165s # ret = TRUE; 1165s # } 1165s # return ret; 1165s # } 1165s # 1165s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1165s # { 1165s # _org_project_signaling_iface_skeleton_handle_method_call, 1165s # _org_project_signaling_iface_skeleton_handle_get_property, 1165s # _org_project_signaling_iface_skeleton_handle_set_property, 1165s # {NULL} 1165s # }; 1165s # 1165s # static GDBusInterfaceInfo * 1165s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1165s # { 1165s # return org_project_signaling_iface_interface_info (); 1165s # } 1165s # 1165s # static GDBusInterfaceVTable * 1165s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1165s # { 1165s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1165s # } 1165s # 1165s # static GVariant * 1165s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1165s # 1165s # GVariantBuilder builder; 1165s # guint n; 1165s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1165s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1165s # goto out; 1165s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1165s # { 1165s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1165s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1165s # { 1165s # GVariant *value; 1165s # 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); 1165s # if (value != NULL) 1165s # { 1165s # g_variant_take_ref (value); 1165s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1165s # g_variant_unref (value); 1165s # } 1165s # } 1165s # } 1165s # out: 1165s # return g_variant_builder_end (&builder); 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1165s # { 1165s # } 1165s # 1165s # static void 1165s # _org_project_signaling_iface_on_signal_simple_signal ( 1165s # OrgProjectSignalingIface *object) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1165s # 1165s # GList *connections, *l; 1165s # GVariant *signal_variant; 1165s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1165s # 1165s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1165s # for (l = connections; l != NULL; l = l->next) 1165s # { 1165s # GDBusConnection *connection = l->data; 1165s # g_dbus_connection_emit_signal (connection, 1165s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1165s # signal_variant, NULL); 1165s # } 1165s # g_variant_unref (signal_variant); 1165s # g_list_free_full (connections, g_object_unref); 1165s # } 1165s # 1165s # static void 1165s # _org_project_signaling_iface_on_signal_single_arg_signal_i ( 1165s # OrgProjectSignalingIface *object, 1165s # gint arg_arg_i) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1165s # 1165s # GList *connections, *l; 1165s # GVariant *signal_variant; 1165s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1165s # 1165s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)", 1165s # arg_arg_i)); 1165s # for (l = connections; l != NULL; l = l->next) 1165s # { 1165s # GDBusConnection *connection = l->data; 1165s # g_dbus_connection_emit_signal (connection, 1165s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI", 1165s # signal_variant, NULL); 1165s # } 1165s # g_variant_unref (signal_variant); 1165s # g_list_free_full (connections, g_object_unref); 1165s # } 1165s # 1165s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1165s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1165s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1165s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1165s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1165s # 1165s # #else 1165s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1165s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1165s # 1165s # #endif 1165s # static void 1165s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1165s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1165s # if (skeleton->priv->changed_properties_idle_source != NULL) 1165s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1165s # g_main_context_unref (skeleton->priv->context); 1165s # g_mutex_clear (&skeleton->priv->lock); 1165s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1165s # { 1165s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1165s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1165s # #else 1165s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1165s # #endif 1165s # 1165s # g_mutex_init (&skeleton->priv->lock); 1165s # skeleton->priv->context = g_main_context_ref_thread_default (); 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1165s # { 1165s # GObjectClass *gobject_class; 1165s # GDBusInterfaceSkeletonClass *skeleton_class; 1165s # 1165s # gobject_class = G_OBJECT_CLASS (klass); 1165s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1165s # 1165s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1165s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1165s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1165s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1165s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1165s # 1165s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1165s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1165s # #endif 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1165s # { 1165s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1165s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i; 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_skeleton_new: 1165s # * 1165s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1165s # * 1165s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1165s # */ 1165s # OrgProjectSignalingIface * 1165s # org_project_signaling_iface_skeleton_new (void) 1165s # { 1165s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1165s # } 1165s # /tmp/tmplam8bnnq/tmpqxkzr61n.xml: 1165s # 1165s # 1165s # 1165s # 1165s # 1165s # 1165s # 1165s # 1165s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmplam8bnnq/tmpqxkzr61n.xml', '--output', '-', '--body'] 1165s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1165s # Output: /* 1165s # * This file is generated by gdbus-codegen, do not modify it. 1165s # * 1165s # * The license of this code is the same as for the D-Bus interface description 1165s # * it was derived from. Note that it links to GLib, so must comply with the 1165s # * LGPL linking clauses. 1165s # */ 1165s # 1165s # #ifdef HAVE_CONFIG_H 1165s # # include "config.h" 1165s # #endif 1165s # 1165s # #include 1165s # #ifdef G_OS_UNIX 1165s # # include 1165s # #endif 1165s # 1165s # #ifdef G_ENABLE_DEBUG 1165s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1165s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1165s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1165s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1165s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1165s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1165s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1165s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1165s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1165s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1165s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1165s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1165s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1165s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1165s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1165s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1165s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1165s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1165s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1165s # #else /* !G_ENABLE_DEBUG */ 1165s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1165s # * Do not access GValues directly in your code. Instead, use the 1165s # * g_value_get_*() functions 1165s # */ 1165s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1165s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1165s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1165s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1165s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1165s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1165s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1165s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1165s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1165s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1165s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1165s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1165s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1165s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1165s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1165s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1165s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1165s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1165s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1165s # #endif /* !G_ENABLE_DEBUG */ 1165s # 1165s # typedef struct 1165s # { 1165s # GDBusArgInfo parent_struct; 1165s # gboolean use_gvariant; 1165s # } _ExtendedGDBusArgInfo; 1165s # 1165s # typedef struct 1165s # { 1165s # GDBusMethodInfo parent_struct; 1165s # const gchar *signal_name; 1165s # gboolean pass_fdlist; 1165s # } _ExtendedGDBusMethodInfo; 1165s # 1165s # typedef struct 1165s # { 1165s # GDBusSignalInfo parent_struct; 1165s # const gchar *signal_name; 1165s # } _ExtendedGDBusSignalInfo; 1165s # 1165s # typedef struct 1165s # { 1165s # GDBusPropertyInfo parent_struct; 1165s # const gchar *hyphen_name; 1165s # guint use_gvariant : 1; 1165s # guint emits_changed_signal : 1; 1165s # } _ExtendedGDBusPropertyInfo; 1165s # 1165s # typedef struct 1165s # { 1165s # GDBusInterfaceInfo parent_struct; 1165s # const gchar *hyphen_name; 1165s # } _ExtendedGDBusInterfaceInfo; 1165s # 1165s # typedef struct 1165s # { 1165s # const _ExtendedGDBusPropertyInfo *info; 1165s # guint prop_id; 1165s # GValue orig_value; /* the value before the change */ 1165s # } ChangedProperty; 1165s # 1165s # static void 1165s # _changed_property_free (ChangedProperty *data) 1165s # { 1165s # g_value_unset (&data->orig_value); 1165s # g_free (data); 1165s # } 1165s # 1165s # static gboolean 1165s # _g_strv_equal0 (gchar **a, gchar **b) 1165s # { 1165s # gboolean ret = FALSE; 1165s # guint n; 1165s # if (a == NULL && b == NULL) 1165s # { 1165s # ret = TRUE; 1165s # goto out; 1165s # } 1165s # if (a == NULL || b == NULL) 1165s # goto out; 1165s # if (g_strv_length (a) != g_strv_length (b)) 1165s # goto out; 1165s # for (n = 0; a[n] != NULL; n++) 1165s # if (g_strcmp0 (a[n], b[n]) != 0) 1165s # goto out; 1165s # ret = TRUE; 1165s # out: 1165s # return ret; 1165s # } 1165s # 1165s # static gboolean 1165s # _g_variant_equal0 (GVariant *a, GVariant *b) 1165s # { 1165s # gboolean ret = FALSE; 1165s # if (a == NULL && b == NULL) 1165s # { 1165s # ret = TRUE; 1165s # goto out; 1165s # } 1165s # if (a == NULL || b == NULL) 1165s # goto out; 1165s # ret = g_variant_equal (a, b); 1165s # out: 1165s # return ret; 1165s # } 1165s # 1165s # G_GNUC_UNUSED static gboolean 1165s # _g_value_equal (const GValue *a, const GValue *b) 1165s # { 1165s # gboolean ret = FALSE; 1165s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1165s # switch (G_VALUE_TYPE (a)) 1165s # { 1165s # case G_TYPE_BOOLEAN: 1165s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1165s # break; 1165s # case G_TYPE_UCHAR: 1165s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1165s # break; 1165s # case G_TYPE_INT: 1165s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1165s # break; 1165s # case G_TYPE_UINT: 1165s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1165s # break; 1165s # case G_TYPE_INT64: 1165s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1165s # break; 1165s # case G_TYPE_UINT64: 1165s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1165s # break; 1165s # case G_TYPE_DOUBLE: 1165s # { 1165s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1165s # gdouble da = g_value_get_double (a); 1165s # gdouble db = g_value_get_double (b); 1165s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1165s # } 1165s # break; 1165s # case G_TYPE_STRING: 1165s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1165s # break; 1165s # case G_TYPE_VARIANT: 1165s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1165s # break; 1165s # default: 1165s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1165s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1165s # else 1165s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1165s # break; 1165s # } 1165s # return ret; 1165s # } 1165s # 1165s # /* ------------------------------------------------------------------------ 1165s # * Code for interface org.project.SignalingIface 1165s # * ------------------------------------------------------------------------ 1165s # */ 1165s # 1165s # /** 1165s # * SECTION:OrgProjectSignalingIface 1165s # * @title: OrgProjectSignalingIface 1165s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1165s # * 1165s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1165s # */ 1165s # 1165s # enum 1165s # { 1165s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1165s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U, 1165s # }; 1165s # 1165s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1165s # 1165s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1165s # 1165s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1165s # { 1165s # { 1165s # -1, 1165s # (gchar *) "SimpleSignal", 1165s # NULL, 1165s # NULL 1165s # }, 1165s # "simple-signal" 1165s # }; 1165s # 1165s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u = 1165s # { 1165s # { 1165s # -1, 1165s # (gchar *) "arg_u", 1165s # (gchar *) "u", 1165s # NULL 1165s # }, 1165s # FALSE 1165s # }; 1165s # 1165s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] = 1165s # { 1165s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u.parent_struct, 1165s # NULL 1165s # }; 1165s # 1165s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u = 1165s # { 1165s # { 1165s # -1, 1165s # (gchar *) "SingleArgSignalU", 1165s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers, 1165s # NULL 1165s # }, 1165s # "single-arg-signal-u" 1165s # }; 1165s # 1165s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1165s # { 1165s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1165s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct, 1165s # NULL 1165s # }; 1165s # 1165s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1165s # { 1165s # { 1165s # -1, 1165s # (gchar *) "org.project.SignalingIface", 1165s # NULL, 1165s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1165s # NULL, 1165s # NULL 1165s # }, 1165s # "org-project-signaling-iface", 1165s # }; 1165s # 1165s # 1165s # /** 1165s # * org_project_signaling_iface_interface_info: 1165s # * 1165s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1165s # * 1165s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1165s # */ 1165s # GDBusInterfaceInfo * 1165s # org_project_signaling_iface_interface_info (void) 1165s # { 1165s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_override_properties: 1165s # * @klass: The class structure for a #GObject derived class. 1165s # * @property_id_begin: The property id to assign to the first overridden property. 1165s # * 1165s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1165s # * The properties are overridden in the order they are defined. 1165s # * 1165s # * Returns: The last property id. 1165s # */ 1165s # guint 1165s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1165s # { 1165s # return property_id_begin - 1; 1165s # } 1165s # 1165s # 1165s # inline static void 1165s # org_project_signaling_iface_signal_marshal_simple_signal ( 1165s # GClosure *closure, 1165s # GValue *return_value, 1165s # unsigned int n_param_values, 1165s # const GValue *param_values, 1165s # void *invocation_hint, 1165s # void *marshal_data) 1165s # { 1165s # g_cclosure_marshal_VOID__VOID (closure, 1165s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1165s # } 1165s # 1165s # inline static void 1165s # org_project_signaling_iface_signal_marshal_single_arg_signal_u ( 1165s # GClosure *closure, 1165s # GValue *return_value, 1165s # unsigned int n_param_values, 1165s # const GValue *param_values, 1165s # void *invocation_hint, 1165s # void *marshal_data) 1165s # { 1165s # g_cclosure_marshal_VOID__UINT (closure, 1165s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1165s # } 1165s # 1165s # 1165s # /** 1165s # * OrgProjectSignalingIface: 1165s # * 1165s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1165s # */ 1165s # 1165s # /** 1165s # * OrgProjectSignalingIfaceIface: 1165s # * @parent_iface: The parent interface. 1165s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1165s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal. 1165s # * 1165s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1165s # */ 1165s # 1165s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1165s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1165s # 1165s # static void 1165s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1165s # { 1165s # /* GObject signals for received D-Bus signals: */ 1165s # /** 1165s # * OrgProjectSignalingIface::simple-signal: 1165s # * @object: A #OrgProjectSignalingIface. 1165s # * 1165s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1165s # * 1165s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1165s # */ 1165s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1165s # g_signal_new ("simple-signal", 1165s # G_TYPE_FROM_INTERFACE (iface), 1165s # G_SIGNAL_RUN_LAST, 1165s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1165s # NULL, 1165s # NULL, 1165s # org_project_signaling_iface_signal_marshal_simple_signal, 1165s # G_TYPE_NONE, 1165s # 0); 1165s # 1165s # /** 1165s # * OrgProjectSignalingIface::single-arg-signal-u: 1165s # * @object: A #OrgProjectSignalingIface. 1165s # * @arg_arg_u: Argument. 1165s # * 1165s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received. 1165s # * 1165s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1165s # */ 1165s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] = 1165s # g_signal_new ("single-arg-signal-u", 1165s # G_TYPE_FROM_INTERFACE (iface), 1165s # G_SIGNAL_RUN_LAST, 1165s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u), 1165s # NULL, 1165s # NULL, 1165s # org_project_signaling_iface_signal_marshal_single_arg_signal_u, 1165s # G_TYPE_NONE, 1165s # 1, G_TYPE_UINT); 1165s # 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_emit_simple_signal: 1165s # * @object: A #OrgProjectSignalingIface. 1165s # * 1165s # * Emits the "SimpleSignal" D-Bus signal. 1165s # */ 1165s # void 1165s # org_project_signaling_iface_emit_simple_signal ( 1165s # OrgProjectSignalingIface *object) 1165s # { 1165s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_emit_single_arg_signal_u: 1165s # * @object: A #OrgProjectSignalingIface. 1165s # * @arg_arg_u: Argument to pass with the signal. 1165s # * 1165s # * Emits the "SingleArgSignalU" D-Bus signal. 1165s # */ 1165s # void 1165s # org_project_signaling_iface_emit_single_arg_signal_u ( 1165s # OrgProjectSignalingIface *object, 1165s # guint arg_arg_u) 1165s # { 1165s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_arg_u); 1165s # } 1165s # 1165s # /* ------------------------------------------------------------------------ */ 1165s # 1165s # /** 1165s # * OrgProjectSignalingIfaceProxy: 1165s # * 1165s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1165s # */ 1165s # 1165s # /** 1165s # * OrgProjectSignalingIfaceProxyClass: 1165s # * @parent_class: The parent class. 1165s # * 1165s # * Class structure for #OrgProjectSignalingIfaceProxy. 1165s # */ 1165s # 1165s # struct _OrgProjectSignalingIfaceProxyPrivate 1165s # { 1165s # GData *qdata; 1165s # }; 1165s # 1165s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1165s # 1165s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1165s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1165s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1165s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1165s # 1165s # #else 1165s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1165s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1165s # 1165s # #endif 1165s # static void 1165s # org_project_signaling_iface_proxy_finalize (GObject *object) 1165s # { 1165s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1165s # g_datalist_clear (&proxy->priv->qdata); 1165s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1165s # guint prop_id G_GNUC_UNUSED, 1165s # GValue *value G_GNUC_UNUSED, 1165s # GParamSpec *pspec G_GNUC_UNUSED) 1165s # { 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1165s # guint prop_id G_GNUC_UNUSED, 1165s # const GValue *value G_GNUC_UNUSED, 1165s # GParamSpec *pspec G_GNUC_UNUSED) 1165s # { 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1165s # const gchar *sender_name G_GNUC_UNUSED, 1165s # const gchar *signal_name, 1165s # GVariant *parameters) 1165s # { 1165s # _ExtendedGDBusSignalInfo *info; 1165s # GVariantIter iter; 1165s # GVariant *child; 1165s # GValue *paramv; 1165s # gsize num_params; 1165s # gsize n; 1165s # guint signal_id; 1165s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1165s # if (info == NULL) 1165s # return; 1165s # num_params = g_variant_n_children (parameters); 1165s # paramv = g_new0 (GValue, num_params + 1); 1165s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1165s # g_value_set_object (¶mv[0], proxy); 1165s # g_variant_iter_init (&iter, parameters); 1165s # n = 1; 1165s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1165s # { 1165s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1165s # if (arg_info->use_gvariant) 1165s # { 1165s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1165s # g_value_set_variant (¶mv[n], child); 1165s # n++; 1165s # } 1165s # else 1165s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1165s # g_variant_unref (child); 1165s # } 1165s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1165s # g_signal_emitv (paramv, signal_id, 0, NULL); 1165s # for (n = 0; n < num_params + 1; n++) 1165s # g_value_unset (¶mv[n]); 1165s # g_free (paramv); 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1165s # GVariant *changed_properties, 1165s # const gchar *const *invalidated_properties) 1165s # { 1165s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1165s # guint n; 1165s # const gchar *key; 1165s # GVariantIter *iter; 1165s # _ExtendedGDBusPropertyInfo *info; 1165s # g_variant_get (changed_properties, "a{sv}", &iter); 1165s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1165s # { 1165s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1165s # g_datalist_remove_data (&proxy->priv->qdata, key); 1165s # if (info != NULL) 1165s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1165s # } 1165s # g_variant_iter_free (iter); 1165s # for (n = 0; invalidated_properties[n] != NULL; n++) 1165s # { 1165s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1165s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1165s # if (info != NULL) 1165s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1165s # } 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1165s # { 1165s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1165s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1165s # #else 1165s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1165s # #endif 1165s # 1165s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1165s # { 1165s # GObjectClass *gobject_class; 1165s # GDBusProxyClass *proxy_class; 1165s # 1165s # gobject_class = G_OBJECT_CLASS (klass); 1165s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1165s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1165s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1165s # 1165s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1165s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1165s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1165s # 1165s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1165s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1165s # #endif 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1165s # { 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_proxy_new: 1165s # * @connection: A #GDBusConnection. 1165s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1165s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1165s # * @object_path: An object path. 1165s # * @cancellable: (nullable): A #GCancellable or %NULL. 1165s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1165s # * @user_data: User data to pass to @callback. 1165s # * 1165s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1165s # * 1165s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1165s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1165s # * 1165s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1165s # */ 1165s # void 1165s # org_project_signaling_iface_proxy_new ( 1165s # GDBusConnection *connection, 1165s # GDBusProxyFlags flags, 1165s # const gchar *name, 1165s # const gchar *object_path, 1165s # GCancellable *cancellable, 1165s # GAsyncReadyCallback callback, 1165s # gpointer user_data) 1165s # { 1165s # 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); 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_proxy_new_finish: 1165s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1165s # * @error: Return location for error or %NULL 1165s # * 1165s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1165s # * 1165s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1165s # */ 1165s # OrgProjectSignalingIface * 1165s # org_project_signaling_iface_proxy_new_finish ( 1165s # GAsyncResult *res, 1165s # GError **error) 1165s # { 1165s # GObject *ret; 1165s # GObject *source_object; 1165s # source_object = g_async_result_get_source_object (res); 1165s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1165s # g_object_unref (source_object); 1165s # if (ret != NULL) 1165s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1165s # else 1165s # return NULL; 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_proxy_new_sync: 1165s # * @connection: A #GDBusConnection. 1165s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1165s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1165s # * @object_path: An object path. 1165s # * @cancellable: (nullable): A #GCancellable or %NULL. 1165s # * @error: Return location for error or %NULL 1165s # * 1165s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1165s # * 1165s # * The calling thread is blocked until a reply is received. 1165s # * 1165s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1165s # * 1165s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1165s # */ 1165s # OrgProjectSignalingIface * 1165s # org_project_signaling_iface_proxy_new_sync ( 1165s # GDBusConnection *connection, 1165s # GDBusProxyFlags flags, 1165s # const gchar *name, 1165s # const gchar *object_path, 1165s # GCancellable *cancellable, 1165s # GError **error) 1165s # { 1165s # GInitable *ret; 1165s # 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); 1165s # if (ret != NULL) 1165s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1165s # else 1165s # return NULL; 1165s # } 1165s # 1165s # 1165s # /** 1165s # * org_project_signaling_iface_proxy_new_for_bus: 1165s # * @bus_type: A #GBusType. 1165s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1165s # * @name: A bus name (well-known or unique). 1165s # * @object_path: An object path. 1165s # * @cancellable: (nullable): A #GCancellable or %NULL. 1165s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1165s # * @user_data: User data to pass to @callback. 1165s # * 1165s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1165s # * 1165s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1165s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1165s # * 1165s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1165s # */ 1165s # void 1165s # org_project_signaling_iface_proxy_new_for_bus ( 1165s # GBusType bus_type, 1165s # GDBusProxyFlags flags, 1165s # const gchar *name, 1165s # const gchar *object_path, 1165s # GCancellable *cancellable, 1165s # GAsyncReadyCallback callback, 1165s # gpointer user_data) 1165s # { 1165s # 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); 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1165s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1165s # * @error: Return location for error or %NULL 1165s # * 1165s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1165s # * 1165s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1165s # */ 1165s # OrgProjectSignalingIface * 1165s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1165s # GAsyncResult *res, 1165s # GError **error) 1165s # { 1165s # GObject *ret; 1165s # GObject *source_object; 1165s # source_object = g_async_result_get_source_object (res); 1165s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1165s # g_object_unref (source_object); 1165s # if (ret != NULL) 1165s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1165s # else 1165s # return NULL; 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1165s # * @bus_type: A #GBusType. 1165s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1165s # * @name: A bus name (well-known or unique). 1165s # * @object_path: An object path. 1165s # * @cancellable: (nullable): A #GCancellable or %NULL. 1165s # * @error: Return location for error or %NULL 1165s # * 1165s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1165s # * 1165s # * The calling thread is blocked until a reply is received. 1165s # * 1165s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1165s # * 1165s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1165s # */ 1165s # OrgProjectSignalingIface * 1165s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1165s # GBusType bus_type, 1165s # GDBusProxyFlags flags, 1165s # const gchar *name, 1165s # const gchar *object_path, 1165s # GCancellable *cancellable, 1165s # GError **error) 1165s # { 1165s # GInitable *ret; 1165s # 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); 1165s # if (ret != NULL) 1165s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1165s # else 1165s # return NULL; 1165s # } 1165s # 1165s # 1165s # /* ------------------------------------------------------------------------ */ 1165s # 1165s # /** 1165s # * OrgProjectSignalingIfaceSkeleton: 1165s # * 1165s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1165s # */ 1165s # 1165s # /** 1165s # * OrgProjectSignalingIfaceSkeletonClass: 1165s # * @parent_class: The parent class. 1165s # * 1165s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1165s # */ 1165s # 1165s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1165s # { 1165s # GValue *properties; 1165s # GList *changed_properties; 1165s # GSource *changed_properties_idle_source; 1165s # GMainContext *context; 1165s # GMutex lock; 1165s # }; 1165s # 1165s # static void 1165s # _org_project_signaling_iface_skeleton_handle_method_call ( 1165s # GDBusConnection *connection G_GNUC_UNUSED, 1165s # const gchar *sender G_GNUC_UNUSED, 1165s # const gchar *object_path G_GNUC_UNUSED, 1165s # const gchar *interface_name, 1165s # const gchar *method_name, 1165s # GVariant *parameters, 1165s # GDBusMethodInvocation *invocation, 1165s # gpointer user_data) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1165s # _ExtendedGDBusMethodInfo *info; 1165s # GVariantIter iter; 1165s # GVariant *child; 1165s # GValue *paramv; 1165s # gsize num_params; 1165s # guint num_extra; 1165s # gsize n; 1165s # guint signal_id; 1165s # GValue return_value = G_VALUE_INIT; 1165s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1165s # g_assert (info != NULL); 1165s # num_params = g_variant_n_children (parameters); 1165s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1165s # n = 0; 1165s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1165s # g_value_set_object (¶mv[n++], skeleton); 1165s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1165s # g_value_set_object (¶mv[n++], invocation); 1165s # if (info->pass_fdlist) 1165s # { 1165s # #ifdef G_OS_UNIX 1165s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1165s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1165s # #else 1165s # g_assert_not_reached (); 1165s # #endif 1165s # } 1165s # g_variant_iter_init (&iter, parameters); 1165s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1165s # { 1165s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1165s # if (arg_info->use_gvariant) 1165s # { 1165s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1165s # g_value_set_variant (¶mv[n], child); 1165s # n++; 1165s # } 1165s # else 1165s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1165s # g_variant_unref (child); 1165s # } 1165s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1165s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1165s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1165s # if (!g_value_get_boolean (&return_value)) 1165s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1165s # g_value_unset (&return_value); 1165s # for (n = 0; n < num_params + num_extra; n++) 1165s # g_value_unset (¶mv[n]); 1165s # g_free (paramv); 1165s # } 1165s # 1165s # static GVariant * 1165s # _org_project_signaling_iface_skeleton_handle_get_property ( 1165s # GDBusConnection *connection G_GNUC_UNUSED, 1165s # const gchar *sender G_GNUC_UNUSED, 1165s # const gchar *object_path G_GNUC_UNUSED, 1165s # const gchar *interface_name G_GNUC_UNUSED, 1165s # const gchar *property_name, 1165s # GError **error, 1165s # gpointer user_data) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1165s # GValue value = G_VALUE_INIT; 1165s # GParamSpec *pspec; 1165s # _ExtendedGDBusPropertyInfo *info; 1165s # GVariant *ret; 1165s # ret = NULL; 1165s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1165s # g_assert (info != NULL); 1165s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1165s # if (pspec == NULL) 1165s # { 1165s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1165s # } 1165s # else 1165s # { 1165s # g_value_init (&value, pspec->value_type); 1165s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1165s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1165s # g_value_unset (&value); 1165s # } 1165s # return ret; 1165s # } 1165s # 1165s # static gboolean 1165s # _org_project_signaling_iface_skeleton_handle_set_property ( 1165s # GDBusConnection *connection G_GNUC_UNUSED, 1165s # const gchar *sender G_GNUC_UNUSED, 1165s # const gchar *object_path G_GNUC_UNUSED, 1165s # const gchar *interface_name G_GNUC_UNUSED, 1165s # const gchar *property_name, 1165s # GVariant *variant, 1165s # GError **error, 1165s # gpointer user_data) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1165s # GValue value = G_VALUE_INIT; 1165s # GParamSpec *pspec; 1165s # _ExtendedGDBusPropertyInfo *info; 1165s # gboolean ret; 1165s # ret = FALSE; 1165s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1165s # g_assert (info != NULL); 1165s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1165s # if (pspec == NULL) 1165s # { 1165s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1165s # } 1165s # else 1165s # { 1165s # if (info->use_gvariant) 1165s # g_value_set_variant (&value, variant); 1165s # else 1165s # g_dbus_gvariant_to_gvalue (variant, &value); 1165s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1165s # g_value_unset (&value); 1165s # ret = TRUE; 1165s # } 1165s # return ret; 1165s # } 1165s # 1165s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1165s # { 1165s # _org_project_signaling_iface_skeleton_handle_method_call, 1165s # _org_project_signaling_iface_skeleton_handle_get_property, 1165s # _org_project_signaling_iface_skeleton_handle_set_property, 1165s # {NULL} 1165s # }; 1165s # 1165s # static GDBusInterfaceInfo * 1165s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1165s # { 1165s # return org_project_signaling_iface_interface_info (); 1165s # } 1165s # 1165s # static GDBusInterfaceVTable * 1165s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1165s # { 1165s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1165s # } 1165s # 1165s # static GVariant * 1165s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1165s # 1165s # GVariantBuilder builder; 1165s # guint n; 1165s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1165s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1165s # goto out; 1165s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1165s # { 1165s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1165s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1165s # { 1165s # GVariant *value; 1165s # 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); 1165s # if (value != NULL) 1165s # { 1165s # g_variant_take_ref (value); 1165s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1165s # g_variant_unref (value); 1165s # } 1165s # } 1165s # } 1165s # out: 1165s # return g_variant_builder_end (&builder); 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1165s # { 1165s # } 1165s # 1165s # static void 1165s # _org_project_signaling_iface_on_signal_simple_signal ( 1165s # OrgProjectSignalingIface *object) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1165s # 1165s # GList *connections, *l; 1165s # GVariant *signal_variant; 1165s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1165s # 1165s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1165s # for (l = connections; l != NULL; l = l->next) 1165s # { 1165s # GDBusConnection *connection = l->data; 1165s # g_dbus_connection_emit_signal (connection, 1165s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1165s # signal_variant, NULL); 1165s # } 1165s # g_variant_unref (signal_variant); 1165s # g_list_free_full (connections, g_object_unref); 1165s # } 1165s # 1165s # static void 1165s # _org_project_signaling_iface_on_signal_single_arg_signal_u ( 1165s # OrgProjectSignalingIface *object, 1165s # guint arg_arg_u) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1165s # 1165s # GList *connections, *l; 1165s # GVariant *signal_variant; 1165s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1165s # 1165s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)", 1165s # arg_arg_u)); 1165s # for (l = connections; l != NULL; l = l->next) 1165s # { 1165s # GDBusConnection *connection = l->data; 1165s # g_dbus_connection_emit_signal (connection, 1165s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU", 1165s # signal_variant, NULL); 1165s # } 1165s # g_variant_unref (signal_variant); 1165s # g_list_free_full (connections, g_object_unref); 1165s # } 1165s # 1165s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1165s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1165s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1165s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1165s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1165s # 1165s # #else 1165s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1165s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1165s # 1165s # #endif 1165s # static void 1165s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1165s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1165s # if (skeleton->priv->changed_properties_idle_source != NULL) 1165s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1165s # g_main_context_unref (skeleton->priv->context); 1165s # g_mutex_clear (&skeleton->priv->lock); 1165s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1165s # { 1165s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1165s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1165s # #else 1165s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1165s # #endif 1165s # 1165s # g_mutex_init (&skeleton->priv->lock); 1165s # skeleton->priv->context = g_main_context_ref_thread_default (); 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1165s # { 1165s # GObjectClass *gobject_class; 1165s # GDBusInterfaceSkeletonClass *skeleton_class; 1165s # 1165s # gobject_class = G_OBJECT_CLASS (klass); 1165s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1165s # 1165s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1165s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1165s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1165s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1165s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1165s # 1165s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1165s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1165s # #endif 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1165s # { 1165s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1165s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u; 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_skeleton_new: 1165s # * 1165s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1165s # * 1165s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1165s # */ 1165s # OrgProjectSignalingIface * 1165s # org_project_signaling_iface_skeleton_new (void) 1165s # { 1165s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1165s # } 1165s # /tmp/tmplam8bnnq/tmpsdfj13m6.xml: 1165s # 1165s # 1165s # 1165s # 1165s # 1165s # 1165s # 1165s # 1165s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmplam8bnnq/tmpsdfj13m6.xml', '--output', '-', '--body'] 1165s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1165s # Output: /* 1165s # * This file is generated by gdbus-codegen, do not modify it. 1165s # * 1165s # * The license of this code is the same as for the D-Bus interface description 1165s # * it was derived from. Note that it links to GLib, so must comply with the 1165s # * LGPL linking clauses. 1165s # */ 1165s # 1165s # #ifdef HAVE_CONFIG_H 1165s # # include "config.h" 1165s # #endif 1165s # 1165s # #include 1165s # #ifdef G_OS_UNIX 1165s # # include 1165s # #endif 1165s # 1165s # #ifdef G_ENABLE_DEBUG 1165s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1165s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1165s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1165s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1165s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1165s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1165s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1165s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1165s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1165s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1165s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1165s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1165s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1165s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1165s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1165s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1165s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1165s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1165s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1165s # #else /* !G_ENABLE_DEBUG */ 1165s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1165s # * Do not access GValues directly in your code. Instead, use the 1165s # * g_value_get_*() functions 1165s # */ 1165s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1165s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1165s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1165s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1165s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1165s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1165s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1165s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1165s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1165s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1165s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1165s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1165s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1165s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1165s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1165s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1165s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1165s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1165s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1165s # #endif /* !G_ENABLE_DEBUG */ 1165s # 1165s # typedef struct 1165s # { 1165s # GDBusArgInfo parent_struct; 1165s # gboolean use_gvariant; 1165s # } _ExtendedGDBusArgInfo; 1165s # 1165s # typedef struct 1165s # { 1165s # GDBusMethodInfo parent_struct; 1165s # const gchar *signal_name; 1165s # gboolean pass_fdlist; 1165s # } _ExtendedGDBusMethodInfo; 1165s # 1165s # typedef struct 1165s # { 1165s # GDBusSignalInfo parent_struct; 1165s # const gchar *signal_name; 1165s # } _ExtendedGDBusSignalInfo; 1165s # 1165s # typedef struct 1165s # { 1165s # GDBusPropertyInfo parent_struct; 1165s # const gchar *hyphen_name; 1165s # guint use_gvariant : 1; 1165s # guint emits_changed_signal : 1; 1165s # } _ExtendedGDBusPropertyInfo; 1165s # 1165s # typedef struct 1165s # { 1165s # GDBusInterfaceInfo parent_struct; 1165s # const gchar *hyphen_name; 1165s # } _ExtendedGDBusInterfaceInfo; 1165s # 1165s # typedef struct 1165s # { 1165s # const _ExtendedGDBusPropertyInfo *info; 1165s # guint prop_id; 1165s # GValue orig_value; /* the value before the change */ 1165s # } ChangedProperty; 1165s # 1165s # static void 1165s # _changed_property_free (ChangedProperty *data) 1165s # { 1165s # g_value_unset (&data->orig_value); 1165s # g_free (data); 1165s # } 1165s # 1165s # static gboolean 1165s # _g_strv_equal0 (gchar **a, gchar **b) 1165s # { 1165s # gboolean ret = FALSE; 1165s # guint n; 1165s # if (a == NULL && b == NULL) 1165s # { 1165s # ret = TRUE; 1165s # goto out; 1165s # } 1165s # if (a == NULL || b == NULL) 1165s # goto out; 1165s # if (g_strv_length (a) != g_strv_length (b)) 1165s # goto out; 1165s # for (n = 0; a[n] != NULL; n++) 1165s # if (g_strcmp0 (a[n], b[n]) != 0) 1165s # goto out; 1165s # ret = TRUE; 1165s # out: 1165s # return ret; 1165s # } 1165s # 1165s # static gboolean 1165s # _g_variant_equal0 (GVariant *a, GVariant *b) 1165s # { 1165s # gboolean ret = FALSE; 1165s # if (a == NULL && b == NULL) 1165s # { 1165s # ret = TRUE; 1165s # goto out; 1165s # } 1165s # if (a == NULL || b == NULL) 1165s # goto out; 1165s # ret = g_variant_equal (a, b); 1165s # out: 1165s # return ret; 1165s # } 1165s # 1165s # G_GNUC_UNUSED static gboolean 1165s # _g_value_equal (const GValue *a, const GValue *b) 1165s # { 1165s # gboolean ret = FALSE; 1165s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1165s # switch (G_VALUE_TYPE (a)) 1165s # { 1165s # case G_TYPE_BOOLEAN: 1165s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1165s # break; 1165s # case G_TYPE_UCHAR: 1165s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1165s # break; 1165s # case G_TYPE_INT: 1165s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1165s # break; 1165s # case G_TYPE_UINT: 1165s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1165s # break; 1165s # case G_TYPE_INT64: 1165s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1165s # break; 1165s # case G_TYPE_UINT64: 1165s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1165s # break; 1165s # case G_TYPE_DOUBLE: 1165s # { 1165s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1165s # gdouble da = g_value_get_double (a); 1165s # gdouble db = g_value_get_double (b); 1165s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1165s # } 1165s # break; 1165s # case G_TYPE_STRING: 1165s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1165s # break; 1165s # case G_TYPE_VARIANT: 1165s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1165s # break; 1165s # default: 1165s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1165s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1165s # else 1165s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1165s # break; 1165s # } 1165s # return ret; 1165s # } 1165s # 1165s # static void 1165s # _g_dbus_codegen_marshal_VOID__INT64 ( 1165s # GClosure *closure, 1165s # GValue *return_value G_GNUC_UNUSED, 1165s # unsigned int n_param_values, 1165s # const GValue *param_values, 1165s # void *invocation_hint G_GNUC_UNUSED, 1165s # void *marshal_data) 1165s # { 1165s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func) 1165s # (void *data1, 1165s # gint64 arg_arg_x, 1165s # void *data2); 1165s # _GDbusCodegenMarshalVoid_Int64Func callback; 1165s # GCClosure *cc = (GCClosure*) closure; 1165s # void *data1, *data2; 1165s # 1165s # g_return_if_fail (n_param_values == 2); 1165s # 1165s # if (G_CCLOSURE_SWAP_DATA (closure)) 1165s # { 1165s # data1 = closure->data; 1165s # data2 = g_value_peek_pointer (param_values + 0); 1165s # } 1165s # else 1165s # { 1165s # data1 = g_value_peek_pointer (param_values + 0); 1165s # data2 = closure->data; 1165s # } 1165s # 1165s # callback = (_GDbusCodegenMarshalVoid_Int64Func) 1165s # (marshal_data ? marshal_data : cc->callback); 1165s # 1165s # callback (data1, 1165s # g_marshal_value_peek_int64 (param_values + 1), 1165s # data2); 1165s # } 1165s # 1165s # /* ------------------------------------------------------------------------ 1165s # * Code for interface org.project.SignalingIface 1165s # * ------------------------------------------------------------------------ 1165s # */ 1165s # 1165s # /** 1165s # * SECTION:OrgProjectSignalingIface 1165s # * @title: OrgProjectSignalingIface 1165s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1165s # * 1165s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1165s # */ 1165s # 1165s # enum 1165s # { 1165s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1165s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X, 1165s # }; 1165s # 1165s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1165s # 1165s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1165s # 1165s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1165s # { 1165s # { 1165s # -1, 1165s # (gchar *) "SimpleSignal", 1165s # NULL, 1165s # NULL 1165s # }, 1165s # "simple-signal" 1165s # }; 1165s # 1165s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x = 1165s # { 1165s # { 1165s # -1, 1165s # (gchar *) "arg_x", 1165s # (gchar *) "x", 1165s # NULL 1165s # }, 1165s # FALSE 1165s # }; 1165s # 1165s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] = 1165s # { 1165s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x.parent_struct, 1165s # NULL 1165s # }; 1165s # 1165s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x = 1165s # { 1165s # { 1165s # -1, 1165s # (gchar *) "SingleArgSignalX", 1165s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers, 1165s # NULL 1165s # }, 1165s # "single-arg-signal-x" 1165s # }; 1165s # 1165s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1165s # { 1165s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1165s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct, 1165s # NULL 1165s # }; 1165s # 1165s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1165s # { 1165s # { 1165s # -1, 1165s # (gchar *) "org.project.SignalingIface", 1165s # NULL, 1165s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1165s # NULL, 1165s # NULL 1165s # }, 1165s # "org-project-signaling-iface", 1165s # }; 1165s # 1165s # 1165s # /** 1165s # * org_project_signaling_iface_interface_info: 1165s # * 1165s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1165s # * 1165s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1165s # */ 1165s # GDBusInterfaceInfo * 1165s # org_project_signaling_iface_interface_info (void) 1165s # { 1165s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_override_properties: 1165s # * @klass: The class structure for a #GObject derived class. 1165s # * @property_id_begin: The property id to assign to the first overridden property. 1165s # * 1165s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1165s # * The properties are overridden in the order they are defined. 1165s # * 1165s # * Returns: The last property id. 1165s # */ 1165s # guint 1165s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1165s # { 1165s # return property_id_begin - 1; 1165s # } 1165s # 1165s # 1165s # inline static void 1165s # org_project_signaling_iface_signal_marshal_simple_signal ( 1165s # GClosure *closure, 1165s # GValue *return_value, 1165s # unsigned int n_param_values, 1165s # const GValue *param_values, 1165s # void *invocation_hint, 1165s # void *marshal_data) 1165s # { 1165s # g_cclosure_marshal_VOID__VOID (closure, 1165s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1165s # } 1165s # 1165s # inline static void 1165s # org_project_signaling_iface_signal_marshal_single_arg_signal_x ( 1165s # GClosure *closure, 1165s # GValue *return_value, 1165s # unsigned int n_param_values, 1165s # const GValue *param_values, 1165s # void *invocation_hint, 1165s # void *marshal_data) 1165s # { 1165s # _g_dbus_codegen_marshal_VOID__INT64 (closure, 1165s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1165s # } 1165s # 1165s # 1165s # /** 1165s # * OrgProjectSignalingIface: 1165s # * 1165s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1165s # */ 1165s # 1165s # /** 1165s # * OrgProjectSignalingIfaceIface: 1165s # * @parent_iface: The parent interface. 1165s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1165s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal. 1165s # * 1165s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1165s # */ 1165s # 1165s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1165s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1165s # 1165s # static void 1165s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1165s # { 1165s # /* GObject signals for received D-Bus signals: */ 1165s # /** 1165s # * OrgProjectSignalingIface::simple-signal: 1165s # * @object: A #OrgProjectSignalingIface. 1165s # * 1165s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1165s # * 1165s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1165s # */ 1165s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1165s # g_signal_new ("simple-signal", 1165s # G_TYPE_FROM_INTERFACE (iface), 1165s # G_SIGNAL_RUN_LAST, 1165s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1165s # NULL, 1165s # NULL, 1165s # org_project_signaling_iface_signal_marshal_simple_signal, 1165s # G_TYPE_NONE, 1165s # 0); 1165s # 1165s # /** 1165s # * OrgProjectSignalingIface::single-arg-signal-x: 1165s # * @object: A #OrgProjectSignalingIface. 1165s # * @arg_arg_x: Argument. 1165s # * 1165s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received. 1165s # * 1165s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1165s # */ 1165s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] = 1165s # g_signal_new ("single-arg-signal-x", 1165s # G_TYPE_FROM_INTERFACE (iface), 1165s # G_SIGNAL_RUN_LAST, 1165s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x), 1165s # NULL, 1165s # NULL, 1165s # org_project_signaling_iface_signal_marshal_single_arg_signal_x, 1165s # G_TYPE_NONE, 1165s # 1, G_TYPE_INT64); 1165s # 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_emit_simple_signal: 1165s # * @object: A #OrgProjectSignalingIface. 1165s # * 1165s # * Emits the "SimpleSignal" D-Bus signal. 1165s # */ 1165s # void 1165s # org_project_signaling_iface_emit_simple_signal ( 1165s # OrgProjectSignalingIface *object) 1165s # { 1165s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_emit_single_arg_signal_x: 1165s # * @object: A #OrgProjectSignalingIface. 1165s # * @arg_arg_x: Argument to pass with the signal. 1165s # * 1165s # * Emits the "SingleArgSignalX" D-Bus signal. 1165s # */ 1165s # void 1165s # org_project_signaling_iface_emit_single_arg_signal_x ( 1165s # OrgProjectSignalingIface *object, 1165s # gint64 arg_arg_x) 1165s # { 1165s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_arg_x); 1165s # } 1165s # 1165s # /* ------------------------------------------------------------------------ */ 1165s # 1165s # /** 1165s # * OrgProjectSignalingIfaceProxy: 1165s # * 1165s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1165s # */ 1165s # 1165s # /** 1165s # * OrgProjectSignalingIfaceProxyClass: 1165s # * @parent_class: The parent class. 1165s # * 1165s # * Class structure for #OrgProjectSignalingIfaceProxy. 1165s # */ 1165s # 1165s # struct _OrgProjectSignalingIfaceProxyPrivate 1165s # { 1165s # GData *qdata; 1165s # }; 1165s # 1165s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1165s # 1165s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1165s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1165s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1165s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1165s # 1165s # #else 1165s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1165s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1165s # 1165s # #endif 1165s # static void 1165s # org_project_signaling_iface_proxy_finalize (GObject *object) 1165s # { 1165s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1165s # g_datalist_clear (&proxy->priv->qdata); 1165s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1165s # guint prop_id G_GNUC_UNUSED, 1165s # GValue *value G_GNUC_UNUSED, 1165s # GParamSpec *pspec G_GNUC_UNUSED) 1165s # { 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1165s # guint prop_id G_GNUC_UNUSED, 1165s # const GValue *value G_GNUC_UNUSED, 1165s # GParamSpec *pspec G_GNUC_UNUSED) 1165s # { 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1165s # const gchar *sender_name G_GNUC_UNUSED, 1165s # const gchar *signal_name, 1165s # GVariant *parameters) 1165s # { 1165s # _ExtendedGDBusSignalInfo *info; 1165s # GVariantIter iter; 1165s # GVariant *child; 1165s # GValue *paramv; 1165s # gsize num_params; 1165s # gsize n; 1165s # guint signal_id; 1165s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1165s # if (info == NULL) 1165s # return; 1165s # num_params = g_variant_n_children (parameters); 1165s # paramv = g_new0 (GValue, num_params + 1); 1165s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1165s # g_value_set_object (¶mv[0], proxy); 1165s # g_variant_iter_init (&iter, parameters); 1165s # n = 1; 1165s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1165s # { 1165s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1165s # if (arg_info->use_gvariant) 1165s # { 1165s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1165s # g_value_set_variant (¶mv[n], child); 1165s # n++; 1165s # } 1165s # else 1165s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1165s # g_variant_unref (child); 1165s # } 1165s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1165s # g_signal_emitv (paramv, signal_id, 0, NULL); 1165s # for (n = 0; n < num_params + 1; n++) 1165s # g_value_unset (¶mv[n]); 1165s # g_free (paramv); 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1165s # GVariant *changed_properties, 1165s # const gchar *const *invalidated_properties) 1165s # { 1165s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1165s # guint n; 1165s # const gchar *key; 1165s # GVariantIter *iter; 1165s # _ExtendedGDBusPropertyInfo *info; 1165s # g_variant_get (changed_properties, "a{sv}", &iter); 1165s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1165s # { 1165s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1165s # g_datalist_remove_data (&proxy->priv->qdata, key); 1165s # if (info != NULL) 1165s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1165s # } 1165s # g_variant_iter_free (iter); 1165s # for (n = 0; invalidated_properties[n] != NULL; n++) 1165s # { 1165s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1165s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1165s # if (info != NULL) 1165s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1165s # } 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1165s # { 1165s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1165s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1165s # #else 1165s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1165s # #endif 1165s # 1165s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1165s # { 1165s # GObjectClass *gobject_class; 1165s # GDBusProxyClass *proxy_class; 1165s # 1165s # gobject_class = G_OBJECT_CLASS (klass); 1165s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1165s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1165s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1165s # 1165s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1165s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1165s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1165s # 1165s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1165s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1165s # #endif 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1165s # { 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_proxy_new: 1165s # * @connection: A #GDBusConnection. 1165s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1165s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1165s # * @object_path: An object path. 1165s # * @cancellable: (nullable): A #GCancellable or %NULL. 1165s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1165s # * @user_data: User data to pass to @callback. 1165s # * 1165s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1165s # * 1165s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1165s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1165s # * 1165s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1165s # */ 1165s # void 1165s # org_project_signaling_iface_proxy_new ( 1165s # GDBusConnection *connection, 1165s # GDBusProxyFlags flags, 1165s # const gchar *name, 1165s # const gchar *object_path, 1165s # GCancellable *cancellable, 1165s # GAsyncReadyCallback callback, 1165s # gpointer user_data) 1165s # { 1165s # 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); 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_proxy_new_finish: 1165s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1165s # * @error: Return location for error or %NULL 1165s # * 1165s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1165s # * 1165s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1165s # */ 1165s # OrgProjectSignalingIface * 1165s # org_project_signaling_iface_proxy_new_finish ( 1165s # GAsyncResult *res, 1165s # GError **error) 1165s # { 1165s # GObject *ret; 1165s # GObject *source_object; 1165s # source_object = g_async_result_get_source_object (res); 1165s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1165s # g_object_unref (source_object); 1165s # if (ret != NULL) 1165s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1165s # else 1165s # return NULL; 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_proxy_new_sync: 1165s # * @connection: A #GDBusConnection. 1165s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1165s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1165s # * @object_path: An object path. 1165s # * @cancellable: (nullable): A #GCancellable or %NULL. 1165s # * @error: Return location for error or %NULL 1165s # * 1165s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1165s # * 1165s # * The calling thread is blocked until a reply is received. 1165s # * 1165s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1165s # * 1165s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1165s # */ 1165s # OrgProjectSignalingIface * 1165s # org_project_signaling_iface_proxy_new_sync ( 1165s # GDBusConnection *connection, 1165s # GDBusProxyFlags flags, 1165s # const gchar *name, 1165s # const gchar *object_path, 1165s # GCancellable *cancellable, 1165s # GError **error) 1165s # { 1165s # GInitable *ret; 1165s # 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); 1165s # if (ret != NULL) 1165s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1165s # else 1165s # return NULL; 1165s # } 1165s # 1165s # 1165s # /** 1165s # * org_project_signaling_iface_proxy_new_for_bus: 1165s # * @bus_type: A #GBusType. 1165s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1165s # * @name: A bus name (well-known or unique). 1165s # * @object_path: An object path. 1165s # * @cancellable: (nullable): A #GCancellable or %NULL. 1165s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1165s # * @user_data: User data to pass to @callback. 1165s # * 1165s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1165s # * 1165s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1165s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1165s # * 1165s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1165s # */ 1165s # void 1165s # org_project_signaling_iface_proxy_new_for_bus ( 1165s # GBusType bus_type, 1165s # GDBusProxyFlags flags, 1165s # const gchar *name, 1165s # const gchar *object_path, 1165s # GCancellable *cancellable, 1165s # GAsyncReadyCallback callback, 1165s # gpointer user_data) 1165s # { 1165s # 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); 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1165s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1165s # * @error: Return location for error or %NULL 1165s # * 1165s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1165s # * 1165s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1165s # */ 1165s # OrgProjectSignalingIface * 1165s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1165s # GAsyncResult *res, 1165s # GError **error) 1165s # { 1165s # GObject *ret; 1165s # GObject *source_object; 1165s # source_object = g_async_result_get_source_object (res); 1165s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1165s # g_object_unref (source_object); 1165s # if (ret != NULL) 1165s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1165s # else 1165s # return NULL; 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1165s # * @bus_type: A #GBusType. 1165s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1165s # * @name: A bus name (well-known or unique). 1165s # * @object_path: An object path. 1165s # * @cancellable: (nullable): A #GCancellable or %NULL. 1165s # * @error: Return location for error or %NULL 1165s # * 1165s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1165s # * 1165s # * The calling thread is blocked until a reply is received. 1165s # * 1165s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1165s # * 1165s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1165s # */ 1165s # OrgProjectSignalingIface * 1165s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1165s # GBusType bus_type, 1165s # GDBusProxyFlags flags, 1165s # const gchar *name, 1165s # const gchar *object_path, 1165s # GCancellable *cancellable, 1165s # GError **error) 1165s # { 1165s # GInitable *ret; 1165s # 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); 1165s # if (ret != NULL) 1165s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1165s # else 1165s # return NULL; 1165s # } 1165s # 1165s # 1165s # /* ------------------------------------------------------------------------ */ 1165s # 1165s # /** 1165s # * OrgProjectSignalingIfaceSkeleton: 1165s # * 1165s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1165s # */ 1165s # 1165s # /** 1165s # * OrgProjectSignalingIfaceSkeletonClass: 1165s # * @parent_class: The parent class. 1165s # * 1165s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1165s # */ 1165s # 1165s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1165s # { 1165s # GValue *properties; 1165s # GList *changed_properties; 1165s # GSource *changed_properties_idle_source; 1165s # GMainContext *context; 1165s # GMutex lock; 1165s # }; 1165s # 1165s # static void 1165s # _org_project_signaling_iface_skeleton_handle_method_call ( 1165s # GDBusConnection *connection G_GNUC_UNUSED, 1165s # const gchar *sender G_GNUC_UNUSED, 1165s # const gchar *object_path G_GNUC_UNUSED, 1165s # const gchar *interface_name, 1165s # const gchar *method_name, 1165s # GVariant *parameters, 1165s # GDBusMethodInvocation *invocation, 1165s # gpointer user_data) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1165s # _ExtendedGDBusMethodInfo *info; 1165s # GVariantIter iter; 1165s # GVariant *child; 1165s # GValue *paramv; 1165s # gsize num_params; 1165s # guint num_extra; 1165s # gsize n; 1165s # guint signal_id; 1165s # GValue return_value = G_VALUE_INIT; 1165s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1165s # g_assert (info != NULL); 1165s # num_params = g_variant_n_children (parameters); 1165s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1165s # n = 0; 1165s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1165s # g_value_set_object (¶mv[n++], skeleton); 1165s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1165s # g_value_set_object (¶mv[n++], invocation); 1165s # if (info->pass_fdlist) 1165s # { 1165s # #ifdef G_OS_UNIX 1165s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1165s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1165s # #else 1165s # g_assert_not_reached (); 1165s # #endif 1165s # } 1165s # g_variant_iter_init (&iter, parameters); 1165s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1165s # { 1165s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1165s # if (arg_info->use_gvariant) 1165s # { 1165s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1165s # g_value_set_variant (¶mv[n], child); 1165s # n++; 1165s # } 1165s # else 1165s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1165s # g_variant_unref (child); 1165s # } 1165s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1165s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1165s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1165s # if (!g_value_get_boolean (&return_value)) 1165s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1165s # g_value_unset (&return_value); 1165s # for (n = 0; n < num_params + num_extra; n++) 1165s # g_value_unset (¶mv[n]); 1165s # g_free (paramv); 1165s # } 1165s # 1165s # static GVariant * 1165s # _org_project_signaling_iface_skeleton_handle_get_property ( 1165s # GDBusConnection *connection G_GNUC_UNUSED, 1165s # const gchar *sender G_GNUC_UNUSED, 1165s # const gchar *object_path G_GNUC_UNUSED, 1165s # const gchar *interface_name G_GNUC_UNUSED, 1165s # const gchar *property_name, 1165s # GError **error, 1165s # gpointer user_data) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1165s # GValue value = G_VALUE_INIT; 1165s # GParamSpec *pspec; 1165s # _ExtendedGDBusPropertyInfo *info; 1165s # GVariant *ret; 1165s # ret = NULL; 1165s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1165s # g_assert (info != NULL); 1165s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1165s # if (pspec == NULL) 1165s # { 1165s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1165s # } 1165s # else 1165s # { 1165s # g_value_init (&value, pspec->value_type); 1165s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1165s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1165s # g_value_unset (&value); 1165s # } 1165s # return ret; 1165s # } 1165s # 1165s # static gboolean 1165s # _org_project_signaling_iface_skeleton_handle_set_property ( 1165s # GDBusConnection *connection G_GNUC_UNUSED, 1165s # const gchar *sender G_GNUC_UNUSED, 1165s # const gchar *object_path G_GNUC_UNUSED, 1165s # const gchar *interface_name G_GNUC_UNUSED, 1165s # const gchar *property_name, 1165s # GVariant *variant, 1165s # GError **error, 1165s # gpointer user_data) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1165s # GValue value = G_VALUE_INIT; 1165s # GParamSpec *pspec; 1165s # _ExtendedGDBusPropertyInfo *info; 1165s # gboolean ret; 1165s # ret = FALSE; 1165s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1165s # g_assert (info != NULL); 1165s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1165s # if (pspec == NULL) 1165s # { 1165s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1165s # } 1165s # else 1165s # { 1165s # if (info->use_gvariant) 1165s # g_value_set_variant (&value, variant); 1165s # else 1165s # g_dbus_gvariant_to_gvalue (variant, &value); 1165s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1165s # g_value_unset (&value); 1165s # ret = TRUE; 1165s # } 1165s # return ret; 1165s # } 1165s # 1165s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1165s # { 1165s # _org_project_signaling_iface_skeleton_handle_method_call, 1165s # _org_project_signaling_iface_skeleton_handle_get_property, 1165s # _org_project_signaling_iface_skeleton_handle_set_property, 1165s # {NULL} 1165s # }; 1165s # 1165s # static GDBusInterfaceInfo * 1165s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1165s # { 1165s # return org_project_signaling_iface_interface_info (); 1165s # } 1165s # 1165s # static GDBusInterfaceVTable * 1165s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1165s # { 1165s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1165s # } 1165s # 1165s # static GVariant * 1165s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1165s # 1165s # GVariantBuilder builder; 1165s # guint n; 1165s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1165s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1165s # goto out; 1165s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1165s # { 1165s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1165s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1165s # { 1165s # GVariant *value; 1165s # 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); 1165s # if (value != NULL) 1165s # { 1165s # g_variant_take_ref (value); 1165s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1165s # g_variant_unref (value); 1165s # } 1165s # } 1165s # } 1165s # out: 1165s # return g_variant_builder_end (&builder); 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1165s # { 1165s # } 1165s # 1165s # static void 1165s # _org_project_signaling_iface_on_signal_simple_signal ( 1165s # OrgProjectSignalingIface *object) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1165s # 1165s # GList *connections, *l; 1165s # GVariant *signal_variant; 1165s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1165s # 1165s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1165s # for (l = connections; l != NULL; l = l->next) 1165s # { 1165s # GDBusConnection *connection = l->data; 1165s # g_dbus_connection_emit_signal (connection, 1165s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1165s # signal_variant, NULL); 1165s # } 1165s # g_variant_unref (signal_variant); 1165s # g_list_free_full (connections, g_object_unref); 1165s # } 1165s # 1165s # static void 1165s # _org_project_signaling_iface_on_signal_single_arg_signal_x ( 1165s # OrgProjectSignalingIface *object, 1165s # gint64 arg_arg_x) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1165s # 1165s # GList *connections, *l; 1165s # GVariant *signal_variant; 1165s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1165s # 1165s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)", 1165s # arg_arg_x)); 1165s # for (l = connections; l != NULL; l = l->next) 1165s # { 1165s # GDBusConnection *connection = l->data; 1165s # g_dbus_connection_emit_signal (connection, 1165s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX", 1165s # signal_variant, NULL); 1165s # } 1165s # g_variant_unref (signal_variant); 1165s # g_list_free_full (connections, g_object_unref); 1165s # } 1165s # 1165s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1165s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1165s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1165s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1165s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1165s # 1165s # #else 1165s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1165s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1165s # 1165s # #endif 1165s # static void 1165s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1165s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1165s # if (skeleton->priv->changed_properties_idle_source != NULL) 1165s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1165s # g_main_context_unref (skeleton->priv->context); 1165s # g_mutex_clear (&skeleton->priv->lock); 1165s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1165s # { 1165s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1165s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1165s # #else 1165s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1165s # #endif 1165s # 1165s # g_mutex_init (&skeleton->priv->lock); 1165s # skeleton->priv->context = g_main_context_ref_thread_default (); 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1165s # { 1165s # GObjectClass *gobject_class; 1165s # GDBusInterfaceSkeletonClass *skeleton_class; 1165s # 1165s # gobject_class = G_OBJECT_CLASS (klass); 1165s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1165s # 1165s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1165s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1165s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1165s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1165s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1165s # 1165s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1165s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1165s # #endif 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1165s # { 1165s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1165s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x; 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_skeleton_new: 1165s # * 1165s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1165s # * 1165s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1165s # */ 1165s # OrgProjectSignalingIface * 1165s # org_project_signaling_iface_skeleton_new (void) 1165s # { 1165s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1165s # } 1165s # /tmp/tmplam8bnnq/tmpgeqrm88f.xml: 1165s # 1165s # 1165s # 1165s # 1165s # 1165s # 1165s # 1165s # 1165s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmplam8bnnq/tmpgeqrm88f.xml', '--output', '-', '--body'] 1165s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1165s # Output: /* 1165s # * This file is generated by gdbus-codegen, do not modify it. 1165s # * 1165s # * The license of this code is the same as for the D-Bus interface description 1165s # * it was derived from. Note that it links to GLib, so must comply with the 1165s # * LGPL linking clauses. 1165s # */ 1165s # 1165s # #ifdef HAVE_CONFIG_H 1165s # # include "config.h" 1165s # #endif 1165s # 1165s # #include 1165s # #ifdef G_OS_UNIX 1165s # # include 1165s # #endif 1165s # 1165s # #ifdef G_ENABLE_DEBUG 1165s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1165s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1165s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1165s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1165s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1165s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1165s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1165s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1165s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1165s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1165s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1165s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1165s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1165s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1165s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1165s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1165s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1165s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1165s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1165s # #else /* !G_ENABLE_DEBUG */ 1165s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1165s # * Do not access GValues directly in your code. Instead, use the 1165s # * g_value_get_*() functions 1165s # */ 1165s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1165s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1165s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1165s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1165s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1165s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1165s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1165s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1165s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1165s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1165s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1165s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1165s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1165s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1165s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1165s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1165s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1165s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1165s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1165s # #endif /* !G_ENABLE_DEBUG */ 1165s # 1165s # typedef struct 1165s # { 1165s # GDBusArgInfo parent_struct; 1165s # gboolean use_gvariant; 1165s # } _ExtendedGDBusArgInfo; 1165s # 1165s # typedef struct 1165s # { 1165s # GDBusMethodInfo parent_struct; 1165s # const gchar *signal_name; 1165s # gboolean pass_fdlist; 1165s # } _ExtendedGDBusMethodInfo; 1165s # 1165s # typedef struct 1165s # { 1165s # GDBusSignalInfo parent_struct; 1165s # const gchar *signal_name; 1165s # } _ExtendedGDBusSignalInfo; 1165s # 1165s # typedef struct 1165s # { 1165s # GDBusPropertyInfo parent_struct; 1165s # const gchar *hyphen_name; 1165s # guint use_gvariant : 1; 1165s # guint emits_changed_signal : 1; 1165s # } _ExtendedGDBusPropertyInfo; 1165s # 1165s # typedef struct 1165s # { 1165s # GDBusInterfaceInfo parent_struct; 1165s # const gchar *hyphen_name; 1165s # } _ExtendedGDBusInterfaceInfo; 1165s # 1165s # typedef struct 1165s # { 1165s # const _ExtendedGDBusPropertyInfo *info; 1165s # guint prop_id; 1165s # GValue orig_value; /* the value before the change */ 1165s # } ChangedProperty; 1165s # 1165s # static void 1165s # _changed_property_free (ChangedProperty *data) 1165s # { 1165s # g_value_unset (&data->orig_value); 1165s # g_free (data); 1165s # } 1165s # 1165s # static gboolean 1165s # _g_strv_equal0 (gchar **a, gchar **b) 1165s # { 1165s # gboolean ret = FALSE; 1165s # guint n; 1165s # if (a == NULL && b == NULL) 1165s # { 1165s # ret = TRUE; 1165s # goto out; 1165s # } 1165s # if (a == NULL || b == NULL) 1165s # goto out; 1165s # if (g_strv_length (a) != g_strv_length (b)) 1165s # goto out; 1165s # for (n = 0; a[n] != NULL; n++) 1165s # if (g_strcmp0 (a[n], b[n]) != 0) 1165s # goto out; 1165s # ret = TRUE; 1165s # out: 1165s # return ret; 1165s # } 1165s # 1165s # static gboolean 1165s # _g_variant_equal0 (GVariant *a, GVariant *b) 1165s # { 1165s # gboolean ret = FALSE; 1165s # if (a == NULL && b == NULL) 1165s # { 1165s # ret = TRUE; 1165s # goto out; 1165s # } 1165s # if (a == NULL || b == NULL) 1165s # goto out; 1165s # ret = g_variant_equal (a, b); 1165s # out: 1165s # return ret; 1165s # } 1165s # 1165s # G_GNUC_UNUSED static gboolean 1165s # _g_value_equal (const GValue *a, const GValue *b) 1165s # { 1165s # gboolean ret = FALSE; 1165s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1165s # switch (G_VALUE_TYPE (a)) 1165s # { 1165s # case G_TYPE_BOOLEAN: 1165s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1165s # break; 1165s # case G_TYPE_UCHAR: 1165s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1165s # break; 1165s # case G_TYPE_INT: 1165s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1165s # break; 1165s # case G_TYPE_UINT: 1165s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1165s # break; 1165s # case G_TYPE_INT64: 1165s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1165s # break; 1165s # case G_TYPE_UINT64: 1165s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1165s # break; 1165s # case G_TYPE_DOUBLE: 1165s # { 1165s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1165s # gdouble da = g_value_get_double (a); 1165s # gdouble db = g_value_get_double (b); 1165s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1165s # } 1165s # break; 1165s # case G_TYPE_STRING: 1165s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1165s # break; 1165s # case G_TYPE_VARIANT: 1165s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1165s # break; 1165s # default: 1165s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1165s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1165s # else 1165s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1165s # break; 1165s # } 1165s # return ret; 1165s # } 1165s # 1165s # static void 1165s # _g_dbus_codegen_marshal_VOID__UINT64 ( 1165s # GClosure *closure, 1165s # GValue *return_value G_GNUC_UNUSED, 1165s # unsigned int n_param_values, 1165s # const GValue *param_values, 1165s # void *invocation_hint G_GNUC_UNUSED, 1165s # void *marshal_data) 1165s # { 1165s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func) 1165s # (void *data1, 1165s # guint64 arg_arg_t, 1165s # void *data2); 1165s # _GDbusCodegenMarshalVoid_Uint64Func callback; 1165s # GCClosure *cc = (GCClosure*) closure; 1165s # void *data1, *data2; 1165s # 1165s # g_return_if_fail (n_param_values == 2); 1165s # 1165s # if (G_CCLOSURE_SWAP_DATA (closure)) 1165s # { 1165s # data1 = closure->data; 1165s # data2 = g_value_peek_pointer (param_values + 0); 1165s # } 1165s # else 1165s # { 1165s # data1 = g_value_peek_pointer (param_values + 0); 1165s # data2 = closure->data; 1165s # } 1165s # 1165s # callback = (_GDbusCodegenMarshalVoid_Uint64Func) 1165s # (marshal_data ? marshal_data : cc->callback); 1165s # 1165s # callback (data1, 1165s # g_marshal_value_peek_uint64 (param_values + 1), 1165s # data2); 1165s # } 1165s # 1165s # /* ------------------------------------------------------------------------ 1165s # * Code for interface org.project.SignalingIface 1165s # * ------------------------------------------------------------------------ 1165s # */ 1165s # 1165s # /** 1165s # * SECTION:OrgProjectSignalingIface 1165s # * @title: OrgProjectSignalingIface 1165s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1165s # * 1165s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1165s # */ 1165s # 1165s # enum 1165s # { 1165s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1165s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T, 1165s # }; 1165s # 1165s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1165s # 1165s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1165s # 1165s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1165s # { 1165s # { 1165s # -1, 1165s # (gchar *) "SimpleSignal", 1165s # NULL, 1165s # NULL 1165s # }, 1165s # "simple-signal" 1165s # }; 1165s # 1165s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t = 1165s # { 1165s # { 1165s # -1, 1165s # (gchar *) "arg_t", 1165s # (gchar *) "t", 1165s # NULL 1165s # }, 1165s # FALSE 1165s # }; 1165s # 1165s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] = 1165s # { 1165s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t.parent_struct, 1165s # NULL 1165s # }; 1165s # 1165s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t = 1165s # { 1165s # { 1165s # -1, 1165s # (gchar *) "SingleArgSignalT", 1165s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers, 1165s # NULL 1165s # }, 1165s # "single-arg-signal-t" 1165s # }; 1165s # 1165s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1165s # { 1165s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1165s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct, 1165s # NULL 1165s # }; 1165s # 1165s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1165s # { 1165s # { 1165s # -1, 1165s # (gchar *) "org.project.SignalingIface", 1165s # NULL, 1165s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1165s # NULL, 1165s # NULL 1165s # }, 1165s # "org-project-signaling-iface", 1165s # }; 1165s # 1165s # 1165s # /** 1165s # * org_project_signaling_iface_interface_info: 1165s # * 1165s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1165s # * 1165s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1165s # */ 1165s # GDBusInterfaceInfo * 1165s # org_project_signaling_iface_interface_info (void) 1165s # { 1165s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_override_properties: 1165s # * @klass: The class structure for a #GObject derived class. 1165s # * @property_id_begin: The property id to assign to the first overridden property. 1165s # * 1165s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1165s # * The properties are overridden in the order they are defined. 1165s # * 1165s # * Returns: The last property id. 1165s # */ 1165s # guint 1165s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1165s # { 1165s # return property_id_begin - 1; 1165s # } 1165s # 1165s # 1165s # inline static void 1165s # org_project_signaling_iface_signal_marshal_simple_signal ( 1165s # GClosure *closure, 1165s # GValue *return_value, 1165s # unsigned int n_param_values, 1165s # const GValue *param_values, 1165s # void *invocation_hint, 1165s # void *marshal_data) 1165s # { 1165s # g_cclosure_marshal_VOID__VOID (closure, 1165s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1165s # } 1165s # 1165s # inline static void 1165s # org_project_signaling_iface_signal_marshal_single_arg_signal_t ( 1165s # GClosure *closure, 1165s # GValue *return_value, 1165s # unsigned int n_param_values, 1165s # const GValue *param_values, 1165s # void *invocation_hint, 1165s # void *marshal_data) 1165s # { 1165s # _g_dbus_codegen_marshal_VOID__UINT64 (closure, 1165s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1165s # } 1165s # 1165s # 1165s # /** 1165s # * OrgProjectSignalingIface: 1165s # * 1165s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1165s # */ 1165s # 1165s # /** 1165s # * OrgProjectSignalingIfaceIface: 1165s # * @parent_iface: The parent interface. 1165s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1165s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal. 1165s # * 1165s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1165s # */ 1165s # 1165s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1165s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1165s # 1165s # static void 1165s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1165s # { 1165s # /* GObject signals for received D-Bus signals: */ 1165s # /** 1165s # * OrgProjectSignalingIface::simple-signal: 1165s # * @object: A #OrgProjectSignalingIface. 1165s # * 1165s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1165s # * 1165s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1165s # */ 1165s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1165s # g_signal_new ("simple-signal", 1165s # G_TYPE_FROM_INTERFACE (iface), 1165s # G_SIGNAL_RUN_LAST, 1165s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1165s # NULL, 1165s # NULL, 1165s # org_project_signaling_iface_signal_marshal_simple_signal, 1165s # G_TYPE_NONE, 1165s # 0); 1165s # 1165s # /** 1165s # * OrgProjectSignalingIface::single-arg-signal-t: 1165s # * @object: A #OrgProjectSignalingIface. 1165s # * @arg_arg_t: Argument. 1165s # * 1165s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received. 1165s # * 1165s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1165s # */ 1165s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] = 1165s # g_signal_new ("single-arg-signal-t", 1165s # G_TYPE_FROM_INTERFACE (iface), 1165s # G_SIGNAL_RUN_LAST, 1165s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t), 1165s # NULL, 1165s # NULL, 1165s # org_project_signaling_iface_signal_marshal_single_arg_signal_t, 1165s # G_TYPE_NONE, 1165s # 1, G_TYPE_UINT64); 1165s # 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_emit_simple_signal: 1165s # * @object: A #OrgProjectSignalingIface. 1165s # * 1165s # * Emits the "SimpleSignal" D-Bus signal. 1165s # */ 1165s # void 1165s # org_project_signaling_iface_emit_simple_signal ( 1165s # OrgProjectSignalingIface *object) 1165s # { 1165s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_emit_single_arg_signal_t: 1165s # * @object: A #OrgProjectSignalingIface. 1165s # * @arg_arg_t: Argument to pass with the signal. 1165s # * 1165s # * Emits the "SingleArgSignalT" D-Bus signal. 1165s # */ 1165s # void 1165s # org_project_signaling_iface_emit_single_arg_signal_t ( 1165s # OrgProjectSignalingIface *object, 1165s # guint64 arg_arg_t) 1165s # { 1165s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_arg_t); 1165s # } 1165s # 1165s # /* ------------------------------------------------------------------------ */ 1165s # 1165s # /** 1165s # * OrgProjectSignalingIfaceProxy: 1165s # * 1165s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1165s # */ 1165s # 1165s # /** 1165s # * OrgProjectSignalingIfaceProxyClass: 1165s # * @parent_class: The parent class. 1165s # * 1165s # * Class structure for #OrgProjectSignalingIfaceProxy. 1165s # */ 1165s # 1165s # struct _OrgProjectSignalingIfaceProxyPrivate 1165s # { 1165s # GData *qdata; 1165s # }; 1165s # 1165s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1165s # 1165s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1165s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1165s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1165s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1165s # 1165s # #else 1165s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1165s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1165s # 1165s # #endif 1165s # static void 1165s # org_project_signaling_iface_proxy_finalize (GObject *object) 1165s # { 1165s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1165s # g_datalist_clear (&proxy->priv->qdata); 1165s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1165s # guint prop_id G_GNUC_UNUSED, 1165s # GValue *value G_GNUC_UNUSED, 1165s # GParamSpec *pspec G_GNUC_UNUSED) 1165s # { 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1165s # guint prop_id G_GNUC_UNUSED, 1165s # const GValue *value G_GNUC_UNUSED, 1165s # GParamSpec *pspec G_GNUC_UNUSED) 1165s # { 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1165s # const gchar *sender_name G_GNUC_UNUSED, 1165s # const gchar *signal_name, 1165s # GVariant *parameters) 1165s # { 1165s # _ExtendedGDBusSignalInfo *info; 1165s # GVariantIter iter; 1165s # GVariant *child; 1165s # GValue *paramv; 1165s # gsize num_params; 1165s # gsize n; 1165s # guint signal_id; 1165s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1165s # if (info == NULL) 1165s # return; 1165s # num_params = g_variant_n_children (parameters); 1165s # paramv = g_new0 (GValue, num_params + 1); 1165s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1165s # g_value_set_object (¶mv[0], proxy); 1165s # g_variant_iter_init (&iter, parameters); 1165s # n = 1; 1165s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1165s # { 1165s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1165s # if (arg_info->use_gvariant) 1165s # { 1165s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1165s # g_value_set_variant (¶mv[n], child); 1165s # n++; 1165s # } 1165s # else 1165s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1165s # g_variant_unref (child); 1165s # } 1165s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1165s # g_signal_emitv (paramv, signal_id, 0, NULL); 1165s # for (n = 0; n < num_params + 1; n++) 1165s # g_value_unset (¶mv[n]); 1165s # g_free (paramv); 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1165s # GVariant *changed_properties, 1165s # const gchar *const *invalidated_properties) 1165s # { 1165s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1165s # guint n; 1165s # const gchar *key; 1165s # GVariantIter *iter; 1165s # _ExtendedGDBusPropertyInfo *info; 1165s # g_variant_get (changed_properties, "a{sv}", &iter); 1165s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1165s # { 1165s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1165s # g_datalist_remove_data (&proxy->priv->qdata, key); 1165s # if (info != NULL) 1165s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1165s # } 1165s # g_variant_iter_free (iter); 1165s # for (n = 0; invalidated_properties[n] != NULL; n++) 1165s # { 1165s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1165s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1165s # if (info != NULL) 1165s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1165s # } 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1165s # { 1165s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1165s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1165s # #else 1165s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1165s # #endif 1165s # 1165s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1165s # { 1165s # GObjectClass *gobject_class; 1165s # GDBusProxyClass *proxy_class; 1165s # 1165s # gobject_class = G_OBJECT_CLASS (klass); 1165s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1165s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1165s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1165s # 1165s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1165s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1165s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1165s # 1165s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1165s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1165s # #endif 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1165s # { 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_proxy_new: 1165s # * @connection: A #GDBusConnection. 1165s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1165s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1165s # * @object_path: An object path. 1165s # * @cancellable: (nullable): A #GCancellable or %NULL. 1165s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1165s # * @user_data: User data to pass to @callback. 1165s # * 1165s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1165s # * 1165s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1165s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1165s # * 1165s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1165s # */ 1165s # void 1165s # org_project_signaling_iface_proxy_new ( 1165s # GDBusConnection *connection, 1165s # GDBusProxyFlags flags, 1165s # const gchar *name, 1165s # const gchar *object_path, 1165s # GCancellable *cancellable, 1165s # GAsyncReadyCallback callback, 1165s # gpointer user_data) 1165s # { 1165s # 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); 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_proxy_new_finish: 1165s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1165s # * @error: Return location for error or %NULL 1165s # * 1165s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1165s # * 1165s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1165s # */ 1165s # OrgProjectSignalingIface * 1165s # org_project_signaling_iface_proxy_new_finish ( 1165s # GAsyncResult *res, 1165s # GError **error) 1165s # { 1165s # GObject *ret; 1165s # GObject *source_object; 1165s # source_object = g_async_result_get_source_object (res); 1165s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1165s # g_object_unref (source_object); 1165s # if (ret != NULL) 1165s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1165s # else 1165s # return NULL; 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_proxy_new_sync: 1165s # * @connection: A #GDBusConnection. 1165s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1165s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1165s # * @object_path: An object path. 1165s # * @cancellable: (nullable): A #GCancellable or %NULL. 1165s # * @error: Return location for error or %NULL 1165s # * 1165s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1165s # * 1165s # * The calling thread is blocked until a reply is received. 1165s # * 1165s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1165s # * 1165s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1165s # */ 1165s # OrgProjectSignalingIface * 1165s # org_project_signaling_iface_proxy_new_sync ( 1165s # GDBusConnection *connection, 1165s # GDBusProxyFlags flags, 1165s # const gchar *name, 1165s # const gchar *object_path, 1165s # GCancellable *cancellable, 1165s # GError **error) 1165s # { 1165s # GInitable *ret; 1165s # 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); 1165s # if (ret != NULL) 1165s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1165s # else 1165s # return NULL; 1165s # } 1165s # 1165s # 1165s # /** 1165s # * org_project_signaling_iface_proxy_new_for_bus: 1165s # * @bus_type: A #GBusType. 1165s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1165s # * @name: A bus name (well-known or unique). 1165s # * @object_path: An object path. 1165s # * @cancellable: (nullable): A #GCancellable or %NULL. 1165s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1165s # * @user_data: User data to pass to @callback. 1165s # * 1165s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1165s # * 1165s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1165s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1165s # * 1165s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1165s # */ 1165s # void 1165s # org_project_signaling_iface_proxy_new_for_bus ( 1165s # GBusType bus_type, 1165s # GDBusProxyFlags flags, 1165s # const gchar *name, 1165s # const gchar *object_path, 1165s # GCancellable *cancellable, 1165s # GAsyncReadyCallback callback, 1165s # gpointer user_data) 1165s # { 1165s # 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); 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1165s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1165s # * @error: Return location for error or %NULL 1165s # * 1165s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1165s # * 1165s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1165s # */ 1165s # OrgProjectSignalingIface * 1165s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1165s # GAsyncResult *res, 1165s # GError **error) 1165s # { 1165s # GObject *ret; 1165s # GObject *source_object; 1165s # source_object = g_async_result_get_source_object (res); 1165s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1165s # g_object_unref (source_object); 1165s # if (ret != NULL) 1165s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1165s # else 1165s # return NULL; 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1165s # * @bus_type: A #GBusType. 1165s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1165s # * @name: A bus name (well-known or unique). 1165s # * @object_path: An object path. 1165s # * @cancellable: (nullable): A #GCancellable or %NULL. 1165s # * @error: Return location for error or %NULL 1165s # * 1165s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1165s # * 1165s # * The calling thread is blocked until a reply is received. 1165s # * 1165s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1165s # * 1165s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1165s # */ 1165s # OrgProjectSignalingIface * 1165s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1165s # GBusType bus_type, 1165s # GDBusProxyFlags flags, 1165s # const gchar *name, 1165s # const gchar *object_path, 1165s # GCancellable *cancellable, 1165s # GError **error) 1165s # { 1165s # GInitable *ret; 1165s # 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); 1165s # if (ret != NULL) 1165s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1165s # else 1165s # return NULL; 1165s # } 1165s # 1165s # 1165s # /* ------------------------------------------------------------------------ */ 1165s # 1165s # /** 1165s # * OrgProjectSignalingIfaceSkeleton: 1165s # * 1165s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1165s # */ 1165s # 1165s # /** 1165s # * OrgProjectSignalingIfaceSkeletonClass: 1165s # * @parent_class: The parent class. 1165s # * 1165s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1165s # */ 1165s # 1165s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1165s # { 1165s # GValue *properties; 1165s # GList *changed_properties; 1165s # GSource *changed_properties_idle_source; 1165s # GMainContext *context; 1165s # GMutex lock; 1165s # }; 1165s # 1165s # static void 1165s # _org_project_signaling_iface_skeleton_handle_method_call ( 1165s # GDBusConnection *connection G_GNUC_UNUSED, 1165s # const gchar *sender G_GNUC_UNUSED, 1165s # const gchar *object_path G_GNUC_UNUSED, 1165s # const gchar *interface_name, 1165s # const gchar *method_name, 1165s # GVariant *parameters, 1165s # GDBusMethodInvocation *invocation, 1165s # gpointer user_data) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1165s # _ExtendedGDBusMethodInfo *info; 1165s # GVariantIter iter; 1165s # GVariant *child; 1165s # GValue *paramv; 1165s # gsize num_params; 1165s # guint num_extra; 1165s # gsize n; 1165s # guint signal_id; 1165s # GValue return_value = G_VALUE_INIT; 1165s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1165s # g_assert (info != NULL); 1165s # num_params = g_variant_n_children (parameters); 1165s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1165s # n = 0; 1165s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1165s # g_value_set_object (¶mv[n++], skeleton); 1165s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1165s # g_value_set_object (¶mv[n++], invocation); 1165s # if (info->pass_fdlist) 1165s # { 1165s # #ifdef G_OS_UNIX 1165s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1165s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1165s # #else 1165s # g_assert_not_reached (); 1165s # #endif 1165s # } 1165s # g_variant_iter_init (&iter, parameters); 1165s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1165s # { 1165s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1165s # if (arg_info->use_gvariant) 1165s # { 1165s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1165s # g_value_set_variant (¶mv[n], child); 1165s # n++; 1165s # } 1165s # else 1165s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1165s # g_variant_unref (child); 1165s # } 1165s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1165s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1165s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1165s # if (!g_value_get_boolean (&return_value)) 1165s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1165s # g_value_unset (&return_value); 1165s # for (n = 0; n < num_params + num_extra; n++) 1165s # g_value_unset (¶mv[n]); 1165s # g_free (paramv); 1165s # } 1165s # 1165s # static GVariant * 1165s # _org_project_signaling_iface_skeleton_handle_get_property ( 1165s # GDBusConnection *connection G_GNUC_UNUSED, 1165s # const gchar *sender G_GNUC_UNUSED, 1165s # const gchar *object_path G_GNUC_UNUSED, 1165s # const gchar *interface_name G_GNUC_UNUSED, 1165s # const gchar *property_name, 1165s # GError **error, 1165s # gpointer user_data) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1165s # GValue value = G_VALUE_INIT; 1165s # GParamSpec *pspec; 1165s # _ExtendedGDBusPropertyInfo *info; 1165s # GVariant *ret; 1165s # ret = NULL; 1165s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1165s # g_assert (info != NULL); 1165s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1165s # if (pspec == NULL) 1165s # { 1165s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1165s # } 1165s # else 1165s # { 1165s # g_value_init (&value, pspec->value_type); 1165s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1165s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1165s # g_value_unset (&value); 1165s # } 1165s # return ret; 1165s # } 1165s # 1165s # static gboolean 1165s # _org_project_signaling_iface_skeleton_handle_set_property ( 1165s # GDBusConnection *connection G_GNUC_UNUSED, 1165s # const gchar *sender G_GNUC_UNUSED, 1165s # const gchar *object_path G_GNUC_UNUSED, 1165s # const gchar *interface_name G_GNUC_UNUSED, 1165s # const gchar *property_name, 1165s # GVariant *variant, 1165s # GError **error, 1165s # gpointer user_data) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1165s # GValue value = G_VALUE_INIT; 1165s # GParamSpec *pspec; 1165s # _ExtendedGDBusPropertyInfo *info; 1165s # gboolean ret; 1165s # ret = FALSE; 1165s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1165s # g_assert (info != NULL); 1165s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1165s # if (pspec == NULL) 1165s # { 1165s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1165s # } 1165s # else 1165s # { 1165s # if (info->use_gvariant) 1165s # g_value_set_variant (&value, variant); 1165s # else 1165s # g_dbus_gvariant_to_gvalue (variant, &value); 1165s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1165s # g_value_unset (&value); 1165s # ret = TRUE; 1165s # } 1165s # return ret; 1165s # } 1165s # 1165s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1165s # { 1165s # _org_project_signaling_iface_skeleton_handle_method_call, 1165s # _org_project_signaling_iface_skeleton_handle_get_property, 1165s # _org_project_signaling_iface_skeleton_handle_set_property, 1165s # {NULL} 1165s # }; 1165s # 1165s # static GDBusInterfaceInfo * 1165s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1165s # { 1165s # return org_project_signaling_iface_interface_info (); 1165s # } 1165s # 1165s # static GDBusInterfaceVTable * 1165s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1165s # { 1165s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1165s # } 1165s # 1165s # static GVariant * 1165s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1165s # 1165s # GVariantBuilder builder; 1165s # guint n; 1165s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1165s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1165s # goto out; 1165s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1165s # { 1165s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1165s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1165s # { 1165s # GVariant *value; 1165s # 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); 1165s # if (value != NULL) 1165s # { 1165s # g_variant_take_ref (value); 1165s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1165s # g_variant_unref (value); 1165s # } 1165s # } 1165s # } 1165s # out: 1165s # return g_variant_builder_end (&builder); 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1165s # { 1165s # } 1165s # 1165s # static void 1165s # _org_project_signaling_iface_on_signal_simple_signal ( 1165s # OrgProjectSignalingIface *object) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1165s # 1165s # GList *connections, *l; 1165s # GVariant *signal_variant; 1165s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1165s # 1165s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1165s # for (l = connections; l != NULL; l = l->next) 1165s # { 1165s # GDBusConnection *connection = l->data; 1165s # g_dbus_connection_emit_signal (connection, 1165s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1165s # signal_variant, NULL); 1165s # } 1165s # g_variant_unref (signal_variant); 1165s # g_list_free_full (connections, g_object_unref); 1165s # } 1165s # 1165s # static void 1165s # _org_project_signaling_iface_on_signal_single_arg_signal_t ( 1165s # OrgProjectSignalingIface *object, 1165s # guint64 arg_arg_t) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1165s # 1165s # GList *connections, *l; 1165s # GVariant *signal_variant; 1165s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1165s # 1165s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)", 1165s # arg_arg_t)); 1165s # for (l = connections; l != NULL; l = l->next) 1165s # { 1165s # GDBusConnection *connection = l->data; 1165s # g_dbus_connection_emit_signal (connection, 1165s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT", 1165s # signal_variant, NULL); 1165s # } 1165s # g_variant_unref (signal_variant); 1165s # g_list_free_full (connections, g_object_unref); 1165s # } 1165s # 1165s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1165s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1165s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1165s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1165s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1165s # 1165s # #else 1165s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1165s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1165s # 1165s # #endif 1165s # static void 1165s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1165s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1165s # if (skeleton->priv->changed_properties_idle_source != NULL) 1165s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1165s # g_main_context_unref (skeleton->priv->context); 1165s # g_mutex_clear (&skeleton->priv->lock); 1165s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1165s # { 1165s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1165s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1165s # #else 1165s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1165s # #endif 1165s # 1165s # g_mutex_init (&skeleton->priv->lock); 1165s # skeleton->priv->context = g_main_context_ref_thread_default (); 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1165s # { 1165s # GObjectClass *gobject_class; 1165s # GDBusInterfaceSkeletonClass *skeleton_class; 1165s # 1165s # gobject_class = G_OBJECT_CLASS (klass); 1165s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1165s # 1165s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1165s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1165s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1165s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1165s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1165s # 1165s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1165s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1165s # #endif 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1165s # { 1165s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1165s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t; 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_skeleton_new: 1165s # * 1165s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1165s # * 1165s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1165s # */ 1165s # OrgProjectSignalingIface * 1165s # org_project_signaling_iface_skeleton_new (void) 1165s # { 1165s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1165s # } 1165s # /tmp/tmplam8bnnq/tmprtztb0ho.xml: 1165s # 1165s # 1165s # 1165s # 1165s # 1165s # 1165s # 1165s # 1165s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmplam8bnnq/tmprtztb0ho.xml', '--output', '-', '--body'] 1165s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1165s # Output: /* 1165s # * This file is generated by gdbus-codegen, do not modify it. 1165s # * 1165s # * The license of this code is the same as for the D-Bus interface description 1165s # * it was derived from. Note that it links to GLib, so must comply with the 1165s # * LGPL linking clauses. 1165s # */ 1165s # 1165s # #ifdef HAVE_CONFIG_H 1165s # # include "config.h" 1165s # #endif 1165s # 1165s # #include 1165s # #ifdef G_OS_UNIX 1165s # # include 1165s # #endif 1165s # 1165s # #ifdef G_ENABLE_DEBUG 1165s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1165s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1165s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1165s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1165s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1165s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1165s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1165s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1165s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1165s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1165s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1165s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1165s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1165s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1165s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1165s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1165s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1165s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1165s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1165s # #else /* !G_ENABLE_DEBUG */ 1165s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1165s # * Do not access GValues directly in your code. Instead, use the 1165s # * g_value_get_*() functions 1165s # */ 1165s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1165s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1165s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1165s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1165s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1165s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1165s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1165s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1165s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1165s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1165s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1165s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1165s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1165s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1165s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1165s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1165s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1165s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1165s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1165s # #endif /* !G_ENABLE_DEBUG */ 1165s # 1165s # typedef struct 1165s # { 1165s # GDBusArgInfo parent_struct; 1165s # gboolean use_gvariant; 1165s # } _ExtendedGDBusArgInfo; 1165s # 1165s # typedef struct 1165s # { 1165s # GDBusMethodInfo parent_struct; 1165s # const gchar *signal_name; 1165s # gboolean pass_fdlist; 1165s # } _ExtendedGDBusMethodInfo; 1165s # 1165s # typedef struct 1165s # { 1165s # GDBusSignalInfo parent_struct; 1165s # const gchar *signal_name; 1165s # } _ExtendedGDBusSignalInfo; 1165s # 1165s # typedef struct 1165s # { 1165s # GDBusPropertyInfo parent_struct; 1165s # const gchar *hyphen_name; 1165s # guint use_gvariant : 1; 1165s # guint emits_changed_signal : 1; 1165s # } _ExtendedGDBusPropertyInfo; 1165s # 1165s # typedef struct 1165s # { 1165s # GDBusInterfaceInfo parent_struct; 1165s # const gchar *hyphen_name; 1165s # } _ExtendedGDBusInterfaceInfo; 1165s # 1165s # typedef struct 1165s # { 1165s # const _ExtendedGDBusPropertyInfo *info; 1165s # guint prop_id; 1165s # GValue orig_value; /* the value before the change */ 1165s # } ChangedProperty; 1165s # 1165s # static void 1165s # _changed_property_free (ChangedProperty *data) 1165s # { 1165s # g_value_unset (&data->orig_value); 1165s # g_free (data); 1165s # } 1165s # 1165s # static gboolean 1165s # _g_strv_equal0 (gchar **a, gchar **b) 1165s # { 1165s # gboolean ret = FALSE; 1165s # guint n; 1165s # if (a == NULL && b == NULL) 1165s # { 1165s # ret = TRUE; 1165s # goto out; 1165s # } 1165s # if (a == NULL || b == NULL) 1165s # goto out; 1165s # if (g_strv_length (a) != g_strv_length (b)) 1165s # goto out; 1165s # for (n = 0; a[n] != NULL; n++) 1165s # if (g_strcmp0 (a[n], b[n]) != 0) 1165s # goto out; 1165s # ret = TRUE; 1165s # out: 1165s # return ret; 1165s # } 1165s # 1165s # static gboolean 1165s # _g_variant_equal0 (GVariant *a, GVariant *b) 1165s # { 1165s # gboolean ret = FALSE; 1165s # if (a == NULL && b == NULL) 1165s # { 1165s # ret = TRUE; 1165s # goto out; 1165s # } 1165s # if (a == NULL || b == NULL) 1165s # goto out; 1165s # ret = g_variant_equal (a, b); 1165s # out: 1165s # return ret; 1165s # } 1165s # 1165s # G_GNUC_UNUSED static gboolean 1165s # _g_value_equal (const GValue *a, const GValue *b) 1165s # { 1165s # gboolean ret = FALSE; 1165s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1165s # switch (G_VALUE_TYPE (a)) 1165s # { 1165s # case G_TYPE_BOOLEAN: 1165s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1165s # break; 1165s # case G_TYPE_UCHAR: 1165s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1165s # break; 1165s # case G_TYPE_INT: 1165s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1165s # break; 1165s # case G_TYPE_UINT: 1165s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1165s # break; 1165s # case G_TYPE_INT64: 1165s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1165s # break; 1165s # case G_TYPE_UINT64: 1165s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1165s # break; 1165s # case G_TYPE_DOUBLE: 1165s # { 1165s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1165s # gdouble da = g_value_get_double (a); 1165s # gdouble db = g_value_get_double (b); 1165s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1165s # } 1165s # break; 1165s # case G_TYPE_STRING: 1165s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1165s # break; 1165s # case G_TYPE_VARIANT: 1165s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1165s # break; 1165s # default: 1165s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1165s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1165s # else 1165s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1165s # break; 1165s # } 1165s # return ret; 1165s # } 1165s # 1165s # /* ------------------------------------------------------------------------ 1165s # * Code for interface org.project.SignalingIface 1165s # * ------------------------------------------------------------------------ 1165s # */ 1165s # 1165s # /** 1165s # * SECTION:OrgProjectSignalingIface 1165s # * @title: OrgProjectSignalingIface 1165s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1165s # * 1165s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1165s # */ 1165s # 1165s # enum 1165s # { 1165s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1165s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D, 1165s # }; 1165s # 1165s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1165s # 1165s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1165s # 1165s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1165s # { 1165s # { 1165s # -1, 1165s # (gchar *) "SimpleSignal", 1165s # NULL, 1165s # NULL 1165s # }, 1165s # "simple-signal" 1165s # }; 1165s # 1165s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d = 1165s # { 1165s # { 1165s # -1, 1165s # (gchar *) "arg_d", 1165s # (gchar *) "d", 1165s # NULL 1165s # }, 1165s # FALSE 1165s # }; 1165s # 1165s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] = 1165s # { 1165s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d.parent_struct, 1165s # NULL 1165s # }; 1165s # 1165s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d = 1165s # { 1165s # { 1165s # -1, 1165s # (gchar *) "SingleArgSignalD", 1165s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers, 1165s # NULL 1165s # }, 1165s # "single-arg-signal-d" 1165s # }; 1165s # 1165s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1165s # { 1165s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1165s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct, 1165s # NULL 1165s # }; 1165s # 1165s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1165s # { 1165s # { 1165s # -1, 1165s # (gchar *) "org.project.SignalingIface", 1165s # NULL, 1165s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1165s # NULL, 1165s # NULL 1165s # }, 1165s # "org-project-signaling-iface", 1165s # }; 1165s # 1165s # 1165s # /** 1165s # * org_project_signaling_iface_interface_info: 1165s # * 1165s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1165s # * 1165s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1165s # */ 1165s # GDBusInterfaceInfo * 1165s # org_project_signaling_iface_interface_info (void) 1165s # { 1165s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_override_properties: 1165s # * @klass: The class structure for a #GObject derived class. 1165s # * @property_id_begin: The property id to assign to the first overridden property. 1165s # * 1165s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1165s # * The properties are overridden in the order they are defined. 1165s # * 1165s # * Returns: The last property id. 1165s # */ 1165s # guint 1165s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1165s # { 1165s # return property_id_begin - 1; 1165s # } 1165s # 1165s # 1165s # inline static void 1165s # org_project_signaling_iface_signal_marshal_simple_signal ( 1165s # GClosure *closure, 1165s # GValue *return_value, 1165s # unsigned int n_param_values, 1165s # const GValue *param_values, 1165s # void *invocation_hint, 1165s # void *marshal_data) 1165s # { 1165s # g_cclosure_marshal_VOID__VOID (closure, 1165s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1165s # } 1165s # 1165s # inline static void 1165s # org_project_signaling_iface_signal_marshal_single_arg_signal_d ( 1165s # GClosure *closure, 1165s # GValue *return_value, 1165s # unsigned int n_param_values, 1165s # const GValue *param_values, 1165s # void *invocation_hint, 1165s # void *marshal_data) 1165s # { 1165s # g_cclosure_marshal_VOID__DOUBLE (closure, 1165s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1165s # } 1165s # 1165s # 1165s # /** 1165s # * OrgProjectSignalingIface: 1165s # * 1165s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1165s # */ 1165s # 1165s # /** 1165s # * OrgProjectSignalingIfaceIface: 1165s # * @parent_iface: The parent interface. 1165s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1165s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal. 1165s # * 1165s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1165s # */ 1165s # 1165s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1165s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1165s # 1165s # static void 1165s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1165s # { 1165s # /* GObject signals for received D-Bus signals: */ 1165s # /** 1165s # * OrgProjectSignalingIface::simple-signal: 1165s # * @object: A #OrgProjectSignalingIface. 1165s # * 1165s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1165s # * 1165s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1165s # */ 1165s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1165s # g_signal_new ("simple-signal", 1165s # G_TYPE_FROM_INTERFACE (iface), 1165s # G_SIGNAL_RUN_LAST, 1165s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1165s # NULL, 1165s # NULL, 1165s # org_project_signaling_iface_signal_marshal_simple_signal, 1165s # G_TYPE_NONE, 1165s # 0); 1165s # 1165s # /** 1165s # * OrgProjectSignalingIface::single-arg-signal-d: 1165s # * @object: A #OrgProjectSignalingIface. 1165s # * @arg_arg_d: Argument. 1165s # * 1165s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received. 1165s # * 1165s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1165s # */ 1165s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] = 1165s # g_signal_new ("single-arg-signal-d", 1165s # G_TYPE_FROM_INTERFACE (iface), 1165s # G_SIGNAL_RUN_LAST, 1165s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d), 1165s # NULL, 1165s # NULL, 1165s # org_project_signaling_iface_signal_marshal_single_arg_signal_d, 1165s # G_TYPE_NONE, 1165s # 1, G_TYPE_DOUBLE); 1165s # 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_emit_simple_signal: 1165s # * @object: A #OrgProjectSignalingIface. 1165s # * 1165s # * Emits the "SimpleSignal" D-Bus signal. 1165s # */ 1165s # void 1165s # org_project_signaling_iface_emit_simple_signal ( 1165s # OrgProjectSignalingIface *object) 1165s # { 1165s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_emit_single_arg_signal_d: 1165s # * @object: A #OrgProjectSignalingIface. 1165s # * @arg_arg_d: Argument to pass with the signal. 1165s # * 1165s # * Emits the "SingleArgSignalD" D-Bus signal. 1165s # */ 1165s # void 1165s # org_project_signaling_iface_emit_single_arg_signal_d ( 1165s # OrgProjectSignalingIface *object, 1165s # gdouble arg_arg_d) 1165s # { 1165s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_arg_d); 1165s # } 1165s # 1165s # /* ------------------------------------------------------------------------ */ 1165s # 1165s # /** 1165s # * OrgProjectSignalingIfaceProxy: 1165s # * 1165s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1165s # */ 1165s # 1165s # /** 1165s # * OrgProjectSignalingIfaceProxyClass: 1165s # * @parent_class: The parent class. 1165s # * 1165s # * Class structure for #OrgProjectSignalingIfaceProxy. 1165s # */ 1165s # 1165s # struct _OrgProjectSignalingIfaceProxyPrivate 1165s # { 1165s # GData *qdata; 1165s # }; 1165s # 1165s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1165s # 1165s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1165s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1165s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1165s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1165s # 1165s # #else 1165s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1165s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1165s # 1165s # #endif 1165s # static void 1165s # org_project_signaling_iface_proxy_finalize (GObject *object) 1165s # { 1165s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1165s # g_datalist_clear (&proxy->priv->qdata); 1165s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1165s # guint prop_id G_GNUC_UNUSED, 1165s # GValue *value G_GNUC_UNUSED, 1165s # GParamSpec *pspec G_GNUC_UNUSED) 1165s # { 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1165s # guint prop_id G_GNUC_UNUSED, 1165s # const GValue *value G_GNUC_UNUSED, 1165s # GParamSpec *pspec G_GNUC_UNUSED) 1165s # { 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1165s # const gchar *sender_name G_GNUC_UNUSED, 1165s # const gchar *signal_name, 1165s # GVariant *parameters) 1165s # { 1165s # _ExtendedGDBusSignalInfo *info; 1165s # GVariantIter iter; 1165s # GVariant *child; 1165s # GValue *paramv; 1165s # gsize num_params; 1165s # gsize n; 1165s # guint signal_id; 1165s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1165s # if (info == NULL) 1165s # return; 1165s # num_params = g_variant_n_children (parameters); 1165s # paramv = g_new0 (GValue, num_params + 1); 1165s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1165s # g_value_set_object (¶mv[0], proxy); 1165s # g_variant_iter_init (&iter, parameters); 1165s # n = 1; 1165s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1165s # { 1165s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1165s # if (arg_info->use_gvariant) 1165s # { 1165s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1165s # g_value_set_variant (¶mv[n], child); 1165s # n++; 1165s # } 1165s # else 1165s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1165s # g_variant_unref (child); 1165s # } 1165s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1165s # g_signal_emitv (paramv, signal_id, 0, NULL); 1165s # for (n = 0; n < num_params + 1; n++) 1165s # g_value_unset (¶mv[n]); 1165s # g_free (paramv); 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1165s # GVariant *changed_properties, 1165s # const gchar *const *invalidated_properties) 1165s # { 1165s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1165s # guint n; 1165s # const gchar *key; 1165s # GVariantIter *iter; 1165s # _ExtendedGDBusPropertyInfo *info; 1165s # g_variant_get (changed_properties, "a{sv}", &iter); 1165s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1165s # { 1165s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1165s # g_datalist_remove_data (&proxy->priv->qdata, key); 1165s # if (info != NULL) 1165s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1165s # } 1165s # g_variant_iter_free (iter); 1165s # for (n = 0; invalidated_properties[n] != NULL; n++) 1165s # { 1165s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1165s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1165s # if (info != NULL) 1165s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1165s # } 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1165s # { 1165s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1165s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1165s # #else 1165s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1165s # #endif 1165s # 1165s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1165s # { 1165s # GObjectClass *gobject_class; 1165s # GDBusProxyClass *proxy_class; 1165s # 1165s # gobject_class = G_OBJECT_CLASS (klass); 1165s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1165s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1165s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1165s # 1165s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1165s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1165s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1165s # 1165s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1165s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1165s # #endif 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1165s # { 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_proxy_new: 1165s # * @connection: A #GDBusConnection. 1165s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1165s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1165s # * @object_path: An object path. 1165s # * @cancellable: (nullable): A #GCancellable or %NULL. 1165s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1165s # * @user_data: User data to pass to @callback. 1165s # * 1165s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1165s # * 1165s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1165s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1165s # * 1165s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1165s # */ 1165s # void 1165s # org_project_signaling_iface_proxy_new ( 1165s # GDBusConnection *connection, 1165s # GDBusProxyFlags flags, 1165s # const gchar *name, 1165s # const gchar *object_path, 1165s # GCancellable *cancellable, 1165s # GAsyncReadyCallback callback, 1165s # gpointer user_data) 1165s # { 1165s # 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); 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_proxy_new_finish: 1165s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1165s # * @error: Return location for error or %NULL 1165s # * 1165s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1165s # * 1165s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1165s # */ 1165s # OrgProjectSignalingIface * 1165s # org_project_signaling_iface_proxy_new_finish ( 1165s # GAsyncResult *res, 1165s # GError **error) 1165s # { 1165s # GObject *ret; 1165s # GObject *source_object; 1165s # source_object = g_async_result_get_source_object (res); 1165s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1165s # g_object_unref (source_object); 1165s # if (ret != NULL) 1165s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1165s # else 1165s # return NULL; 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_proxy_new_sync: 1165s # * @connection: A #GDBusConnection. 1165s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1165s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1165s # * @object_path: An object path. 1165s # * @cancellable: (nullable): A #GCancellable or %NULL. 1165s # * @error: Return location for error or %NULL 1165s # * 1165s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1165s # * 1165s # * The calling thread is blocked until a reply is received. 1165s # * 1165s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1165s # * 1165s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1165s # */ 1165s # OrgProjectSignalingIface * 1165s # org_project_signaling_iface_proxy_new_sync ( 1165s # GDBusConnection *connection, 1165s # GDBusProxyFlags flags, 1165s # const gchar *name, 1165s # const gchar *object_path, 1165s # GCancellable *cancellable, 1165s # GError **error) 1165s # { 1165s # GInitable *ret; 1165s # 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); 1165s # if (ret != NULL) 1165s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1165s # else 1165s # return NULL; 1165s # } 1165s # 1165s # 1165s # /** 1165s # * org_project_signaling_iface_proxy_new_for_bus: 1165s # * @bus_type: A #GBusType. 1165s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1165s # * @name: A bus name (well-known or unique). 1165s # * @object_path: An object path. 1165s # * @cancellable: (nullable): A #GCancellable or %NULL. 1165s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1165s # * @user_data: User data to pass to @callback. 1165s # * 1165s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1165s # * 1165s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1165s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1165s # * 1165s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1165s # */ 1165s # void 1165s # org_project_signaling_iface_proxy_new_for_bus ( 1165s # GBusType bus_type, 1165s # GDBusProxyFlags flags, 1165s # const gchar *name, 1165s # const gchar *object_path, 1165s # GCancellable *cancellable, 1165s # GAsyncReadyCallback callback, 1165s # gpointer user_data) 1165s # { 1165s # 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); 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1165s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1165s # * @error: Return location for error or %NULL 1165s # * 1165s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1165s # * 1165s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1165s # */ 1165s # OrgProjectSignalingIface * 1165s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1165s # GAsyncResult *res, 1165s # GError **error) 1165s # { 1165s # GObject *ret; 1165s # GObject *source_object; 1165s # source_object = g_async_result_get_source_object (res); 1165s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1165s # g_object_unref (source_object); 1165s # if (ret != NULL) 1165s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1165s # else 1165s # return NULL; 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1165s # * @bus_type: A #GBusType. 1165s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1165s # * @name: A bus name (well-known or unique). 1165s # * @object_path: An object path. 1165s # * @cancellable: (nullable): A #GCancellable or %NULL. 1165s # * @error: Return location for error or %NULL 1165s # * 1165s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1165s # * 1165s # * The calling thread is blocked until a reply is received. 1165s # * 1165s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1165s # * 1165s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1165s # */ 1165s # OrgProjectSignalingIface * 1165s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1165s # GBusType bus_type, 1165s # GDBusProxyFlags flags, 1165s # const gchar *name, 1165s # const gchar *object_path, 1165s # GCancellable *cancellable, 1165s # GError **error) 1165s # { 1165s # GInitable *ret; 1165s # 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); 1165s # if (ret != NULL) 1165s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1165s # else 1165s # return NULL; 1165s # } 1165s # 1165s # 1165s # /* ------------------------------------------------------------------------ */ 1165s # 1165s # /** 1165s # * OrgProjectSignalingIfaceSkeleton: 1165s # * 1165s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1165s # */ 1165s # 1165s # /** 1165s # * OrgProjectSignalingIfaceSkeletonClass: 1165s # * @parent_class: The parent class. 1165s # * 1165s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1165s # */ 1165s # 1165s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1165s # { 1165s # GValue *properties; 1165s # GList *changed_properties; 1165s # GSource *changed_properties_idle_source; 1165s # GMainContext *context; 1165s # GMutex lock; 1165s # }; 1165s # 1165s # static void 1165s # _org_project_signaling_iface_skeleton_handle_method_call ( 1165s # GDBusConnection *connection G_GNUC_UNUSED, 1165s # const gchar *sender G_GNUC_UNUSED, 1165s # const gchar *object_path G_GNUC_UNUSED, 1165s # const gchar *interface_name, 1165s # const gchar *method_name, 1165s # GVariant *parameters, 1165s # GDBusMethodInvocation *invocation, 1165s # gpointer user_data) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1165s # _ExtendedGDBusMethodInfo *info; 1165s # GVariantIter iter; 1165s # GVariant *child; 1165s # GValue *paramv; 1165s # gsize num_params; 1165s # guint num_extra; 1165s # gsize n; 1165s # guint signal_id; 1165s # GValue return_value = G_VALUE_INIT; 1165s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1165s # g_assert (info != NULL); 1165s # num_params = g_variant_n_children (parameters); 1165s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1165s # n = 0; 1165s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1165s # g_value_set_object (¶mv[n++], skeleton); 1165s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1165s # g_value_set_object (¶mv[n++], invocation); 1165s # if (info->pass_fdlist) 1165s # { 1165s # #ifdef G_OS_UNIX 1165s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1165s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1165s # #else 1165s # g_assert_not_reached (); 1165s # #endif 1165s # } 1165s # g_variant_iter_init (&iter, parameters); 1165s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1165s # { 1165s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1165s # if (arg_info->use_gvariant) 1165s # { 1165s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1165s # g_value_set_variant (¶mv[n], child); 1165s # n++; 1165s # } 1165s # else 1165s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1165s # g_variant_unref (child); 1165s # } 1165s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1165s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1165s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1165s # if (!g_value_get_boolean (&return_value)) 1165s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1165s # g_value_unset (&return_value); 1165s # for (n = 0; n < num_params + num_extra; n++) 1165s # g_value_unset (¶mv[n]); 1165s # g_free (paramv); 1165s # } 1165s # 1165s # static GVariant * 1165s # _org_project_signaling_iface_skeleton_handle_get_property ( 1165s # GDBusConnection *connection G_GNUC_UNUSED, 1165s # const gchar *sender G_GNUC_UNUSED, 1165s # const gchar *object_path G_GNUC_UNUSED, 1165s # const gchar *interface_name G_GNUC_UNUSED, 1165s # const gchar *property_name, 1165s # GError **error, 1165s # gpointer user_data) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1165s # GValue value = G_VALUE_INIT; 1165s # GParamSpec *pspec; 1165s # _ExtendedGDBusPropertyInfo *info; 1165s # GVariant *ret; 1165s # ret = NULL; 1165s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1165s # g_assert (info != NULL); 1165s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1165s # if (pspec == NULL) 1165s # { 1165s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1165s # } 1165s # else 1165s # { 1165s # g_value_init (&value, pspec->value_type); 1165s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1165s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1165s # g_value_unset (&value); 1165s # } 1165s # return ret; 1165s # } 1165s # 1165s # static gboolean 1165s # _org_project_signaling_iface_skeleton_handle_set_property ( 1165s # GDBusConnection *connection G_GNUC_UNUSED, 1165s # const gchar *sender G_GNUC_UNUSED, 1165s # const gchar *object_path G_GNUC_UNUSED, 1165s # const gchar *interface_name G_GNUC_UNUSED, 1165s # const gchar *property_name, 1165s # GVariant *variant, 1165s # GError **error, 1165s # gpointer user_data) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1165s # GValue value = G_VALUE_INIT; 1165s # GParamSpec *pspec; 1165s # _ExtendedGDBusPropertyInfo *info; 1165s # gboolean ret; 1165s # ret = FALSE; 1165s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1165s # g_assert (info != NULL); 1165s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1165s # if (pspec == NULL) 1165s # { 1165s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1165s # } 1165s # else 1165s # { 1165s # if (info->use_gvariant) 1165s # g_value_set_variant (&value, variant); 1165s # else 1165s # g_dbus_gvariant_to_gvalue (variant, &value); 1165s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1165s # g_value_unset (&value); 1165s # ret = TRUE; 1165s # } 1165s # return ret; 1165s # } 1165s # 1165s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1165s # { 1165s # _org_project_signaling_iface_skeleton_handle_method_call, 1165s # _org_project_signaling_iface_skeleton_handle_get_property, 1165s # _org_project_signaling_iface_skeleton_handle_set_property, 1165s # {NULL} 1165s # }; 1165s # 1165s # static GDBusInterfaceInfo * 1165s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1165s # { 1165s # return org_project_signaling_iface_interface_info (); 1165s # } 1165s # 1165s # static GDBusInterfaceVTable * 1165s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1165s # { 1165s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1165s # } 1165s # 1165s # static GVariant * 1165s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1165s # 1165s # GVariantBuilder builder; 1165s # guint n; 1165s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1165s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1165s # goto out; 1165s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1165s # { 1165s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1165s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1165s # { 1165s # GVariant *value; 1165s # 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); 1165s # if (value != NULL) 1165s # { 1165s # g_variant_take_ref (value); 1165s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1165s # g_variant_unref (value); 1165s # } 1165s # } 1165s # } 1165s # out: 1165s # return g_variant_builder_end (&builder); 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1165s # { 1165s # } 1165s # 1165s # static void 1165s # _org_project_signaling_iface_on_signal_simple_signal ( 1165s # OrgProjectSignalingIface *object) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1165s # 1165s # GList *connections, *l; 1165s # GVariant *signal_variant; 1165s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1165s # 1165s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1165s # for (l = connections; l != NULL; l = l->next) 1165s # { 1165s # GDBusConnection *connection = l->data; 1165s # g_dbus_connection_emit_signal (connection, 1165s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1165s # signal_variant, NULL); 1165s # } 1165s # g_variant_unref (signal_variant); 1165s # g_list_free_full (connections, g_object_unref); 1165s # } 1165s # 1165s # static void 1165s # _org_project_signaling_iface_on_signal_single_arg_signal_d ( 1165s # OrgProjectSignalingIface *object, 1165s # gdouble arg_arg_d) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1165s # 1165s # GList *connections, *l; 1165s # GVariant *signal_variant; 1165s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1165s # 1165s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)", 1165s # arg_arg_d)); 1165s # for (l = connections; l != NULL; l = l->next) 1165s # { 1165s # GDBusConnection *connection = l->data; 1165s # g_dbus_connection_emit_signal (connection, 1165s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD", 1165s # signal_variant, NULL); 1165s # } 1165s # g_variant_unref (signal_variant); 1165s # g_list_free_full (connections, g_object_unref); 1165s # } 1165s # 1165s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1165s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1165s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1165s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1165s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1165s # 1165s # #else 1165s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1165s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1165s # 1165s # #endif 1165s # static void 1165s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1165s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1165s # if (skeleton->priv->changed_properties_idle_source != NULL) 1165s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1165s # g_main_context_unref (skeleton->priv->context); 1165s # g_mutex_clear (&skeleton->priv->lock); 1165s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1165s # { 1165s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1165s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1165s # #else 1165s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1165s # #endif 1165s # 1165s # g_mutex_init (&skeleton->priv->lock); 1165s # skeleton->priv->context = g_main_context_ref_thread_default (); 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1165s # { 1165s # GObjectClass *gobject_class; 1165s # GDBusInterfaceSkeletonClass *skeleton_class; 1165s # 1165s # gobject_class = G_OBJECT_CLASS (klass); 1165s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1165s # 1165s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1165s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1165s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1165s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1165s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1165s # 1165s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1165s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1165s # #endif 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1165s # { 1165s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1165s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d; 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_skeleton_new: 1165s # * 1165s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1165s # * 1165s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1165s # */ 1165s # OrgProjectSignalingIface * 1165s # org_project_signaling_iface_skeleton_new (void) 1165s # { 1165s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1165s # } 1165s # /tmp/tmplam8bnnq/tmpq5y6k4dm.xml: 1165s # 1165s # 1165s # 1165s # 1165s # 1165s # 1165s # 1165s # 1165s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmplam8bnnq/tmpq5y6k4dm.xml', '--output', '-', '--body'] 1165s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1165s # Output: /* 1165s # * This file is generated by gdbus-codegen, do not modify it. 1165s # * 1165s # * The license of this code is the same as for the D-Bus interface description 1165s # * it was derived from. Note that it links to GLib, so must comply with the 1165s # * LGPL linking clauses. 1165s # */ 1165s # 1165s # #ifdef HAVE_CONFIG_H 1165s # # include "config.h" 1165s # #endif 1165s # 1165s # #include 1165s # #ifdef G_OS_UNIX 1165s # # include 1165s # #endif 1165s # 1165s # #ifdef G_ENABLE_DEBUG 1165s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1165s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1165s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1165s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1165s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1165s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1165s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1165s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1165s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1165s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1165s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1165s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1165s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1165s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1165s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1165s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1165s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1165s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1165s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1165s # #else /* !G_ENABLE_DEBUG */ 1165s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1165s # * Do not access GValues directly in your code. Instead, use the 1165s # * g_value_get_*() functions 1165s # */ 1165s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1165s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1165s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1165s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1165s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1165s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1165s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1165s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1165s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1165s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1165s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1165s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1165s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1165s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1165s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1165s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1165s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1165s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1165s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1165s # #endif /* !G_ENABLE_DEBUG */ 1165s # 1165s # typedef struct 1165s # { 1165s # GDBusArgInfo parent_struct; 1165s # gboolean use_gvariant; 1165s # } _ExtendedGDBusArgInfo; 1165s # 1165s # typedef struct 1165s # { 1165s # GDBusMethodInfo parent_struct; 1165s # const gchar *signal_name; 1165s # gboolean pass_fdlist; 1165s # } _ExtendedGDBusMethodInfo; 1165s # 1165s # typedef struct 1165s # { 1165s # GDBusSignalInfo parent_struct; 1165s # const gchar *signal_name; 1165s # } _ExtendedGDBusSignalInfo; 1165s # 1165s # typedef struct 1165s # { 1165s # GDBusPropertyInfo parent_struct; 1165s # const gchar *hyphen_name; 1165s # guint use_gvariant : 1; 1165s # guint emits_changed_signal : 1; 1165s # } _ExtendedGDBusPropertyInfo; 1165s # 1165s # typedef struct 1165s # { 1165s # GDBusInterfaceInfo parent_struct; 1165s # const gchar *hyphen_name; 1165s # } _ExtendedGDBusInterfaceInfo; 1165s # 1165s # typedef struct 1165s # { 1165s # const _ExtendedGDBusPropertyInfo *info; 1165s # guint prop_id; 1165s # GValue orig_value; /* the value before the change */ 1165s # } ChangedProperty; 1165s # 1165s # static void 1165s # _changed_property_free (ChangedProperty *data) 1165s # { 1165s # g_value_unset (&data->orig_value); 1165s # g_free (data); 1165s # } 1165s # 1165s # static gboolean 1165s # _g_strv_equal0 (gchar **a, gchar **b) 1165s # { 1165s # gboolean ret = FALSE; 1165s # guint n; 1165s # if (a == NULL && b == NULL) 1165s # { 1165s # ret = TRUE; 1165s # goto out; 1165s # } 1165s # if (a == NULL || b == NULL) 1165s # goto out; 1165s # if (g_strv_length (a) != g_strv_length (b)) 1165s # goto out; 1165s # for (n = 0; a[n] != NULL; n++) 1165s # if (g_strcmp0 (a[n], b[n]) != 0) 1165s # goto out; 1165s # ret = TRUE; 1165s # out: 1165s # return ret; 1165s # } 1165s # 1165s # static gboolean 1165s # _g_variant_equal0 (GVariant *a, GVariant *b) 1165s # { 1165s # gboolean ret = FALSE; 1165s # if (a == NULL && b == NULL) 1165s # { 1165s # ret = TRUE; 1165s # goto out; 1165s # } 1165s # if (a == NULL || b == NULL) 1165s # goto out; 1165s # ret = g_variant_equal (a, b); 1165s # out: 1165s # return ret; 1165s # } 1165s # 1165s # G_GNUC_UNUSED static gboolean 1165s # _g_value_equal (const GValue *a, const GValue *b) 1165s # { 1165s # gboolean ret = FALSE; 1165s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1165s # switch (G_VALUE_TYPE (a)) 1165s # { 1165s # case G_TYPE_BOOLEAN: 1165s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1165s # break; 1165s # case G_TYPE_UCHAR: 1165s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1165s # break; 1165s # case G_TYPE_INT: 1165s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1165s # break; 1165s # case G_TYPE_UINT: 1165s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1165s # break; 1165s # case G_TYPE_INT64: 1165s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1165s # break; 1165s # case G_TYPE_UINT64: 1165s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1165s # break; 1165s # case G_TYPE_DOUBLE: 1165s # { 1165s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1165s # gdouble da = g_value_get_double (a); 1165s # gdouble db = g_value_get_double (b); 1165s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1165s # } 1165s # break; 1165s # case G_TYPE_STRING: 1165s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1165s # break; 1165s # case G_TYPE_VARIANT: 1165s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1165s # break; 1165s # default: 1165s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1165s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1165s # else 1165s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1165s # break; 1165s # } 1165s # return ret; 1165s # } 1165s # 1165s # /* ------------------------------------------------------------------------ 1165s # * Code for interface org.project.SignalingIface 1165s # * ------------------------------------------------------------------------ 1165s # */ 1165s # 1165s # /** 1165s # * SECTION:OrgProjectSignalingIface 1165s # * @title: OrgProjectSignalingIface 1165s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1165s # * 1165s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1165s # */ 1165s # 1165s # enum 1165s # { 1165s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1165s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S, 1165s # }; 1165s # 1165s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1165s # 1165s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1165s # 1165s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1165s # { 1165s # { 1165s # -1, 1165s # (gchar *) "SimpleSignal", 1165s # NULL, 1165s # NULL 1165s # }, 1165s # "simple-signal" 1165s # }; 1165s # 1165s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s = 1165s # { 1165s # { 1165s # -1, 1165s # (gchar *) "arg_s", 1165s # (gchar *) "s", 1165s # NULL 1165s # }, 1165s # FALSE 1165s # }; 1165s # 1165s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] = 1165s # { 1165s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s.parent_struct, 1165s # NULL 1165s # }; 1165s # 1165s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s = 1165s # { 1165s # { 1165s # -1, 1165s # (gchar *) "SingleArgSignalS", 1165s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers, 1165s # NULL 1165s # }, 1165s # "single-arg-signal-s" 1165s # }; 1165s # 1165s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1165s # { 1165s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1165s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct, 1165s # NULL 1165s # }; 1165s # 1165s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1165s # { 1165s # { 1165s # -1, 1165s # (gchar *) "org.project.SignalingIface", 1165s # NULL, 1165s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1165s # NULL, 1165s # NULL 1165s # }, 1165s # "org-project-signaling-iface", 1165s # }; 1165s # 1165s # 1165s # /** 1165s # * org_project_signaling_iface_interface_info: 1165s # * 1165s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1165s # * 1165s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1165s # */ 1165s # GDBusInterfaceInfo * 1165s # org_project_signaling_iface_interface_info (void) 1165s # { 1165s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_override_properties: 1165s # * @klass: The class structure for a #GObject derived class. 1165s # * @property_id_begin: The property id to assign to the first overridden property. 1165s # * 1165s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1165s # * The properties are overridden in the order they are defined. 1165s # * 1165s # * Returns: The last property id. 1165s # */ 1165s # guint 1165s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1165s # { 1165s # return property_id_begin - 1; 1165s # } 1165s # 1165s # 1165s # inline static void 1165s # org_project_signaling_iface_signal_marshal_simple_signal ( 1165s # GClosure *closure, 1165s # GValue *return_value, 1165s # unsigned int n_param_values, 1165s # const GValue *param_values, 1165s # void *invocation_hint, 1165s # void *marshal_data) 1165s # { 1165s # g_cclosure_marshal_VOID__VOID (closure, 1165s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1165s # } 1165s # 1165s # inline static void 1165s # org_project_signaling_iface_signal_marshal_single_arg_signal_s ( 1165s # GClosure *closure, 1165s # GValue *return_value, 1165s # unsigned int n_param_values, 1165s # const GValue *param_values, 1165s # void *invocation_hint, 1165s # void *marshal_data) 1165s # { 1165s # g_cclosure_marshal_VOID__STRING (closure, 1165s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1165s # } 1165s # 1165s # 1165s # /** 1165s # * OrgProjectSignalingIface: 1165s # * 1165s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1165s # */ 1165s # 1165s # /** 1165s # * OrgProjectSignalingIfaceIface: 1165s # * @parent_iface: The parent interface. 1165s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1165s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal. 1165s # * 1165s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1165s # */ 1165s # 1165s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1165s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1165s # 1165s # static void 1165s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1165s # { 1165s # /* GObject signals for received D-Bus signals: */ 1165s # /** 1165s # * OrgProjectSignalingIface::simple-signal: 1165s # * @object: A #OrgProjectSignalingIface. 1165s # * 1165s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1165s # * 1165s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1165s # */ 1165s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1165s # g_signal_new ("simple-signal", 1165s # G_TYPE_FROM_INTERFACE (iface), 1165s # G_SIGNAL_RUN_LAST, 1165s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1165s # NULL, 1165s # NULL, 1165s # org_project_signaling_iface_signal_marshal_simple_signal, 1165s # G_TYPE_NONE, 1165s # 0); 1165s # 1165s # /** 1165s # * OrgProjectSignalingIface::single-arg-signal-s: 1165s # * @object: A #OrgProjectSignalingIface. 1165s # * @arg_arg_s: Argument. 1165s # * 1165s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received. 1165s # * 1165s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1165s # */ 1165s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] = 1165s # g_signal_new ("single-arg-signal-s", 1165s # G_TYPE_FROM_INTERFACE (iface), 1165s # G_SIGNAL_RUN_LAST, 1165s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s), 1165s # NULL, 1165s # NULL, 1165s # org_project_signaling_iface_signal_marshal_single_arg_signal_s, 1165s # G_TYPE_NONE, 1165s # 1, G_TYPE_STRING); 1165s # 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_emit_simple_signal: 1165s # * @object: A #OrgProjectSignalingIface. 1165s # * 1165s # * Emits the "SimpleSignal" D-Bus signal. 1165s # */ 1165s # void 1165s # org_project_signaling_iface_emit_simple_signal ( 1165s # OrgProjectSignalingIface *object) 1165s # { 1165s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_emit_single_arg_signal_s: 1165s # * @object: A #OrgProjectSignalingIface. 1165s # * @arg_arg_s: Argument to pass with the signal. 1165s # * 1165s # * Emits the "SingleArgSignalS" D-Bus signal. 1165s # */ 1165s # void 1165s # org_project_signaling_iface_emit_single_arg_signal_s ( 1165s # OrgProjectSignalingIface *object, 1165s # const gchar *arg_arg_s) 1165s # { 1165s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_arg_s); 1165s # } 1165s # 1165s # /* ------------------------------------------------------------------------ */ 1165s # 1165s # /** 1165s # * OrgProjectSignalingIfaceProxy: 1165s # * 1165s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1165s # */ 1165s # 1165s # /** 1165s # * OrgProjectSignalingIfaceProxyClass: 1165s # * @parent_class: The parent class. 1165s # * 1165s # * Class structure for #OrgProjectSignalingIfaceProxy. 1165s # */ 1165s # 1165s # struct _OrgProjectSignalingIfaceProxyPrivate 1165s # { 1165s # GData *qdata; 1165s # }; 1165s # 1165s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1165s # 1165s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1165s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1165s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1165s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1165s # 1165s # #else 1165s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1165s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1165s # 1165s # #endif 1165s # static void 1165s # org_project_signaling_iface_proxy_finalize (GObject *object) 1165s # { 1165s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1165s # g_datalist_clear (&proxy->priv->qdata); 1165s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1165s # guint prop_id G_GNUC_UNUSED, 1165s # GValue *value G_GNUC_UNUSED, 1165s # GParamSpec *pspec G_GNUC_UNUSED) 1165s # { 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1165s # guint prop_id G_GNUC_UNUSED, 1165s # const GValue *value G_GNUC_UNUSED, 1165s # GParamSpec *pspec G_GNUC_UNUSED) 1165s # { 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1165s # const gchar *sender_name G_GNUC_UNUSED, 1165s # const gchar *signal_name, 1165s # GVariant *parameters) 1165s # { 1165s # _ExtendedGDBusSignalInfo *info; 1165s # GVariantIter iter; 1165s # GVariant *child; 1165s # GValue *paramv; 1165s # gsize num_params; 1165s # gsize n; 1165s # guint signal_id; 1165s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1165s # if (info == NULL) 1165s # return; 1165s # num_params = g_variant_n_children (parameters); 1165s # paramv = g_new0 (GValue, num_params + 1); 1165s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1165s # g_value_set_object (¶mv[0], proxy); 1165s # g_variant_iter_init (&iter, parameters); 1165s # n = 1; 1165s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1165s # { 1165s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1165s # if (arg_info->use_gvariant) 1165s # { 1165s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1165s # g_value_set_variant (¶mv[n], child); 1165s # n++; 1165s # } 1165s # else 1165s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1165s # g_variant_unref (child); 1165s # } 1165s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1165s # g_signal_emitv (paramv, signal_id, 0, NULL); 1165s # for (n = 0; n < num_params + 1; n++) 1165s # g_value_unset (¶mv[n]); 1165s # g_free (paramv); 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1165s # GVariant *changed_properties, 1165s # const gchar *const *invalidated_properties) 1165s # { 1165s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1165s # guint n; 1165s # const gchar *key; 1165s # GVariantIter *iter; 1165s # _ExtendedGDBusPropertyInfo *info; 1165s # g_variant_get (changed_properties, "a{sv}", &iter); 1165s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1165s # { 1165s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1165s # g_datalist_remove_data (&proxy->priv->qdata, key); 1165s # if (info != NULL) 1165s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1165s # } 1165s # g_variant_iter_free (iter); 1165s # for (n = 0; invalidated_properties[n] != NULL; n++) 1165s # { 1165s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1165s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1165s # if (info != NULL) 1165s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1165s # } 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1165s # { 1165s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1165s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1165s # #else 1165s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1165s # #endif 1165s # 1165s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1165s # { 1165s # GObjectClass *gobject_class; 1165s # GDBusProxyClass *proxy_class; 1165s # 1165s # gobject_class = G_OBJECT_CLASS (klass); 1165s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1165s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1165s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1165s # 1165s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1165s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1165s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1165s # 1165s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1165s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1165s # #endif 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1165s # { 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_proxy_new: 1165s # * @connection: A #GDBusConnection. 1165s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1165s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1165s # * @object_path: An object path. 1165s # * @cancellable: (nullable): A #GCancellable or %NULL. 1165s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1165s # * @user_data: User data to pass to @callback. 1165s # * 1165s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1165s # * 1165s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1165s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1165s # * 1165s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1165s # */ 1165s # void 1165s # org_project_signaling_iface_proxy_new ( 1165s # GDBusConnection *connection, 1165s # GDBusProxyFlags flags, 1165s # const gchar *name, 1165s # const gchar *object_path, 1165s # GCancellable *cancellable, 1165s # GAsyncReadyCallback callback, 1165s # gpointer user_data) 1165s # { 1165s # 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); 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_proxy_new_finish: 1165s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1165s # * @error: Return location for error or %NULL 1165s # * 1165s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1165s # * 1165s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1165s # */ 1165s # OrgProjectSignalingIface * 1165s # org_project_signaling_iface_proxy_new_finish ( 1165s # GAsyncResult *res, 1165s # GError **error) 1165s # { 1165s # GObject *ret; 1165s # GObject *source_object; 1165s # source_object = g_async_result_get_source_object (res); 1165s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1165s # g_object_unref (source_object); 1165s # if (ret != NULL) 1165s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1165s # else 1165s # return NULL; 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_proxy_new_sync: 1165s # * @connection: A #GDBusConnection. 1165s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1165s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1165s # * @object_path: An object path. 1165s # * @cancellable: (nullable): A #GCancellable or %NULL. 1165s # * @error: Return location for error or %NULL 1165s # * 1165s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1165s # * 1165s # * The calling thread is blocked until a reply is received. 1165s # * 1165s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1165s # * 1165s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1165s # */ 1165s # OrgProjectSignalingIface * 1165s # org_project_signaling_iface_proxy_new_sync ( 1165s # GDBusConnection *connection, 1165s # GDBusProxyFlags flags, 1165s # const gchar *name, 1165s # const gchar *object_path, 1165s # GCancellable *cancellable, 1165s # GError **error) 1165s # { 1165s # GInitable *ret; 1165s # 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); 1165s # if (ret != NULL) 1165s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1165s # else 1165s # return NULL; 1165s # } 1165s # 1165s # 1165s # /** 1165s # * org_project_signaling_iface_proxy_new_for_bus: 1165s # * @bus_type: A #GBusType. 1165s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1165s # * @name: A bus name (well-known or unique). 1165s # * @object_path: An object path. 1165s # * @cancellable: (nullable): A #GCancellable or %NULL. 1165s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1165s # * @user_data: User data to pass to @callback. 1165s # * 1165s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1165s # * 1165s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1165s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1165s # * 1165s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1165s # */ 1165s # void 1165s # org_project_signaling_iface_proxy_new_for_bus ( 1165s # GBusType bus_type, 1165s # GDBusProxyFlags flags, 1165s # const gchar *name, 1165s # const gchar *object_path, 1165s # GCancellable *cancellable, 1165s # GAsyncReadyCallback callback, 1165s # gpointer user_data) 1165s # { 1165s # 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); 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1165s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1165s # * @error: Return location for error or %NULL 1165s # * 1165s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1165s # * 1165s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1165s # */ 1165s # OrgProjectSignalingIface * 1165s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1165s # GAsyncResult *res, 1165s # GError **error) 1165s # { 1165s # GObject *ret; 1165s # GObject *source_object; 1165s # source_object = g_async_result_get_source_object (res); 1165s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1165s # g_object_unref (source_object); 1165s # if (ret != NULL) 1165s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1165s # else 1165s # return NULL; 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1165s # * @bus_type: A #GBusType. 1165s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1165s # * @name: A bus name (well-known or unique). 1165s # * @object_path: An object path. 1165s # * @cancellable: (nullable): A #GCancellable or %NULL. 1165s # * @error: Return location for error or %NULL 1165s # * 1165s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1165s # * 1165s # * The calling thread is blocked until a reply is received. 1165s # * 1165s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1165s # * 1165s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1165s # */ 1165s # OrgProjectSignalingIface * 1165s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1165s # GBusType bus_type, 1165s # GDBusProxyFlags flags, 1165s # const gchar *name, 1165s # const gchar *object_path, 1165s # GCancellable *cancellable, 1165s # GError **error) 1165s # { 1165s # GInitable *ret; 1165s # 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); 1165s # if (ret != NULL) 1165s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1165s # else 1165s # return NULL; 1165s # } 1165s # 1165s # 1165s # /* ------------------------------------------------------------------------ */ 1165s # 1165s # /** 1165s # * OrgProjectSignalingIfaceSkeleton: 1165s # * 1165s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1165s # */ 1165s # 1165s # /** 1165s # * OrgProjectSignalingIfaceSkeletonClass: 1165s # * @parent_class: The parent class. 1165s # * 1165s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1165s # */ 1165s # 1165s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1165s # { 1165s # GValue *properties; 1165s # GList *changed_properties; 1165s # GSource *changed_properties_idle_source; 1165s # GMainContext *context; 1165s # GMutex lock; 1165s # }; 1165s # 1165s # static void 1165s # _org_project_signaling_iface_skeleton_handle_method_call ( 1165s # GDBusConnection *connection G_GNUC_UNUSED, 1165s # const gchar *sender G_GNUC_UNUSED, 1165s # const gchar *object_path G_GNUC_UNUSED, 1165s # const gchar *interface_name, 1165s # const gchar *method_name, 1165s # GVariant *parameters, 1165s # GDBusMethodInvocation *invocation, 1165s # gpointer user_data) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1165s # _ExtendedGDBusMethodInfo *info; 1165s # GVariantIter iter; 1165s # GVariant *child; 1165s # GValue *paramv; 1165s # gsize num_params; 1165s # guint num_extra; 1165s # gsize n; 1165s # guint signal_id; 1165s # GValue return_value = G_VALUE_INIT; 1165s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1165s # g_assert (info != NULL); 1165s # num_params = g_variant_n_children (parameters); 1165s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1165s # n = 0; 1165s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1165s # g_value_set_object (¶mv[n++], skeleton); 1165s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1165s # g_value_set_object (¶mv[n++], invocation); 1165s # if (info->pass_fdlist) 1165s # { 1165s # #ifdef G_OS_UNIX 1165s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1165s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1165s # #else 1165s # g_assert_not_reached (); 1165s # #endif 1165s # } 1165s # g_variant_iter_init (&iter, parameters); 1165s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1165s # { 1165s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1165s # if (arg_info->use_gvariant) 1165s # { 1165s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1165s # g_value_set_variant (¶mv[n], child); 1165s # n++; 1165s # } 1165s # else 1165s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1165s # g_variant_unref (child); 1165s # } 1165s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1165s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1165s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1165s # if (!g_value_get_boolean (&return_value)) 1165s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1165s # g_value_unset (&return_value); 1165s # for (n = 0; n < num_params + num_extra; n++) 1165s # g_value_unset (¶mv[n]); 1165s # g_free (paramv); 1165s # } 1165s # 1165s # static GVariant * 1165s # _org_project_signaling_iface_skeleton_handle_get_property ( 1165s # GDBusConnection *connection G_GNUC_UNUSED, 1165s # const gchar *sender G_GNUC_UNUSED, 1165s # const gchar *object_path G_GNUC_UNUSED, 1165s # const gchar *interface_name G_GNUC_UNUSED, 1165s # const gchar *property_name, 1165s # GError **error, 1165s # gpointer user_data) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1165s # GValue value = G_VALUE_INIT; 1165s # GParamSpec *pspec; 1165s # _ExtendedGDBusPropertyInfo *info; 1165s # GVariant *ret; 1165s # ret = NULL; 1165s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1165s # g_assert (info != NULL); 1165s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1165s # if (pspec == NULL) 1165s # { 1165s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1165s # } 1165s # else 1165s # { 1165s # g_value_init (&value, pspec->value_type); 1165s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1165s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1165s # g_value_unset (&value); 1165s # } 1165s # return ret; 1165s # } 1165s # 1165s # static gboolean 1165s # _org_project_signaling_iface_skeleton_handle_set_property ( 1165s # GDBusConnection *connection G_GNUC_UNUSED, 1165s # const gchar *sender G_GNUC_UNUSED, 1165s # const gchar *object_path G_GNUC_UNUSED, 1165s # const gchar *interface_name G_GNUC_UNUSED, 1165s # const gchar *property_name, 1165s # GVariant *variant, 1165s # GError **error, 1165s # gpointer user_data) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1165s # GValue value = G_VALUE_INIT; 1165s # GParamSpec *pspec; 1165s # _ExtendedGDBusPropertyInfo *info; 1165s # gboolean ret; 1165s # ret = FALSE; 1165s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1165s # g_assert (info != NULL); 1165s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1165s # if (pspec == NULL) 1165s # { 1165s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1165s # } 1165s # else 1165s # { 1165s # if (info->use_gvariant) 1165s # g_value_set_variant (&value, variant); 1165s # else 1165s # g_dbus_gvariant_to_gvalue (variant, &value); 1165s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1165s # g_value_unset (&value); 1165s # ret = TRUE; 1165s # } 1165s # return ret; 1165s # } 1165s # 1165s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1165s # { 1165s # _org_project_signaling_iface_skeleton_handle_method_call, 1165s # _org_project_signaling_iface_skeleton_handle_get_property, 1165s # _org_project_signaling_iface_skeleton_handle_set_property, 1165s # {NULL} 1165s # }; 1165s # 1165s # static GDBusInterfaceInfo * 1165s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1165s # { 1165s # return org_project_signaling_iface_interface_info (); 1165s # } 1165s # 1165s # static GDBusInterfaceVTable * 1165s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1165s # { 1165s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1165s # } 1165s # 1165s # static GVariant * 1165s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1165s # 1165s # GVariantBuilder builder; 1165s # guint n; 1165s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1165s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1165s # goto out; 1165s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1165s # { 1165s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1165s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1165s # { 1165s # GVariant *value; 1165s # 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); 1165s # if (value != NULL) 1165s # { 1165s # g_variant_take_ref (value); 1165s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1165s # g_variant_unref (value); 1165s # } 1165s # } 1165s # } 1165s # out: 1165s # return g_variant_builder_end (&builder); 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1165s # { 1165s # } 1165s # 1165s # static void 1165s # _org_project_signaling_iface_on_signal_simple_signal ( 1165s # OrgProjectSignalingIface *object) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1165s # 1165s # GList *connections, *l; 1165s # GVariant *signal_variant; 1165s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1165s # 1165s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1165s # for (l = connections; l != NULL; l = l->next) 1165s # { 1165s # GDBusConnection *connection = l->data; 1165s # g_dbus_connection_emit_signal (connection, 1165s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1165s # signal_variant, NULL); 1165s # } 1165s # g_variant_unref (signal_variant); 1165s # g_list_free_full (connections, g_object_unref); 1165s # } 1165s # 1165s # static void 1165s # _org_project_signaling_iface_on_signal_single_arg_signal_s ( 1165s # OrgProjectSignalingIface *object, 1165s # const gchar *arg_arg_s) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1165s # 1165s # GList *connections, *l; 1165s # GVariant *signal_variant; 1165s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1165s # 1165s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)", 1165s # arg_arg_s)); 1165s # for (l = connections; l != NULL; l = l->next) 1165s # { 1165s # GDBusConnection *connection = l->data; 1165s # g_dbus_connection_emit_signal (connection, 1165s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS", 1165s # signal_variant, NULL); 1165s # } 1165s # g_variant_unref (signal_variant); 1165s # g_list_free_full (connections, g_object_unref); 1165s # } 1165s # 1165s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1165s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1165s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1165s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1165s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1165s # 1165s # #else 1165s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1165s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1165s # 1165s # #endif 1165s # static void 1165s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1165s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1165s # if (skeleton->priv->changed_properties_idle_source != NULL) 1165s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1165s # g_main_context_unref (skeleton->priv->context); 1165s # g_mutex_clear (&skeleton->priv->lock); 1165s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1165s # { 1165s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1165s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1165s # #else 1165s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1165s # #endif 1165s # 1165s # g_mutex_init (&skeleton->priv->lock); 1165s # skeleton->priv->context = g_main_context_ref_thread_default (); 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1165s # { 1165s # GObjectClass *gobject_class; 1165s # GDBusInterfaceSkeletonClass *skeleton_class; 1165s # 1165s # gobject_class = G_OBJECT_CLASS (klass); 1165s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1165s # 1165s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1165s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1165s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1165s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1165s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1165s # 1165s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1165s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1165s # #endif 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1165s # { 1165s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1165s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s; 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_skeleton_new: 1165s # * 1165s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1165s # * 1165s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1165s # */ 1165s # OrgProjectSignalingIface * 1165s # org_project_signaling_iface_skeleton_new (void) 1165s # { 1165s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1165s # } 1165s # /tmp/tmplam8bnnq/tmpr1q90don.xml: 1165s # 1165s # 1165s # 1165s # 1165s # 1165s # 1165s # 1165s # 1165s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmplam8bnnq/tmpr1q90don.xml', '--output', '-', '--body'] 1165s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1165s # Output: /* 1165s # * This file is generated by gdbus-codegen, do not modify it. 1165s # * 1165s # * The license of this code is the same as for the D-Bus interface description 1165s # * it was derived from. Note that it links to GLib, so must comply with the 1165s # * LGPL linking clauses. 1165s # */ 1165s # 1165s # #ifdef HAVE_CONFIG_H 1165s # # include "config.h" 1165s # #endif 1165s # 1165s # #include 1165s # #ifdef G_OS_UNIX 1165s # # include 1165s # #endif 1165s # 1165s # #ifdef G_ENABLE_DEBUG 1165s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1165s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1165s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1165s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1165s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1165s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1165s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1165s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1165s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1165s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1165s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1165s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1165s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1165s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1165s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1165s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1165s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1165s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1165s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1165s # #else /* !G_ENABLE_DEBUG */ 1165s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1165s # * Do not access GValues directly in your code. Instead, use the 1165s # * g_value_get_*() functions 1165s # */ 1165s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1165s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1165s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1165s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1165s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1165s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1165s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1165s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1165s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1165s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1165s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1165s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1165s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1165s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1165s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1165s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1165s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1165s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1165s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1165s # #endif /* !G_ENABLE_DEBUG */ 1165s # 1165s # typedef struct 1165s # { 1165s # GDBusArgInfo parent_struct; 1165s # gboolean use_gvariant; 1165s # } _ExtendedGDBusArgInfo; 1165s # 1165s # typedef struct 1165s # { 1165s # GDBusMethodInfo parent_struct; 1165s # const gchar *signal_name; 1165s # gboolean pass_fdlist; 1165s # } _ExtendedGDBusMethodInfo; 1165s # 1165s # typedef struct 1165s # { 1165s # GDBusSignalInfo parent_struct; 1165s # const gchar *signal_name; 1165s # } _ExtendedGDBusSignalInfo; 1165s # 1165s # typedef struct 1165s # { 1165s # GDBusPropertyInfo parent_struct; 1165s # const gchar *hyphen_name; 1165s # guint use_gvariant : 1; 1165s # guint emits_changed_signal : 1; 1165s # } _ExtendedGDBusPropertyInfo; 1165s # 1165s # typedef struct 1165s # { 1165s # GDBusInterfaceInfo parent_struct; 1165s # const gchar *hyphen_name; 1165s # } _ExtendedGDBusInterfaceInfo; 1165s # 1165s # typedef struct 1165s # { 1165s # const _ExtendedGDBusPropertyInfo *info; 1165s # guint prop_id; 1165s # GValue orig_value; /* the value before the change */ 1165s # } ChangedProperty; 1165s # 1165s # static void 1165s # _changed_property_free (ChangedProperty *data) 1165s # { 1165s # g_value_unset (&data->orig_value); 1165s # g_free (data); 1165s # } 1165s # 1165s # static gboolean 1165s # _g_strv_equal0 (gchar **a, gchar **b) 1165s # { 1165s # gboolean ret = FALSE; 1165s # guint n; 1165s # if (a == NULL && b == NULL) 1165s # { 1165s # ret = TRUE; 1165s # goto out; 1165s # } 1165s # if (a == NULL || b == NULL) 1165s # goto out; 1165s # if (g_strv_length (a) != g_strv_length (b)) 1165s # goto out; 1165s # for (n = 0; a[n] != NULL; n++) 1165s # if (g_strcmp0 (a[n], b[n]) != 0) 1165s # goto out; 1165s # ret = TRUE; 1165s # out: 1165s # return ret; 1165s # } 1165s # 1165s # static gboolean 1165s # _g_variant_equal0 (GVariant *a, GVariant *b) 1165s # { 1165s # gboolean ret = FALSE; 1165s # if (a == NULL && b == NULL) 1165s # { 1165s # ret = TRUE; 1165s # goto out; 1165s # } 1165s # if (a == NULL || b == NULL) 1165s # goto out; 1165s # ret = g_variant_equal (a, b); 1165s # out: 1165s # return ret; 1165s # } 1165s # 1165s # G_GNUC_UNUSED static gboolean 1165s # _g_value_equal (const GValue *a, const GValue *b) 1165s # { 1165s # gboolean ret = FALSE; 1165s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1165s # switch (G_VALUE_TYPE (a)) 1165s # { 1165s # case G_TYPE_BOOLEAN: 1165s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1165s # break; 1165s # case G_TYPE_UCHAR: 1165s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1165s # break; 1165s # case G_TYPE_INT: 1165s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1165s # break; 1165s # case G_TYPE_UINT: 1165s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1165s # break; 1165s # case G_TYPE_INT64: 1165s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1165s # break; 1165s # case G_TYPE_UINT64: 1165s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1165s # break; 1165s # case G_TYPE_DOUBLE: 1165s # { 1165s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1165s # gdouble da = g_value_get_double (a); 1165s # gdouble db = g_value_get_double (b); 1165s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1165s # } 1165s # break; 1165s # case G_TYPE_STRING: 1165s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1165s # break; 1165s # case G_TYPE_VARIANT: 1165s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1165s # break; 1165s # default: 1165s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1165s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1165s # else 1165s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1165s # break; 1165s # } 1165s # return ret; 1165s # } 1165s # 1165s # /* ------------------------------------------------------------------------ 1165s # * Code for interface org.project.SignalingIface 1165s # * ------------------------------------------------------------------------ 1165s # */ 1165s # 1165s # /** 1165s # * SECTION:OrgProjectSignalingIface 1165s # * @title: OrgProjectSignalingIface 1165s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1165s # * 1165s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1165s # */ 1165s # 1165s # enum 1165s # { 1165s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1165s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O, 1165s # }; 1165s # 1165s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1165s # 1165s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1165s # 1165s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1165s # { 1165s # { 1165s # -1, 1165s # (gchar *) "SimpleSignal", 1165s # NULL, 1165s # NULL 1165s # }, 1165s # "simple-signal" 1165s # }; 1165s # 1165s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o = 1165s # { 1165s # { 1165s # -1, 1165s # (gchar *) "arg_o", 1165s # (gchar *) "o", 1165s # NULL 1165s # }, 1165s # FALSE 1165s # }; 1165s # 1165s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] = 1165s # { 1165s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o.parent_struct, 1165s # NULL 1165s # }; 1165s # 1165s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o = 1165s # { 1165s # { 1165s # -1, 1165s # (gchar *) "SingleArgSignalO", 1165s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers, 1165s # NULL 1165s # }, 1165s # "single-arg-signal-o" 1165s # }; 1165s # 1165s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1165s # { 1165s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1165s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct, 1165s # NULL 1165s # }; 1165s # 1165s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1165s # { 1165s # { 1165s # -1, 1165s # (gchar *) "org.project.SignalingIface", 1165s # NULL, 1165s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1165s # NULL, 1165s # NULL 1165s # }, 1165s # "org-project-signaling-iface", 1165s # }; 1165s # 1165s # 1165s # /** 1165s # * org_project_signaling_iface_interface_info: 1165s # * 1165s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1165s # * 1165s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1165s # */ 1165s # GDBusInterfaceInfo * 1165s # org_project_signaling_iface_interface_info (void) 1165s # { 1165s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_override_properties: 1165s # * @klass: The class structure for a #GObject derived class. 1165s # * @property_id_begin: The property id to assign to the first overridden property. 1165s # * 1165s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1165s # * The properties are overridden in the order they are defined. 1165s # * 1165s # * Returns: The last property id. 1165s # */ 1165s # guint 1165s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1165s # { 1165s # return property_id_begin - 1; 1165s # } 1165s # 1165s # 1165s # inline static void 1165s # org_project_signaling_iface_signal_marshal_simple_signal ( 1165s # GClosure *closure, 1165s # GValue *return_value, 1165s # unsigned int n_param_values, 1165s # const GValue *param_values, 1165s # void *invocation_hint, 1165s # void *marshal_data) 1165s # { 1165s # g_cclosure_marshal_VOID__VOID (closure, 1165s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1165s # } 1165s # 1165s # inline static void 1165s # org_project_signaling_iface_signal_marshal_single_arg_signal_o ( 1165s # GClosure *closure, 1165s # GValue *return_value, 1165s # unsigned int n_param_values, 1165s # const GValue *param_values, 1165s # void *invocation_hint, 1165s # void *marshal_data) 1165s # { 1165s # g_cclosure_marshal_VOID__STRING (closure, 1165s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1165s # } 1165s # 1165s # 1165s # /** 1165s # * OrgProjectSignalingIface: 1165s # * 1165s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1165s # */ 1165s # 1165s # /** 1165s # * OrgProjectSignalingIfaceIface: 1165s # * @parent_iface: The parent interface. 1165s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1165s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal. 1165s # * 1165s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1165s # */ 1165s # 1165s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1165s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1165s # 1165s # static void 1165s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1165s # { 1165s # /* GObject signals for received D-Bus signals: */ 1165s # /** 1165s # * OrgProjectSignalingIface::simple-signal: 1165s # * @object: A #OrgProjectSignalingIface. 1165s # * 1165s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1165s # * 1165s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1165s # */ 1165s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1165s # g_signal_new ("simple-signal", 1165s # G_TYPE_FROM_INTERFACE (iface), 1165s # G_SIGNAL_RUN_LAST, 1165s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1165s # NULL, 1165s # NULL, 1165s # org_project_signaling_iface_signal_marshal_simple_signal, 1165s # G_TYPE_NONE, 1165s # 0); 1165s # 1165s # /** 1165s # * OrgProjectSignalingIface::single-arg-signal-o: 1165s # * @object: A #OrgProjectSignalingIface. 1165s # * @arg_arg_o: Argument. 1165s # * 1165s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received. 1165s # * 1165s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1165s # */ 1165s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] = 1165s # g_signal_new ("single-arg-signal-o", 1165s # G_TYPE_FROM_INTERFACE (iface), 1165s # G_SIGNAL_RUN_LAST, 1165s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o), 1165s # NULL, 1165s # NULL, 1165s # org_project_signaling_iface_signal_marshal_single_arg_signal_o, 1165s # G_TYPE_NONE, 1165s # 1, G_TYPE_STRING); 1165s # 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_emit_simple_signal: 1165s # * @object: A #OrgProjectSignalingIface. 1165s # * 1165s # * Emits the "SimpleSignal" D-Bus signal. 1165s # */ 1165s # void 1165s # org_project_signaling_iface_emit_simple_signal ( 1165s # OrgProjectSignalingIface *object) 1165s # { 1165s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_emit_single_arg_signal_o: 1165s # * @object: A #OrgProjectSignalingIface. 1165s # * @arg_arg_o: Argument to pass with the signal. 1165s # * 1165s # * Emits the "SingleArgSignalO" D-Bus signal. 1165s # */ 1165s # void 1165s # org_project_signaling_iface_emit_single_arg_signal_o ( 1165s # OrgProjectSignalingIface *object, 1165s # const gchar *arg_arg_o) 1165s # { 1165s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_arg_o); 1165s # } 1165s # 1165s # /* ------------------------------------------------------------------------ */ 1165s # 1165s # /** 1165s # * OrgProjectSignalingIfaceProxy: 1165s # * 1165s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1165s # */ 1165s # 1165s # /** 1165s # * OrgProjectSignalingIfaceProxyClass: 1165s # * @parent_class: The parent class. 1165s # * 1165s # * Class structure for #OrgProjectSignalingIfaceProxy. 1165s # */ 1165s # 1165s # struct _OrgProjectSignalingIfaceProxyPrivate 1165s # { 1165s # GData *qdata; 1165s # }; 1165s # 1165s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1165s # 1165s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1165s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1165s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1165s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1165s # 1165s # #else 1165s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1165s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1165s # 1165s # #endif 1165s # static void 1165s # org_project_signaling_iface_proxy_finalize (GObject *object) 1165s # { 1165s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1165s # g_datalist_clear (&proxy->priv->qdata); 1165s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1165s # guint prop_id G_GNUC_UNUSED, 1165s # GValue *value G_GNUC_UNUSED, 1165s # GParamSpec *pspec G_GNUC_UNUSED) 1165s # { 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1165s # guint prop_id G_GNUC_UNUSED, 1165s # const GValue *value G_GNUC_UNUSED, 1165s # GParamSpec *pspec G_GNUC_UNUSED) 1165s # { 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1165s # const gchar *sender_name G_GNUC_UNUSED, 1165s # const gchar *signal_name, 1165s # GVariant *parameters) 1165s # { 1165s # _ExtendedGDBusSignalInfo *info; 1165s # GVariantIter iter; 1165s # GVariant *child; 1165s # GValue *paramv; 1165s # gsize num_params; 1165s # gsize n; 1165s # guint signal_id; 1165s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1165s # if (info == NULL) 1165s # return; 1165s # num_params = g_variant_n_children (parameters); 1165s # paramv = g_new0 (GValue, num_params + 1); 1165s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1165s # g_value_set_object (¶mv[0], proxy); 1165s # g_variant_iter_init (&iter, parameters); 1165s # n = 1; 1165s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1165s # { 1165s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1165s # if (arg_info->use_gvariant) 1165s # { 1165s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1165s # g_value_set_variant (¶mv[n], child); 1165s # n++; 1165s # } 1165s # else 1165s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1165s # g_variant_unref (child); 1165s # } 1165s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1165s # g_signal_emitv (paramv, signal_id, 0, NULL); 1165s # for (n = 0; n < num_params + 1; n++) 1165s # g_value_unset (¶mv[n]); 1165s # g_free (paramv); 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1165s # GVariant *changed_properties, 1165s # const gchar *const *invalidated_properties) 1165s # { 1165s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1165s # guint n; 1165s # const gchar *key; 1165s # GVariantIter *iter; 1165s # _ExtendedGDBusPropertyInfo *info; 1165s # g_variant_get (changed_properties, "a{sv}", &iter); 1165s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1165s # { 1165s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1165s # g_datalist_remove_data (&proxy->priv->qdata, key); 1165s # if (info != NULL) 1165s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1165s # } 1165s # g_variant_iter_free (iter); 1165s # for (n = 0; invalidated_properties[n] != NULL; n++) 1165s # { 1165s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1165s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1165s # if (info != NULL) 1165s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1165s # } 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1165s # { 1165s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1165s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1165s # #else 1165s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1165s # #endif 1165s # 1165s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1165s # { 1165s # GObjectClass *gobject_class; 1165s # GDBusProxyClass *proxy_class; 1165s # 1165s # gobject_class = G_OBJECT_CLASS (klass); 1165s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1165s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1165s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1165s # 1165s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1165s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1165s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1165s # 1165s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1165s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1165s # #endif 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1165s # { 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_proxy_new: 1165s # * @connection: A #GDBusConnection. 1165s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1165s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1165s # * @object_path: An object path. 1165s # * @cancellable: (nullable): A #GCancellable or %NULL. 1165s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1165s # * @user_data: User data to pass to @callback. 1165s # * 1165s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1165s # * 1165s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1165s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1165s # * 1165s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1165s # */ 1165s # void 1165s # org_project_signaling_iface_proxy_new ( 1165s # GDBusConnection *connection, 1165s # GDBusProxyFlags flags, 1165s # const gchar *name, 1165s # const gchar *object_path, 1165s # GCancellable *cancellable, 1165s # GAsyncReadyCallback callback, 1165s # gpointer user_data) 1165s # { 1165s # 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); 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_proxy_new_finish: 1165s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1165s # * @error: Return location for error or %NULL 1165s # * 1165s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1165s # * 1165s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1165s # */ 1165s # OrgProjectSignalingIface * 1165s # org_project_signaling_iface_proxy_new_finish ( 1165s # GAsyncResult *res, 1165s # GError **error) 1165s # { 1165s # GObject *ret; 1165s # GObject *source_object; 1165s # source_object = g_async_result_get_source_object (res); 1165s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1165s # g_object_unref (source_object); 1165s # if (ret != NULL) 1165s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1165s # else 1165s # return NULL; 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_proxy_new_sync: 1165s # * @connection: A #GDBusConnection. 1165s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1165s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1165s # * @object_path: An object path. 1165s # * @cancellable: (nullable): A #GCancellable or %NULL. 1165s # * @error: Return location for error or %NULL 1165s # * 1165s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1165s # * 1165s # * The calling thread is blocked until a reply is received. 1165s # * 1165s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1165s # * 1165s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1165s # */ 1165s # OrgProjectSignalingIface * 1165s # org_project_signaling_iface_proxy_new_sync ( 1165s # GDBusConnection *connection, 1165s # GDBusProxyFlags flags, 1165s # const gchar *name, 1165s # const gchar *object_path, 1165s # GCancellable *cancellable, 1165s # GError **error) 1165s # { 1165s # GInitable *ret; 1165s # 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); 1165s # if (ret != NULL) 1165s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1165s # else 1165s # return NULL; 1165s # } 1165s # 1165s # 1165s # /** 1165s # * org_project_signaling_iface_proxy_new_for_bus: 1165s # * @bus_type: A #GBusType. 1165s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1165s # * @name: A bus name (well-known or unique). 1165s # * @object_path: An object path. 1165s # * @cancellable: (nullable): A #GCancellable or %NULL. 1165s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1165s # * @user_data: User data to pass to @callback. 1165s # * 1165s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1165s # * 1165s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1165s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1165s # * 1165s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1165s # */ 1165s # void 1165s # org_project_signaling_iface_proxy_new_for_bus ( 1165s # GBusType bus_type, 1165s # GDBusProxyFlags flags, 1165s # const gchar *name, 1165s # const gchar *object_path, 1165s # GCancellable *cancellable, 1165s # GAsyncReadyCallback callback, 1165s # gpointer user_data) 1165s # { 1165s # 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); 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1165s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1165s # * @error: Return location for error or %NULL 1165s # * 1165s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1165s # * 1165s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1165s # */ 1165s # OrgProjectSignalingIface * 1165s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1165s # GAsyncResult *res, 1165s # GError **error) 1165s # { 1165s # GObject *ret; 1165s # GObject *source_object; 1165s # source_object = g_async_result_get_source_object (res); 1165s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1165s # g_object_unref (source_object); 1165s # if (ret != NULL) 1165s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1165s # else 1165s # return NULL; 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1165s # * @bus_type: A #GBusType. 1165s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1165s # * @name: A bus name (well-known or unique). 1165s # * @object_path: An object path. 1165s # * @cancellable: (nullable): A #GCancellable or %NULL. 1165s # * @error: Return location for error or %NULL 1165s # * 1165s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1165s # * 1165s # * The calling thread is blocked until a reply is received. 1165s # * 1165s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1165s # * 1165s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1165s # */ 1165s # OrgProjectSignalingIface * 1165s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1165s # GBusType bus_type, 1165s # GDBusProxyFlags flags, 1165s # const gchar *name, 1165s # const gchar *object_path, 1165s # GCancellable *cancellable, 1165s # GError **error) 1165s # { 1165s # GInitable *ret; 1165s # 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); 1165s # if (ret != NULL) 1165s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1165s # else 1165s # return NULL; 1165s # } 1165s # 1165s # 1165s # /* ------------------------------------------------------------------------ */ 1165s # 1165s # /** 1165s # * OrgProjectSignalingIfaceSkeleton: 1165s # * 1165s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1165s # */ 1165s # 1165s # /** 1165s # * OrgProjectSignalingIfaceSkeletonClass: 1165s # * @parent_class: The parent class. 1165s # * 1165s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1165s # */ 1165s # 1165s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1165s # { 1165s # GValue *properties; 1165s # GList *changed_properties; 1165s # GSource *changed_properties_idle_source; 1165s # GMainContext *context; 1165s # GMutex lock; 1165s # }; 1165s # 1165s # static void 1165s # _org_project_signaling_iface_skeleton_handle_method_call ( 1165s # GDBusConnection *connection G_GNUC_UNUSED, 1165s # const gchar *sender G_GNUC_UNUSED, 1165s # const gchar *object_path G_GNUC_UNUSED, 1165s # const gchar *interface_name, 1165s # const gchar *method_name, 1165s # GVariant *parameters, 1165s # GDBusMethodInvocation *invocation, 1165s # gpointer user_data) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1165s # _ExtendedGDBusMethodInfo *info; 1165s # GVariantIter iter; 1165s # GVariant *child; 1165s # GValue *paramv; 1165s # gsize num_params; 1165s # guint num_extra; 1165s # gsize n; 1165s # guint signal_id; 1165s # GValue return_value = G_VALUE_INIT; 1165s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1165s # g_assert (info != NULL); 1165s # num_params = g_variant_n_children (parameters); 1165s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1165s # n = 0; 1165s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1165s # g_value_set_object (¶mv[n++], skeleton); 1165s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1165s # g_value_set_object (¶mv[n++], invocation); 1165s # if (info->pass_fdlist) 1165s # { 1165s # #ifdef G_OS_UNIX 1165s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1165s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1165s # #else 1165s # g_assert_not_reached (); 1165s # #endif 1165s # } 1165s # g_variant_iter_init (&iter, parameters); 1165s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1165s # { 1165s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1165s # if (arg_info->use_gvariant) 1165s # { 1165s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1165s # g_value_set_variant (¶mv[n], child); 1165s # n++; 1165s # } 1165s # else 1165s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1165s # g_variant_unref (child); 1165s # } 1165s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1165s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1165s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1165s # if (!g_value_get_boolean (&return_value)) 1165s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1165s # g_value_unset (&return_value); 1165s # for (n = 0; n < num_params + num_extra; n++) 1165s # g_value_unset (¶mv[n]); 1165s # g_free (paramv); 1165s # } 1165s # 1165s # static GVariant * 1165s # _org_project_signaling_iface_skeleton_handle_get_property ( 1165s # GDBusConnection *connection G_GNUC_UNUSED, 1165s # const gchar *sender G_GNUC_UNUSED, 1165s # const gchar *object_path G_GNUC_UNUSED, 1165s # const gchar *interface_name G_GNUC_UNUSED, 1165s # const gchar *property_name, 1165s # GError **error, 1165s # gpointer user_data) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1165s # GValue value = G_VALUE_INIT; 1165s # GParamSpec *pspec; 1165s # _ExtendedGDBusPropertyInfo *info; 1165s # GVariant *ret; 1165s # ret = NULL; 1165s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1165s # g_assert (info != NULL); 1165s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1165s # if (pspec == NULL) 1165s # { 1165s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1165s # } 1165s # else 1165s # { 1165s # g_value_init (&value, pspec->value_type); 1165s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1165s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1165s # g_value_unset (&value); 1165s # } 1165s # return ret; 1165s # } 1165s # 1165s # static gboolean 1165s # _org_project_signaling_iface_skeleton_handle_set_property ( 1165s # GDBusConnection *connection G_GNUC_UNUSED, 1165s # const gchar *sender G_GNUC_UNUSED, 1165s # const gchar *object_path G_GNUC_UNUSED, 1165s # const gchar *interface_name G_GNUC_UNUSED, 1165s # const gchar *property_name, 1165s # GVariant *variant, 1165s # GError **error, 1165s # gpointer user_data) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1165s # GValue value = G_VALUE_INIT; 1165s # GParamSpec *pspec; 1165s # _ExtendedGDBusPropertyInfo *info; 1165s # gboolean ret; 1165s # ret = FALSE; 1165s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1165s # g_assert (info != NULL); 1165s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1165s # if (pspec == NULL) 1165s # { 1165s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1165s # } 1165s # else 1165s # { 1165s # if (info->use_gvariant) 1165s # g_value_set_variant (&value, variant); 1165s # else 1165s # g_dbus_gvariant_to_gvalue (variant, &value); 1165s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1165s # g_value_unset (&value); 1165s # ret = TRUE; 1165s # } 1165s # return ret; 1165s # } 1165s # 1165s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1165s # { 1165s # _org_project_signaling_iface_skeleton_handle_method_call, 1165s # _org_project_signaling_iface_skeleton_handle_get_property, 1165s # _org_project_signaling_iface_skeleton_handle_set_property, 1165s # {NULL} 1165s # }; 1165s # 1165s # static GDBusInterfaceInfo * 1165s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1165s # { 1165s # return org_project_signaling_iface_interface_info (); 1165s # } 1165s # 1165s # static GDBusInterfaceVTable * 1165s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1165s # { 1165s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1165s # } 1165s # 1165s # static GVariant * 1165s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1165s # 1165s # GVariantBuilder builder; 1165s # guint n; 1165s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1165s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1165s # goto out; 1165s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1165s # { 1165s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1165s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1165s # { 1165s # GVariant *value; 1165s # 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); 1165s # if (value != NULL) 1165s # { 1165s # g_variant_take_ref (value); 1165s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1165s # g_variant_unref (value); 1165s # } 1165s # } 1165s # } 1165s # out: 1165s # return g_variant_builder_end (&builder); 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1165s # { 1165s # } 1165s # 1165s # static void 1165s # _org_project_signaling_iface_on_signal_simple_signal ( 1165s # OrgProjectSignalingIface *object) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1165s # 1165s # GList *connections, *l; 1165s # GVariant *signal_variant; 1165s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1165s # 1165s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1165s # for (l = connections; l != NULL; l = l->next) 1165s # { 1165s # GDBusConnection *connection = l->data; 1165s # g_dbus_connection_emit_signal (connection, 1165s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1165s # signal_variant, NULL); 1165s # } 1165s # g_variant_unref (signal_variant); 1165s # g_list_free_full (connections, g_object_unref); 1165s # } 1165s # 1165s # static void 1165s # _org_project_signaling_iface_on_signal_single_arg_signal_o ( 1165s # OrgProjectSignalingIface *object, 1165s # const gchar *arg_arg_o) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1165s # 1165s # GList *connections, *l; 1165s # GVariant *signal_variant; 1165s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1165s # 1165s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)", 1165s # arg_arg_o)); 1165s # for (l = connections; l != NULL; l = l->next) 1165s # { 1165s # GDBusConnection *connection = l->data; 1165s # g_dbus_connection_emit_signal (connection, 1165s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO", 1165s # signal_variant, NULL); 1165s # } 1165s # g_variant_unref (signal_variant); 1165s # g_list_free_full (connections, g_object_unref); 1165s # } 1165s # 1165s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1165s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1165s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1165s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1165s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1165s # 1165s # #else 1165s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1165s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1165s # 1165s # #endif 1165s # static void 1165s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1165s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1165s # if (skeleton->priv->changed_properties_idle_source != NULL) 1165s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1165s # g_main_context_unref (skeleton->priv->context); 1165s # g_mutex_clear (&skeleton->priv->lock); 1165s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1165s # { 1165s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1165s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1165s # #else 1165s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1165s # #endif 1165s # 1165s # g_mutex_init (&skeleton->priv->lock); 1165s # skeleton->priv->context = g_main_context_ref_thread_default (); 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1165s # { 1165s # GObjectClass *gobject_class; 1165s # GDBusInterfaceSkeletonClass *skeleton_class; 1165s # 1165s # gobject_class = G_OBJECT_CLASS (klass); 1165s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1165s # 1165s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1165s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1165s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1165s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1165s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1165s # 1165s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1165s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1165s # #endif 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1165s # { 1165s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1165s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o; 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_skeleton_new: 1165s # * 1165s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1165s # * 1165s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1165s # */ 1165s # OrgProjectSignalingIface * 1165s # org_project_signaling_iface_skeleton_new (void) 1165s # { 1165s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1165s # } 1165s # /tmp/tmplam8bnnq/tmp64z2pk_w.xml: 1165s # 1165s # 1165s # 1165s # 1165s # 1165s # 1165s # 1165s # 1165s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmplam8bnnq/tmp64z2pk_w.xml', '--output', '-', '--body'] 1165s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1165s # Output: /* 1165s # * This file is generated by gdbus-codegen, do not modify it. 1165s # * 1165s # * The license of this code is the same as for the D-Bus interface description 1165s # * it was derived from. Note that it links to GLib, so must comply with the 1165s # * LGPL linking clauses. 1165s # */ 1165s # 1165s # #ifdef HAVE_CONFIG_H 1165s # # include "config.h" 1165s # #endif 1165s # 1165s # #include 1165s # #ifdef G_OS_UNIX 1165s # # include 1165s # #endif 1165s # 1165s # #ifdef G_ENABLE_DEBUG 1165s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1165s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1165s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1165s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1165s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1165s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1165s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1165s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1165s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1165s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1165s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1165s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1165s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1165s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1165s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1165s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1165s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1165s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1165s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1165s # #else /* !G_ENABLE_DEBUG */ 1165s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1165s # * Do not access GValues directly in your code. Instead, use the 1165s # * g_value_get_*() functions 1165s # */ 1165s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1165s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1165s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1165s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1165s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1165s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1165s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1165s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1165s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1165s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1165s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1165s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1165s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1165s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1165s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1165s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1165s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1165s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1165s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1165s # #endif /* !G_ENABLE_DEBUG */ 1165s # 1165s # typedef struct 1165s # { 1165s # GDBusArgInfo parent_struct; 1165s # gboolean use_gvariant; 1165s # } _ExtendedGDBusArgInfo; 1165s # 1165s # typedef struct 1165s # { 1165s # GDBusMethodInfo parent_struct; 1165s # const gchar *signal_name; 1165s # gboolean pass_fdlist; 1165s # } _ExtendedGDBusMethodInfo; 1165s # 1165s # typedef struct 1165s # { 1165s # GDBusSignalInfo parent_struct; 1165s # const gchar *signal_name; 1165s # } _ExtendedGDBusSignalInfo; 1165s # 1165s # typedef struct 1165s # { 1165s # GDBusPropertyInfo parent_struct; 1165s # const gchar *hyphen_name; 1165s # guint use_gvariant : 1; 1165s # guint emits_changed_signal : 1; 1165s # } _ExtendedGDBusPropertyInfo; 1165s # 1165s # typedef struct 1165s # { 1165s # GDBusInterfaceInfo parent_struct; 1165s # const gchar *hyphen_name; 1165s # } _ExtendedGDBusInterfaceInfo; 1165s # 1165s # typedef struct 1165s # { 1165s # const _ExtendedGDBusPropertyInfo *info; 1165s # guint prop_id; 1165s # GValue orig_value; /* the value before the change */ 1165s # } ChangedProperty; 1165s # 1165s # static void 1165s # _changed_property_free (ChangedProperty *data) 1165s # { 1165s # g_value_unset (&data->orig_value); 1165s # g_free (data); 1165s # } 1165s # 1165s # static gboolean 1165s # _g_strv_equal0 (gchar **a, gchar **b) 1165s # { 1165s # gboolean ret = FALSE; 1165s # guint n; 1165s # if (a == NULL && b == NULL) 1165s # { 1165s # ret = TRUE; 1165s # goto out; 1165s # } 1165s # if (a == NULL || b == NULL) 1165s # goto out; 1165s # if (g_strv_length (a) != g_strv_length (b)) 1165s # goto out; 1165s # for (n = 0; a[n] != NULL; n++) 1165s # if (g_strcmp0 (a[n], b[n]) != 0) 1165s # goto out; 1165s # ret = TRUE; 1165s # out: 1165s # return ret; 1165s # } 1165s # 1165s # static gboolean 1165s # _g_variant_equal0 (GVariant *a, GVariant *b) 1165s # { 1165s # gboolean ret = FALSE; 1165s # if (a == NULL && b == NULL) 1165s # { 1165s # ret = TRUE; 1165s # goto out; 1165s # } 1165s # if (a == NULL || b == NULL) 1165s # goto out; 1165s # ret = g_variant_equal (a, b); 1165s # out: 1165s # return ret; 1165s # } 1165s # 1165s # G_GNUC_UNUSED static gboolean 1165s # _g_value_equal (const GValue *a, const GValue *b) 1165s # { 1165s # gboolean ret = FALSE; 1165s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1165s # switch (G_VALUE_TYPE (a)) 1165s # { 1165s # case G_TYPE_BOOLEAN: 1165s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1165s # break; 1165s # case G_TYPE_UCHAR: 1165s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1165s # break; 1165s # case G_TYPE_INT: 1165s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1165s # break; 1165s # case G_TYPE_UINT: 1165s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1165s # break; 1165s # case G_TYPE_INT64: 1165s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1165s # break; 1165s # case G_TYPE_UINT64: 1165s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1165s # break; 1165s # case G_TYPE_DOUBLE: 1165s # { 1165s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1165s # gdouble da = g_value_get_double (a); 1165s # gdouble db = g_value_get_double (b); 1165s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1165s # } 1165s # break; 1165s # case G_TYPE_STRING: 1165s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1165s # break; 1165s # case G_TYPE_VARIANT: 1165s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1165s # break; 1165s # default: 1165s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1165s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1165s # else 1165s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1165s # break; 1165s # } 1165s # return ret; 1165s # } 1165s # 1165s # /* ------------------------------------------------------------------------ 1165s # * Code for interface org.project.SignalingIface 1165s # * ------------------------------------------------------------------------ 1165s # */ 1165s # 1165s # /** 1165s # * SECTION:OrgProjectSignalingIface 1165s # * @title: OrgProjectSignalingIface 1165s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1165s # * 1165s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1165s # */ 1165s # 1165s # enum 1165s # { 1165s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1165s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G, 1165s # }; 1165s # 1165s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1165s # 1165s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1165s # 1165s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1165s # { 1165s # { 1165s # -1, 1165s # (gchar *) "SimpleSignal", 1165s # NULL, 1165s # NULL 1165s # }, 1165s # "simple-signal" 1165s # }; 1165s # 1165s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g = 1165s # { 1165s # { 1165s # -1, 1165s # (gchar *) "arg_g", 1165s # (gchar *) "g", 1165s # NULL 1165s # }, 1165s # FALSE 1165s # }; 1165s # 1165s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] = 1165s # { 1165s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g.parent_struct, 1165s # NULL 1165s # }; 1165s # 1165s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g = 1165s # { 1165s # { 1165s # -1, 1165s # (gchar *) "SingleArgSignalG", 1165s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers, 1165s # NULL 1165s # }, 1165s # "single-arg-signal-g" 1165s # }; 1165s # 1165s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1165s # { 1165s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1165s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct, 1165s # NULL 1165s # }; 1165s # 1165s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1165s # { 1165s # { 1165s # -1, 1165s # (gchar *) "org.project.SignalingIface", 1165s # NULL, 1165s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1165s # NULL, 1165s # NULL 1165s # }, 1165s # "org-project-signaling-iface", 1165s # }; 1165s # 1165s # 1165s # /** 1165s # * org_project_signaling_iface_interface_info: 1165s # * 1165s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1165s # * 1165s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1165s # */ 1165s # GDBusInterfaceInfo * 1165s # org_project_signaling_iface_interface_info (void) 1165s # { 1165s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_override_properties: 1165s # * @klass: The class structure for a #GObject derived class. 1165s # * @property_id_begin: The property id to assign to the first overridden property. 1165s # * 1165s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1165s # * The properties are overridden in the order they are defined. 1165s # * 1165s # * Returns: The last property id. 1165s # */ 1165s # guint 1165s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1165s # { 1165s # return property_id_begin - 1; 1165s # } 1165s # 1165s # 1165s # inline static void 1165s # org_project_signaling_iface_signal_marshal_simple_signal ( 1165s # GClosure *closure, 1165s # GValue *return_value, 1165s # unsigned int n_param_values, 1165s # const GValue *param_values, 1165s # void *invocation_hint, 1165s # void *marshal_data) 1165s # { 1165s # g_cclosure_marshal_VOID__VOID (closure, 1165s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1165s # } 1165s # 1165s # inline static void 1165s # org_project_signaling_iface_signal_marshal_single_arg_signal_g ( 1165s # GClosure *closure, 1165s # GValue *return_value, 1165s # unsigned int n_param_values, 1165s # const GValue *param_values, 1165s # void *invocation_hint, 1165s # void *marshal_data) 1165s # { 1165s # g_cclosure_marshal_VOID__STRING (closure, 1165s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1165s # } 1165s # 1165s # 1165s # /** 1165s # * OrgProjectSignalingIface: 1165s # * 1165s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1165s # */ 1165s # 1165s # /** 1165s # * OrgProjectSignalingIfaceIface: 1165s # * @parent_iface: The parent interface. 1165s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1165s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal. 1165s # * 1165s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1165s # */ 1165s # 1165s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1165s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1165s # 1165s # static void 1165s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1165s # { 1165s # /* GObject signals for received D-Bus signals: */ 1165s # /** 1165s # * OrgProjectSignalingIface::simple-signal: 1165s # * @object: A #OrgProjectSignalingIface. 1165s # * 1165s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1165s # * 1165s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1165s # */ 1165s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1165s # g_signal_new ("simple-signal", 1165s # G_TYPE_FROM_INTERFACE (iface), 1165s # G_SIGNAL_RUN_LAST, 1165s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1165s # NULL, 1165s # NULL, 1165s # org_project_signaling_iface_signal_marshal_simple_signal, 1165s # G_TYPE_NONE, 1165s # 0); 1165s # 1165s # /** 1165s # * OrgProjectSignalingIface::single-arg-signal-g: 1165s # * @object: A #OrgProjectSignalingIface. 1165s # * @arg_arg_g: Argument. 1165s # * 1165s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received. 1165s # * 1165s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1165s # */ 1165s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] = 1165s # g_signal_new ("single-arg-signal-g", 1165s # G_TYPE_FROM_INTERFACE (iface), 1165s # G_SIGNAL_RUN_LAST, 1165s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g), 1165s # NULL, 1165s # NULL, 1165s # org_project_signaling_iface_signal_marshal_single_arg_signal_g, 1165s # G_TYPE_NONE, 1165s # 1, G_TYPE_STRING); 1165s # 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_emit_simple_signal: 1165s # * @object: A #OrgProjectSignalingIface. 1165s # * 1165s # * Emits the "SimpleSignal" D-Bus signal. 1165s # */ 1165s # void 1165s # org_project_signaling_iface_emit_simple_signal ( 1165s # OrgProjectSignalingIface *object) 1165s # { 1165s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_emit_single_arg_signal_g: 1165s # * @object: A #OrgProjectSignalingIface. 1165s # * @arg_arg_g: Argument to pass with the signal. 1165s # * 1165s # * Emits the "SingleArgSignalG" D-Bus signal. 1165s # */ 1165s # void 1165s # org_project_signaling_iface_emit_single_arg_signal_g ( 1165s # OrgProjectSignalingIface *object, 1165s # const gchar *arg_arg_g) 1165s # { 1165s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_arg_g); 1165s # } 1165s # 1165s # /* ------------------------------------------------------------------------ */ 1165s # 1165s # /** 1165s # * OrgProjectSignalingIfaceProxy: 1165s # * 1165s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1165s # */ 1165s # 1165s # /** 1165s # * OrgProjectSignalingIfaceProxyClass: 1165s # * @parent_class: The parent class. 1165s # * 1165s # * Class structure for #OrgProjectSignalingIfaceProxy. 1165s # */ 1165s # 1165s # struct _OrgProjectSignalingIfaceProxyPrivate 1165s # { 1165s # GData *qdata; 1165s # }; 1165s # 1165s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1165s # 1165s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1165s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1165s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1165s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1165s # 1165s # #else 1165s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1165s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1165s # 1165s # #endif 1165s # static void 1165s # org_project_signaling_iface_proxy_finalize (GObject *object) 1165s # { 1165s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1165s # g_datalist_clear (&proxy->priv->qdata); 1165s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1165s # guint prop_id G_GNUC_UNUSED, 1165s # GValue *value G_GNUC_UNUSED, 1165s # GParamSpec *pspec G_GNUC_UNUSED) 1165s # { 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1165s # guint prop_id G_GNUC_UNUSED, 1165s # const GValue *value G_GNUC_UNUSED, 1165s # GParamSpec *pspec G_GNUC_UNUSED) 1165s # { 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1165s # const gchar *sender_name G_GNUC_UNUSED, 1165s # const gchar *signal_name, 1165s # GVariant *parameters) 1165s # { 1165s # _ExtendedGDBusSignalInfo *info; 1165s # GVariantIter iter; 1165s # GVariant *child; 1165s # GValue *paramv; 1165s # gsize num_params; 1165s # gsize n; 1165s # guint signal_id; 1165s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1165s # if (info == NULL) 1165s # return; 1165s # num_params = g_variant_n_children (parameters); 1165s # paramv = g_new0 (GValue, num_params + 1); 1165s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1165s # g_value_set_object (¶mv[0], proxy); 1165s # g_variant_iter_init (&iter, parameters); 1165s # n = 1; 1165s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1165s # { 1165s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1165s # if (arg_info->use_gvariant) 1165s # { 1165s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1165s # g_value_set_variant (¶mv[n], child); 1165s # n++; 1165s # } 1165s # else 1165s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1165s # g_variant_unref (child); 1165s # } 1165s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1165s # g_signal_emitv (paramv, signal_id, 0, NULL); 1165s # for (n = 0; n < num_params + 1; n++) 1165s # g_value_unset (¶mv[n]); 1165s # g_free (paramv); 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1165s # GVariant *changed_properties, 1165s # const gchar *const *invalidated_properties) 1165s # { 1165s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1165s # guint n; 1165s # const gchar *key; 1165s # GVariantIter *iter; 1165s # _ExtendedGDBusPropertyInfo *info; 1165s # g_variant_get (changed_properties, "a{sv}", &iter); 1165s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1165s # { 1165s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1165s # g_datalist_remove_data (&proxy->priv->qdata, key); 1165s # if (info != NULL) 1165s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1165s # } 1165s # g_variant_iter_free (iter); 1165s # for (n = 0; invalidated_properties[n] != NULL; n++) 1165s # { 1165s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1165s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1165s # if (info != NULL) 1165s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1165s # } 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1165s # { 1165s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1165s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1165s # #else 1165s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1165s # #endif 1165s # 1165s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1165s # { 1165s # GObjectClass *gobject_class; 1165s # GDBusProxyClass *proxy_class; 1165s # 1165s # gobject_class = G_OBJECT_CLASS (klass); 1165s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1165s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1165s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1165s # 1165s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1165s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1165s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1165s # 1165s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1165s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1165s # #endif 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1165s # { 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_proxy_new: 1165s # * @connection: A #GDBusConnection. 1165s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1165s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1165s # * @object_path: An object path. 1165s # * @cancellable: (nullable): A #GCancellable or %NULL. 1165s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1165s # * @user_data: User data to pass to @callback. 1165s # * 1165s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1165s # * 1165s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1165s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1165s # * 1165s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1165s # */ 1165s # void 1165s # org_project_signaling_iface_proxy_new ( 1165s # GDBusConnection *connection, 1165s # GDBusProxyFlags flags, 1165s # const gchar *name, 1165s # const gchar *object_path, 1165s # GCancellable *cancellable, 1165s # GAsyncReadyCallback callback, 1165s # gpointer user_data) 1165s # { 1165s # 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); 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_proxy_new_finish: 1165s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1165s # * @error: Return location for error or %NULL 1165s # * 1165s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1165s # * 1165s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1165s # */ 1165s # OrgProjectSignalingIface * 1165s # org_project_signaling_iface_proxy_new_finish ( 1165s # GAsyncResult *res, 1165s # GError **error) 1165s # { 1165s # GObject *ret; 1165s # GObject *source_object; 1165s # source_object = g_async_result_get_source_object (res); 1165s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1165s # g_object_unref (source_object); 1165s # if (ret != NULL) 1165s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1165s # else 1165s # return NULL; 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_proxy_new_sync: 1165s # * @connection: A #GDBusConnection. 1165s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1165s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1165s # * @object_path: An object path. 1165s # * @cancellable: (nullable): A #GCancellable or %NULL. 1165s # * @error: Return location for error or %NULL 1165s # * 1165s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1165s # * 1165s # * The calling thread is blocked until a reply is received. 1165s # * 1165s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1165s # * 1165s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1165s # */ 1165s # OrgProjectSignalingIface * 1165s # org_project_signaling_iface_proxy_new_sync ( 1165s # GDBusConnection *connection, 1165s # GDBusProxyFlags flags, 1165s # const gchar *name, 1165s # const gchar *object_path, 1165s # GCancellable *cancellable, 1165s # GError **error) 1165s # { 1165s # GInitable *ret; 1165s # 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); 1165s # if (ret != NULL) 1165s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1165s # else 1165s # return NULL; 1165s # } 1165s # 1165s # 1165s # /** 1165s # * org_project_signaling_iface_proxy_new_for_bus: 1165s # * @bus_type: A #GBusType. 1165s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1165s # * @name: A bus name (well-known or unique). 1165s # * @object_path: An object path. 1165s # * @cancellable: (nullable): A #GCancellable or %NULL. 1165s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1165s # * @user_data: User data to pass to @callback. 1165s # * 1165s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1165s # * 1165s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1165s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1165s # * 1165s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1165s # */ 1165s # void 1165s # org_project_signaling_iface_proxy_new_for_bus ( 1165s # GBusType bus_type, 1165s # GDBusProxyFlags flags, 1165s # const gchar *name, 1165s # const gchar *object_path, 1165s # GCancellable *cancellable, 1165s # GAsyncReadyCallback callback, 1165s # gpointer user_data) 1165s # { 1165s # 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); 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1165s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1165s # * @error: Return location for error or %NULL 1165s # * 1165s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1165s # * 1165s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1165s # */ 1165s # OrgProjectSignalingIface * 1165s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1165s # GAsyncResult *res, 1165s # GError **error) 1165s # { 1165s # GObject *ret; 1165s # GObject *source_object; 1165s # source_object = g_async_result_get_source_object (res); 1165s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1165s # g_object_unref (source_object); 1165s # if (ret != NULL) 1165s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1165s # else 1165s # return NULL; 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1165s # * @bus_type: A #GBusType. 1165s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1165s # * @name: A bus name (well-known or unique). 1165s # * @object_path: An object path. 1165s # * @cancellable: (nullable): A #GCancellable or %NULL. 1165s # * @error: Return location for error or %NULL 1165s # * 1165s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1165s # * 1165s # * The calling thread is blocked until a reply is received. 1165s # * 1165s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1165s # * 1165s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1165s # */ 1165s # OrgProjectSignalingIface * 1165s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1165s # GBusType bus_type, 1165s # GDBusProxyFlags flags, 1165s # const gchar *name, 1165s # const gchar *object_path, 1165s # GCancellable *cancellable, 1165s # GError **error) 1165s # { 1165s # GInitable *ret; 1165s # 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); 1165s # if (ret != NULL) 1165s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1165s # else 1165s # return NULL; 1165s # } 1165s # 1165s # 1165s # /* ------------------------------------------------------------------------ */ 1165s # 1165s # /** 1165s # * OrgProjectSignalingIfaceSkeleton: 1165s # * 1165s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1165s # */ 1165s # 1165s # /** 1165s # * OrgProjectSignalingIfaceSkeletonClass: 1165s # * @parent_class: The parent class. 1165s # * 1165s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1165s # */ 1165s # 1165s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1165s # { 1165s # GValue *properties; 1165s # GList *changed_properties; 1165s # GSource *changed_properties_idle_source; 1165s # GMainContext *context; 1165s # GMutex lock; 1165s # }; 1165s # 1165s # static void 1165s # _org_project_signaling_iface_skeleton_handle_method_call ( 1165s # GDBusConnection *connection G_GNUC_UNUSED, 1165s # const gchar *sender G_GNUC_UNUSED, 1165s # const gchar *object_path G_GNUC_UNUSED, 1165s # const gchar *interface_name, 1165s # const gchar *method_name, 1165s # GVariant *parameters, 1165s # GDBusMethodInvocation *invocation, 1165s # gpointer user_data) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1165s # _ExtendedGDBusMethodInfo *info; 1165s # GVariantIter iter; 1165s # GVariant *child; 1165s # GValue *paramv; 1165s # gsize num_params; 1165s # guint num_extra; 1165s # gsize n; 1165s # guint signal_id; 1165s # GValue return_value = G_VALUE_INIT; 1165s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1165s # g_assert (info != NULL); 1165s # num_params = g_variant_n_children (parameters); 1165s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1165s # n = 0; 1165s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1165s # g_value_set_object (¶mv[n++], skeleton); 1165s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1165s # g_value_set_object (¶mv[n++], invocation); 1165s # if (info->pass_fdlist) 1165s # { 1165s # #ifdef G_OS_UNIX 1165s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1165s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1165s # #else 1165s # g_assert_not_reached (); 1165s # #endif 1165s # } 1165s # g_variant_iter_init (&iter, parameters); 1165s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1165s # { 1165s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1165s # if (arg_info->use_gvariant) 1165s # { 1165s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1165s # g_value_set_variant (¶mv[n], child); 1165s # n++; 1165s # } 1165s # else 1165s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1165s # g_variant_unref (child); 1165s # } 1165s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1165s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1165s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1165s # if (!g_value_get_boolean (&return_value)) 1165s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1165s # g_value_unset (&return_value); 1165s # for (n = 0; n < num_params + num_extra; n++) 1165s # g_value_unset (¶mv[n]); 1165s # g_free (paramv); 1165s # } 1165s # 1165s # static GVariant * 1165s # _org_project_signaling_iface_skeleton_handle_get_property ( 1165s # GDBusConnection *connection G_GNUC_UNUSED, 1165s # const gchar *sender G_GNUC_UNUSED, 1165s # const gchar *object_path G_GNUC_UNUSED, 1165s # const gchar *interface_name G_GNUC_UNUSED, 1165s # const gchar *property_name, 1165s # GError **error, 1165s # gpointer user_data) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1165s # GValue value = G_VALUE_INIT; 1165s # GParamSpec *pspec; 1165s # _ExtendedGDBusPropertyInfo *info; 1165s # GVariant *ret; 1165s # ret = NULL; 1165s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1165s # g_assert (info != NULL); 1165s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1165s # if (pspec == NULL) 1165s # { 1165s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1165s # } 1165s # else 1165s # { 1165s # g_value_init (&value, pspec->value_type); 1165s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1165s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1165s # g_value_unset (&value); 1165s # } 1165s # return ret; 1165s # } 1165s # 1165s # static gboolean 1165s # _org_project_signaling_iface_skeleton_handle_set_property ( 1165s # GDBusConnection *connection G_GNUC_UNUSED, 1165s # const gchar *sender G_GNUC_UNUSED, 1165s # const gchar *object_path G_GNUC_UNUSED, 1165s # const gchar *interface_name G_GNUC_UNUSED, 1165s # const gchar *property_name, 1165s # GVariant *variant, 1165s # GError **error, 1165s # gpointer user_data) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1165s # GValue value = G_VALUE_INIT; 1165s # GParamSpec *pspec; 1165s # _ExtendedGDBusPropertyInfo *info; 1165s # gboolean ret; 1165s # ret = FALSE; 1165s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1165s # g_assert (info != NULL); 1165s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1165s # if (pspec == NULL) 1165s # { 1165s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1165s # } 1165s # else 1165s # { 1165s # if (info->use_gvariant) 1165s # g_value_set_variant (&value, variant); 1165s # else 1165s # g_dbus_gvariant_to_gvalue (variant, &value); 1165s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1165s # g_value_unset (&value); 1165s # ret = TRUE; 1165s # } 1165s # return ret; 1165s # } 1165s # 1165s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1165s # { 1165s # _org_project_signaling_iface_skeleton_handle_method_call, 1165s # _org_project_signaling_iface_skeleton_handle_get_property, 1165s # _org_project_signaling_iface_skeleton_handle_set_property, 1165s # {NULL} 1165s # }; 1165s # 1165s # static GDBusInterfaceInfo * 1165s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1165s # { 1165s # return org_project_signaling_iface_interface_info (); 1165s # } 1165s # 1165s # static GDBusInterfaceVTable * 1165s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1165s # { 1165s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1165s # } 1165s # 1165s # static GVariant * 1165s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1165s # 1165s # GVariantBuilder builder; 1165s # guint n; 1165s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1165s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1165s # goto out; 1165s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1165s # { 1165s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1165s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1165s # { 1165s # GVariant *value; 1165s # 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); 1165s # if (value != NULL) 1165s # { 1165s # g_variant_take_ref (value); 1165s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1165s # g_variant_unref (value); 1165s # } 1165s # } 1165s # } 1165s # out: 1165s # return g_variant_builder_end (&builder); 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1165s # { 1165s # } 1165s # 1165s # static void 1165s # _org_project_signaling_iface_on_signal_simple_signal ( 1165s # OrgProjectSignalingIface *object) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1165s # 1165s # GList *connections, *l; 1165s # GVariant *signal_variant; 1165s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1165s # 1165s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1165s # for (l = connections; l != NULL; l = l->next) 1165s # { 1165s # GDBusConnection *connection = l->data; 1165s # g_dbus_connection_emit_signal (connection, 1165s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1165s # signal_variant, NULL); 1165s # } 1165s # g_variant_unref (signal_variant); 1165s # g_list_free_full (connections, g_object_unref); 1165s # } 1165s # 1165s # static void 1165s # _org_project_signaling_iface_on_signal_single_arg_signal_g ( 1165s # OrgProjectSignalingIface *object, 1165s # const gchar *arg_arg_g) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1165s # 1165s # GList *connections, *l; 1165s # GVariant *signal_variant; 1165s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1165s # 1165s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)", 1165s # arg_arg_g)); 1165s # for (l = connections; l != NULL; l = l->next) 1165s # { 1165s # GDBusConnection *connection = l->data; 1165s # g_dbus_connection_emit_signal (connection, 1165s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG", 1165s # signal_variant, NULL); 1165s # } 1165s # g_variant_unref (signal_variant); 1165s # g_list_free_full (connections, g_object_unref); 1165s # } 1165s # 1165s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1165s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1165s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1165s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1165s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1165s # 1165s # #else 1165s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1165s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1165s # 1165s # #endif 1165s # static void 1165s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1165s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1165s # if (skeleton->priv->changed_properties_idle_source != NULL) 1165s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1165s # g_main_context_unref (skeleton->priv->context); 1165s # g_mutex_clear (&skeleton->priv->lock); 1165s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1165s # { 1165s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1165s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1165s # #else 1165s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1165s # #endif 1165s # 1165s # g_mutex_init (&skeleton->priv->lock); 1165s # skeleton->priv->context = g_main_context_ref_thread_default (); 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1165s # { 1165s # GObjectClass *gobject_class; 1165s # GDBusInterfaceSkeletonClass *skeleton_class; 1165s # 1165s # gobject_class = G_OBJECT_CLASS (klass); 1165s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1165s # 1165s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1165s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1165s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1165s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1165s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1165s # 1165s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1165s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1165s # #endif 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1165s # { 1165s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1165s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g; 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_skeleton_new: 1165s # * 1165s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1165s # * 1165s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1165s # */ 1165s # OrgProjectSignalingIface * 1165s # org_project_signaling_iface_skeleton_new (void) 1165s # { 1165s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1165s # } 1165s # /tmp/tmplam8bnnq/tmp0fif_vbs.xml: 1165s # 1165s # 1165s # 1165s # 1165s # 1165s # 1165s # 1165s # 1165s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmplam8bnnq/tmp0fif_vbs.xml', '--output', '-', '--body'] 1165s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1165s # Output: /* 1165s # * This file is generated by gdbus-codegen, do not modify it. 1165s # * 1165s # * The license of this code is the same as for the D-Bus interface description 1165s # * it was derived from. Note that it links to GLib, so must comply with the 1165s # * LGPL linking clauses. 1165s # */ 1165s # 1165s # #ifdef HAVE_CONFIG_H 1165s # # include "config.h" 1165s # #endif 1165s # 1165s # #include 1165s # #ifdef G_OS_UNIX 1165s # # include 1165s # #endif 1165s # 1165s # #ifdef G_ENABLE_DEBUG 1165s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1165s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1165s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1165s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1165s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1165s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1165s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1165s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1165s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1165s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1165s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1165s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1165s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1165s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1165s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1165s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1165s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1165s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1165s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1165s # #else /* !G_ENABLE_DEBUG */ 1165s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1165s # * Do not access GValues directly in your code. Instead, use the 1165s # * g_value_get_*() functions 1165s # */ 1165s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1165s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1165s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1165s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1165s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1165s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1165s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1165s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1165s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1165s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1165s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1165s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1165s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1165s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1165s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1165s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1165s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1165s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1165s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1165s # #endif /* !G_ENABLE_DEBUG */ 1165s # 1165s # typedef struct 1165s # { 1165s # GDBusArgInfo parent_struct; 1165s # gboolean use_gvariant; 1165s # } _ExtendedGDBusArgInfo; 1165s # 1165s # typedef struct 1165s # { 1165s # GDBusMethodInfo parent_struct; 1165s # const gchar *signal_name; 1165s # gboolean pass_fdlist; 1165s # } _ExtendedGDBusMethodInfo; 1165s # 1165s # typedef struct 1165s # { 1165s # GDBusSignalInfo parent_struct; 1165s # const gchar *signal_name; 1165s # } _ExtendedGDBusSignalInfo; 1165s # 1165s # typedef struct 1165s # { 1165s # GDBusPropertyInfo parent_struct; 1165s # const gchar *hyphen_name; 1165s # guint use_gvariant : 1; 1165s # guint emits_changed_signal : 1; 1165s # } _ExtendedGDBusPropertyInfo; 1165s # 1165s # typedef struct 1165s # { 1165s # GDBusInterfaceInfo parent_struct; 1165s # const gchar *hyphen_name; 1165s # } _ExtendedGDBusInterfaceInfo; 1165s # 1165s # typedef struct 1165s # { 1165s # const _ExtendedGDBusPropertyInfo *info; 1165s # guint prop_id; 1165s # GValue orig_value; /* the value before the change */ 1165s # } ChangedProperty; 1165s # 1165s # static void 1165s # _changed_property_free (ChangedProperty *data) 1165s # { 1165s # g_value_unset (&data->orig_value); 1165s # g_free (data); 1165s # } 1165s # 1165s # static gboolean 1165s # _g_strv_equal0 (gchar **a, gchar **b) 1165s # { 1165s # gboolean ret = FALSE; 1165s # guint n; 1165s # if (a == NULL && b == NULL) 1165s # { 1165s # ret = TRUE; 1165s # goto out; 1165s # } 1165s # if (a == NULL || b == NULL) 1165s # goto out; 1165s # if (g_strv_length (a) != g_strv_length (b)) 1165s # goto out; 1165s # for (n = 0; a[n] != NULL; n++) 1165s # if (g_strcmp0 (a[n], b[n]) != 0) 1165s # goto out; 1165s # ret = TRUE; 1165s # out: 1165s # return ret; 1165s # } 1165s # 1165s # static gboolean 1165s # _g_variant_equal0 (GVariant *a, GVariant *b) 1165s # { 1165s # gboolean ret = FALSE; 1165s # if (a == NULL && b == NULL) 1165s # { 1165s # ret = TRUE; 1165s # goto out; 1165s # } 1165s # if (a == NULL || b == NULL) 1165s # goto out; 1165s # ret = g_variant_equal (a, b); 1165s # out: 1165s # return ret; 1165s # } 1165s # 1165s # G_GNUC_UNUSED static gboolean 1165s # _g_value_equal (const GValue *a, const GValue *b) 1165s # { 1165s # gboolean ret = FALSE; 1165s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1165s # switch (G_VALUE_TYPE (a)) 1165s # { 1165s # case G_TYPE_BOOLEAN: 1165s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1165s # break; 1165s # case G_TYPE_UCHAR: 1165s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1165s # break; 1165s # case G_TYPE_INT: 1165s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1165s # break; 1165s # case G_TYPE_UINT: 1165s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1165s # break; 1165s # case G_TYPE_INT64: 1165s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1165s # break; 1165s # case G_TYPE_UINT64: 1165s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1165s # break; 1165s # case G_TYPE_DOUBLE: 1165s # { 1165s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1165s # gdouble da = g_value_get_double (a); 1165s # gdouble db = g_value_get_double (b); 1165s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1165s # } 1165s # break; 1165s # case G_TYPE_STRING: 1165s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1165s # break; 1165s # case G_TYPE_VARIANT: 1165s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1165s # break; 1165s # default: 1165s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1165s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1165s # else 1165s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1165s # break; 1165s # } 1165s # return ret; 1165s # } 1165s # 1165s # /* ------------------------------------------------------------------------ 1165s # * Code for interface org.project.SignalingIface 1165s # * ------------------------------------------------------------------------ 1165s # */ 1165s # 1165s # /** 1165s # * SECTION:OrgProjectSignalingIface 1165s # * @title: OrgProjectSignalingIface 1165s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1165s # * 1165s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1165s # */ 1165s # 1165s # enum 1165s # { 1165s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1165s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H, 1165s # }; 1165s # 1165s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1165s # 1165s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1165s # 1165s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1165s # { 1165s # { 1165s # -1, 1165s # (gchar *) "SimpleSignal", 1165s # NULL, 1165s # NULL 1165s # }, 1165s # "simple-signal" 1165s # }; 1165s # 1165s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h = 1165s # { 1165s # { 1165s # -1, 1165s # (gchar *) "arg_h", 1165s # (gchar *) "h", 1165s # NULL 1165s # }, 1165s # FALSE 1165s # }; 1165s # 1165s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] = 1165s # { 1165s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h.parent_struct, 1165s # NULL 1165s # }; 1165s # 1165s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h = 1165s # { 1165s # { 1165s # -1, 1165s # (gchar *) "SingleArgSignalH", 1165s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers, 1165s # NULL 1165s # }, 1165s # "single-arg-signal-h" 1165s # }; 1165s # 1165s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1165s # { 1165s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1165s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct, 1165s # NULL 1165s # }; 1165s # 1165s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1165s # { 1165s # { 1165s # -1, 1165s # (gchar *) "org.project.SignalingIface", 1165s # NULL, 1165s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1165s # NULL, 1165s # NULL 1165s # }, 1165s # "org-project-signaling-iface", 1165s # }; 1165s # 1165s # 1165s # /** 1165s # * org_project_signaling_iface_interface_info: 1165s # * 1165s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1165s # * 1165s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1165s # */ 1165s # GDBusInterfaceInfo * 1165s # org_project_signaling_iface_interface_info (void) 1165s # { 1165s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_override_properties: 1165s # * @klass: The class structure for a #GObject derived class. 1165s # * @property_id_begin: The property id to assign to the first overridden property. 1165s # * 1165s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1165s # * The properties are overridden in the order they are defined. 1165s # * 1165s # * Returns: The last property id. 1165s # */ 1165s # guint 1165s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1165s # { 1165s # return property_id_begin - 1; 1165s # } 1165s # 1165s # 1165s # inline static void 1165s # org_project_signaling_iface_signal_marshal_simple_signal ( 1165s # GClosure *closure, 1165s # GValue *return_value, 1165s # unsigned int n_param_values, 1165s # const GValue *param_values, 1165s # void *invocation_hint, 1165s # void *marshal_data) 1165s # { 1165s # g_cclosure_marshal_VOID__VOID (closure, 1165s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1165s # } 1165s # 1165s # inline static void 1165s # org_project_signaling_iface_signal_marshal_single_arg_signal_h ( 1165s # GClosure *closure, 1165s # GValue *return_value, 1165s # unsigned int n_param_values, 1165s # const GValue *param_values, 1165s # void *invocation_hint, 1165s # void *marshal_data) 1165s # { 1165s # g_cclosure_marshal_VOID__VARIANT (closure, 1165s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1165s # } 1165s # 1165s # 1165s # /** 1165s # * OrgProjectSignalingIface: 1165s # * 1165s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1165s # */ 1165s # 1165s # /** 1165s # * OrgProjectSignalingIfaceIface: 1165s # * @parent_iface: The parent interface. 1165s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1165s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal. 1165s # * 1165s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1165s # */ 1165s # 1165s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1165s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1165s # 1165s # static void 1165s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1165s # { 1165s # /* GObject signals for received D-Bus signals: */ 1165s # /** 1165s # * OrgProjectSignalingIface::simple-signal: 1165s # * @object: A #OrgProjectSignalingIface. 1165s # * 1165s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1165s # * 1165s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1165s # */ 1165s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1165s # g_signal_new ("simple-signal", 1165s # G_TYPE_FROM_INTERFACE (iface), 1165s # G_SIGNAL_RUN_LAST, 1165s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1165s # NULL, 1165s # NULL, 1165s # org_project_signaling_iface_signal_marshal_simple_signal, 1165s # G_TYPE_NONE, 1165s # 0); 1165s # 1165s # /** 1165s # * OrgProjectSignalingIface::single-arg-signal-h: 1165s # * @object: A #OrgProjectSignalingIface. 1165s # * @arg_arg_h: Argument. 1165s # * 1165s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received. 1165s # * 1165s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1165s # */ 1165s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] = 1165s # g_signal_new ("single-arg-signal-h", 1165s # G_TYPE_FROM_INTERFACE (iface), 1165s # G_SIGNAL_RUN_LAST, 1165s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h), 1165s # NULL, 1165s # NULL, 1165s # org_project_signaling_iface_signal_marshal_single_arg_signal_h, 1165s # G_TYPE_NONE, 1165s # 1, G_TYPE_VARIANT); 1165s # 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_emit_simple_signal: 1165s # * @object: A #OrgProjectSignalingIface. 1165s # * 1165s # * Emits the "SimpleSignal" D-Bus signal. 1165s # */ 1165s # void 1165s # org_project_signaling_iface_emit_simple_signal ( 1165s # OrgProjectSignalingIface *object) 1165s # { 1165s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_emit_single_arg_signal_h: 1165s # * @object: A #OrgProjectSignalingIface. 1165s # * @arg_arg_h: Argument to pass with the signal. 1165s # * 1165s # * Emits the "SingleArgSignalH" D-Bus signal. 1165s # */ 1165s # void 1165s # org_project_signaling_iface_emit_single_arg_signal_h ( 1165s # OrgProjectSignalingIface *object, 1165s # GVariant *arg_arg_h) 1165s # { 1165s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_arg_h); 1165s # } 1165s # 1165s # /* ------------------------------------------------------------------------ */ 1165s # 1165s # /** 1165s # * OrgProjectSignalingIfaceProxy: 1165s # * 1165s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1165s # */ 1165s # 1165s # /** 1165s # * OrgProjectSignalingIfaceProxyClass: 1165s # * @parent_class: The parent class. 1165s # * 1165s # * Class structure for #OrgProjectSignalingIfaceProxy. 1165s # */ 1165s # 1165s # struct _OrgProjectSignalingIfaceProxyPrivate 1165s # { 1165s # GData *qdata; 1165s # }; 1165s # 1165s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1165s # 1165s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1165s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1165s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1165s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1165s # 1165s # #else 1165s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1165s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1165s # 1165s # #endif 1165s # static void 1165s # org_project_signaling_iface_proxy_finalize (GObject *object) 1165s # { 1165s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1165s # g_datalist_clear (&proxy->priv->qdata); 1165s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1165s # guint prop_id G_GNUC_UNUSED, 1165s # GValue *value G_GNUC_UNUSED, 1165s # GParamSpec *pspec G_GNUC_UNUSED) 1165s # { 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1165s # guint prop_id G_GNUC_UNUSED, 1165s # const GValue *value G_GNUC_UNUSED, 1165s # GParamSpec *pspec G_GNUC_UNUSED) 1165s # { 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1165s # const gchar *sender_name G_GNUC_UNUSED, 1165s # const gchar *signal_name, 1165s # GVariant *parameters) 1165s # { 1165s # _ExtendedGDBusSignalInfo *info; 1165s # GVariantIter iter; 1165s # GVariant *child; 1165s # GValue *paramv; 1165s # gsize num_params; 1165s # gsize n; 1165s # guint signal_id; 1165s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1165s # if (info == NULL) 1165s # return; 1165s # num_params = g_variant_n_children (parameters); 1165s # paramv = g_new0 (GValue, num_params + 1); 1165s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1165s # g_value_set_object (¶mv[0], proxy); 1165s # g_variant_iter_init (&iter, parameters); 1165s # n = 1; 1165s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1165s # { 1165s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1165s # if (arg_info->use_gvariant) 1165s # { 1165s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1165s # g_value_set_variant (¶mv[n], child); 1165s # n++; 1165s # } 1165s # else 1165s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1165s # g_variant_unref (child); 1165s # } 1165s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1165s # g_signal_emitv (paramv, signal_id, 0, NULL); 1165s # for (n = 0; n < num_params + 1; n++) 1165s # g_value_unset (¶mv[n]); 1165s # g_free (paramv); 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1165s # GVariant *changed_properties, 1165s # const gchar *const *invalidated_properties) 1165s # { 1165s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1165s # guint n; 1165s # const gchar *key; 1165s # GVariantIter *iter; 1165s # _ExtendedGDBusPropertyInfo *info; 1165s # g_variant_get (changed_properties, "a{sv}", &iter); 1165s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1165s # { 1165s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1165s # g_datalist_remove_data (&proxy->priv->qdata, key); 1165s # if (info != NULL) 1165s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1165s # } 1165s # g_variant_iter_free (iter); 1165s # for (n = 0; invalidated_properties[n] != NULL; n++) 1165s # { 1165s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1165s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1165s # if (info != NULL) 1165s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1165s # } 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1165s # { 1165s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1165s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1165s # #else 1165s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1165s # #endif 1165s # 1165s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1165s # { 1165s # GObjectClass *gobject_class; 1165s # GDBusProxyClass *proxy_class; 1165s # 1165s # gobject_class = G_OBJECT_CLASS (klass); 1165s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1165s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1165s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1165s # 1165s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1165s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1165s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1165s # 1165s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1165s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1165s # #endif 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1165s # { 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_proxy_new: 1165s # * @connection: A #GDBusConnection. 1165s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1165s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1165s # * @object_path: An object path. 1165s # * @cancellable: (nullable): A #GCancellable or %NULL. 1165s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1165s # * @user_data: User data to pass to @callback. 1165s # * 1165s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1165s # * 1165s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1165s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1165s # * 1165s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1165s # */ 1165s # void 1165s # org_project_signaling_iface_proxy_new ( 1165s # GDBusConnection *connection, 1165s # GDBusProxyFlags flags, 1165s # const gchar *name, 1165s # const gchar *object_path, 1165s # GCancellable *cancellable, 1165s # GAsyncReadyCallback callback, 1165s # gpointer user_data) 1165s # { 1165s # 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); 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_proxy_new_finish: 1165s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1165s # * @error: Return location for error or %NULL 1165s # * 1165s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1165s # * 1165s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1165s # */ 1165s # OrgProjectSignalingIface * 1165s # org_project_signaling_iface_proxy_new_finish ( 1165s # GAsyncResult *res, 1165s # GError **error) 1165s # { 1165s # GObject *ret; 1165s # GObject *source_object; 1165s # source_object = g_async_result_get_source_object (res); 1165s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1165s # g_object_unref (source_object); 1165s # if (ret != NULL) 1165s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1165s # else 1165s # return NULL; 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_proxy_new_sync: 1165s # * @connection: A #GDBusConnection. 1165s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1165s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1165s # * @object_path: An object path. 1165s # * @cancellable: (nullable): A #GCancellable or %NULL. 1165s # * @error: Return location for error or %NULL 1165s # * 1165s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1165s # * 1165s # * The calling thread is blocked until a reply is received. 1165s # * 1165s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1165s # * 1165s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1165s # */ 1165s # OrgProjectSignalingIface * 1165s # org_project_signaling_iface_proxy_new_sync ( 1165s # GDBusConnection *connection, 1165s # GDBusProxyFlags flags, 1165s # const gchar *name, 1165s # const gchar *object_path, 1165s # GCancellable *cancellable, 1165s # GError **error) 1165s # { 1165s # GInitable *ret; 1165s # 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); 1165s # if (ret != NULL) 1165s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1165s # else 1165s # return NULL; 1165s # } 1165s # 1165s # 1165s # /** 1165s # * org_project_signaling_iface_proxy_new_for_bus: 1165s # * @bus_type: A #GBusType. 1165s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1165s # * @name: A bus name (well-known or unique). 1165s # * @object_path: An object path. 1165s # * @cancellable: (nullable): A #GCancellable or %NULL. 1165s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1165s # * @user_data: User data to pass to @callback. 1165s # * 1165s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1165s # * 1165s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1165s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1165s # * 1165s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1165s # */ 1165s # void 1165s # org_project_signaling_iface_proxy_new_for_bus ( 1165s # GBusType bus_type, 1165s # GDBusProxyFlags flags, 1165s # const gchar *name, 1165s # const gchar *object_path, 1165s # GCancellable *cancellable, 1165s # GAsyncReadyCallback callback, 1165s # gpointer user_data) 1165s # { 1165s # 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); 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1165s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1165s # * @error: Return location for error or %NULL 1165s # * 1165s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1165s # * 1165s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1165s # */ 1165s # OrgProjectSignalingIface * 1165s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1165s # GAsyncResult *res, 1165s # GError **error) 1165s # { 1165s # GObject *ret; 1165s # GObject *source_object; 1165s # source_object = g_async_result_get_source_object (res); 1165s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1165s # g_object_unref (source_object); 1165s # if (ret != NULL) 1165s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1165s # else 1165s # return NULL; 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1165s # * @bus_type: A #GBusType. 1165s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1165s # * @name: A bus name (well-known or unique). 1165s # * @object_path: An object path. 1165s # * @cancellable: (nullable): A #GCancellable or %NULL. 1165s # * @error: Return location for error or %NULL 1165s # * 1165s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1165s # * 1165s # * The calling thread is blocked until a reply is received. 1165s # * 1165s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1165s # * 1165s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1165s # */ 1165s # OrgProjectSignalingIface * 1165s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1165s # GBusType bus_type, 1165s # GDBusProxyFlags flags, 1165s # const gchar *name, 1165s # const gchar *object_path, 1165s # GCancellable *cancellable, 1165s # GError **error) 1165s # { 1165s # GInitable *ret; 1165s # 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); 1165s # if (ret != NULL) 1165s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1165s # else 1165s # return NULL; 1165s # } 1165s # 1165s # 1165s # /* ------------------------------------------------------------------------ */ 1165s # 1165s # /** 1165s # * OrgProjectSignalingIfaceSkeleton: 1165s # * 1165s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1165s # */ 1165s # 1165s # /** 1165s # * OrgProjectSignalingIfaceSkeletonClass: 1165s # * @parent_class: The parent class. 1165s # * 1165s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1165s # */ 1165s # 1165s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1165s # { 1165s # GValue *properties; 1165s # GList *changed_properties; 1165s # GSource *changed_properties_idle_source; 1165s # GMainContext *context; 1165s # GMutex lock; 1165s # }; 1165s # 1165s # static void 1165s # _org_project_signaling_iface_skeleton_handle_method_call ( 1165s # GDBusConnection *connection G_GNUC_UNUSED, 1165s # const gchar *sender G_GNUC_UNUSED, 1165s # const gchar *object_path G_GNUC_UNUSED, 1165s # const gchar *interface_name, 1165s # const gchar *method_name, 1165s # GVariant *parameters, 1165s # GDBusMethodInvocation *invocation, 1165s # gpointer user_data) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1165s # _ExtendedGDBusMethodInfo *info; 1165s # GVariantIter iter; 1165s # GVariant *child; 1165s # GValue *paramv; 1165s # gsize num_params; 1165s # guint num_extra; 1165s # gsize n; 1165s # guint signal_id; 1165s # GValue return_value = G_VALUE_INIT; 1165s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1165s # g_assert (info != NULL); 1165s # num_params = g_variant_n_children (parameters); 1165s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1165s # n = 0; 1165s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1165s # g_value_set_object (¶mv[n++], skeleton); 1165s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1165s # g_value_set_object (¶mv[n++], invocation); 1165s # if (info->pass_fdlist) 1165s # { 1165s # #ifdef G_OS_UNIX 1165s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1165s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1165s # #else 1165s # g_assert_not_reached (); 1165s # #endif 1165s # } 1165s # g_variant_iter_init (&iter, parameters); 1165s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1165s # { 1165s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1165s # if (arg_info->use_gvariant) 1165s # { 1165s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1165s # g_value_set_variant (¶mv[n], child); 1165s # n++; 1165s # } 1165s # else 1165s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1165s # g_variant_unref (child); 1165s # } 1165s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1165s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1165s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1165s # if (!g_value_get_boolean (&return_value)) 1165s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1165s # g_value_unset (&return_value); 1165s # for (n = 0; n < num_params + num_extra; n++) 1165s # g_value_unset (¶mv[n]); 1165s # g_free (paramv); 1165s # } 1165s # 1165s # static GVariant * 1165s # _org_project_signaling_iface_skeleton_handle_get_property ( 1165s # GDBusConnection *connection G_GNUC_UNUSED, 1165s # const gchar *sender G_GNUC_UNUSED, 1165s # const gchar *object_path G_GNUC_UNUSED, 1165s # const gchar *interface_name G_GNUC_UNUSED, 1165s # const gchar *property_name, 1165s # GError **error, 1165s # gpointer user_data) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1165s # GValue value = G_VALUE_INIT; 1165s # GParamSpec *pspec; 1165s # _ExtendedGDBusPropertyInfo *info; 1165s # GVariant *ret; 1165s # ret = NULL; 1165s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1165s # g_assert (info != NULL); 1165s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1165s # if (pspec == NULL) 1165s # { 1165s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1165s # } 1165s # else 1165s # { 1165s # g_value_init (&value, pspec->value_type); 1165s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1165s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1165s # g_value_unset (&value); 1165s # } 1165s # return ret; 1165s # } 1165s # 1165s # static gboolean 1165s # _org_project_signaling_iface_skeleton_handle_set_property ( 1165s # GDBusConnection *connection G_GNUC_UNUSED, 1165s # const gchar *sender G_GNUC_UNUSED, 1165s # const gchar *object_path G_GNUC_UNUSED, 1165s # const gchar *interface_name G_GNUC_UNUSED, 1165s # const gchar *property_name, 1165s # GVariant *variant, 1165s # GError **error, 1165s # gpointer user_data) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1165s # GValue value = G_VALUE_INIT; 1165s # GParamSpec *pspec; 1165s # _ExtendedGDBusPropertyInfo *info; 1165s # gboolean ret; 1165s # ret = FALSE; 1165s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1165s # g_assert (info != NULL); 1165s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1165s # if (pspec == NULL) 1165s # { 1165s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1165s # } 1165s # else 1165s # { 1165s # if (info->use_gvariant) 1165s # g_value_set_variant (&value, variant); 1165s # else 1165s # g_dbus_gvariant_to_gvalue (variant, &value); 1165s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1165s # g_value_unset (&value); 1165s # ret = TRUE; 1165s # } 1165s # return ret; 1165s # } 1165s # 1165s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1165s # { 1165s # _org_project_signaling_iface_skeleton_handle_method_call, 1165s # _org_project_signaling_iface_skeleton_handle_get_property, 1165s # _org_project_signaling_iface_skeleton_handle_set_property, 1165s # {NULL} 1165s # }; 1165s # 1165s # static GDBusInterfaceInfo * 1165s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1165s # { 1165s # return org_project_signaling_iface_interface_info (); 1165s # } 1165s # 1165s # static GDBusInterfaceVTable * 1165s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1165s # { 1165s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1165s # } 1165s # 1165s # static GVariant * 1165s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1165s # 1165s # GVariantBuilder builder; 1165s # guint n; 1165s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1165s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1165s # goto out; 1165s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1165s # { 1165s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1165s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1165s # { 1165s # GVariant *value; 1165s # 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); 1165s # if (value != NULL) 1165s # { 1165s # g_variant_take_ref (value); 1165s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1165s # g_variant_unref (value); 1165s # } 1165s # } 1165s # } 1165s # out: 1165s # return g_variant_builder_end (&builder); 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1165s # { 1165s # } 1165s # 1165s # static void 1165s # _org_project_signaling_iface_on_signal_simple_signal ( 1165s # OrgProjectSignalingIface *object) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1165s # 1165s # GList *connections, *l; 1165s # GVariant *signal_variant; 1165s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1165s # 1165s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1165s # for (l = connections; l != NULL; l = l->next) 1165s # { 1165s # GDBusConnection *connection = l->data; 1165s # g_dbus_connection_emit_signal (connection, 1165s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1165s # signal_variant, NULL); 1165s # } 1165s # g_variant_unref (signal_variant); 1165s # g_list_free_full (connections, g_object_unref); 1165s # } 1165s # 1165s # static void 1165s # _org_project_signaling_iface_on_signal_single_arg_signal_h ( 1165s # OrgProjectSignalingIface *object, 1165s # GVariant *arg_arg_h) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1165s # 1165s # GList *connections, *l; 1165s # GVariant *signal_variant; 1165s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1165s # 1165s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)", 1165s # arg_arg_h)); 1165s # for (l = connections; l != NULL; l = l->next) 1165s # { 1165s # GDBusConnection *connection = l->data; 1165s # g_dbus_connection_emit_signal (connection, 1165s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH", 1165s # signal_variant, NULL); 1165s # } 1165s # g_variant_unref (signal_variant); 1165s # g_list_free_full (connections, g_object_unref); 1165s # } 1165s # 1165s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1165s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1165s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1165s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1165s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1165s # 1165s # #else 1165s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1165s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1165s # 1165s # #endif 1165s # static void 1165s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1165s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1165s # if (skeleton->priv->changed_properties_idle_source != NULL) 1165s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1165s # g_main_context_unref (skeleton->priv->context); 1165s # g_mutex_clear (&skeleton->priv->lock); 1165s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1165s # { 1165s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1165s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1165s # #else 1165s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1165s # #endif 1165s # 1165s # g_mutex_init (&skeleton->priv->lock); 1165s # skeleton->priv->context = g_main_context_ref_thread_default (); 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1165s # { 1165s # GObjectClass *gobject_class; 1165s # GDBusInterfaceSkeletonClass *skeleton_class; 1165s # 1165s # gobject_class = G_OBJECT_CLASS (klass); 1165s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1165s # 1165s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1165s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1165s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1165s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1165s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1165s # 1165s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1165s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1165s # #endif 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1165s # { 1165s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1165s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h; 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_skeleton_new: 1165s # * 1165s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1165s # * 1165s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1165s # */ 1165s # OrgProjectSignalingIface * 1165s # org_project_signaling_iface_skeleton_new (void) 1165s # { 1165s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1165s # } 1165s # /tmp/tmplam8bnnq/tmpkgs7fdci.xml: 1165s # 1165s # 1165s # 1165s # 1165s # 1165s # 1165s # 1165s # 1165s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmplam8bnnq/tmpkgs7fdci.xml', '--output', '-', '--body'] 1165s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1165s # Output: /* 1165s # * This file is generated by gdbus-codegen, do not modify it. 1165s # * 1165s # * The license of this code is the same as for the D-Bus interface description 1165s # * it was derived from. Note that it links to GLib, so must comply with the 1165s # * LGPL linking clauses. 1165s # */ 1165s # 1165s # #ifdef HAVE_CONFIG_H 1165s # # include "config.h" 1165s # #endif 1165s # 1165s # #include 1165s # #ifdef G_OS_UNIX 1165s # # include 1165s # #endif 1165s # 1165s # #ifdef G_ENABLE_DEBUG 1165s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1165s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1165s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1165s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1165s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1165s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1165s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1165s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1165s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1165s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1165s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1165s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1165s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1165s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1165s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1165s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1165s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1165s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1165s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1165s # #else /* !G_ENABLE_DEBUG */ 1165s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1165s # * Do not access GValues directly in your code. Instead, use the 1165s # * g_value_get_*() functions 1165s # */ 1165s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1165s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1165s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1165s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1165s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1165s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1165s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1165s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1165s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1165s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1165s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1165s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1165s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1165s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1165s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1165s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1165s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1165s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1165s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1165s # #endif /* !G_ENABLE_DEBUG */ 1165s # 1165s # typedef struct 1165s # { 1165s # GDBusArgInfo parent_struct; 1165s # gboolean use_gvariant; 1165s # } _ExtendedGDBusArgInfo; 1165s # 1165s # typedef struct 1165s # { 1165s # GDBusMethodInfo parent_struct; 1165s # const gchar *signal_name; 1165s # gboolean pass_fdlist; 1165s # } _ExtendedGDBusMethodInfo; 1165s # 1165s # typedef struct 1165s # { 1165s # GDBusSignalInfo parent_struct; 1165s # const gchar *signal_name; 1165s # } _ExtendedGDBusSignalInfo; 1165s # 1165s # typedef struct 1165s # { 1165s # GDBusPropertyInfo parent_struct; 1165s # const gchar *hyphen_name; 1165s # guint use_gvariant : 1; 1165s # guint emits_changed_signal : 1; 1165s # } _ExtendedGDBusPropertyInfo; 1165s # 1165s # typedef struct 1165s # { 1165s # GDBusInterfaceInfo parent_struct; 1165s # const gchar *hyphen_name; 1165s # } _ExtendedGDBusInterfaceInfo; 1165s # 1165s # typedef struct 1165s # { 1165s # const _ExtendedGDBusPropertyInfo *info; 1165s # guint prop_id; 1165s # GValue orig_value; /* the value before the change */ 1165s # } ChangedProperty; 1165s # 1165s # static void 1165s # _changed_property_free (ChangedProperty *data) 1165s # { 1165s # g_value_unset (&data->orig_value); 1165s # g_free (data); 1165s # } 1165s # 1165s # static gboolean 1165s # _g_strv_equal0 (gchar **a, gchar **b) 1165s # { 1165s # gboolean ret = FALSE; 1165s # guint n; 1165s # if (a == NULL && b == NULL) 1165s # { 1165s # ret = TRUE; 1165s # goto out; 1165s # } 1165s # if (a == NULL || b == NULL) 1165s # goto out; 1165s # if (g_strv_length (a) != g_strv_length (b)) 1165s # goto out; 1165s # for (n = 0; a[n] != NULL; n++) 1165s # if (g_strcmp0 (a[n], b[n]) != 0) 1165s # goto out; 1165s # ret = TRUE; 1165s # out: 1165s # return ret; 1165s # } 1165s # 1165s # static gboolean 1165s # _g_variant_equal0 (GVariant *a, GVariant *b) 1165s # { 1165s # gboolean ret = FALSE; 1165s # if (a == NULL && b == NULL) 1165s # { 1165s # ret = TRUE; 1165s # goto out; 1165s # } 1165s # if (a == NULL || b == NULL) 1165s # goto out; 1165s # ret = g_variant_equal (a, b); 1165s # out: 1165s # return ret; 1165s # } 1165s # 1165s # G_GNUC_UNUSED static gboolean 1165s # _g_value_equal (const GValue *a, const GValue *b) 1165s # { 1165s # gboolean ret = FALSE; 1165s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1165s # switch (G_VALUE_TYPE (a)) 1165s # { 1165s # case G_TYPE_BOOLEAN: 1165s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1165s # break; 1165s # case G_TYPE_UCHAR: 1165s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1165s # break; 1165s # case G_TYPE_INT: 1165s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1165s # break; 1165s # case G_TYPE_UINT: 1165s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1165s # break; 1165s # case G_TYPE_INT64: 1165s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1165s # break; 1165s # case G_TYPE_UINT64: 1165s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1165s # break; 1165s # case G_TYPE_DOUBLE: 1165s # { 1165s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1165s # gdouble da = g_value_get_double (a); 1165s # gdouble db = g_value_get_double (b); 1165s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1165s # } 1165s # break; 1165s # case G_TYPE_STRING: 1165s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1165s # break; 1165s # case G_TYPE_VARIANT: 1165s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1165s # break; 1165s # default: 1165s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1165s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1165s # else 1165s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1165s # break; 1165s # } 1165s # return ret; 1165s # } 1165s # 1165s # /* ------------------------------------------------------------------------ 1165s # * Code for interface org.project.SignalingIface 1165s # * ------------------------------------------------------------------------ 1165s # */ 1165s # 1165s # /** 1165s # * SECTION:OrgProjectSignalingIface 1165s # * @title: OrgProjectSignalingIface 1165s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1165s # * 1165s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1165s # */ 1165s # 1165s # enum 1165s # { 1165s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1165s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY, 1165s # }; 1165s # 1165s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1165s # 1165s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1165s # 1165s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1165s # { 1165s # { 1165s # -1, 1165s # (gchar *) "SimpleSignal", 1165s # NULL, 1165s # NULL 1165s # }, 1165s # "simple-signal" 1165s # }; 1165s # 1165s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay = 1165s # { 1165s # { 1165s # -1, 1165s # (gchar *) "arg_ay", 1165s # (gchar *) "ay", 1165s # NULL 1165s # }, 1165s # FALSE 1165s # }; 1165s # 1165s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] = 1165s # { 1165s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay.parent_struct, 1165s # NULL 1165s # }; 1165s # 1165s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay = 1165s # { 1165s # { 1165s # -1, 1165s # (gchar *) "SingleArgSignalAy", 1165s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers, 1165s # NULL 1165s # }, 1165s # "single-arg-signal-ay" 1165s # }; 1165s # 1165s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1165s # { 1165s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1165s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct, 1165s # NULL 1165s # }; 1165s # 1165s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1165s # { 1165s # { 1165s # -1, 1165s # (gchar *) "org.project.SignalingIface", 1165s # NULL, 1165s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1165s # NULL, 1165s # NULL 1165s # }, 1165s # "org-project-signaling-iface", 1165s # }; 1165s # 1165s # 1165s # /** 1165s # * org_project_signaling_iface_interface_info: 1165s # * 1165s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1165s # * 1165s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1165s # */ 1165s # GDBusInterfaceInfo * 1165s # org_project_signaling_iface_interface_info (void) 1165s # { 1165s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_override_properties: 1165s # * @klass: The class structure for a #GObject derived class. 1165s # * @property_id_begin: The property id to assign to the first overridden property. 1165s # * 1165s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1165s # * The properties are overridden in the order they are defined. 1165s # * 1165s # * Returns: The last property id. 1165s # */ 1165s # guint 1165s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1165s # { 1165s # return property_id_begin - 1; 1165s # } 1165s # 1165s # 1165s # inline static void 1165s # org_project_signaling_iface_signal_marshal_simple_signal ( 1165s # GClosure *closure, 1165s # GValue *return_value, 1165s # unsigned int n_param_values, 1165s # const GValue *param_values, 1165s # void *invocation_hint, 1165s # void *marshal_data) 1165s # { 1165s # g_cclosure_marshal_VOID__VOID (closure, 1165s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1165s # } 1165s # 1165s # inline static void 1165s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay ( 1165s # GClosure *closure, 1165s # GValue *return_value, 1165s # unsigned int n_param_values, 1165s # const GValue *param_values, 1165s # void *invocation_hint, 1165s # void *marshal_data) 1165s # { 1165s # g_cclosure_marshal_VOID__STRING (closure, 1165s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1165s # } 1165s # 1165s # 1165s # /** 1165s # * OrgProjectSignalingIface: 1165s # * 1165s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1165s # */ 1165s # 1165s # /** 1165s # * OrgProjectSignalingIfaceIface: 1165s # * @parent_iface: The parent interface. 1165s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1165s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal. 1165s # * 1165s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1165s # */ 1165s # 1165s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1165s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1165s # 1165s # static void 1165s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1165s # { 1165s # /* GObject signals for received D-Bus signals: */ 1165s # /** 1165s # * OrgProjectSignalingIface::simple-signal: 1165s # * @object: A #OrgProjectSignalingIface. 1165s # * 1165s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1165s # * 1165s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1165s # */ 1165s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1165s # g_signal_new ("simple-signal", 1165s # G_TYPE_FROM_INTERFACE (iface), 1165s # G_SIGNAL_RUN_LAST, 1165s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1165s # NULL, 1165s # NULL, 1165s # org_project_signaling_iface_signal_marshal_simple_signal, 1165s # G_TYPE_NONE, 1165s # 0); 1165s # 1165s # /** 1165s # * OrgProjectSignalingIface::single-arg-signal-ay: 1165s # * @object: A #OrgProjectSignalingIface. 1165s # * @arg_arg_ay: Argument. 1165s # * 1165s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAy" is received. 1165s # * 1165s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1165s # */ 1165s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] = 1165s # g_signal_new ("single-arg-signal-ay", 1165s # G_TYPE_FROM_INTERFACE (iface), 1165s # G_SIGNAL_RUN_LAST, 1165s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay), 1165s # NULL, 1165s # NULL, 1165s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay, 1165s # G_TYPE_NONE, 1165s # 1, G_TYPE_STRING); 1165s # 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_emit_simple_signal: 1165s # * @object: A #OrgProjectSignalingIface. 1165s # * 1165s # * Emits the "SimpleSignal" D-Bus signal. 1165s # */ 1165s # void 1165s # org_project_signaling_iface_emit_simple_signal ( 1165s # OrgProjectSignalingIface *object) 1165s # { 1165s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_emit_single_arg_signal_ay: 1165s # * @object: A #OrgProjectSignalingIface. 1165s # * @arg_arg_ay: Argument to pass with the signal. 1165s # * 1165s # * Emits the "SingleArgSignalAy" D-Bus signal. 1165s # */ 1165s # void 1165s # org_project_signaling_iface_emit_single_arg_signal_ay ( 1165s # OrgProjectSignalingIface *object, 1165s # const gchar *arg_arg_ay) 1165s # { 1165s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_arg_ay); 1165s # } 1165s # 1165s # /* ------------------------------------------------------------------------ */ 1165s # 1165s # /** 1165s # * OrgProjectSignalingIfaceProxy: 1165s # * 1165s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1165s # */ 1165s # 1165s # /** 1165s # * OrgProjectSignalingIfaceProxyClass: 1165s # * @parent_class: The parent class. 1165s # * 1165s # * Class structure for #OrgProjectSignalingIfaceProxy. 1165s # */ 1165s # 1165s # struct _OrgProjectSignalingIfaceProxyPrivate 1165s # { 1165s # GData *qdata; 1165s # }; 1165s # 1165s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1165s # 1165s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1165s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1165s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1165s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1165s # 1165s # #else 1165s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1165s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1165s # 1165s # #endif 1165s # static void 1165s # org_project_signaling_iface_proxy_finalize (GObject *object) 1165s # { 1165s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1165s # g_datalist_clear (&proxy->priv->qdata); 1165s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1165s # guint prop_id G_GNUC_UNUSED, 1165s # GValue *value G_GNUC_UNUSED, 1165s # GParamSpec *pspec G_GNUC_UNUSED) 1165s # { 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1165s # guint prop_id G_GNUC_UNUSED, 1165s # const GValue *value G_GNUC_UNUSED, 1165s # GParamSpec *pspec G_GNUC_UNUSED) 1165s # { 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1165s # const gchar *sender_name G_GNUC_UNUSED, 1165s # const gchar *signal_name, 1165s # GVariant *parameters) 1165s # { 1165s # _ExtendedGDBusSignalInfo *info; 1165s # GVariantIter iter; 1165s # GVariant *child; 1165s # GValue *paramv; 1165s # gsize num_params; 1165s # gsize n; 1165s # guint signal_id; 1165s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1165s # if (info == NULL) 1165s # return; 1165s # num_params = g_variant_n_children (parameters); 1165s # paramv = g_new0 (GValue, num_params + 1); 1165s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1165s # g_value_set_object (¶mv[0], proxy); 1165s # g_variant_iter_init (&iter, parameters); 1165s # n = 1; 1165s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1165s # { 1165s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1165s # if (arg_info->use_gvariant) 1165s # { 1165s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1165s # g_value_set_variant (¶mv[n], child); 1165s # n++; 1165s # } 1165s # else 1165s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1165s # g_variant_unref (child); 1165s # } 1165s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1165s # g_signal_emitv (paramv, signal_id, 0, NULL); 1165s # for (n = 0; n < num_params + 1; n++) 1165s # g_value_unset (¶mv[n]); 1165s # g_free (paramv); 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1165s # GVariant *changed_properties, 1165s # const gchar *const *invalidated_properties) 1165s # { 1165s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1165s # guint n; 1165s # const gchar *key; 1165s # GVariantIter *iter; 1165s # _ExtendedGDBusPropertyInfo *info; 1165s # g_variant_get (changed_properties, "a{sv}", &iter); 1165s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1165s # { 1165s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1165s # g_datalist_remove_data (&proxy->priv->qdata, key); 1165s # if (info != NULL) 1165s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1165s # } 1165s # g_variant_iter_free (iter); 1165s # for (n = 0; invalidated_properties[n] != NULL; n++) 1165s # { 1165s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1165s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1165s # if (info != NULL) 1165s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1165s # } 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1165s # { 1165s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1165s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1165s # #else 1165s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1165s # #endif 1165s # 1165s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1165s # { 1165s # GObjectClass *gobject_class; 1165s # GDBusProxyClass *proxy_class; 1165s # 1165s # gobject_class = G_OBJECT_CLASS (klass); 1165s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1165s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1165s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1165s # 1165s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1165s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1165s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1165s # 1165s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1165s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1165s # #endif 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1165s # { 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_proxy_new: 1165s # * @connection: A #GDBusConnection. 1165s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1165s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1165s # * @object_path: An object path. 1165s # * @cancellable: (nullable): A #GCancellable or %NULL. 1165s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1165s # * @user_data: User data to pass to @callback. 1165s # * 1165s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1165s # * 1165s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1165s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1165s # * 1165s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1165s # */ 1165s # void 1165s # org_project_signaling_iface_proxy_new ( 1165s # GDBusConnection *connection, 1165s # GDBusProxyFlags flags, 1165s # const gchar *name, 1165s # const gchar *object_path, 1165s # GCancellable *cancellable, 1165s # GAsyncReadyCallback callback, 1165s # gpointer user_data) 1165s # { 1165s # 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); 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_proxy_new_finish: 1165s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1165s # * @error: Return location for error or %NULL 1165s # * 1165s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1165s # * 1165s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1165s # */ 1165s # OrgProjectSignalingIface * 1165s # org_project_signaling_iface_proxy_new_finish ( 1165s # GAsyncResult *res, 1165s # GError **error) 1165s # { 1165s # GObject *ret; 1165s # GObject *source_object; 1165s # source_object = g_async_result_get_source_object (res); 1165s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1165s # g_object_unref (source_object); 1165s # if (ret != NULL) 1165s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1165s # else 1165s # return NULL; 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_proxy_new_sync: 1165s # * @connection: A #GDBusConnection. 1165s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1165s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1165s # * @object_path: An object path. 1165s # * @cancellable: (nullable): A #GCancellable or %NULL. 1165s # * @error: Return location for error or %NULL 1165s # * 1165s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1165s # * 1165s # * The calling thread is blocked until a reply is received. 1165s # * 1165s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1165s # * 1165s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1165s # */ 1165s # OrgProjectSignalingIface * 1165s # org_project_signaling_iface_proxy_new_sync ( 1165s # GDBusConnection *connection, 1165s # GDBusProxyFlags flags, 1165s # const gchar *name, 1165s # const gchar *object_path, 1165s # GCancellable *cancellable, 1165s # GError **error) 1165s # { 1165s # GInitable *ret; 1165s # 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); 1165s # if (ret != NULL) 1165s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1165s # else 1165s # return NULL; 1165s # } 1165s # 1165s # 1165s # /** 1165s # * org_project_signaling_iface_proxy_new_for_bus: 1165s # * @bus_type: A #GBusType. 1165s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1165s # * @name: A bus name (well-known or unique). 1165s # * @object_path: An object path. 1165s # * @cancellable: (nullable): A #GCancellable or %NULL. 1165s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1165s # * @user_data: User data to pass to @callback. 1165s # * 1165s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1165s # * 1165s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1165s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1165s # * 1165s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1165s # */ 1165s # void 1165s # org_project_signaling_iface_proxy_new_for_bus ( 1165s # GBusType bus_type, 1165s # GDBusProxyFlags flags, 1165s # const gchar *name, 1165s # const gchar *object_path, 1165s # GCancellable *cancellable, 1165s # GAsyncReadyCallback callback, 1165s # gpointer user_data) 1165s # { 1165s # 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); 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1165s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1165s # * @error: Return location for error or %NULL 1165s # * 1165s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1165s # * 1165s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1165s # */ 1165s # OrgProjectSignalingIface * 1165s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1165s # GAsyncResult *res, 1165s # GError **error) 1165s # { 1165s # GObject *ret; 1165s # GObject *source_object; 1165s # source_object = g_async_result_get_source_object (res); 1165s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1165s # g_object_unref (source_object); 1165s # if (ret != NULL) 1165s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1165s # else 1165s # return NULL; 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1165s # * @bus_type: A #GBusType. 1165s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1165s # * @name: A bus name (well-known or unique). 1165s # * @object_path: An object path. 1165s # * @cancellable: (nullable): A #GCancellable or %NULL. 1165s # * @error: Return location for error or %NULL 1165s # * 1165s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1165s # * 1165s # * The calling thread is blocked until a reply is received. 1165s # * 1165s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1165s # * 1165s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1165s # */ 1165s # OrgProjectSignalingIface * 1165s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1165s # GBusType bus_type, 1165s # GDBusProxyFlags flags, 1165s # const gchar *name, 1165s # const gchar *object_path, 1165s # GCancellable *cancellable, 1165s # GError **error) 1165s # { 1165s # GInitable *ret; 1165s # 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); 1165s # if (ret != NULL) 1165s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1165s # else 1165s # return NULL; 1165s # } 1165s # 1165s # 1165s # /* ------------------------------------------------------------------------ */ 1165s # 1165s # /** 1165s # * OrgProjectSignalingIfaceSkeleton: 1165s # * 1165s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1165s # */ 1165s # 1165s # /** 1165s # * OrgProjectSignalingIfaceSkeletonClass: 1165s # * @parent_class: The parent class. 1165s # * 1165s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1165s # */ 1165s # 1165s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1165s # { 1165s # GValue *properties; 1165s # GList *changed_properties; 1165s # GSource *changed_properties_idle_source; 1165s # GMainContext *context; 1165s # GMutex lock; 1165s # }; 1165s # 1165s # static void 1165s # _org_project_signaling_iface_skeleton_handle_method_call ( 1165s # GDBusConnection *connection G_GNUC_UNUSED, 1165s # const gchar *sender G_GNUC_UNUSED, 1165s # const gchar *object_path G_GNUC_UNUSED, 1165s # const gchar *interface_name, 1165s # const gchar *method_name, 1165s # GVariant *parameters, 1165s # GDBusMethodInvocation *invocation, 1165s # gpointer user_data) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1165s # _ExtendedGDBusMethodInfo *info; 1165s # GVariantIter iter; 1165s # GVariant *child; 1165s # GValue *paramv; 1165s # gsize num_params; 1165s # guint num_extra; 1165s # gsize n; 1165s # guint signal_id; 1165s # GValue return_value = G_VALUE_INIT; 1165s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1165s # g_assert (info != NULL); 1165s # num_params = g_variant_n_children (parameters); 1165s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1165s # n = 0; 1165s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1165s # g_value_set_object (¶mv[n++], skeleton); 1165s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1165s # g_value_set_object (¶mv[n++], invocation); 1165s # if (info->pass_fdlist) 1165s # { 1165s # #ifdef G_OS_UNIX 1165s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1165s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1165s # #else 1165s # g_assert_not_reached (); 1165s # #endif 1165s # } 1165s # g_variant_iter_init (&iter, parameters); 1165s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1165s # { 1165s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1165s # if (arg_info->use_gvariant) 1165s # { 1165s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1165s # g_value_set_variant (¶mv[n], child); 1165s # n++; 1165s # } 1165s # else 1165s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1165s # g_variant_unref (child); 1165s # } 1165s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1165s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1165s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1165s # if (!g_value_get_boolean (&return_value)) 1165s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1165s # g_value_unset (&return_value); 1165s # for (n = 0; n < num_params + num_extra; n++) 1165s # g_value_unset (¶mv[n]); 1165s # g_free (paramv); 1165s # } 1165s # 1165s # static GVariant * 1165s # _org_project_signaling_iface_skeleton_handle_get_property ( 1165s # GDBusConnection *connection G_GNUC_UNUSED, 1165s # const gchar *sender G_GNUC_UNUSED, 1165s # const gchar *object_path G_GNUC_UNUSED, 1165s # const gchar *interface_name G_GNUC_UNUSED, 1165s # const gchar *property_name, 1165s # GError **error, 1165s # gpointer user_data) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1165s # GValue value = G_VALUE_INIT; 1165s # GParamSpec *pspec; 1165s # _ExtendedGDBusPropertyInfo *info; 1165s # GVariant *ret; 1165s # ret = NULL; 1165s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1165s # g_assert (info != NULL); 1165s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1165s # if (pspec == NULL) 1165s # { 1165s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1165s # } 1165s # else 1165s # { 1165s # g_value_init (&value, pspec->value_type); 1165s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1165s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1165s # g_value_unset (&value); 1165s # } 1165s # return ret; 1165s # } 1165s # 1165s # static gboolean 1165s # _org_project_signaling_iface_skeleton_handle_set_property ( 1165s # GDBusConnection *connection G_GNUC_UNUSED, 1165s # const gchar *sender G_GNUC_UNUSED, 1165s # const gchar *object_path G_GNUC_UNUSED, 1165s # const gchar *interface_name G_GNUC_UNUSED, 1165s # const gchar *property_name, 1165s # GVariant *variant, 1165s # GError **error, 1165s # gpointer user_data) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1165s # GValue value = G_VALUE_INIT; 1165s # GParamSpec *pspec; 1165s # _ExtendedGDBusPropertyInfo *info; 1165s # gboolean ret; 1165s # ret = FALSE; 1165s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1165s # g_assert (info != NULL); 1165s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1165s # if (pspec == NULL) 1165s # { 1165s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1165s # } 1165s # else 1165s # { 1165s # if (info->use_gvariant) 1165s # g_value_set_variant (&value, variant); 1165s # else 1165s # g_dbus_gvariant_to_gvalue (variant, &value); 1165s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1165s # g_value_unset (&value); 1165s # ret = TRUE; 1165s # } 1165s # return ret; 1165s # } 1165s # 1165s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1165s # { 1165s # _org_project_signaling_iface_skeleton_handle_method_call, 1165s # _org_project_signaling_iface_skeleton_handle_get_property, 1165s # _org_project_signaling_iface_skeleton_handle_set_property, 1165s # {NULL} 1165s # }; 1165s # 1165s # static GDBusInterfaceInfo * 1165s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1165s # { 1165s # return org_project_signaling_iface_interface_info (); 1165s # } 1165s # 1165s # static GDBusInterfaceVTable * 1165s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1165s # { 1165s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1165s # } 1165s # 1165s # static GVariant * 1165s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1165s # 1165s # GVariantBuilder builder; 1165s # guint n; 1165s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1165s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1165s # goto out; 1165s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1165s # { 1165s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1165s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1165s # { 1165s # GVariant *value; 1165s # 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); 1165s # if (value != NULL) 1165s # { 1165s # g_variant_take_ref (value); 1165s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1165s # g_variant_unref (value); 1165s # } 1165s # } 1165s # } 1165s # out: 1165s # return g_variant_builder_end (&builder); 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1165s # { 1165s # } 1165s # 1165s # static void 1165s # _org_project_signaling_iface_on_signal_simple_signal ( 1165s # OrgProjectSignalingIface *object) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1165s # 1165s # GList *connections, *l; 1165s # GVariant *signal_variant; 1165s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1165s # 1165s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1165s # for (l = connections; l != NULL; l = l->next) 1165s # { 1165s # GDBusConnection *connection = l->data; 1165s # g_dbus_connection_emit_signal (connection, 1165s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1165s # signal_variant, NULL); 1165s # } 1165s # g_variant_unref (signal_variant); 1165s # g_list_free_full (connections, g_object_unref); 1165s # } 1165s # 1165s # static void 1165s # _org_project_signaling_iface_on_signal_single_arg_signal_ay ( 1165s # OrgProjectSignalingIface *object, 1165s # const gchar *arg_arg_ay) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1165s # 1165s # GList *connections, *l; 1165s # GVariant *signal_variant; 1165s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1165s # 1165s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)", 1165s # arg_arg_ay)); 1165s # for (l = connections; l != NULL; l = l->next) 1165s # { 1165s # GDBusConnection *connection = l->data; 1165s # g_dbus_connection_emit_signal (connection, 1165s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAy", 1165s # signal_variant, NULL); 1165s # } 1165s # g_variant_unref (signal_variant); 1165s # g_list_free_full (connections, g_object_unref); 1165s # } 1165s # 1165s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1165s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1165s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1165s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1165s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1165s # 1165s # #else 1165s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1165s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1165s # 1165s # #endif 1165s # static void 1165s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1165s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1165s # if (skeleton->priv->changed_properties_idle_source != NULL) 1165s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1165s # g_main_context_unref (skeleton->priv->context); 1165s # g_mutex_clear (&skeleton->priv->lock); 1165s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1165s # { 1165s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1165s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1165s # #else 1165s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1165s # #endif 1165s # 1165s # g_mutex_init (&skeleton->priv->lock); 1165s # skeleton->priv->context = g_main_context_ref_thread_default (); 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1165s # { 1165s # GObjectClass *gobject_class; 1165s # GDBusInterfaceSkeletonClass *skeleton_class; 1165s # 1165s # gobject_class = G_OBJECT_CLASS (klass); 1165s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1165s # 1165s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1165s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1165s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1165s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1165s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1165s # 1165s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1165s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1165s # #endif 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1165s # { 1165s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1165s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay; 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_skeleton_new: 1165s # * 1165s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1165s # * 1165s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1165s # */ 1165s # OrgProjectSignalingIface * 1165s # org_project_signaling_iface_skeleton_new (void) 1165s # { 1165s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1165s # } 1165s # /tmp/tmplam8bnnq/tmp13eemlsp.xml: 1165s # 1165s # 1165s # 1165s # 1165s # 1165s # 1165s # 1165s # 1165s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmplam8bnnq/tmp13eemlsp.xml', '--output', '-', '--body'] 1165s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1165s # Output: /* 1165s # * This file is generated by gdbus-codegen, do not modify it. 1165s # * 1165s # * The license of this code is the same as for the D-Bus interface description 1165s # * it was derived from. Note that it links to GLib, so must comply with the 1165s # * LGPL linking clauses. 1165s # */ 1165s # 1165s # #ifdef HAVE_CONFIG_H 1165s # # include "config.h" 1165s # #endif 1165s # 1165s # #include 1165s # #ifdef G_OS_UNIX 1165s # # include 1165s # #endif 1165s # 1165s # #ifdef G_ENABLE_DEBUG 1165s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1165s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1165s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1165s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1165s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1165s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1165s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1165s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1165s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1165s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1165s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1165s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1165s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1165s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1165s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1165s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1165s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1165s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1165s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1165s # #else /* !G_ENABLE_DEBUG */ 1165s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1165s # * Do not access GValues directly in your code. Instead, use the 1165s # * g_value_get_*() functions 1165s # */ 1165s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1165s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1165s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1165s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1165s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1165s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1165s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1165s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1165s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1165s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1165s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1165s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1165s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1165s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1165s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1165s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1165s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1165s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1165s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1165s # #endif /* !G_ENABLE_DEBUG */ 1165s # 1165s # typedef struct 1165s # { 1165s # GDBusArgInfo parent_struct; 1165s # gboolean use_gvariant; 1165s # } _ExtendedGDBusArgInfo; 1165s # 1165s # typedef struct 1165s # { 1165s # GDBusMethodInfo parent_struct; 1165s # const gchar *signal_name; 1165s # gboolean pass_fdlist; 1165s # } _ExtendedGDBusMethodInfo; 1165s # 1165s # typedef struct 1165s # { 1165s # GDBusSignalInfo parent_struct; 1165s # const gchar *signal_name; 1165s # } _ExtendedGDBusSignalInfo; 1165s # 1165s # typedef struct 1165s # { 1165s # GDBusPropertyInfo parent_struct; 1165s # const gchar *hyphen_name; 1165s # guint use_gvariant : 1; 1165s # guint emits_changed_signal : 1; 1165s # } _ExtendedGDBusPropertyInfo; 1165s # 1165s # typedef struct 1165s # { 1165s # GDBusInterfaceInfo parent_struct; 1165s # const gchar *hyphen_name; 1165s # } _ExtendedGDBusInterfaceInfo; 1165s # 1165s # typedef struct 1165s # { 1165s # const _ExtendedGDBusPropertyInfo *info; 1165s # guint prop_id; 1165s # GValue orig_value; /* the value before the change */ 1165s # } ChangedProperty; 1165s # 1165s # static void 1165s # _changed_property_free (ChangedProperty *data) 1165s # { 1165s # g_value_unset (&data->orig_value); 1165s # g_free (data); 1165s # } 1165s # 1165s # static gboolean 1165s # _g_strv_equal0 (gchar **a, gchar **b) 1165s # { 1165s # gboolean ret = FALSE; 1165s # guint n; 1165s # if (a == NULL && b == NULL) 1165s # { 1165s # ret = TRUE; 1165s # goto out; 1165s # } 1165s # if (a == NULL || b == NULL) 1165s # goto out; 1165s # if (g_strv_length (a) != g_strv_length (b)) 1165s # goto out; 1165s # for (n = 0; a[n] != NULL; n++) 1165s # if (g_strcmp0 (a[n], b[n]) != 0) 1165s # goto out; 1165s # ret = TRUE; 1165s # out: 1165s # return ret; 1165s # } 1165s # 1165s # static gboolean 1165s # _g_variant_equal0 (GVariant *a, GVariant *b) 1165s # { 1165s # gboolean ret = FALSE; 1165s # if (a == NULL && b == NULL) 1165s # { 1165s # ret = TRUE; 1165s # goto out; 1165s # } 1165s # if (a == NULL || b == NULL) 1165s # goto out; 1165s # ret = g_variant_equal (a, b); 1165s # out: 1165s # return ret; 1165s # } 1165s # 1165s # G_GNUC_UNUSED static gboolean 1165s # _g_value_equal (const GValue *a, const GValue *b) 1165s # { 1165s # gboolean ret = FALSE; 1165s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1165s # switch (G_VALUE_TYPE (a)) 1165s # { 1165s # case G_TYPE_BOOLEAN: 1165s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1165s # break; 1165s # case G_TYPE_UCHAR: 1165s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1165s # break; 1165s # case G_TYPE_INT: 1165s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1165s # break; 1165s # case G_TYPE_UINT: 1165s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1165s # break; 1165s # case G_TYPE_INT64: 1165s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1165s # break; 1165s # case G_TYPE_UINT64: 1165s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1165s # break; 1165s # case G_TYPE_DOUBLE: 1165s # { 1165s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1165s # gdouble da = g_value_get_double (a); 1165s # gdouble db = g_value_get_double (b); 1165s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1165s # } 1165s # break; 1165s # case G_TYPE_STRING: 1165s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1165s # break; 1165s # case G_TYPE_VARIANT: 1165s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1165s # break; 1165s # default: 1165s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1165s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1165s # else 1165s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1165s # break; 1165s # } 1165s # return ret; 1165s # } 1165s # 1165s # /* ------------------------------------------------------------------------ 1165s # * Code for interface org.project.SignalingIface 1165s # * ------------------------------------------------------------------------ 1165s # */ 1165s # 1165s # /** 1165s # * SECTION:OrgProjectSignalingIface 1165s # * @title: OrgProjectSignalingIface 1165s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1165s # * 1165s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1165s # */ 1165s # 1165s # enum 1165s # { 1165s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1165s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS, 1165s # }; 1165s # 1165s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1165s # 1165s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1165s # 1165s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1165s # { 1165s # { 1165s # -1, 1165s # (gchar *) "SimpleSignal", 1165s # NULL, 1165s # NULL 1165s # }, 1165s # "simple-signal" 1165s # }; 1165s # 1165s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as = 1165s # { 1165s # { 1165s # -1, 1165s # (gchar *) "arg_as", 1165s # (gchar *) "as", 1165s # NULL 1165s # }, 1165s # FALSE 1165s # }; 1165s # 1165s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] = 1165s # { 1165s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as.parent_struct, 1165s # NULL 1165s # }; 1165s # 1165s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as = 1165s # { 1165s # { 1165s # -1, 1165s # (gchar *) "SingleArgSignalAs", 1165s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers, 1165s # NULL 1165s # }, 1165s # "single-arg-signal-as" 1165s # }; 1165s # 1165s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1165s # { 1165s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1165s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct, 1165s # NULL 1165s # }; 1165s # 1165s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1165s # { 1165s # { 1165s # -1, 1165s # (gchar *) "org.project.SignalingIface", 1165s # NULL, 1165s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1165s # NULL, 1165s # NULL 1165s # }, 1165s # "org-project-signaling-iface", 1165s # }; 1165s # 1165s # 1165s # /** 1165s # * org_project_signaling_iface_interface_info: 1165s # * 1165s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1165s # * 1165s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1165s # */ 1165s # GDBusInterfaceInfo * 1165s # org_project_signaling_iface_interface_info (void) 1165s # { 1165s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_override_properties: 1165s # * @klass: The class structure for a #GObject derived class. 1165s # * @property_id_begin: The property id to assign to the first overridden property. 1165s # * 1165s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1165s # * The properties are overridden in the order they are defined. 1165s # * 1165s # * Returns: The last property id. 1165s # */ 1165s # guint 1165s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1165s # { 1165s # return property_id_begin - 1; 1165s # } 1165s # 1165s # 1165s # inline static void 1165s # org_project_signaling_iface_signal_marshal_simple_signal ( 1165s # GClosure *closure, 1165s # GValue *return_value, 1165s # unsigned int n_param_values, 1165s # const GValue *param_values, 1165s # void *invocation_hint, 1165s # void *marshal_data) 1165s # { 1165s # g_cclosure_marshal_VOID__VOID (closure, 1165s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1165s # } 1165s # 1165s # inline static void 1165s # org_project_signaling_iface_signal_marshal_single_arg_signal_as ( 1165s # GClosure *closure, 1165s # GValue *return_value, 1165s # unsigned int n_param_values, 1165s # const GValue *param_values, 1165s # void *invocation_hint, 1165s # void *marshal_data) 1165s # { 1165s # g_cclosure_marshal_VOID__BOXED (closure, 1165s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1165s # } 1165s # 1165s # 1165s # /** 1165s # * OrgProjectSignalingIface: 1165s # * 1165s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1165s # */ 1165s # 1165s # /** 1165s # * OrgProjectSignalingIfaceIface: 1165s # * @parent_iface: The parent interface. 1165s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1165s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal. 1165s # * 1165s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1165s # */ 1165s # 1165s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1165s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1165s # 1165s # static void 1165s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1165s # { 1165s # /* GObject signals for received D-Bus signals: */ 1165s # /** 1165s # * OrgProjectSignalingIface::simple-signal: 1165s # * @object: A #OrgProjectSignalingIface. 1165s # * 1165s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1165s # * 1165s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1165s # */ 1165s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1165s # g_signal_new ("simple-signal", 1165s # G_TYPE_FROM_INTERFACE (iface), 1165s # G_SIGNAL_RUN_LAST, 1165s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1165s # NULL, 1165s # NULL, 1165s # org_project_signaling_iface_signal_marshal_simple_signal, 1165s # G_TYPE_NONE, 1165s # 0); 1165s # 1165s # /** 1165s # * OrgProjectSignalingIface::single-arg-signal-as: 1165s # * @object: A #OrgProjectSignalingIface. 1165s # * @arg_arg_as: Argument. 1165s # * 1165s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAs" is received. 1165s # * 1165s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1165s # */ 1165s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] = 1165s # g_signal_new ("single-arg-signal-as", 1165s # G_TYPE_FROM_INTERFACE (iface), 1165s # G_SIGNAL_RUN_LAST, 1165s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as), 1165s # NULL, 1165s # NULL, 1165s # org_project_signaling_iface_signal_marshal_single_arg_signal_as, 1165s # G_TYPE_NONE, 1165s # 1, G_TYPE_STRV); 1165s # 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_emit_simple_signal: 1165s # * @object: A #OrgProjectSignalingIface. 1165s # * 1165s # * Emits the "SimpleSignal" D-Bus signal. 1165s # */ 1165s # void 1165s # org_project_signaling_iface_emit_simple_signal ( 1165s # OrgProjectSignalingIface *object) 1165s # { 1165s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_emit_single_arg_signal_as: 1165s # * @object: A #OrgProjectSignalingIface. 1165s # * @arg_arg_as: Argument to pass with the signal. 1165s # * 1165s # * Emits the "SingleArgSignalAs" D-Bus signal. 1165s # */ 1165s # void 1165s # org_project_signaling_iface_emit_single_arg_signal_as ( 1165s # OrgProjectSignalingIface *object, 1165s # const gchar *const *arg_arg_as) 1165s # { 1165s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_arg_as); 1165s # } 1165s # 1165s # /* ------------------------------------------------------------------------ */ 1165s # 1165s # /** 1165s # * OrgProjectSignalingIfaceProxy: 1165s # * 1165s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1165s # */ 1165s # 1165s # /** 1165s # * OrgProjectSignalingIfaceProxyClass: 1165s # * @parent_class: The parent class. 1165s # * 1165s # * Class structure for #OrgProjectSignalingIfaceProxy. 1165s # */ 1165s # 1165s # struct _OrgProjectSignalingIfaceProxyPrivate 1165s # { 1165s # GData *qdata; 1165s # }; 1165s # 1165s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1165s # 1165s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1165s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1165s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1165s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1165s # 1165s # #else 1165s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1165s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1165s # 1165s # #endif 1165s # static void 1165s # org_project_signaling_iface_proxy_finalize (GObject *object) 1165s # { 1165s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1165s # g_datalist_clear (&proxy->priv->qdata); 1165s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1165s # guint prop_id G_GNUC_UNUSED, 1165s # GValue *value G_GNUC_UNUSED, 1165s # GParamSpec *pspec G_GNUC_UNUSED) 1165s # { 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1165s # guint prop_id G_GNUC_UNUSED, 1165s # const GValue *value G_GNUC_UNUSED, 1165s # GParamSpec *pspec G_GNUC_UNUSED) 1165s # { 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1165s # const gchar *sender_name G_GNUC_UNUSED, 1165s # const gchar *signal_name, 1165s # GVariant *parameters) 1165s # { 1165s # _ExtendedGDBusSignalInfo *info; 1165s # GVariantIter iter; 1165s # GVariant *child; 1165s # GValue *paramv; 1165s # gsize num_params; 1165s # gsize n; 1165s # guint signal_id; 1165s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1165s # if (info == NULL) 1165s # return; 1165s # num_params = g_variant_n_children (parameters); 1165s # paramv = g_new0 (GValue, num_params + 1); 1165s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1165s # g_value_set_object (¶mv[0], proxy); 1165s # g_variant_iter_init (&iter, parameters); 1165s # n = 1; 1165s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1165s # { 1165s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1165s # if (arg_info->use_gvariant) 1165s # { 1165s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1165s # g_value_set_variant (¶mv[n], child); 1165s # n++; 1165s # } 1165s # else 1165s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1165s # g_variant_unref (child); 1165s # } 1165s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1165s # g_signal_emitv (paramv, signal_id, 0, NULL); 1165s # for (n = 0; n < num_params + 1; n++) 1165s # g_value_unset (¶mv[n]); 1165s # g_free (paramv); 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1165s # GVariant *changed_properties, 1165s # const gchar *const *invalidated_properties) 1165s # { 1165s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1165s # guint n; 1165s # const gchar *key; 1165s # GVariantIter *iter; 1165s # _ExtendedGDBusPropertyInfo *info; 1165s # g_variant_get (changed_properties, "a{sv}", &iter); 1165s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1165s # { 1165s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1165s # g_datalist_remove_data (&proxy->priv->qdata, key); 1165s # if (info != NULL) 1165s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1165s # } 1165s # g_variant_iter_free (iter); 1165s # for (n = 0; invalidated_properties[n] != NULL; n++) 1165s # { 1165s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1165s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1165s # if (info != NULL) 1165s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1165s # } 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1165s # { 1165s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1165s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1165s # #else 1165s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1165s # #endif 1165s # 1165s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1165s # { 1165s # GObjectClass *gobject_class; 1165s # GDBusProxyClass *proxy_class; 1165s # 1165s # gobject_class = G_OBJECT_CLASS (klass); 1165s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1165s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1165s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1165s # 1165s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1165s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1165s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1165s # 1165s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1165s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1165s # #endif 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1165s # { 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_proxy_new: 1165s # * @connection: A #GDBusConnection. 1165s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1165s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1165s # * @object_path: An object path. 1165s # * @cancellable: (nullable): A #GCancellable or %NULL. 1165s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1165s # * @user_data: User data to pass to @callback. 1165s # * 1165s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1165s # * 1165s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1165s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1165s # * 1165s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1165s # */ 1165s # void 1165s # org_project_signaling_iface_proxy_new ( 1165s # GDBusConnection *connection, 1165s # GDBusProxyFlags flags, 1165s # const gchar *name, 1165s # const gchar *object_path, 1165s # GCancellable *cancellable, 1165s # GAsyncReadyCallback callback, 1165s # gpointer user_data) 1165s # { 1165s # 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); 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_proxy_new_finish: 1165s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1165s # * @error: Return location for error or %NULL 1165s # * 1165s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1165s # * 1165s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1165s # */ 1165s # OrgProjectSignalingIface * 1165s # org_project_signaling_iface_proxy_new_finish ( 1165s # GAsyncResult *res, 1165s # GError **error) 1165s # { 1165s # GObject *ret; 1165s # GObject *source_object; 1165s # source_object = g_async_result_get_source_object (res); 1165s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1165s # g_object_unref (source_object); 1165s # if (ret != NULL) 1165s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1165s # else 1165s # return NULL; 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_proxy_new_sync: 1165s # * @connection: A #GDBusConnection. 1165s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1165s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1165s # * @object_path: An object path. 1165s # * @cancellable: (nullable): A #GCancellable or %NULL. 1165s # * @error: Return location for error or %NULL 1165s # * 1165s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1165s # * 1165s # * The calling thread is blocked until a reply is received. 1165s # * 1165s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1165s # * 1165s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1165s # */ 1165s # OrgProjectSignalingIface * 1165s # org_project_signaling_iface_proxy_new_sync ( 1165s # GDBusConnection *connection, 1165s # GDBusProxyFlags flags, 1165s # const gchar *name, 1165s # const gchar *object_path, 1165s # GCancellable *cancellable, 1165s # GError **error) 1165s # { 1165s # GInitable *ret; 1165s # 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); 1165s # if (ret != NULL) 1165s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1165s # else 1165s # return NULL; 1165s # } 1165s # 1165s # 1165s # /** 1165s # * org_project_signaling_iface_proxy_new_for_bus: 1165s # * @bus_type: A #GBusType. 1165s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1165s # * @name: A bus name (well-known or unique). 1165s # * @object_path: An object path. 1165s # * @cancellable: (nullable): A #GCancellable or %NULL. 1165s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1165s # * @user_data: User data to pass to @callback. 1165s # * 1165s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1165s # * 1165s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1165s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1165s # * 1165s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1165s # */ 1165s # void 1165s # org_project_signaling_iface_proxy_new_for_bus ( 1165s # GBusType bus_type, 1165s # GDBusProxyFlags flags, 1165s # const gchar *name, 1165s # const gchar *object_path, 1165s # GCancellable *cancellable, 1165s # GAsyncReadyCallback callback, 1165s # gpointer user_data) 1165s # { 1165s # 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); 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1165s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1165s # * @error: Return location for error or %NULL 1165s # * 1165s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1165s # * 1165s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1165s # */ 1165s # OrgProjectSignalingIface * 1165s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1165s # GAsyncResult *res, 1165s # GError **error) 1165s # { 1165s # GObject *ret; 1165s # GObject *source_object; 1165s # source_object = g_async_result_get_source_object (res); 1165s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1165s # g_object_unref (source_object); 1165s # if (ret != NULL) 1165s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1165s # else 1165s # return NULL; 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1165s # * @bus_type: A #GBusType. 1165s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1165s # * @name: A bus name (well-known or unique). 1165s # * @object_path: An object path. 1165s # * @cancellable: (nullable): A #GCancellable or %NULL. 1165s # * @error: Return location for error or %NULL 1165s # * 1165s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1165s # * 1165s # * The calling thread is blocked until a reply is received. 1165s # * 1165s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1165s # * 1165s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1165s # */ 1165s # OrgProjectSignalingIface * 1165s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1165s # GBusType bus_type, 1165s # GDBusProxyFlags flags, 1165s # const gchar *name, 1165s # const gchar *object_path, 1165s # GCancellable *cancellable, 1165s # GError **error) 1165s # { 1165s # GInitable *ret; 1165s # 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); 1165s # if (ret != NULL) 1165s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1165s # else 1165s # return NULL; 1165s # } 1165s # 1165s # 1165s # /* ------------------------------------------------------------------------ */ 1165s # 1165s # /** 1165s # * OrgProjectSignalingIfaceSkeleton: 1165s # * 1165s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1165s # */ 1165s # 1165s # /** 1165s # * OrgProjectSignalingIfaceSkeletonClass: 1165s # * @parent_class: The parent class. 1165s # * 1165s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1165s # */ 1165s # 1165s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1165s # { 1165s # GValue *properties; 1165s # GList *changed_properties; 1165s # GSource *changed_properties_idle_source; 1165s # GMainContext *context; 1165s # GMutex lock; 1165s # }; 1165s # 1165s # static void 1165s # _org_project_signaling_iface_skeleton_handle_method_call ( 1165s # GDBusConnection *connection G_GNUC_UNUSED, 1165s # const gchar *sender G_GNUC_UNUSED, 1165s # const gchar *object_path G_GNUC_UNUSED, 1165s # const gchar *interface_name, 1165s # const gchar *method_name, 1165s # GVariant *parameters, 1165s # GDBusMethodInvocation *invocation, 1165s # gpointer user_data) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1165s # _ExtendedGDBusMethodInfo *info; 1165s # GVariantIter iter; 1165s # GVariant *child; 1165s # GValue *paramv; 1165s # gsize num_params; 1165s # guint num_extra; 1165s # gsize n; 1165s # guint signal_id; 1165s # GValue return_value = G_VALUE_INIT; 1165s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1165s # g_assert (info != NULL); 1165s # num_params = g_variant_n_children (parameters); 1165s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1165s # n = 0; 1165s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1165s # g_value_set_object (¶mv[n++], skeleton); 1165s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1165s # g_value_set_object (¶mv[n++], invocation); 1165s # if (info->pass_fdlist) 1165s # { 1165s # #ifdef G_OS_UNIX 1165s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1165s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1165s # #else 1165s # g_assert_not_reached (); 1165s # #endif 1165s # } 1165s # g_variant_iter_init (&iter, parameters); 1165s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1165s # { 1165s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1165s # if (arg_info->use_gvariant) 1165s # { 1165s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1165s # g_value_set_variant (¶mv[n], child); 1165s # n++; 1165s # } 1165s # else 1165s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1165s # g_variant_unref (child); 1165s # } 1165s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1165s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1165s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1165s # if (!g_value_get_boolean (&return_value)) 1165s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1165s # g_value_unset (&return_value); 1165s # for (n = 0; n < num_params + num_extra; n++) 1165s # g_value_unset (¶mv[n]); 1165s # g_free (paramv); 1165s # } 1165s # 1165s # static GVariant * 1165s # _org_project_signaling_iface_skeleton_handle_get_property ( 1165s # GDBusConnection *connection G_GNUC_UNUSED, 1165s # const gchar *sender G_GNUC_UNUSED, 1165s # const gchar *object_path G_GNUC_UNUSED, 1165s # const gchar *interface_name G_GNUC_UNUSED, 1165s # const gchar *property_name, 1165s # GError **error, 1165s # gpointer user_data) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1165s # GValue value = G_VALUE_INIT; 1165s # GParamSpec *pspec; 1165s # _ExtendedGDBusPropertyInfo *info; 1165s # GVariant *ret; 1165s # ret = NULL; 1165s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1165s # g_assert (info != NULL); 1165s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1165s # if (pspec == NULL) 1165s # { 1165s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1165s # } 1165s # else 1165s # { 1165s # g_value_init (&value, pspec->value_type); 1165s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1165s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1165s # g_value_unset (&value); 1165s # } 1165s # return ret; 1165s # } 1165s # 1165s # static gboolean 1165s # _org_project_signaling_iface_skeleton_handle_set_property ( 1165s # GDBusConnection *connection G_GNUC_UNUSED, 1165s # const gchar *sender G_GNUC_UNUSED, 1165s # const gchar *object_path G_GNUC_UNUSED, 1165s # const gchar *interface_name G_GNUC_UNUSED, 1165s # const gchar *property_name, 1165s # GVariant *variant, 1165s # GError **error, 1165s # gpointer user_data) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1165s # GValue value = G_VALUE_INIT; 1165s # GParamSpec *pspec; 1165s # _ExtendedGDBusPropertyInfo *info; 1165s # gboolean ret; 1165s # ret = FALSE; 1165s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1165s # g_assert (info != NULL); 1165s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1165s # if (pspec == NULL) 1165s # { 1165s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1165s # } 1165s # else 1165s # { 1165s # if (info->use_gvariant) 1165s # g_value_set_variant (&value, variant); 1165s # else 1165s # g_dbus_gvariant_to_gvalue (variant, &value); 1165s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1165s # g_value_unset (&value); 1165s # ret = TRUE; 1165s # } 1165s # return ret; 1165s # } 1165s # 1165s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1165s # { 1165s # _org_project_signaling_iface_skeleton_handle_method_call, 1165s # _org_project_signaling_iface_skeleton_handle_get_property, 1165s # _org_project_signaling_iface_skeleton_handle_set_property, 1165s # {NULL} 1165s # }; 1165s # 1165s # static GDBusInterfaceInfo * 1165s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1165s # { 1165s # return org_project_signaling_iface_interface_info (); 1165s # } 1165s # 1165s # static GDBusInterfaceVTable * 1165s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1165s # { 1165s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1165s # } 1165s # 1165s # static GVariant * 1165s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1165s # 1165s # GVariantBuilder builder; 1165s # guint n; 1165s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1165s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1165s # goto out; 1165s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1165s # { 1165s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1165s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1165s # { 1165s # GVariant *value; 1165s # 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); 1165s # if (value != NULL) 1165s # { 1165s # g_variant_take_ref (value); 1165s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1165s # g_variant_unref (value); 1165s # } 1165s # } 1165s # } 1165s # out: 1165s # return g_variant_builder_end (&builder); 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1165s # { 1165s # } 1165s # 1165s # static void 1165s # _org_project_signaling_iface_on_signal_simple_signal ( 1165s # OrgProjectSignalingIface *object) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1165s # 1165s # GList *connections, *l; 1165s # GVariant *signal_variant; 1165s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1165s # 1165s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1165s # for (l = connections; l != NULL; l = l->next) 1165s # { 1165s # GDBusConnection *connection = l->data; 1165s # g_dbus_connection_emit_signal (connection, 1165s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1165s # signal_variant, NULL); 1165s # } 1165s # g_variant_unref (signal_variant); 1165s # g_list_free_full (connections, g_object_unref); 1165s # } 1165s # 1165s # static void 1165s # _org_project_signaling_iface_on_signal_single_arg_signal_as ( 1165s # OrgProjectSignalingIface *object, 1165s # const gchar *const *arg_arg_as) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1165s # 1165s # GList *connections, *l; 1165s # GVariant *signal_variant; 1165s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1165s # 1165s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)", 1165s # arg_arg_as)); 1165s # for (l = connections; l != NULL; l = l->next) 1165s # { 1165s # GDBusConnection *connection = l->data; 1165s # g_dbus_connection_emit_signal (connection, 1165s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAs", 1165s # signal_variant, NULL); 1165s # } 1165s # g_variant_unref (signal_variant); 1165s # g_list_free_full (connections, g_object_unref); 1165s # } 1165s # 1165s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1165s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1165s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1165s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1165s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1165s # 1165s # #else 1165s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1165s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1165s # 1165s # #endif 1165s # static void 1165s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1165s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1165s # if (skeleton->priv->changed_properties_idle_source != NULL) 1165s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1165s # g_main_context_unref (skeleton->priv->context); 1165s # g_mutex_clear (&skeleton->priv->lock); 1165s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1165s # { 1165s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1165s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1165s # #else 1165s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1165s # #endif 1165s # 1165s # g_mutex_init (&skeleton->priv->lock); 1165s # skeleton->priv->context = g_main_context_ref_thread_default (); 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1165s # { 1165s # GObjectClass *gobject_class; 1165s # GDBusInterfaceSkeletonClass *skeleton_class; 1165s # 1165s # gobject_class = G_OBJECT_CLASS (klass); 1165s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1165s # 1165s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1165s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1165s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1165s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1165s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1165s # 1165s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1165s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1165s # #endif 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1165s # { 1165s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1165s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as; 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_skeleton_new: 1165s # * 1165s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1165s # * 1165s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1165s # */ 1165s # OrgProjectSignalingIface * 1165s # org_project_signaling_iface_skeleton_new (void) 1165s # { 1165s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1165s # } 1165s # /tmp/tmplam8bnnq/tmpcekfv8az.xml: 1165s # 1165s # 1165s # 1165s # 1165s # 1165s # 1165s # 1165s # 1165s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmplam8bnnq/tmpcekfv8az.xml', '--output', '-', '--body'] 1165s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1165s # Output: /* 1165s # * This file is generated by gdbus-codegen, do not modify it. 1165s # * 1165s # * The license of this code is the same as for the D-Bus interface description 1165s # * it was derived from. Note that it links to GLib, so must comply with the 1165s # * LGPL linking clauses. 1165s # */ 1165s # 1165s # #ifdef HAVE_CONFIG_H 1165s # # include "config.h" 1165s # #endif 1165s # 1165s # #include 1165s # #ifdef G_OS_UNIX 1165s # # include 1165s # #endif 1165s # 1165s # #ifdef G_ENABLE_DEBUG 1165s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1165s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1165s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1165s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1165s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1165s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1165s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1165s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1165s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1165s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1165s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1165s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1165s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1165s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1165s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1165s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1165s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1165s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1165s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1165s # #else /* !G_ENABLE_DEBUG */ 1165s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1165s # * Do not access GValues directly in your code. Instead, use the 1165s # * g_value_get_*() functions 1165s # */ 1165s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1165s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1165s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1165s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1165s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1165s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1165s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1165s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1165s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1165s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1165s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1165s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1165s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1165s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1165s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1165s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1165s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1165s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1165s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1165s # #endif /* !G_ENABLE_DEBUG */ 1165s # 1165s # typedef struct 1165s # { 1165s # GDBusArgInfo parent_struct; 1165s # gboolean use_gvariant; 1165s # } _ExtendedGDBusArgInfo; 1165s # 1165s # typedef struct 1165s # { 1165s # GDBusMethodInfo parent_struct; 1165s # const gchar *signal_name; 1165s # gboolean pass_fdlist; 1165s # } _ExtendedGDBusMethodInfo; 1165s # 1165s # typedef struct 1165s # { 1165s # GDBusSignalInfo parent_struct; 1165s # const gchar *signal_name; 1165s # } _ExtendedGDBusSignalInfo; 1165s # 1165s # typedef struct 1165s # { 1165s # GDBusPropertyInfo parent_struct; 1165s # const gchar *hyphen_name; 1165s # guint use_gvariant : 1; 1165s # guint emits_changed_signal : 1; 1165s # } _ExtendedGDBusPropertyInfo; 1165s # 1165s # typedef struct 1165s # { 1165s # GDBusInterfaceInfo parent_struct; 1165s # const gchar *hyphen_name; 1165s # } _ExtendedGDBusInterfaceInfo; 1165s # 1165s # typedef struct 1165s # { 1165s # const _ExtendedGDBusPropertyInfo *info; 1165s # guint prop_id; 1165s # GValue orig_value; /* the value before the change */ 1165s # } ChangedProperty; 1165s # 1165s # static void 1165s # _changed_property_free (ChangedProperty *data) 1165s # { 1165s # g_value_unset (&data->orig_value); 1165s # g_free (data); 1165s # } 1165s # 1165s # static gboolean 1165s # _g_strv_equal0 (gchar **a, gchar **b) 1165s # { 1165s # gboolean ret = FALSE; 1165s # guint n; 1165s # if (a == NULL && b == NULL) 1165s # { 1165s # ret = TRUE; 1165s # goto out; 1165s # } 1165s # if (a == NULL || b == NULL) 1165s # goto out; 1165s # if (g_strv_length (a) != g_strv_length (b)) 1165s # goto out; 1165s # for (n = 0; a[n] != NULL; n++) 1165s # if (g_strcmp0 (a[n], b[n]) != 0) 1165s # goto out; 1165s # ret = TRUE; 1165s # out: 1165s # return ret; 1165s # } 1165s # 1165s # static gboolean 1165s # _g_variant_equal0 (GVariant *a, GVariant *b) 1165s # { 1165s # gboolean ret = FALSE; 1165s # if (a == NULL && b == NULL) 1165s # { 1165s # ret = TRUE; 1165s # goto out; 1165s # } 1165s # if (a == NULL || b == NULL) 1165s # goto out; 1165s # ret = g_variant_equal (a, b); 1165s # out: 1165s # return ret; 1165s # } 1165s # 1165s # G_GNUC_UNUSED static gboolean 1165s # _g_value_equal (const GValue *a, const GValue *b) 1165s # { 1165s # gboolean ret = FALSE; 1165s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1165s # switch (G_VALUE_TYPE (a)) 1165s # { 1165s # case G_TYPE_BOOLEAN: 1165s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1165s # break; 1165s # case G_TYPE_UCHAR: 1165s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1165s # break; 1165s # case G_TYPE_INT: 1165s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1165s # break; 1165s # case G_TYPE_UINT: 1165s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1165s # break; 1165s # case G_TYPE_INT64: 1165s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1165s # break; 1165s # case G_TYPE_UINT64: 1165s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1165s # break; 1165s # case G_TYPE_DOUBLE: 1165s # { 1165s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1165s # gdouble da = g_value_get_double (a); 1165s # gdouble db = g_value_get_double (b); 1165s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1165s # } 1165s # break; 1165s # case G_TYPE_STRING: 1165s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1165s # break; 1165s # case G_TYPE_VARIANT: 1165s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1165s # break; 1165s # default: 1165s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1165s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1165s # else 1165s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1165s # break; 1165s # } 1165s # return ret; 1165s # } 1165s # 1165s # /* ------------------------------------------------------------------------ 1165s # * Code for interface org.project.SignalingIface 1165s # * ------------------------------------------------------------------------ 1165s # */ 1165s # 1165s # /** 1165s # * SECTION:OrgProjectSignalingIface 1165s # * @title: OrgProjectSignalingIface 1165s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1165s # * 1165s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1165s # */ 1165s # 1165s # enum 1165s # { 1165s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1165s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO, 1165s # }; 1165s # 1165s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1165s # 1165s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1165s # 1165s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1165s # { 1165s # { 1165s # -1, 1165s # (gchar *) "SimpleSignal", 1165s # NULL, 1165s # NULL 1165s # }, 1165s # "simple-signal" 1165s # }; 1165s # 1165s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao = 1165s # { 1165s # { 1165s # -1, 1165s # (gchar *) "arg_ao", 1165s # (gchar *) "ao", 1165s # NULL 1165s # }, 1165s # FALSE 1165s # }; 1165s # 1165s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] = 1165s # { 1165s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao.parent_struct, 1165s # NULL 1165s # }; 1165s # 1165s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao = 1165s # { 1165s # { 1165s # -1, 1165s # (gchar *) "SingleArgSignalAo", 1165s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers, 1165s # NULL 1165s # }, 1165s # "single-arg-signal-ao" 1165s # }; 1165s # 1165s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1165s # { 1165s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1165s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct, 1165s # NULL 1165s # }; 1165s # 1165s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1165s # { 1165s # { 1165s # -1, 1165s # (gchar *) "org.project.SignalingIface", 1165s # NULL, 1165s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1165s # NULL, 1165s # NULL 1165s # }, 1165s # "org-project-signaling-iface", 1165s # }; 1165s # 1165s # 1165s # /** 1165s # * org_project_signaling_iface_interface_info: 1165s # * 1165s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1165s # * 1165s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1165s # */ 1165s # GDBusInterfaceInfo * 1165s # org_project_signaling_iface_interface_info (void) 1165s # { 1165s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_override_properties: 1165s # * @klass: The class structure for a #GObject derived class. 1165s # * @property_id_begin: The property id to assign to the first overridden property. 1165s # * 1165s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1165s # * The properties are overridden in the order they are defined. 1165s # * 1165s # * Returns: The last property id. 1165s # */ 1165s # guint 1165s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1165s # { 1165s # return property_id_begin - 1; 1165s # } 1165s # 1165s # 1165s # inline static void 1165s # org_project_signaling_iface_signal_marshal_simple_signal ( 1165s # GClosure *closure, 1165s # GValue *return_value, 1165s # unsigned int n_param_values, 1165s # const GValue *param_values, 1165s # void *invocation_hint, 1165s # void *marshal_data) 1165s # { 1165s # g_cclosure_marshal_VOID__VOID (closure, 1165s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1165s # } 1165s # 1165s # inline static void 1165s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao ( 1165s # GClosure *closure, 1165s # GValue *return_value, 1165s # unsigned int n_param_values, 1165s # const GValue *param_values, 1165s # void *invocation_hint, 1165s # void *marshal_data) 1165s # { 1165s # g_cclosure_marshal_VOID__BOXED (closure, 1165s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1165s # } 1165s # 1165s # 1165s # /** 1165s # * OrgProjectSignalingIface: 1165s # * 1165s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1165s # */ 1165s # 1165s # /** 1165s # * OrgProjectSignalingIfaceIface: 1165s # * @parent_iface: The parent interface. 1165s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1165s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal. 1165s # * 1165s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1165s # */ 1165s # 1165s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1165s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1165s # 1165s # static void 1165s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1165s # { 1165s # /* GObject signals for received D-Bus signals: */ 1165s # /** 1165s # * OrgProjectSignalingIface::simple-signal: 1165s # * @object: A #OrgProjectSignalingIface. 1165s # * 1165s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1165s # * 1165s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1165s # */ 1165s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1165s # g_signal_new ("simple-signal", 1165s # G_TYPE_FROM_INTERFACE (iface), 1165s # G_SIGNAL_RUN_LAST, 1165s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1165s # NULL, 1165s # NULL, 1165s # org_project_signaling_iface_signal_marshal_simple_signal, 1165s # G_TYPE_NONE, 1165s # 0); 1165s # 1165s # /** 1165s # * OrgProjectSignalingIface::single-arg-signal-ao: 1165s # * @object: A #OrgProjectSignalingIface. 1165s # * @arg_arg_ao: Argument. 1165s # * 1165s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAo" is received. 1165s # * 1165s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1165s # */ 1165s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] = 1165s # g_signal_new ("single-arg-signal-ao", 1165s # G_TYPE_FROM_INTERFACE (iface), 1165s # G_SIGNAL_RUN_LAST, 1165s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao), 1165s # NULL, 1165s # NULL, 1165s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao, 1165s # G_TYPE_NONE, 1165s # 1, G_TYPE_STRV); 1165s # 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_emit_simple_signal: 1165s # * @object: A #OrgProjectSignalingIface. 1165s # * 1165s # * Emits the "SimpleSignal" D-Bus signal. 1165s # */ 1165s # void 1165s # org_project_signaling_iface_emit_simple_signal ( 1165s # OrgProjectSignalingIface *object) 1165s # { 1165s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_emit_single_arg_signal_ao: 1165s # * @object: A #OrgProjectSignalingIface. 1165s # * @arg_arg_ao: Argument to pass with the signal. 1165s # * 1165s # * Emits the "SingleArgSignalAo" D-Bus signal. 1165s # */ 1165s # void 1165s # org_project_signaling_iface_emit_single_arg_signal_ao ( 1165s # OrgProjectSignalingIface *object, 1165s # const gchar *const *arg_arg_ao) 1165s # { 1165s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_arg_ao); 1165s # } 1165s # 1165s # /* ------------------------------------------------------------------------ */ 1165s # 1165s # /** 1165s # * OrgProjectSignalingIfaceProxy: 1165s # * 1165s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1165s # */ 1165s # 1165s # /** 1165s # * OrgProjectSignalingIfaceProxyClass: 1165s # * @parent_class: The parent class. 1165s # * 1165s # * Class structure for #OrgProjectSignalingIfaceProxy. 1165s # */ 1165s # 1165s # struct _OrgProjectSignalingIfaceProxyPrivate 1165s # { 1165s # GData *qdata; 1165s # }; 1165s # 1165s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1165s # 1165s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1165s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1165s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1165s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1165s # 1165s # #else 1165s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1165s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1165s # 1165s # #endif 1165s # static void 1165s # org_project_signaling_iface_proxy_finalize (GObject *object) 1165s # { 1165s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1165s # g_datalist_clear (&proxy->priv->qdata); 1165s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1165s # guint prop_id G_GNUC_UNUSED, 1165s # GValue *value G_GNUC_UNUSED, 1165s # GParamSpec *pspec G_GNUC_UNUSED) 1165s # { 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1165s # guint prop_id G_GNUC_UNUSED, 1165s # const GValue *value G_GNUC_UNUSED, 1165s # GParamSpec *pspec G_GNUC_UNUSED) 1165s # { 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1165s # const gchar *sender_name G_GNUC_UNUSED, 1165s # const gchar *signal_name, 1165s # GVariant *parameters) 1165s # { 1165s # _ExtendedGDBusSignalInfo *info; 1165s # GVariantIter iter; 1165s # GVariant *child; 1165s # GValue *paramv; 1165s # gsize num_params; 1165s # gsize n; 1165s # guint signal_id; 1165s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1165s # if (info == NULL) 1165s # return; 1165s # num_params = g_variant_n_children (parameters); 1165s # paramv = g_new0 (GValue, num_params + 1); 1165s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1165s # g_value_set_object (¶mv[0], proxy); 1165s # g_variant_iter_init (&iter, parameters); 1165s # n = 1; 1165s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1165s # { 1165s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1165s # if (arg_info->use_gvariant) 1165s # { 1165s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1165s # g_value_set_variant (¶mv[n], child); 1165s # n++; 1165s # } 1165s # else 1165s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1165s # g_variant_unref (child); 1165s # } 1165s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1165s # g_signal_emitv (paramv, signal_id, 0, NULL); 1165s # for (n = 0; n < num_params + 1; n++) 1165s # g_value_unset (¶mv[n]); 1165s # g_free (paramv); 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1165s # GVariant *changed_properties, 1165s # const gchar *const *invalidated_properties) 1165s # { 1165s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1165s # guint n; 1165s # const gchar *key; 1165s # GVariantIter *iter; 1165s # _ExtendedGDBusPropertyInfo *info; 1165s # g_variant_get (changed_properties, "a{sv}", &iter); 1165s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1165s # { 1165s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1165s # g_datalist_remove_data (&proxy->priv->qdata, key); 1165s # if (info != NULL) 1165s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1165s # } 1165s # g_variant_iter_free (iter); 1165s # for (n = 0; invalidated_properties[n] != NULL; n++) 1165s # { 1165s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1165s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1165s # if (info != NULL) 1165s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1165s # } 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1165s # { 1165s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1165s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1165s # #else 1165s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1165s # #endif 1165s # 1165s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1165s # { 1165s # GObjectClass *gobject_class; 1165s # GDBusProxyClass *proxy_class; 1165s # 1165s # gobject_class = G_OBJECT_CLASS (klass); 1165s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1165s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1165s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1165s # 1165s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1165s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1165s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1165s # 1165s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1165s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1165s # #endif 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1165s # { 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_proxy_new: 1165s # * @connection: A #GDBusConnection. 1165s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1165s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1165s # * @object_path: An object path. 1165s # * @cancellable: (nullable): A #GCancellable or %NULL. 1165s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1165s # * @user_data: User data to pass to @callback. 1165s # * 1165s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1165s # * 1165s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1165s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1165s # * 1165s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1165s # */ 1165s # void 1165s # org_project_signaling_iface_proxy_new ( 1165s # GDBusConnection *connection, 1165s # GDBusProxyFlags flags, 1165s # const gchar *name, 1165s # const gchar *object_path, 1165s # GCancellable *cancellable, 1165s # GAsyncReadyCallback callback, 1165s # gpointer user_data) 1165s # { 1165s # 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); 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_proxy_new_finish: 1165s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1165s # * @error: Return location for error or %NULL 1165s # * 1165s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1165s # * 1165s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1165s # */ 1165s # OrgProjectSignalingIface * 1165s # org_project_signaling_iface_proxy_new_finish ( 1165s # GAsyncResult *res, 1165s # GError **error) 1165s # { 1165s # GObject *ret; 1165s # GObject *source_object; 1165s # source_object = g_async_result_get_source_object (res); 1165s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1165s # g_object_unref (source_object); 1165s # if (ret != NULL) 1165s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1165s # else 1165s # return NULL; 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_proxy_new_sync: 1165s # * @connection: A #GDBusConnection. 1165s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1165s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1165s # * @object_path: An object path. 1165s # * @cancellable: (nullable): A #GCancellable or %NULL. 1165s # * @error: Return location for error or %NULL 1165s # * 1165s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1165s # * 1165s # * The calling thread is blocked until a reply is received. 1165s # * 1165s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1165s # * 1165s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1165s # */ 1165s # OrgProjectSignalingIface * 1165s # org_project_signaling_iface_proxy_new_sync ( 1165s # GDBusConnection *connection, 1165s # GDBusProxyFlags flags, 1165s # const gchar *name, 1165s # const gchar *object_path, 1165s # GCancellable *cancellable, 1165s # GError **error) 1165s # { 1165s # GInitable *ret; 1165s # 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); 1165s # if (ret != NULL) 1165s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1165s # else 1165s # return NULL; 1165s # } 1165s # 1165s # 1165s # /** 1165s # * org_project_signaling_iface_proxy_new_for_bus: 1165s # * @bus_type: A #GBusType. 1165s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1165s # * @name: A bus name (well-known or unique). 1165s # * @object_path: An object path. 1165s # * @cancellable: (nullable): A #GCancellable or %NULL. 1165s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1165s # * @user_data: User data to pass to @callback. 1165s # * 1165s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1165s # * 1165s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1165s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1165s # * 1165s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1165s # */ 1165s # void 1165s # org_project_signaling_iface_proxy_new_for_bus ( 1165s # GBusType bus_type, 1165s # GDBusProxyFlags flags, 1165s # const gchar *name, 1165s # const gchar *object_path, 1165s # GCancellable *cancellable, 1165s # GAsyncReadyCallback callback, 1165s # gpointer user_data) 1165s # { 1165s # 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); 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1165s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1165s # * @error: Return location for error or %NULL 1165s # * 1165s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1165s # * 1165s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1165s # */ 1165s # OrgProjectSignalingIface * 1165s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1165s # GAsyncResult *res, 1165s # GError **error) 1165s # { 1165s # GObject *ret; 1165s # GObject *source_object; 1165s # source_object = g_async_result_get_source_object (res); 1165s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1165s # g_object_unref (source_object); 1165s # if (ret != NULL) 1165s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1165s # else 1165s # return NULL; 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1165s # * @bus_type: A #GBusType. 1165s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1165s # * @name: A bus name (well-known or unique). 1165s # * @object_path: An object path. 1165s # * @cancellable: (nullable): A #GCancellable or %NULL. 1165s # * @error: Return location for error or %NULL 1165s # * 1165s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1165s # * 1165s # * The calling thread is blocked until a reply is received. 1165s # * 1165s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1165s # * 1165s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1165s # */ 1165s # OrgProjectSignalingIface * 1165s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1165s # GBusType bus_type, 1165s # GDBusProxyFlags flags, 1165s # const gchar *name, 1165s # const gchar *object_path, 1165s # GCancellable *cancellable, 1165s # GError **error) 1165s # { 1165s # GInitable *ret; 1165s # 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); 1165s # if (ret != NULL) 1165s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1165s # else 1165s # return NULL; 1165s # } 1165s # 1165s # 1165s # /* ------------------------------------------------------------------------ */ 1165s # 1165s # /** 1165s # * OrgProjectSignalingIfaceSkeleton: 1165s # * 1165s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1165s # */ 1165s # 1165s # /** 1165s # * OrgProjectSignalingIfaceSkeletonClass: 1165s # * @parent_class: The parent class. 1165s # * 1165s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1165s # */ 1165s # 1165s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1165s # { 1165s # GValue *properties; 1165s # GList *changed_properties; 1165s # GSource *changed_properties_idle_source; 1165s # GMainContext *context; 1165s # GMutex lock; 1165s # }; 1165s # 1165s # static void 1165s # _org_project_signaling_iface_skeleton_handle_method_call ( 1165s # GDBusConnection *connection G_GNUC_UNUSED, 1165s # const gchar *sender G_GNUC_UNUSED, 1165s # const gchar *object_path G_GNUC_UNUSED, 1165s # const gchar *interface_name, 1165s # const gchar *method_name, 1165s # GVariant *parameters, 1165s # GDBusMethodInvocation *invocation, 1165s # gpointer user_data) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1165s # _ExtendedGDBusMethodInfo *info; 1165s # GVariantIter iter; 1165s # GVariant *child; 1165s # GValue *paramv; 1165s # gsize num_params; 1165s # guint num_extra; 1165s # gsize n; 1165s # guint signal_id; 1165s # GValue return_value = G_VALUE_INIT; 1165s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1165s # g_assert (info != NULL); 1165s # num_params = g_variant_n_children (parameters); 1165s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1165s # n = 0; 1165s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1165s # g_value_set_object (¶mv[n++], skeleton); 1165s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1165s # g_value_set_object (¶mv[n++], invocation); 1165s # if (info->pass_fdlist) 1165s # { 1165s # #ifdef G_OS_UNIX 1165s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1165s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1165s # #else 1165s # g_assert_not_reached (); 1165s # #endif 1165s # } 1165s # g_variant_iter_init (&iter, parameters); 1165s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1165s # { 1165s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1165s # if (arg_info->use_gvariant) 1165s # { 1165s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1165s # g_value_set_variant (¶mv[n], child); 1165s # n++; 1165s # } 1165s # else 1165s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1165s # g_variant_unref (child); 1165s # } 1165s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1165s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1165s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1165s # if (!g_value_get_boolean (&return_value)) 1165s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1165s # g_value_unset (&return_value); 1165s # for (n = 0; n < num_params + num_extra; n++) 1165s # g_value_unset (¶mv[n]); 1165s # g_free (paramv); 1165s # } 1165s # 1165s # static GVariant * 1165s # _org_project_signaling_iface_skeleton_handle_get_property ( 1165s # GDBusConnection *connection G_GNUC_UNUSED, 1165s # const gchar *sender G_GNUC_UNUSED, 1165s # const gchar *object_path G_GNUC_UNUSED, 1165s # const gchar *interface_name G_GNUC_UNUSED, 1165s # const gchar *property_name, 1165s # GError **error, 1165s # gpointer user_data) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1165s # GValue value = G_VALUE_INIT; 1165s # GParamSpec *pspec; 1165s # _ExtendedGDBusPropertyInfo *info; 1165s # GVariant *ret; 1165s # ret = NULL; 1165s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1165s # g_assert (info != NULL); 1165s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1165s # if (pspec == NULL) 1165s # { 1165s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1165s # } 1165s # else 1165s # { 1165s # g_value_init (&value, pspec->value_type); 1165s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1165s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1165s # g_value_unset (&value); 1165s # } 1165s # return ret; 1165s # } 1165s # 1165s # static gboolean 1165s # _org_project_signaling_iface_skeleton_handle_set_property ( 1165s # GDBusConnection *connection G_GNUC_UNUSED, 1165s # const gchar *sender G_GNUC_UNUSED, 1165s # const gchar *object_path G_GNUC_UNUSED, 1165s # const gchar *interface_name G_GNUC_UNUSED, 1165s # const gchar *property_name, 1165s # GVariant *variant, 1165s # GError **error, 1165s # gpointer user_data) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1165s # GValue value = G_VALUE_INIT; 1165s # GParamSpec *pspec; 1165s # _ExtendedGDBusPropertyInfo *info; 1165s # gboolean ret; 1165s # ret = FALSE; 1165s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1165s # g_assert (info != NULL); 1165s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1165s # if (pspec == NULL) 1165s # { 1165s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1165s # } 1165s # else 1165s # { 1165s # if (info->use_gvariant) 1165s # g_value_set_variant (&value, variant); 1165s # else 1165s # g_dbus_gvariant_to_gvalue (variant, &value); 1165s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1165s # g_value_unset (&value); 1165s # ret = TRUE; 1165s # } 1165s # return ret; 1165s # } 1165s # 1165s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1165s # { 1165s # _org_project_signaling_iface_skeleton_handle_method_call, 1165s # _org_project_signaling_iface_skeleton_handle_get_property, 1165s # _org_project_signaling_iface_skeleton_handle_set_property, 1165s # {NULL} 1165s # }; 1165s # 1165s # static GDBusInterfaceInfo * 1165s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1165s # { 1165s # return org_project_signaling_iface_interface_info (); 1165s # } 1165s # 1165s # static GDBusInterfaceVTable * 1165s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1165s # { 1165s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1165s # } 1165s # 1165s # static GVariant * 1165s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1165s # 1165s # GVariantBuilder builder; 1165s # guint n; 1165s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1165s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1165s # goto out; 1165s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1165s # { 1165s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1165s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1165s # { 1165s # GVariant *value; 1165s # 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); 1165s # if (value != NULL) 1165s # { 1165s # g_variant_take_ref (value); 1165s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1165s # g_variant_unref (value); 1165s # } 1165s # } 1165s # } 1165s # out: 1165s # return g_variant_builder_end (&builder); 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1165s # { 1165s # } 1165s # 1165s # static void 1165s # _org_project_signaling_iface_on_signal_simple_signal ( 1165s # OrgProjectSignalingIface *object) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1165s # 1165s # GList *connections, *l; 1165s # GVariant *signal_variant; 1165s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1165s # 1165s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1165s # for (l = connections; l != NULL; l = l->next) 1165s # { 1165s # GDBusConnection *connection = l->data; 1165s # g_dbus_connection_emit_signal (connection, 1165s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1165s # signal_variant, NULL); 1165s # } 1165s # g_variant_unref (signal_variant); 1165s # g_list_free_full (connections, g_object_unref); 1165s # } 1165s # 1165s # static void 1165s # _org_project_signaling_iface_on_signal_single_arg_signal_ao ( 1165s # OrgProjectSignalingIface *object, 1165s # const gchar *const *arg_arg_ao) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1165s # 1165s # GList *connections, *l; 1165s # GVariant *signal_variant; 1165s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1165s # 1165s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)", 1165s # arg_arg_ao)); 1165s # for (l = connections; l != NULL; l = l->next) 1165s # { 1165s # GDBusConnection *connection = l->data; 1165s # g_dbus_connection_emit_signal (connection, 1165s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAo", 1165s # signal_variant, NULL); 1165s # } 1165s # g_variant_unref (signal_variant); 1165s # g_list_free_full (connections, g_object_unref); 1165s # } 1165s # 1165s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1165s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1165s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1165s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1165s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1165s # 1165s # #else 1165s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1165s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1165s # 1165s # #endif 1165s # static void 1165s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1165s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1165s # if (skeleton->priv->changed_properties_idle_source != NULL) 1165s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1165s # g_main_context_unref (skeleton->priv->context); 1165s # g_mutex_clear (&skeleton->priv->lock); 1165s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1165s # { 1165s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1165s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1165s # #else 1165s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1165s # #endif 1165s # 1165s # g_mutex_init (&skeleton->priv->lock); 1165s # skeleton->priv->context = g_main_context_ref_thread_default (); 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1165s # { 1165s # GObjectClass *gobject_class; 1165s # GDBusInterfaceSkeletonClass *skeleton_class; 1165s # 1165s # gobject_class = G_OBJECT_CLASS (klass); 1165s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1165s # 1165s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1165s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1165s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1165s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1165s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1165s # 1165s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1165s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1165s # #endif 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1165s # { 1165s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1165s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao; 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_skeleton_new: 1165s # * 1165s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1165s # * 1165s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1165s # */ 1165s # OrgProjectSignalingIface * 1165s # org_project_signaling_iface_skeleton_new (void) 1165s # { 1165s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1165s # } 1165s # /tmp/tmplam8bnnq/tmpwgvcdv4s.xml: 1165s # 1165s # 1165s # 1165s # 1165s # 1165s # 1165s # 1165s # 1165s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmplam8bnnq/tmpwgvcdv4s.xml', '--output', '-', '--body'] 1165s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1165s # Output: /* 1165s # * This file is generated by gdbus-codegen, do not modify it. 1165s # * 1165s # * The license of this code is the same as for the D-Bus interface description 1165s # * it was derived from. Note that it links to GLib, so must comply with the 1165s # * LGPL linking clauses. 1165s # */ 1165s # 1165s # #ifdef HAVE_CONFIG_H 1165s # # include "config.h" 1165s # #endif 1165s # 1165s # #include 1165s # #ifdef G_OS_UNIX 1165s # # include 1165s # #endif 1165s # 1165s # #ifdef G_ENABLE_DEBUG 1165s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1165s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1165s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1165s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1165s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1165s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1165s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1165s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1165s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1165s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1165s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1165s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1165s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1165s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1165s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1165s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1165s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1165s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1165s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1165s # #else /* !G_ENABLE_DEBUG */ 1165s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1165s # * Do not access GValues directly in your code. Instead, use the 1165s # * g_value_get_*() functions 1165s # */ 1165s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1165s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1165s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1165s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1165s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1165s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1165s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1165s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1165s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1165s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1165s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1165s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1165s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1165s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1165s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1165s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1165s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1165s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1165s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1165s # #endif /* !G_ENABLE_DEBUG */ 1165s # 1165s # typedef struct 1165s # { 1165s # GDBusArgInfo parent_struct; 1165s # gboolean use_gvariant; 1165s # } _ExtendedGDBusArgInfo; 1165s # 1165s # typedef struct 1165s # { 1165s # GDBusMethodInfo parent_struct; 1165s # const gchar *signal_name; 1165s # gboolean pass_fdlist; 1165s # } _ExtendedGDBusMethodInfo; 1165s # 1165s # typedef struct 1165s # { 1165s # GDBusSignalInfo parent_struct; 1165s # const gchar *signal_name; 1165s # } _ExtendedGDBusSignalInfo; 1165s # 1165s # typedef struct 1165s # { 1165s # GDBusPropertyInfo parent_struct; 1165s # const gchar *hyphen_name; 1165s # guint use_gvariant : 1; 1165s # guint emits_changed_signal : 1; 1165s # } _ExtendedGDBusPropertyInfo; 1165s # 1165s # typedef struct 1165s # { 1165s # GDBusInterfaceInfo parent_struct; 1165s # const gchar *hyphen_name; 1165s # } _ExtendedGDBusInterfaceInfo; 1165s # 1165s # typedef struct 1165s # { 1165s # const _ExtendedGDBusPropertyInfo *info; 1165s # guint prop_id; 1165s # GValue orig_value; /* the value before the change */ 1165s # } ChangedProperty; 1165s # 1165s # static void 1165s # _changed_property_free (ChangedProperty *data) 1165s # { 1165s # g_value_unset (&data->orig_value); 1165s # g_free (data); 1165s # } 1165s # 1165s # static gboolean 1165s # _g_strv_equal0 (gchar **a, gchar **b) 1165s # { 1165s # gboolean ret = FALSE; 1165s # guint n; 1165s # if (a == NULL && b == NULL) 1165s # { 1165s # ret = TRUE; 1165s # goto out; 1165s # } 1165s # if (a == NULL || b == NULL) 1165s # goto out; 1165s # if (g_strv_length (a) != g_strv_length (b)) 1165s # goto out; 1165s # for (n = 0; a[n] != NULL; n++) 1165s # if (g_strcmp0 (a[n], b[n]) != 0) 1165s # goto out; 1165s # ret = TRUE; 1165s # out: 1165s # return ret; 1165s # } 1165s # 1165s # static gboolean 1165s # _g_variant_equal0 (GVariant *a, GVariant *b) 1165s # { 1165s # gboolean ret = FALSE; 1165s # if (a == NULL && b == NULL) 1165s # { 1165s # ret = TRUE; 1165s # goto out; 1165s # } 1165s # if (a == NULL || b == NULL) 1165s # goto out; 1165s # ret = g_variant_equal (a, b); 1165s # out: 1165s # return ret; 1165s # } 1165s # 1165s # G_GNUC_UNUSED static gboolean 1165s # _g_value_equal (const GValue *a, const GValue *b) 1165s # { 1165s # gboolean ret = FALSE; 1165s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1165s # switch (G_VALUE_TYPE (a)) 1165s # { 1165s # case G_TYPE_BOOLEAN: 1165s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1165s # break; 1165s # case G_TYPE_UCHAR: 1165s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1165s # break; 1165s # case G_TYPE_INT: 1165s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1165s # break; 1165s # case G_TYPE_UINT: 1165s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1165s # break; 1165s # case G_TYPE_INT64: 1165s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1165s # break; 1165s # case G_TYPE_UINT64: 1165s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1165s # break; 1165s # case G_TYPE_DOUBLE: 1165s # { 1165s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1165s # gdouble da = g_value_get_double (a); 1165s # gdouble db = g_value_get_double (b); 1165s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1165s # } 1165s # break; 1165s # case G_TYPE_STRING: 1165s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1165s # break; 1165s # case G_TYPE_VARIANT: 1165s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1165s # break; 1165s # default: 1165s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1165s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1165s # else 1165s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1165s # break; 1165s # } 1165s # return ret; 1165s # } 1165s # 1165s # /* ------------------------------------------------------------------------ 1165s # * Code for interface org.project.SignalingIface 1165s # * ------------------------------------------------------------------------ 1165s # */ 1165s # 1165s # /** 1165s # * SECTION:OrgProjectSignalingIface 1165s # * @title: OrgProjectSignalingIface 1165s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1165s # * 1165s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1165s # */ 1165s # 1165s # enum 1165s # { 1165s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1165s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY, 1165s # }; 1165s # 1165s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1165s # 1165s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1165s # 1165s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1165s # { 1165s # { 1165s # -1, 1165s # (gchar *) "SimpleSignal", 1165s # NULL, 1165s # NULL 1165s # }, 1165s # "simple-signal" 1165s # }; 1165s # 1165s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay = 1165s # { 1165s # { 1165s # -1, 1165s # (gchar *) "arg_aay", 1165s # (gchar *) "aay", 1165s # NULL 1165s # }, 1165s # FALSE 1165s # }; 1165s # 1165s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] = 1165s # { 1165s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay.parent_struct, 1165s # NULL 1165s # }; 1165s # 1165s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay = 1165s # { 1165s # { 1165s # -1, 1165s # (gchar *) "SingleArgSignalAay", 1165s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers, 1165s # NULL 1165s # }, 1165s # "single-arg-signal-aay" 1165s # }; 1165s # 1165s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1165s # { 1165s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1165s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct, 1165s # NULL 1165s # }; 1165s # 1165s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1165s # { 1165s # { 1165s # -1, 1165s # (gchar *) "org.project.SignalingIface", 1165s # NULL, 1165s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1165s # NULL, 1165s # NULL 1165s # }, 1165s # "org-project-signaling-iface", 1165s # }; 1165s # 1165s # 1165s # /** 1165s # * org_project_signaling_iface_interface_info: 1165s # * 1165s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1165s # * 1165s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1165s # */ 1165s # GDBusInterfaceInfo * 1165s # org_project_signaling_iface_interface_info (void) 1165s # { 1165s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_override_properties: 1165s # * @klass: The class structure for a #GObject derived class. 1165s # * @property_id_begin: The property id to assign to the first overridden property. 1165s # * 1165s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1165s # * The properties are overridden in the order they are defined. 1165s # * 1165s # * Returns: The last property id. 1165s # */ 1165s # guint 1165s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1165s # { 1165s # return property_id_begin - 1; 1165s # } 1165s # 1165s # 1165s # inline static void 1165s # org_project_signaling_iface_signal_marshal_simple_signal ( 1165s # GClosure *closure, 1165s # GValue *return_value, 1165s # unsigned int n_param_values, 1165s # const GValue *param_values, 1165s # void *invocation_hint, 1165s # void *marshal_data) 1165s # { 1165s # g_cclosure_marshal_VOID__VOID (closure, 1165s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1165s # } 1165s # 1165s # inline static void 1165s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay ( 1165s # GClosure *closure, 1165s # GValue *return_value, 1165s # unsigned int n_param_values, 1165s # const GValue *param_values, 1165s # void *invocation_hint, 1165s # void *marshal_data) 1165s # { 1165s # g_cclosure_marshal_VOID__BOXED (closure, 1165s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1165s # } 1165s # 1165s # 1165s # /** 1165s # * OrgProjectSignalingIface: 1165s # * 1165s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1165s # */ 1165s # 1165s # /** 1165s # * OrgProjectSignalingIfaceIface: 1165s # * @parent_iface: The parent interface. 1165s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1165s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal. 1165s # * 1165s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1165s # */ 1165s # 1165s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1165s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1165s # 1165s # static void 1165s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1165s # { 1165s # /* GObject signals for received D-Bus signals: */ 1165s # /** 1165s # * OrgProjectSignalingIface::simple-signal: 1165s # * @object: A #OrgProjectSignalingIface. 1165s # * 1165s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1165s # * 1165s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1165s # */ 1165s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1165s # g_signal_new ("simple-signal", 1165s # G_TYPE_FROM_INTERFACE (iface), 1165s # G_SIGNAL_RUN_LAST, 1165s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1165s # NULL, 1165s # NULL, 1165s # org_project_signaling_iface_signal_marshal_simple_signal, 1165s # G_TYPE_NONE, 1165s # 0); 1165s # 1165s # /** 1165s # * OrgProjectSignalingIface::single-arg-signal-aay: 1165s # * @object: A #OrgProjectSignalingIface. 1165s # * @arg_arg_aay: Argument. 1165s # * 1165s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAay" is received. 1165s # * 1165s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1165s # */ 1165s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] = 1165s # g_signal_new ("single-arg-signal-aay", 1165s # G_TYPE_FROM_INTERFACE (iface), 1165s # G_SIGNAL_RUN_LAST, 1165s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay), 1165s # NULL, 1165s # NULL, 1165s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay, 1165s # G_TYPE_NONE, 1165s # 1, G_TYPE_STRV); 1165s # 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_emit_simple_signal: 1165s # * @object: A #OrgProjectSignalingIface. 1165s # * 1165s # * Emits the "SimpleSignal" D-Bus signal. 1165s # */ 1165s # void 1165s # org_project_signaling_iface_emit_simple_signal ( 1165s # OrgProjectSignalingIface *object) 1165s # { 1165s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_emit_single_arg_signal_aay: 1165s # * @object: A #OrgProjectSignalingIface. 1165s # * @arg_arg_aay: Argument to pass with the signal. 1165s # * 1165s # * Emits the "SingleArgSignalAay" D-Bus signal. 1165s # */ 1165s # void 1165s # org_project_signaling_iface_emit_single_arg_signal_aay ( 1165s # OrgProjectSignalingIface *object, 1165s # const gchar *const *arg_arg_aay) 1165s # { 1165s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_arg_aay); 1165s # } 1165s # 1165s # /* ------------------------------------------------------------------------ */ 1165s # 1165s # /** 1165s # * OrgProjectSignalingIfaceProxy: 1165s # * 1165s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1165s # */ 1165s # 1165s # /** 1165s # * OrgProjectSignalingIfaceProxyClass: 1165s # * @parent_class: The parent class. 1165s # * 1165s # * Class structure for #OrgProjectSignalingIfaceProxy. 1165s # */ 1165s # 1165s # struct _OrgProjectSignalingIfaceProxyPrivate 1165s # { 1165s # GData *qdata; 1165s # }; 1165s # 1165s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1165s # 1165s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1165s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1165s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1165s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1165s # 1165s # #else 1165s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1165s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1165s # 1165s # #endif 1165s # static void 1165s # org_project_signaling_iface_proxy_finalize (GObject *object) 1165s # { 1165s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1165s # g_datalist_clear (&proxy->priv->qdata); 1165s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1165s # guint prop_id G_GNUC_UNUSED, 1165s # GValue *value G_GNUC_UNUSED, 1165s # GParamSpec *pspec G_GNUC_UNUSED) 1165s # { 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1165s # guint prop_id G_GNUC_UNUSED, 1165s # const GValue *value G_GNUC_UNUSED, 1165s # GParamSpec *pspec G_GNUC_UNUSED) 1165s # { 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1165s # const gchar *sender_name G_GNUC_UNUSED, 1165s # const gchar *signal_name, 1165s # GVariant *parameters) 1165s # { 1165s # _ExtendedGDBusSignalInfo *info; 1165s # GVariantIter iter; 1165s # GVariant *child; 1165s # GValue *paramv; 1165s # gsize num_params; 1165s # gsize n; 1165s # guint signal_id; 1165s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1165s # if (info == NULL) 1165s # return; 1165s # num_params = g_variant_n_children (parameters); 1165s # paramv = g_new0 (GValue, num_params + 1); 1165s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1165s # g_value_set_object (¶mv[0], proxy); 1165s # g_variant_iter_init (&iter, parameters); 1165s # n = 1; 1165s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1165s # { 1165s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1165s # if (arg_info->use_gvariant) 1165s # { 1165s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1165s # g_value_set_variant (¶mv[n], child); 1165s # n++; 1165s # } 1165s # else 1165s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1165s # g_variant_unref (child); 1165s # } 1165s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1165s # g_signal_emitv (paramv, signal_id, 0, NULL); 1165s # for (n = 0; n < num_params + 1; n++) 1165s # g_value_unset (¶mv[n]); 1165s # g_free (paramv); 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1165s # GVariant *changed_properties, 1165s # const gchar *const *invalidated_properties) 1165s # { 1165s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1165s # guint n; 1165s # const gchar *key; 1165s # GVariantIter *iter; 1165s # _ExtendedGDBusPropertyInfo *info; 1165s # g_variant_get (changed_properties, "a{sv}", &iter); 1165s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1165s # { 1165s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1165s # g_datalist_remove_data (&proxy->priv->qdata, key); 1165s # if (info != NULL) 1165s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1165s # } 1165s # g_variant_iter_free (iter); 1165s # for (n = 0; invalidated_properties[n] != NULL; n++) 1165s # { 1165s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1165s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1165s # if (info != NULL) 1165s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1165s # } 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1165s # { 1165s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1165s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1165s # #else 1165s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1165s # #endif 1165s # 1165s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1165s # { 1165s # GObjectClass *gobject_class; 1165s # GDBusProxyClass *proxy_class; 1165s # 1165s # gobject_class = G_OBJECT_CLASS (klass); 1165s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1165s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1165s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1165s # 1165s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1165s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1165s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1165s # 1165s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1165s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1165s # #endif 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1165s # { 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_proxy_new: 1165s # * @connection: A #GDBusConnection. 1165s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1165s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1165s # * @object_path: An object path. 1165s # * @cancellable: (nullable): A #GCancellable or %NULL. 1165s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1165s # * @user_data: User data to pass to @callback. 1165s # * 1165s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1165s # * 1165s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1165s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1165s # * 1165s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1165s # */ 1165s # void 1165s # org_project_signaling_iface_proxy_new ( 1165s # GDBusConnection *connection, 1165s # GDBusProxyFlags flags, 1165s # const gchar *name, 1165s # const gchar *object_path, 1165s # GCancellable *cancellable, 1165s # GAsyncReadyCallback callback, 1165s # gpointer user_data) 1165s # { 1165s # 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); 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_proxy_new_finish: 1165s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1165s # * @error: Return location for error or %NULL 1165s # * 1165s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1165s # * 1165s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1165s # */ 1165s # OrgProjectSignalingIface * 1165s # org_project_signaling_iface_proxy_new_finish ( 1165s # GAsyncResult *res, 1165s # GError **error) 1165s # { 1165s # GObject *ret; 1165s # GObject *source_object; 1165s # source_object = g_async_result_get_source_object (res); 1165s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1165s # g_object_unref (source_object); 1165s # if (ret != NULL) 1165s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1165s # else 1165s # return NULL; 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_proxy_new_sync: 1165s # * @connection: A #GDBusConnection. 1165s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1165s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1165s # * @object_path: An object path. 1165s # * @cancellable: (nullable): A #GCancellable or %NULL. 1165s # * @error: Return location for error or %NULL 1165s # * 1165s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1165s # * 1165s # * The calling thread is blocked until a reply is received. 1165s # * 1165s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1165s # * 1165s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1165s # */ 1165s # OrgProjectSignalingIface * 1165s # org_project_signaling_iface_proxy_new_sync ( 1165s # GDBusConnection *connection, 1165s # GDBusProxyFlags flags, 1165s # const gchar *name, 1165s # const gchar *object_path, 1165s # GCancellable *cancellable, 1165s # GError **error) 1165s # { 1165s # GInitable *ret; 1165s # 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); 1165s # if (ret != NULL) 1165s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1165s # else 1165s # return NULL; 1165s # } 1165s # 1165s # 1165s # /** 1165s # * org_project_signaling_iface_proxy_new_for_bus: 1165s # * @bus_type: A #GBusType. 1165s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1165s # * @name: A bus name (well-known or unique). 1165s # * @object_path: An object path. 1165s # * @cancellable: (nullable): A #GCancellable or %NULL. 1165s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1165s # * @user_data: User data to pass to @callback. 1165s # * 1165s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1165s # * 1165s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1165s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1165s # * 1165s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1165s # */ 1165s # void 1165s # org_project_signaling_iface_proxy_new_for_bus ( 1165s # GBusType bus_type, 1165s # GDBusProxyFlags flags, 1165s # const gchar *name, 1165s # const gchar *object_path, 1165s # GCancellable *cancellable, 1165s # GAsyncReadyCallback callback, 1165s # gpointer user_data) 1165s # { 1165s # 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); 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1165s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1165s # * @error: Return location for error or %NULL 1165s # * 1165s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1165s # * 1165s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1165s # */ 1165s # OrgProjectSignalingIface * 1165s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1165s # GAsyncResult *res, 1165s # GError **error) 1165s # { 1165s # GObject *ret; 1165s # GObject *source_object; 1165s # source_object = g_async_result_get_source_object (res); 1165s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1165s # g_object_unref (source_object); 1165s # if (ret != NULL) 1165s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1165s # else 1165s # return NULL; 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1165s # * @bus_type: A #GBusType. 1165s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1165s # * @name: A bus name (well-known or unique). 1165s # * @object_path: An object path. 1165s # * @cancellable: (nullable): A #GCancellable or %NULL. 1165s # * @error: Return location for error or %NULL 1165s # * 1165s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1165s # * 1165s # * The calling thread is blocked until a reply is received. 1165s # * 1165s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1165s # * 1165s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1165s # */ 1165s # OrgProjectSignalingIface * 1165s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1165s # GBusType bus_type, 1165s # GDBusProxyFlags flags, 1165s # const gchar *name, 1165s # const gchar *object_path, 1165s # GCancellable *cancellable, 1165s # GError **error) 1165s # { 1165s # GInitable *ret; 1165s # 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); 1165s # if (ret != NULL) 1165s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1165s # else 1165s # return NULL; 1165s # } 1165s # 1165s # 1165s # /* ------------------------------------------------------------------------ */ 1165s # 1165s # /** 1165s # * OrgProjectSignalingIfaceSkeleton: 1165s # * 1165s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1165s # */ 1165s # 1165s # /** 1165s # * OrgProjectSignalingIfaceSkeletonClass: 1165s # * @parent_class: The parent class. 1165s # * 1165s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1165s # */ 1165s # 1165s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1165s # { 1165s # GValue *properties; 1165s # GList *changed_properties; 1165s # GSource *changed_properties_idle_source; 1165s # GMainContext *context; 1165s # GMutex lock; 1165s # }; 1165s # 1165s # static void 1165s # _org_project_signaling_iface_skeleton_handle_method_call ( 1165s # GDBusConnection *connection G_GNUC_UNUSED, 1165s # const gchar *sender G_GNUC_UNUSED, 1165s # const gchar *object_path G_GNUC_UNUSED, 1165s # const gchar *interface_name, 1165s # const gchar *method_name, 1165s # GVariant *parameters, 1165s # GDBusMethodInvocation *invocation, 1165s # gpointer user_data) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1165s # _ExtendedGDBusMethodInfo *info; 1165s # GVariantIter iter; 1165s # GVariant *child; 1165s # GValue *paramv; 1165s # gsize num_params; 1165s # guint num_extra; 1165s # gsize n; 1165s # guint signal_id; 1165s # GValue return_value = G_VALUE_INIT; 1165s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1165s # g_assert (info != NULL); 1165s # num_params = g_variant_n_children (parameters); 1165s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1165s # n = 0; 1165s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1165s # g_value_set_object (¶mv[n++], skeleton); 1165s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1165s # g_value_set_object (¶mv[n++], invocation); 1165s # if (info->pass_fdlist) 1165s # { 1165s # #ifdef G_OS_UNIX 1165s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1165s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1165s # #else 1165s # g_assert_not_reached (); 1165s # #endif 1165s # } 1165s # g_variant_iter_init (&iter, parameters); 1165s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1165s # { 1165s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1165s # if (arg_info->use_gvariant) 1165s # { 1165s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1165s # g_value_set_variant (¶mv[n], child); 1165s # n++; 1165s # } 1165s # else 1165s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1165s # g_variant_unref (child); 1165s # } 1165s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1165s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1165s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1165s # if (!g_value_get_boolean (&return_value)) 1165s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1165s # g_value_unset (&return_value); 1165s # for (n = 0; n < num_params + num_extra; n++) 1165s # g_value_unset (¶mv[n]); 1165s # g_free (paramv); 1165s # } 1165s # 1165s # static GVariant * 1165s # _org_project_signaling_iface_skeleton_handle_get_property ( 1165s # GDBusConnection *connection G_GNUC_UNUSED, 1165s # const gchar *sender G_GNUC_UNUSED, 1165s # const gchar *object_path G_GNUC_UNUSED, 1165s # const gchar *interface_name G_GNUC_UNUSED, 1165s # const gchar *property_name, 1165s # GError **error, 1165s # gpointer user_data) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1165s # GValue value = G_VALUE_INIT; 1165s # GParamSpec *pspec; 1165s # _ExtendedGDBusPropertyInfo *info; 1165s # GVariant *ret; 1165s # ret = NULL; 1165s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1165s # g_assert (info != NULL); 1165s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1165s # if (pspec == NULL) 1165s # { 1165s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1165s # } 1165s # else 1165s # { 1165s # g_value_init (&value, pspec->value_type); 1165s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1165s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1165s # g_value_unset (&value); 1165s # } 1165s # return ret; 1165s # } 1165s # 1165s # static gboolean 1165s # _org_project_signaling_iface_skeleton_handle_set_property ( 1165s # GDBusConnection *connection G_GNUC_UNUSED, 1165s # const gchar *sender G_GNUC_UNUSED, 1165s # const gchar *object_path G_GNUC_UNUSED, 1165s # const gchar *interface_name G_GNUC_UNUSED, 1165s # const gchar *property_name, 1165s # GVariant *variant, 1165s # GError **error, 1165s # gpointer user_data) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1165s # GValue value = G_VALUE_INIT; 1165s # GParamSpec *pspec; 1165s # _ExtendedGDBusPropertyInfo *info; 1165s # gboolean ret; 1165s # ret = FALSE; 1165s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1165s # g_assert (info != NULL); 1165s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1165s # if (pspec == NULL) 1165s # { 1165s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1165s # } 1165s # else 1165s # { 1165s # if (info->use_gvariant) 1165s # g_value_set_variant (&value, variant); 1165s # else 1165s # g_dbus_gvariant_to_gvalue (variant, &value); 1165s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1165s # g_value_unset (&value); 1165s # ret = TRUE; 1165s # } 1165s # return ret; 1165s # } 1165s # 1165s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1165s # { 1165s # _org_project_signaling_iface_skeleton_handle_method_call, 1165s # _org_project_signaling_iface_skeleton_handle_get_property, 1165s # _org_project_signaling_iface_skeleton_handle_set_property, 1165s # {NULL} 1165s # }; 1165s # 1165s # static GDBusInterfaceInfo * 1165s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1165s # { 1165s # return org_project_signaling_iface_interface_info (); 1165s # } 1165s # 1165s # static GDBusInterfaceVTable * 1165s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1165s # { 1165s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1165s # } 1165s # 1165s # static GVariant * 1165s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1165s # 1165s # GVariantBuilder builder; 1165s # guint n; 1165s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1165s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1165s # goto out; 1165s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1165s # { 1165s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1165s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1165s # { 1165s # GVariant *value; 1165s # 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); 1165s # if (value != NULL) 1165s # { 1165s # g_variant_take_ref (value); 1165s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1165s # g_variant_unref (value); 1165s # } 1165s # } 1165s # } 1165s # out: 1165s # return g_variant_builder_end (&builder); 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1165s # { 1165s # } 1165s # 1165s # static void 1165s # _org_project_signaling_iface_on_signal_simple_signal ( 1165s # OrgProjectSignalingIface *object) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1165s # 1165s # GList *connections, *l; 1165s # GVariant *signal_variant; 1165s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1165s # 1165s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1165s # for (l = connections; l != NULL; l = l->next) 1165s # { 1165s # GDBusConnection *connection = l->data; 1165s # g_dbus_connection_emit_signal (connection, 1165s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1165s # signal_variant, NULL); 1165s # } 1165s # g_variant_unref (signal_variant); 1165s # g_list_free_full (connections, g_object_unref); 1165s # } 1165s # 1165s # static void 1165s # _org_project_signaling_iface_on_signal_single_arg_signal_aay ( 1165s # OrgProjectSignalingIface *object, 1165s # const gchar *const *arg_arg_aay) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1165s # 1165s # GList *connections, *l; 1165s # GVariant *signal_variant; 1165s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1165s # 1165s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)", 1165s # arg_arg_aay)); 1165s # for (l = connections; l != NULL; l = l->next) 1165s # { 1165s # GDBusConnection *connection = l->data; 1165s # g_dbus_connection_emit_signal (connection, 1165s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAay", 1165s # signal_variant, NULL); 1165s # } 1165s # g_variant_unref (signal_variant); 1165s # g_list_free_full (connections, g_object_unref); 1165s # } 1165s # 1165s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1165s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1165s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1165s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1165s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1165s # 1165s # #else 1165s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1165s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1165s # 1165s # #endif 1165s # static void 1165s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1165s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1165s # if (skeleton->priv->changed_properties_idle_source != NULL) 1165s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1165s # g_main_context_unref (skeleton->priv->context); 1165s # g_mutex_clear (&skeleton->priv->lock); 1165s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1165s # { 1165s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1165s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1165s # #else 1165s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1165s # #endif 1165s # 1165s # g_mutex_init (&skeleton->priv->lock); 1165s # skeleton->priv->context = g_main_context_ref_thread_default (); 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1165s # { 1165s # GObjectClass *gobject_class; 1165s # GDBusInterfaceSkeletonClass *skeleton_class; 1165s # 1165s # gobject_class = G_OBJECT_CLASS (klass); 1165s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1165s # 1165s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1165s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1165s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1165s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1165s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1165s # 1165s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1165s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1165s # #endif 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1165s # { 1165s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1165s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay; 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_skeleton_new: 1165s # * 1165s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1165s # * 1165s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1165s # */ 1165s # OrgProjectSignalingIface * 1165s # org_project_signaling_iface_skeleton_new (void) 1165s # { 1165s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1165s # } 1165s # /tmp/tmplam8bnnq/tmplhte5pjo.xml: 1165s # 1165s # 1165s # 1165s # 1165s # 1165s # 1165s # 1165s # 1165s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmplam8bnnq/tmplhte5pjo.xml', '--output', '-', '--body'] 1165s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1165s # Output: /* 1165s # * This file is generated by gdbus-codegen, do not modify it. 1165s # * 1165s # * The license of this code is the same as for the D-Bus interface description 1165s # * it was derived from. Note that it links to GLib, so must comply with the 1165s # * LGPL linking clauses. 1165s # */ 1165s # 1165s # #ifdef HAVE_CONFIG_H 1165s # # include "config.h" 1165s # #endif 1165s # 1165s # #include 1165s # #ifdef G_OS_UNIX 1165s # # include 1165s # #endif 1165s # 1165s # #ifdef G_ENABLE_DEBUG 1165s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1165s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1165s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1165s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1165s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1165s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1165s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1165s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1165s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1165s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1165s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1165s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1165s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1165s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1165s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1165s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1165s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1165s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1165s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1165s # #else /* !G_ENABLE_DEBUG */ 1165s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1165s # * Do not access GValues directly in your code. Instead, use the 1165s # * g_value_get_*() functions 1165s # */ 1165s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1165s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1165s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1165s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1165s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1165s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1165s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1165s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1165s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1165s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1165s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1165s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1165s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1165s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1165s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1165s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1165s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1165s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1165s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1165s # #endif /* !G_ENABLE_DEBUG */ 1165s # 1165s # typedef struct 1165s # { 1165s # GDBusArgInfo parent_struct; 1165s # gboolean use_gvariant; 1165s # } _ExtendedGDBusArgInfo; 1165s # 1165s # typedef struct 1165s # { 1165s # GDBusMethodInfo parent_struct; 1165s # const gchar *signal_name; 1165s # gboolean pass_fdlist; 1165s # } _ExtendedGDBusMethodInfo; 1165s # 1165s # typedef struct 1165s # { 1165s # GDBusSignalInfo parent_struct; 1165s # const gchar *signal_name; 1165s # } _ExtendedGDBusSignalInfo; 1165s # 1165s # typedef struct 1165s # { 1165s # GDBusPropertyInfo parent_struct; 1165s # const gchar *hyphen_name; 1165s # guint use_gvariant : 1; 1165s # guint emits_changed_signal : 1; 1165s # } _ExtendedGDBusPropertyInfo; 1165s # 1165s # typedef struct 1165s # { 1165s # GDBusInterfaceInfo parent_struct; 1165s # const gchar *hyphen_name; 1165s # } _ExtendedGDBusInterfaceInfo; 1165s # 1165s # typedef struct 1165s # { 1165s # const _ExtendedGDBusPropertyInfo *info; 1165s # guint prop_id; 1165s # GValue orig_value; /* the value before the change */ 1165s # } ChangedProperty; 1165s # 1165s # static void 1165s # _changed_property_free (ChangedProperty *data) 1165s # { 1165s # g_value_unset (&data->orig_value); 1165s # g_free (data); 1165s # } 1165s # 1165s # static gboolean 1165s # _g_strv_equal0 (gchar **a, gchar **b) 1165s # { 1165s # gboolean ret = FALSE; 1165s # guint n; 1165s # if (a == NULL && b == NULL) 1165s # { 1165s # ret = TRUE; 1165s # goto out; 1165s # } 1165s # if (a == NULL || b == NULL) 1165s # goto out; 1165s # if (g_strv_length (a) != g_strv_length (b)) 1165s # goto out; 1165s # for (n = 0; a[n] != NULL; n++) 1165s # if (g_strcmp0 (a[n], b[n]) != 0) 1165s # goto out; 1165s # ret = TRUE; 1165s # out: 1165s # return ret; 1165s # } 1165s # 1165s # static gboolean 1165s # _g_variant_equal0 (GVariant *a, GVariant *b) 1165s # { 1165s # gboolean ret = FALSE; 1165s # if (a == NULL && b == NULL) 1165s # { 1165s # ret = TRUE; 1165s # goto out; 1165s # } 1165s # if (a == NULL || b == NULL) 1165s # goto out; 1165s # ret = g_variant_equal (a, b); 1165s # out: 1165s # return ret; 1165s # } 1165s # 1165s # G_GNUC_UNUSED static gboolean 1165s # _g_value_equal (const GValue *a, const GValue *b) 1165s # { 1165s # gboolean ret = FALSE; 1165s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1165s # switch (G_VALUE_TYPE (a)) 1165s # { 1165s # case G_TYPE_BOOLEAN: 1165s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1165s # break; 1165s # case G_TYPE_UCHAR: 1165s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1165s # break; 1165s # case G_TYPE_INT: 1165s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1165s # break; 1165s # case G_TYPE_UINT: 1165s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1165s # break; 1165s # case G_TYPE_INT64: 1165s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1165s # break; 1165s # case G_TYPE_UINT64: 1165s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1165s # break; 1165s # case G_TYPE_DOUBLE: 1165s # { 1165s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1165s # gdouble da = g_value_get_double (a); 1165s # gdouble db = g_value_get_double (b); 1165s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1165s # } 1165s # break; 1165s # case G_TYPE_STRING: 1165s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1165s # break; 1165s # case G_TYPE_VARIANT: 1165s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1165s # break; 1165s # default: 1165s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1165s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1165s # else 1165s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1165s # break; 1165s # } 1165s # return ret; 1165s # } 1165s # 1165s # /* ------------------------------------------------------------------------ 1165s # * Code for interface org.project.SignalingIface 1165s # * ------------------------------------------------------------------------ 1165s # */ 1165s # 1165s # /** 1165s # * SECTION:OrgProjectSignalingIface 1165s # * @title: OrgProjectSignalingIface 1165s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1165s # * 1165s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1165s # */ 1165s # 1165s # enum 1165s # { 1165s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1165s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV, 1165s # }; 1165s # 1165s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1165s # 1165s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1165s # 1165s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1165s # { 1165s # { 1165s # -1, 1165s # (gchar *) "SimpleSignal", 1165s # NULL, 1165s # NULL 1165s # }, 1165s # "simple-signal" 1165s # }; 1165s # 1165s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv = 1165s # { 1165s # { 1165s # -1, 1165s # (gchar *) "arg_asv", 1165s # (gchar *) "a{sv}", 1165s # NULL 1165s # }, 1165s # FALSE 1165s # }; 1165s # 1165s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] = 1165s # { 1165s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv.parent_struct, 1165s # NULL 1165s # }; 1165s # 1165s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv = 1165s # { 1165s # { 1165s # -1, 1165s # (gchar *) "SingleArgSignalAsv", 1165s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers, 1165s # NULL 1165s # }, 1165s # "single-arg-signal-asv" 1165s # }; 1165s # 1165s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1165s # { 1165s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1165s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct, 1165s # NULL 1165s # }; 1165s # 1165s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1165s # { 1165s # { 1165s # -1, 1165s # (gchar *) "org.project.SignalingIface", 1165s # NULL, 1165s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1165s # NULL, 1165s # NULL 1165s # }, 1165s # "org-project-signaling-iface", 1165s # }; 1165s # 1165s # 1165s # /** 1165s # * org_project_signaling_iface_interface_info: 1165s # * 1165s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1165s # * 1165s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1165s # */ 1165s # GDBusInterfaceInfo * 1165s # org_project_signaling_iface_interface_info (void) 1165s # { 1165s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_override_properties: 1165s # * @klass: The class structure for a #GObject derived class. 1165s # * @property_id_begin: The property id to assign to the first overridden property. 1165s # * 1165s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1165s # * The properties are overridden in the order they are defined. 1165s # * 1165s # * Returns: The last property id. 1165s # */ 1165s # guint 1165s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1165s # { 1165s # return property_id_begin - 1; 1165s # } 1165s # 1165s # 1165s # inline static void 1165s # org_project_signaling_iface_signal_marshal_simple_signal ( 1165s # GClosure *closure, 1165s # GValue *return_value, 1165s # unsigned int n_param_values, 1165s # const GValue *param_values, 1165s # void *invocation_hint, 1165s # void *marshal_data) 1165s # { 1165s # g_cclosure_marshal_VOID__VOID (closure, 1165s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1165s # } 1165s # 1165s # inline static void 1165s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv ( 1165s # GClosure *closure, 1165s # GValue *return_value, 1165s # unsigned int n_param_values, 1165s # const GValue *param_values, 1165s # void *invocation_hint, 1165s # void *marshal_data) 1165s # { 1165s # g_cclosure_marshal_VOID__VARIANT (closure, 1165s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1165s # } 1165s # 1165s # 1165s # /** 1165s # * OrgProjectSignalingIface: 1165s # * 1165s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1165s # */ 1165s # 1165s # /** 1165s # * OrgProjectSignalingIfaceIface: 1165s # * @parent_iface: The parent interface. 1165s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1165s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal. 1165s # * 1165s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1165s # */ 1165s # 1165s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1165s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1165s # 1165s # static void 1165s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1165s # { 1165s # /* GObject signals for received D-Bus signals: */ 1165s # /** 1165s # * OrgProjectSignalingIface::simple-signal: 1165s # * @object: A #OrgProjectSignalingIface. 1165s # * 1165s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1165s # * 1165s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1165s # */ 1165s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1165s # g_signal_new ("simple-signal", 1165s # G_TYPE_FROM_INTERFACE (iface), 1165s # G_SIGNAL_RUN_LAST, 1165s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1165s # NULL, 1165s # NULL, 1165s # org_project_signaling_iface_signal_marshal_simple_signal, 1165s # G_TYPE_NONE, 1165s # 0); 1165s # 1165s # /** 1165s # * OrgProjectSignalingIface::single-arg-signal-asv: 1165s # * @object: A #OrgProjectSignalingIface. 1165s # * @arg_arg_asv: Argument. 1165s # * 1165s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAsv" is received. 1165s # * 1165s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1165s # */ 1165s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] = 1165s # g_signal_new ("single-arg-signal-asv", 1165s # G_TYPE_FROM_INTERFACE (iface), 1165s # G_SIGNAL_RUN_LAST, 1165s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv), 1165s # NULL, 1165s # NULL, 1165s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv, 1165s # G_TYPE_NONE, 1165s # 1, G_TYPE_VARIANT); 1165s # 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_emit_simple_signal: 1165s # * @object: A #OrgProjectSignalingIface. 1165s # * 1165s # * Emits the "SimpleSignal" D-Bus signal. 1165s # */ 1165s # void 1165s # org_project_signaling_iface_emit_simple_signal ( 1165s # OrgProjectSignalingIface *object) 1165s # { 1165s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_emit_single_arg_signal_asv: 1165s # * @object: A #OrgProjectSignalingIface. 1165s # * @arg_arg_asv: Argument to pass with the signal. 1165s # * 1165s # * Emits the "SingleArgSignalAsv" D-Bus signal. 1165s # */ 1165s # void 1165s # org_project_signaling_iface_emit_single_arg_signal_asv ( 1165s # OrgProjectSignalingIface *object, 1165s # GVariant *arg_arg_asv) 1165s # { 1165s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_arg_asv); 1165s # } 1165s # 1165s # /* ------------------------------------------------------------------------ */ 1165s # 1165s # /** 1165s # * OrgProjectSignalingIfaceProxy: 1165s # * 1165s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1165s # */ 1165s # 1165s # /** 1165s # * OrgProjectSignalingIfaceProxyClass: 1165s # * @parent_class: The parent class. 1165s # * 1165s # * Class structure for #OrgProjectSignalingIfaceProxy. 1165s # */ 1165s # 1165s # struct _OrgProjectSignalingIfaceProxyPrivate 1165s # { 1165s # GData *qdata; 1165s # }; 1165s # 1165s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1165s # 1165s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1165s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1165s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1165s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1165s # 1165s # #else 1165s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1165s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1165s # 1165s # #endif 1165s # static void 1165s # org_project_signaling_iface_proxy_finalize (GObject *object) 1165s # { 1165s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1165s # g_datalist_clear (&proxy->priv->qdata); 1165s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1165s # guint prop_id G_GNUC_UNUSED, 1165s # GValue *value G_GNUC_UNUSED, 1165s # GParamSpec *pspec G_GNUC_UNUSED) 1165s # { 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1165s # guint prop_id G_GNUC_UNUSED, 1165s # const GValue *value G_GNUC_UNUSED, 1165s # GParamSpec *pspec G_GNUC_UNUSED) 1165s # { 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1165s # const gchar *sender_name G_GNUC_UNUSED, 1165s # const gchar *signal_name, 1165s # GVariant *parameters) 1165s # { 1165s # _ExtendedGDBusSignalInfo *info; 1165s # GVariantIter iter; 1165s # GVariant *child; 1165s # GValue *paramv; 1165s # gsize num_params; 1165s # gsize n; 1165s # guint signal_id; 1165s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1165s # if (info == NULL) 1165s # return; 1165s # num_params = g_variant_n_children (parameters); 1165s # paramv = g_new0 (GValue, num_params + 1); 1165s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1165s # g_value_set_object (¶mv[0], proxy); 1165s # g_variant_iter_init (&iter, parameters); 1165s # n = 1; 1165s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1165s # { 1165s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1165s # if (arg_info->use_gvariant) 1165s # { 1165s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1165s # g_value_set_variant (¶mv[n], child); 1165s # n++; 1165s # } 1165s # else 1165s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1165s # g_variant_unref (child); 1165s # } 1165s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1165s # g_signal_emitv (paramv, signal_id, 0, NULL); 1165s # for (n = 0; n < num_params + 1; n++) 1165s # g_value_unset (¶mv[n]); 1165s # g_free (paramv); 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1165s # GVariant *changed_properties, 1165s # const gchar *const *invalidated_properties) 1165s # { 1165s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1165s # guint n; 1165s # const gchar *key; 1165s # GVariantIter *iter; 1165s # _ExtendedGDBusPropertyInfo *info; 1165s # g_variant_get (changed_properties, "a{sv}", &iter); 1165s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1165s # { 1165s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1165s # g_datalist_remove_data (&proxy->priv->qdata, key); 1165s # if (info != NULL) 1165s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1165s # } 1165s # g_variant_iter_free (iter); 1165s # for (n = 0; invalidated_properties[n] != NULL; n++) 1165s # { 1165s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1165s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1165s # if (info != NULL) 1165s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1165s # } 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1165s # { 1165s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1165s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1165s # #else 1165s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1165s # #endif 1165s # 1165s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1165s # { 1165s # GObjectClass *gobject_class; 1165s # GDBusProxyClass *proxy_class; 1165s # 1165s # gobject_class = G_OBJECT_CLASS (klass); 1165s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1165s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1165s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1165s # 1165s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1165s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1165s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1165s # 1165s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1165s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1165s # #endif 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1165s # { 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_proxy_new: 1165s # * @connection: A #GDBusConnection. 1165s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1165s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1165s # * @object_path: An object path. 1165s # * @cancellable: (nullable): A #GCancellable or %NULL. 1165s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1165s # * @user_data: User data to pass to @callback. 1165s # * 1165s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1165s # * 1165s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1165s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1165s # * 1165s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1165s # */ 1165s # void 1165s # org_project_signaling_iface_proxy_new ( 1165s # GDBusConnection *connection, 1165s # GDBusProxyFlags flags, 1165s # const gchar *name, 1165s # const gchar *object_path, 1165s # GCancellable *cancellable, 1165s # GAsyncReadyCallback callback, 1165s # gpointer user_data) 1165s # { 1165s # 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); 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_proxy_new_finish: 1165s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1165s # * @error: Return location for error or %NULL 1165s # * 1165s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1165s # * 1165s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1165s # */ 1165s # OrgProjectSignalingIface * 1165s # org_project_signaling_iface_proxy_new_finish ( 1165s # GAsyncResult *res, 1165s # GError **error) 1165s # { 1165s # GObject *ret; 1165s # GObject *source_object; 1165s # source_object = g_async_result_get_source_object (res); 1165s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1165s # g_object_unref (source_object); 1165s # if (ret != NULL) 1165s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1165s # else 1165s # return NULL; 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_proxy_new_sync: 1165s # * @connection: A #GDBusConnection. 1165s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1165s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1165s # * @object_path: An object path. 1165s # * @cancellable: (nullable): A #GCancellable or %NULL. 1165s # * @error: Return location for error or %NULL 1165s # * 1165s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1165s # * 1165s # * The calling thread is blocked until a reply is received. 1165s # * 1165s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1165s # * 1165s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1165s # */ 1165s # OrgProjectSignalingIface * 1165s # org_project_signaling_iface_proxy_new_sync ( 1165s # GDBusConnection *connection, 1165s # GDBusProxyFlags flags, 1165s # const gchar *name, 1165s # const gchar *object_path, 1165s # GCancellable *cancellable, 1165s # GError **error) 1165s # { 1165s # GInitable *ret; 1165s # 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); 1165s # if (ret != NULL) 1165s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1165s # else 1165s # return NULL; 1165s # } 1165s # 1165s # 1165s # /** 1165s # * org_project_signaling_iface_proxy_new_for_bus: 1165s # * @bus_type: A #GBusType. 1165s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1165s # * @name: A bus name (well-known or unique). 1165s # * @object_path: An object path. 1165s # * @cancellable: (nullable): A #GCancellable or %NULL. 1165s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1165s # * @user_data: User data to pass to @callback. 1165s # * 1165s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1165s # * 1165s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1165s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1165s # * 1165s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1165s # */ 1165s # void 1165s # org_project_signaling_iface_proxy_new_for_bus ( 1165s # GBusType bus_type, 1165s # GDBusProxyFlags flags, 1165s # const gchar *name, 1165s # const gchar *object_path, 1165s # GCancellable *cancellable, 1165s # GAsyncReadyCallback callback, 1165s # gpointer user_data) 1165s # { 1165s # 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); 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1165s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1165s # * @error: Return location for error or %NULL 1165s # * 1165s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1165s # * 1165s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1165s # */ 1165s # OrgProjectSignalingIface * 1165s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1165s # GAsyncResult *res, 1165s # GError **error) 1165s # { 1165s # GObject *ret; 1165s # GObject *source_object; 1165s # source_object = g_async_result_get_source_object (res); 1165s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1165s # g_object_unref (source_object); 1165s # if (ret != NULL) 1165s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1165s # else 1165s # return NULL; 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1165s # * @bus_type: A #GBusType. 1165s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1165s # * @name: A bus name (well-known or unique). 1165s # * @object_path: An object path. 1165s # * @cancellable: (nullable): A #GCancellable or %NULL. 1165s # * @error: Return location for error or %NULL 1165s # * 1165s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1165s # * 1165s # * The calling thread is blocked until a reply is received. 1165s # * 1165s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1165s # * 1165s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1165s # */ 1165s # OrgProjectSignalingIface * 1165s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1165s # GBusType bus_type, 1165s # GDBusProxyFlags flags, 1165s # const gchar *name, 1165s # const gchar *object_path, 1165s # GCancellable *cancellable, 1165s # GError **error) 1165s # { 1165s # GInitable *ret; 1165s # 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); 1165s # if (ret != NULL) 1165s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1165s # else 1165s # return NULL; 1165s # } 1165s # 1165s # 1165s # /* ------------------------------------------------------------------------ */ 1165s # 1165s # /** 1165s # * OrgProjectSignalingIfaceSkeleton: 1165s # * 1165s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1165s # */ 1165s # 1165s # /** 1165s # * OrgProjectSignalingIfaceSkeletonClass: 1165s # * @parent_class: The parent class. 1165s # * 1165s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1165s # */ 1165s # 1165s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1165s # { 1165s # GValue *properties; 1165s # GList *changed_properties; 1165s # GSource *changed_properties_idle_source; 1165s # GMainContext *context; 1165s # GMutex lock; 1165s # }; 1165s # 1165s # static void 1165s # _org_project_signaling_iface_skeleton_handle_method_call ( 1165s # GDBusConnection *connection G_GNUC_UNUSED, 1165s # const gchar *sender G_GNUC_UNUSED, 1165s # const gchar *object_path G_GNUC_UNUSED, 1165s # const gchar *interface_name, 1165s # const gchar *method_name, 1165s # GVariant *parameters, 1165s # GDBusMethodInvocation *invocation, 1165s # gpointer user_data) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1165s # _ExtendedGDBusMethodInfo *info; 1165s # GVariantIter iter; 1165s # GVariant *child; 1165s # GValue *paramv; 1165s # gsize num_params; 1165s # guint num_extra; 1165s # gsize n; 1165s # guint signal_id; 1165s # GValue return_value = G_VALUE_INIT; 1165s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1165s # g_assert (info != NULL); 1165s # num_params = g_variant_n_children (parameters); 1165s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1165s # n = 0; 1165s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1165s # g_value_set_object (¶mv[n++], skeleton); 1165s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1165s # g_value_set_object (¶mv[n++], invocation); 1165s # if (info->pass_fdlist) 1165s # { 1165s # #ifdef G_OS_UNIX 1165s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1165s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1165s # #else 1165s # g_assert_not_reached (); 1165s # #endif 1165s # } 1165s # g_variant_iter_init (&iter, parameters); 1165s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1165s # { 1165s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1165s # if (arg_info->use_gvariant) 1165s # { 1165s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1165s # g_value_set_variant (¶mv[n], child); 1165s # n++; 1165s # } 1165s # else 1165s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1165s # g_variant_unref (child); 1165s # } 1165s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1165s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1165s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1165s # if (!g_value_get_boolean (&return_value)) 1165s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1165s # g_value_unset (&return_value); 1165s # for (n = 0; n < num_params + num_extra; n++) 1165s # g_value_unset (¶mv[n]); 1165s # g_free (paramv); 1165s # } 1165s # 1165s # static GVariant * 1165s # _org_project_signaling_iface_skeleton_handle_get_property ( 1165s # GDBusConnection *connection G_GNUC_UNUSED, 1165s # const gchar *sender G_GNUC_UNUSED, 1165s # const gchar *object_path G_GNUC_UNUSED, 1165s # const gchar *interface_name G_GNUC_UNUSED, 1165s # const gchar *property_name, 1165s # GError **error, 1165s # gpointer user_data) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1165s # GValue value = G_VALUE_INIT; 1165s # GParamSpec *pspec; 1165s # _ExtendedGDBusPropertyInfo *info; 1165s # GVariant *ret; 1165s # ret = NULL; 1165s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1165s # g_assert (info != NULL); 1165s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1165s # if (pspec == NULL) 1165s # { 1165s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1165s # } 1165s # else 1165s # { 1165s # g_value_init (&value, pspec->value_type); 1165s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1165s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1165s # g_value_unset (&value); 1165s # } 1165s # return ret; 1165s # } 1165s # 1165s # static gboolean 1165s # _org_project_signaling_iface_skeleton_handle_set_property ( 1165s # GDBusConnection *connection G_GNUC_UNUSED, 1165s # const gchar *sender G_GNUC_UNUSED, 1165s # const gchar *object_path G_GNUC_UNUSED, 1165s # const gchar *interface_name G_GNUC_UNUSED, 1165s # const gchar *property_name, 1165s # GVariant *variant, 1165s # GError **error, 1165s # gpointer user_data) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1165s # GValue value = G_VALUE_INIT; 1165s # GParamSpec *pspec; 1165s # _ExtendedGDBusPropertyInfo *info; 1165s # gboolean ret; 1165s # ret = FALSE; 1165s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1165s # g_assert (info != NULL); 1165s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1165s # if (pspec == NULL) 1165s # { 1165s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1165s # } 1165s # else 1165s # { 1165s # if (info->use_gvariant) 1165s # g_value_set_variant (&value, variant); 1165s # else 1165s # g_dbus_gvariant_to_gvalue (variant, &value); 1165s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1165s # g_value_unset (&value); 1165s # ret = TRUE; 1165s # } 1165s # return ret; 1165s # } 1165s # 1165s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1165s # { 1165s # _org_project_signaling_iface_skeleton_handle_method_call, 1165s # _org_project_signaling_iface_skeleton_handle_get_property, 1165s # _org_project_signaling_iface_skeleton_handle_set_property, 1165s # {NULL} 1165s # }; 1165s # 1165s # static GDBusInterfaceInfo * 1165s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1165s # { 1165s # return org_project_signaling_iface_interface_info (); 1165s # } 1165s # 1165s # static GDBusInterfaceVTable * 1165s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1165s # { 1165s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1165s # } 1165s # 1165s # static GVariant * 1165s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1165s # 1165s # GVariantBuilder builder; 1165s # guint n; 1165s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1165s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1165s # goto out; 1165s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1165s # { 1165s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1165s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1165s # { 1165s # GVariant *value; 1165s # 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); 1165s # if (value != NULL) 1165s # { 1165s # g_variant_take_ref (value); 1165s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1165s # g_variant_unref (value); 1165s # } 1165s # } 1165s # } 1165s # out: 1165s # return g_variant_builder_end (&builder); 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1165s # { 1165s # } 1165s # 1165s # static void 1165s # _org_project_signaling_iface_on_signal_simple_signal ( 1165s # OrgProjectSignalingIface *object) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1165s # 1165s # GList *connections, *l; 1165s # GVariant *signal_variant; 1165s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1165s # 1165s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1165s # for (l = connections; l != NULL; l = l->next) 1165s # { 1165s # GDBusConnection *connection = l->data; 1165s # g_dbus_connection_emit_signal (connection, 1165s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1165s # signal_variant, NULL); 1165s # } 1165s # g_variant_unref (signal_variant); 1165s # g_list_free_full (connections, g_object_unref); 1165s # } 1165s # 1165s # static void 1165s # _org_project_signaling_iface_on_signal_single_arg_signal_asv ( 1165s # OrgProjectSignalingIface *object, 1165s # GVariant *arg_arg_asv) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1165s # 1165s # GList *connections, *l; 1165s # GVariant *signal_variant; 1165s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1165s # 1165s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})", 1165s # arg_arg_asv)); 1165s # for (l = connections; l != NULL; l = l->next) 1165s # { 1165s # GDBusConnection *connection = l->data; 1165s # g_dbus_connection_emit_signal (connection, 1165s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAsv", 1165s # signal_variant, NULL); 1165s # } 1165s # g_variant_unref (signal_variant); 1165s # g_list_free_full (connections, g_object_unref); 1165s # } 1165s # 1165s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1165s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1165s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1165s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1165s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1165s # 1165s # #else 1165s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1165s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1165s # 1165s # #endif 1165s # static void 1165s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1165s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1165s # if (skeleton->priv->changed_properties_idle_source != NULL) 1165s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1165s # g_main_context_unref (skeleton->priv->context); 1165s # g_mutex_clear (&skeleton->priv->lock); 1165s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1165s # { 1165s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1165s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1165s # #else 1165s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1165s # #endif 1165s # 1165s # g_mutex_init (&skeleton->priv->lock); 1165s # skeleton->priv->context = g_main_context_ref_thread_default (); 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1165s # { 1165s # GObjectClass *gobject_class; 1165s # GDBusInterfaceSkeletonClass *skeleton_class; 1165s # 1165s # gobject_class = G_OBJECT_CLASS (klass); 1165s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1165s # 1165s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1165s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1165s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1165s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1165s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1165s # 1165s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1165s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1165s # #endif 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1165s # { 1165s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1165s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv; 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_skeleton_new: 1165s # * 1165s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1165s # * 1165s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1165s # */ 1165s # OrgProjectSignalingIface * 1165s # org_project_signaling_iface_skeleton_new (void) 1165s # { 1165s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1165s # } 1165s ok 24 __main__.TestCodegen.test_generate_signals_marshallers_multiple_args 1165s # tmpdir: /tmp/tmpqt0vt7oe 1165s # codegen: /usr/bin/gdbus-codegen 1165s # /tmp/tmpqt0vt7oe/tmp53t5cil5.xml: 1165s # 1165s # 1165s # 1165s # 1165s # 1165s # 1165s # 1165s # 1165s # 1165s # 1165s # 1165s # 1165s # 1165s # 1165s # 1165s # 1165s # 1165s # 1165s # 1165s # 1165s # 1165s # 1165s # 1165s # 1165s # 1165s # 1165s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqt0vt7oe/tmp53t5cil5.xml', '--output', '-', '--body'] 1165s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1165s # Output: /* 1165s # * This file is generated by gdbus-codegen, do not modify it. 1165s # * 1165s # * The license of this code is the same as for the D-Bus interface description 1165s # * it was derived from. Note that it links to GLib, so must comply with the 1165s # * LGPL linking clauses. 1165s # */ 1165s # 1165s # #ifdef HAVE_CONFIG_H 1165s # # include "config.h" 1165s # #endif 1165s # 1165s # #include 1165s # #ifdef G_OS_UNIX 1165s # # include 1165s # #endif 1165s # 1165s # #ifdef G_ENABLE_DEBUG 1165s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1165s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1165s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1165s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1165s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1165s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1165s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1165s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1165s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1165s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1165s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1165s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1165s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1165s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1165s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1165s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1165s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1165s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1165s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1165s # #else /* !G_ENABLE_DEBUG */ 1165s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1165s # * Do not access GValues directly in your code. Instead, use the 1165s # * g_value_get_*() functions 1165s # */ 1165s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1165s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1165s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1165s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1165s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1165s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1165s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1165s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1165s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1165s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1165s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1165s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1165s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1165s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1165s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1165s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1165s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1165s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1165s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1165s # #endif /* !G_ENABLE_DEBUG */ 1165s # 1165s # typedef struct 1165s # { 1165s # GDBusArgInfo parent_struct; 1165s # gboolean use_gvariant; 1165s # } _ExtendedGDBusArgInfo; 1165s # 1165s # typedef struct 1165s # { 1165s # GDBusMethodInfo parent_struct; 1165s # const gchar *signal_name; 1165s # gboolean pass_fdlist; 1165s # } _ExtendedGDBusMethodInfo; 1165s # 1165s # typedef struct 1165s # { 1165s # GDBusSignalInfo parent_struct; 1165s # const gchar *signal_name; 1165s # } _ExtendedGDBusSignalInfo; 1165s # 1165s # typedef struct 1165s # { 1165s # GDBusPropertyInfo parent_struct; 1165s # const gchar *hyphen_name; 1165s # guint use_gvariant : 1; 1165s # guint emits_changed_signal : 1; 1165s # } _ExtendedGDBusPropertyInfo; 1165s # 1165s # typedef struct 1165s # { 1165s # GDBusInterfaceInfo parent_struct; 1165s # const gchar *hyphen_name; 1165s # } _ExtendedGDBusInterfaceInfo; 1165s # 1165s # typedef struct 1165s # { 1165s # const _ExtendedGDBusPropertyInfo *info; 1165s # guint prop_id; 1165s # GValue orig_value; /* the value before the change */ 1165s # } ChangedProperty; 1165s # 1165s # static void 1165s # _changed_property_free (ChangedProperty *data) 1165s # { 1165s # g_value_unset (&data->orig_value); 1165s # g_free (data); 1165s # } 1165s # 1165s # static gboolean 1165s # _g_strv_equal0 (gchar **a, gchar **b) 1165s # { 1165s # gboolean ret = FALSE; 1165s # guint n; 1165s # if (a == NULL && b == NULL) 1165s # { 1165s # ret = TRUE; 1165s # goto out; 1165s # } 1165s # if (a == NULL || b == NULL) 1165s # goto out; 1165s # if (g_strv_length (a) != g_strv_length (b)) 1165s # goto out; 1165s # for (n = 0; a[n] != NULL; n++) 1165s # if (g_strcmp0 (a[n], b[n]) != 0) 1165s # goto out; 1165s # ret = TRUE; 1165s # out: 1165s # return ret; 1165s # } 1165s # 1165s # static gboolean 1165s # _g_variant_equal0 (GVariant *a, GVariant *b) 1165s # { 1165s # gboolean ret = FALSE; 1165s # if (a == NULL && b == NULL) 1165s # { 1165s # ret = TRUE; 1165s # goto out; 1165s # } 1165s # if (a == NULL || b == NULL) 1165s # goto out; 1165s # ret = g_variant_equal (a, b); 1165s # out: 1165s # return ret; 1165s # } 1165s # 1165s # G_GNUC_UNUSED static gboolean 1165s # _g_value_equal (const GValue *a, const GValue *b) 1165s # { 1165s # gboolean ret = FALSE; 1165s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1165s # switch (G_VALUE_TYPE (a)) 1165s # { 1165s # case G_TYPE_BOOLEAN: 1165s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1165s # break; 1165s # case G_TYPE_UCHAR: 1165s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1165s # break; 1165s # case G_TYPE_INT: 1165s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1165s # break; 1165s # case G_TYPE_UINT: 1165s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1165s # break; 1165s # case G_TYPE_INT64: 1165s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1165s # break; 1165s # case G_TYPE_UINT64: 1165s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1165s # break; 1165s # case G_TYPE_DOUBLE: 1165s # { 1165s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1165s # gdouble da = g_value_get_double (a); 1165s # gdouble db = g_value_get_double (b); 1165s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1165s # } 1165s # break; 1165s # case G_TYPE_STRING: 1165s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1165s # break; 1165s # case G_TYPE_VARIANT: 1165s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1165s # break; 1165s # default: 1165s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1165s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1165s # else 1165s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1165s # break; 1165s # } 1165s # return ret; 1165s # } 1165s # 1165s # static void 1165s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 1165s # GClosure *closure, 1165s # GValue *return_value G_GNUC_UNUSED, 1165s # unsigned int n_param_values, 1165s # const GValue *param_values, 1165s # void *invocation_hint G_GNUC_UNUSED, 1165s # void *marshal_data) 1165s # { 1165s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1165s # (void *data1, 1165s # gboolean arg_an_b, 1165s # guchar arg_an_y, 1165s # gint16 arg_an_n, 1165s # guint16 arg_an_q, 1165s # gint arg_an_i, 1165s # guint arg_an_u, 1165s # gint64 arg_an_x, 1165s # guint64 arg_an_t, 1165s # gdouble arg_an_d, 1165s # const gchar *arg_an_s, 1165s # const gchar *arg_an_o, 1165s # const gchar *arg_an_g, 1165s # GVariant *arg_an_h, 1165s # const gchar *arg_an_ay, 1165s # const gchar *const *arg_an_as, 1165s # const gchar *const *arg_an_ao, 1165s # const gchar *const *arg_an_aay, 1165s # GVariant *arg_an_asv, 1165s # void *data2); 1165s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 1165s # GCClosure *cc = (GCClosure*) closure; 1165s # void *data1, *data2; 1165s # 1165s # g_return_if_fail (n_param_values == 19); 1165s # 1165s # if (G_CCLOSURE_SWAP_DATA (closure)) 1165s # { 1165s # data1 = closure->data; 1165s # data2 = g_value_peek_pointer (param_values + 0); 1165s # } 1165s # else 1165s # { 1165s # data1 = g_value_peek_pointer (param_values + 0); 1165s # data2 = closure->data; 1165s # } 1165s # 1165s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1165s # (marshal_data ? marshal_data : cc->callback); 1165s # 1165s # callback (data1, 1165s # g_marshal_value_peek_boolean (param_values + 1), 1165s # g_marshal_value_peek_uchar (param_values + 2), 1165s # g_marshal_value_peek_int (param_values + 3), 1165s # g_marshal_value_peek_uint (param_values + 4), 1165s # g_marshal_value_peek_int (param_values + 5), 1165s # g_marshal_value_peek_uint (param_values + 6), 1165s # g_marshal_value_peek_int64 (param_values + 7), 1165s # g_marshal_value_peek_uint64 (param_values + 8), 1165s # g_marshal_value_peek_double (param_values + 9), 1165s # g_marshal_value_peek_string (param_values + 10), 1165s # g_marshal_value_peek_string (param_values + 11), 1165s # g_marshal_value_peek_string (param_values + 12), 1165s # g_marshal_value_peek_variant (param_values + 13), 1165s # g_marshal_value_peek_string (param_values + 14), 1165s # g_marshal_value_peek_boxed (param_values + 15), 1165s # g_marshal_value_peek_boxed (param_values + 16), 1165s # g_marshal_value_peek_boxed (param_values + 17), 1165s # g_marshal_value_peek_variant (param_values + 18), 1165s # data2); 1165s # } 1165s # 1165s # /* ------------------------------------------------------------------------ 1165s # * Code for interface org.project.SignalingIface 1165s # * ------------------------------------------------------------------------ 1165s # */ 1165s # 1165s # /** 1165s # * SECTION:OrgProjectSignalingIface 1165s # * @title: OrgProjectSignalingIface 1165s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1165s # * 1165s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1165s # */ 1165s # 1165s # enum 1165s # { 1165s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1165s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS, 1165s # }; 1165s # 1165s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1165s # 1165s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1165s # 1165s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1165s # { 1165s # { 1165s # -1, 1165s # (gchar *) "SimpleSignal", 1165s # NULL, 1165s # NULL 1165s # }, 1165s # "simple-signal" 1165s # }; 1165s # 1165s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b = 1165s # { 1165s # { 1165s # -1, 1165s # (gchar *) "an_b", 1165s # (gchar *) "b", 1165s # NULL 1165s # }, 1165s # FALSE 1165s # }; 1165s # 1165s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y = 1165s # { 1165s # { 1165s # -1, 1165s # (gchar *) "an_y", 1165s # (gchar *) "y", 1165s # NULL 1165s # }, 1165s # FALSE 1165s # }; 1165s # 1165s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n = 1165s # { 1165s # { 1165s # -1, 1165s # (gchar *) "an_n", 1165s # (gchar *) "n", 1165s # NULL 1165s # }, 1165s # FALSE 1165s # }; 1165s # 1165s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q = 1165s # { 1165s # { 1165s # -1, 1165s # (gchar *) "an_q", 1165s # (gchar *) "q", 1165s # NULL 1165s # }, 1165s # FALSE 1165s # }; 1165s # 1165s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i = 1165s # { 1165s # { 1165s # -1, 1165s # (gchar *) "an_i", 1165s # (gchar *) "i", 1165s # NULL 1165s # }, 1165s # FALSE 1165s # }; 1165s # 1165s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u = 1165s # { 1165s # { 1165s # -1, 1165s # (gchar *) "an_u", 1165s # (gchar *) "u", 1165s # NULL 1165s # }, 1165s # FALSE 1165s # }; 1165s # 1165s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x = 1165s # { 1165s # { 1165s # -1, 1165s # (gchar *) "an_x", 1165s # (gchar *) "x", 1165s # NULL 1165s # }, 1165s # FALSE 1165s # }; 1165s # 1165s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t = 1165s # { 1165s # { 1165s # -1, 1165s # (gchar *) "an_t", 1165s # (gchar *) "t", 1165s # NULL 1165s # }, 1165s # FALSE 1165s # }; 1165s # 1165s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d = 1165s # { 1165s # { 1165s # -1, 1165s # (gchar *) "an_d", 1165s # (gchar *) "d", 1165s # NULL 1165s # }, 1165s # FALSE 1165s # }; 1165s # 1165s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s = 1165s # { 1165s # { 1165s # -1, 1165s # (gchar *) "an_s", 1165s # (gchar *) "s", 1165s # NULL 1165s # }, 1165s # FALSE 1165s # }; 1165s # 1165s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o = 1165s # { 1165s # { 1165s # -1, 1165s # (gchar *) "an_o", 1165s # (gchar *) "o", 1165s # NULL 1165s # }, 1165s # FALSE 1165s # }; 1165s # 1165s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g = 1165s # { 1165s # { 1165s # -1, 1165s # (gchar *) "an_g", 1165s # (gchar *) "g", 1165s # NULL 1165s # }, 1165s # FALSE 1165s # }; 1165s # 1165s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h = 1165s # { 1165s # { 1165s # -1, 1165s # (gchar *) "an_h", 1165s # (gchar *) "h", 1165s # NULL 1165s # }, 1165s # FALSE 1165s # }; 1165s # 1165s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay = 1165s # { 1165s # { 1165s # -1, 1165s # (gchar *) "an_ay", 1165s # (gchar *) "ay", 1165s # NULL 1165s # }, 1165s # FALSE 1165s # }; 1165s # 1165s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as = 1165s # { 1165s # { 1165s # -1, 1165s # (gchar *) "an_as", 1165s # (gchar *) "as", 1165s # NULL 1165s # }, 1165s # FALSE 1165s # }; 1165s # 1165s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao = 1165s # { 1165s # { 1165s # -1, 1165s # (gchar *) "an_ao", 1165s # (gchar *) "ao", 1165s # NULL 1165s # }, 1165s # FALSE 1165s # }; 1165s # 1165s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay = 1165s # { 1165s # { 1165s # -1, 1165s # (gchar *) "an_aay", 1165s # (gchar *) "aay", 1165s # NULL 1165s # }, 1165s # FALSE 1165s # }; 1165s # 1165s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv = 1165s # { 1165s # { 1165s # -1, 1165s # (gchar *) "an_asv", 1165s # (gchar *) "a{sv}", 1165s # NULL 1165s # }, 1165s # FALSE 1165s # }; 1165s # 1165s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] = 1165s # { 1165s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct, 1165s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct, 1165s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct, 1165s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct, 1165s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct, 1165s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct, 1165s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct, 1165s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct, 1165s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct, 1165s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct, 1165s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct, 1165s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct, 1165s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct, 1165s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct, 1165s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct, 1165s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct, 1165s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct, 1165s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct, 1165s # NULL 1165s # }; 1165s # 1165s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args = 1165s # { 1165s # { 1165s # -1, 1165s # (gchar *) "SignalWithManyArgs", 1165s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers, 1165s # NULL 1165s # }, 1165s # "signal-with-many-args" 1165s # }; 1165s # 1165s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1165s # { 1165s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1165s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct, 1165s # NULL 1165s # }; 1165s # 1165s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1165s # { 1165s # { 1165s # -1, 1165s # (gchar *) "org.project.SignalingIface", 1165s # NULL, 1165s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1165s # NULL, 1165s # NULL 1165s # }, 1165s # "org-project-signaling-iface", 1165s # }; 1165s # 1165s # 1165s # /** 1165s # * org_project_signaling_iface_interface_info: 1165s # * 1165s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1165s # * 1165s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1165s # */ 1165s # GDBusInterfaceInfo * 1165s # org_project_signaling_iface_interface_info (void) 1165s # { 1165s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_override_properties: 1165s # * @klass: The class structure for a #GObject derived class. 1165s # * @property_id_begin: The property id to assign to the first overridden property. 1165s # * 1165s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1165s # * The properties are overridden in the order they are defined. 1165s # * 1165s # * Returns: The last property id. 1165s # */ 1165s # guint 1165s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1165s # { 1165s # return property_id_begin - 1; 1165s # } 1165s # 1165s # 1165s # inline static void 1165s # org_project_signaling_iface_signal_marshal_simple_signal ( 1165s # GClosure *closure, 1165s # GValue *return_value, 1165s # unsigned int n_param_values, 1165s # const GValue *param_values, 1165s # void *invocation_hint, 1165s # void *marshal_data) 1165s # { 1165s # g_cclosure_marshal_VOID__VOID (closure, 1165s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1165s # } 1165s # 1165s # inline static void 1165s # org_project_signaling_iface_signal_marshal_signal_with_many_args ( 1165s # GClosure *closure, 1165s # GValue *return_value, 1165s # unsigned int n_param_values, 1165s # const GValue *param_values, 1165s # void *invocation_hint, 1165s # void *marshal_data) 1165s # { 1165s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 1165s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1165s # } 1165s # 1165s # 1165s # /** 1165s # * OrgProjectSignalingIface: 1165s # * 1165s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1165s # */ 1165s # 1165s # /** 1165s # * OrgProjectSignalingIfaceIface: 1165s # * @parent_iface: The parent interface. 1165s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal. 1165s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1165s # * 1165s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1165s # */ 1165s # 1165s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1165s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1165s # 1165s # static void 1165s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1165s # { 1165s # /* GObject signals for received D-Bus signals: */ 1165s # /** 1165s # * OrgProjectSignalingIface::simple-signal: 1165s # * @object: A #OrgProjectSignalingIface. 1165s # * 1165s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1165s # * 1165s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1165s # */ 1165s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1165s # g_signal_new ("simple-signal", 1165s # G_TYPE_FROM_INTERFACE (iface), 1165s # G_SIGNAL_RUN_LAST, 1165s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1165s # NULL, 1165s # NULL, 1165s # org_project_signaling_iface_signal_marshal_simple_signal, 1165s # G_TYPE_NONE, 1165s # 0); 1165s # 1165s # /** 1165s # * OrgProjectSignalingIface::signal-with-many-args: 1165s # * @object: A #OrgProjectSignalingIface. 1165s # * @arg_an_b: Argument. 1165s # * @arg_an_y: Argument. 1165s # * @arg_an_n: Argument. 1165s # * @arg_an_q: Argument. 1165s # * @arg_an_i: Argument. 1165s # * @arg_an_u: Argument. 1165s # * @arg_an_x: Argument. 1165s # * @arg_an_t: Argument. 1165s # * @arg_an_d: Argument. 1165s # * @arg_an_s: Argument. 1165s # * @arg_an_o: Argument. 1165s # * @arg_an_g: Argument. 1165s # * @arg_an_h: Argument. 1165s # * @arg_an_ay: Argument. 1165s # * @arg_an_as: Argument. 1165s # * @arg_an_ao: Argument. 1165s # * @arg_an_aay: Argument. 1165s # * @arg_an_asv: Argument. 1165s # * 1165s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received. 1165s # * 1165s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1165s # */ 1165s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] = 1165s # g_signal_new ("signal-with-many-args", 1165s # G_TYPE_FROM_INTERFACE (iface), 1165s # G_SIGNAL_RUN_LAST, 1165s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args), 1165s # NULL, 1165s # NULL, 1165s # org_project_signaling_iface_signal_marshal_signal_with_many_args, 1165s # G_TYPE_NONE, 1165s # 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); 1165s # 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_emit_simple_signal: 1165s # * @object: A #OrgProjectSignalingIface. 1165s # * 1165s # * Emits the "SimpleSignal" D-Bus signal. 1165s # */ 1165s # void 1165s # org_project_signaling_iface_emit_simple_signal ( 1165s # OrgProjectSignalingIface *object) 1165s # { 1165s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_emit_signal_with_many_args: 1165s # * @object: A #OrgProjectSignalingIface. 1165s # * @arg_an_b: Argument to pass with the signal. 1165s # * @arg_an_y: Argument to pass with the signal. 1165s # * @arg_an_n: Argument to pass with the signal. 1165s # * @arg_an_q: Argument to pass with the signal. 1165s # * @arg_an_i: Argument to pass with the signal. 1165s # * @arg_an_u: Argument to pass with the signal. 1165s # * @arg_an_x: Argument to pass with the signal. 1165s # * @arg_an_t: Argument to pass with the signal. 1165s # * @arg_an_d: Argument to pass with the signal. 1165s # * @arg_an_s: Argument to pass with the signal. 1165s # * @arg_an_o: Argument to pass with the signal. 1165s # * @arg_an_g: Argument to pass with the signal. 1165s # * @arg_an_h: Argument to pass with the signal. 1165s # * @arg_an_ay: Argument to pass with the signal. 1165s # * @arg_an_as: Argument to pass with the signal. 1165s # * @arg_an_ao: Argument to pass with the signal. 1165s # * @arg_an_aay: Argument to pass with the signal. 1165s # * @arg_an_asv: Argument to pass with the signal. 1165s # * 1165s # * Emits the "SignalWithManyArgs" D-Bus signal. 1165s # */ 1165s # void 1165s # org_project_signaling_iface_emit_signal_with_many_args ( 1165s # OrgProjectSignalingIface *object, 1165s # gboolean arg_an_b, 1165s # guchar arg_an_y, 1165s # gint16 arg_an_n, 1165s # guint16 arg_an_q, 1165s # gint arg_an_i, 1165s # guint arg_an_u, 1165s # gint64 arg_an_x, 1165s # guint64 arg_an_t, 1165s # gdouble arg_an_d, 1165s # const gchar *arg_an_s, 1165s # const gchar *arg_an_o, 1165s # const gchar *arg_an_g, 1165s # GVariant *arg_an_h, 1165s # const gchar *arg_an_ay, 1165s # const gchar *const *arg_an_as, 1165s # const gchar *const *arg_an_ao, 1165s # const gchar *const *arg_an_aay, 1165s # GVariant *arg_an_asv) 1165s # { 1165s # 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); 1165s # } 1165s # 1165s # /* ------------------------------------------------------------------------ */ 1165s # 1165s # /** 1165s # * OrgProjectSignalingIfaceProxy: 1165s # * 1165s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1165s # */ 1165s # 1165s # /** 1165s # * OrgProjectSignalingIfaceProxyClass: 1165s # * @parent_class: The parent class. 1165s # * 1165s # * Class structure for #OrgProjectSignalingIfaceProxy. 1165s # */ 1165s # 1165s # struct _OrgProjectSignalingIfaceProxyPrivate 1165s # { 1165s # GData *qdata; 1165s # }; 1165s # 1165s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1165s # 1165s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1165s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1165s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1165s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1165s # 1165s # #else 1165s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1165s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1165s # 1165s # #endif 1165s # static void 1165s # org_project_signaling_iface_proxy_finalize (GObject *object) 1165s # { 1165s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1165s # g_datalist_clear (&proxy->priv->qdata); 1165s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1165s # guint prop_id G_GNUC_UNUSED, 1165s # GValue *value G_GNUC_UNUSED, 1165s # GParamSpec *pspec G_GNUC_UNUSED) 1165s # { 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1165s # guint prop_id G_GNUC_UNUSED, 1165s # const GValue *value G_GNUC_UNUSED, 1165s # GParamSpec *pspec G_GNUC_UNUSED) 1165s # { 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1165s # const gchar *sender_name G_GNUC_UNUSED, 1165s # const gchar *signal_name, 1165s # GVariant *parameters) 1165s # { 1165s # _ExtendedGDBusSignalInfo *info; 1165s # GVariantIter iter; 1165s # GVariant *child; 1165s # GValue *paramv; 1165s # gsize num_params; 1165s # gsize n; 1165s # guint signal_id; 1165s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1165s # if (info == NULL) 1165s # return; 1165s # num_params = g_variant_n_children (parameters); 1165s # paramv = g_new0 (GValue, num_params + 1); 1165s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1165s # g_value_set_object (¶mv[0], proxy); 1165s # g_variant_iter_init (&iter, parameters); 1165s # n = 1; 1165s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1165s # { 1165s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1165s # if (arg_info->use_gvariant) 1165s # { 1165s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1165s # g_value_set_variant (¶mv[n], child); 1165s # n++; 1165s # } 1165s # else 1165s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1165s # g_variant_unref (child); 1165s # } 1165s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1165s # g_signal_emitv (paramv, signal_id, 0, NULL); 1165s # for (n = 0; n < num_params + 1; n++) 1165s # g_value_unset (¶mv[n]); 1165s # g_free (paramv); 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1165s # GVariant *changed_properties, 1165s # const gchar *const *invalidated_properties) 1165s # { 1165s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1165s # guint n; 1165s # const gchar *key; 1165s # GVariantIter *iter; 1165s # _ExtendedGDBusPropertyInfo *info; 1165s # g_variant_get (changed_properties, "a{sv}", &iter); 1165s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1165s # { 1165s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1165s # g_datalist_remove_data (&proxy->priv->qdata, key); 1165s # if (info != NULL) 1165s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1165s # } 1165s # g_variant_iter_free (iter); 1165s # for (n = 0; invalidated_properties[n] != NULL; n++) 1165s # { 1165s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1165s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1165s # if (info != NULL) 1165s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1165s # } 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1165s # { 1165s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1165s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1165s # #else 1165s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1165s # #endif 1165s # 1165s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1165s # { 1165s # GObjectClass *gobject_class; 1165s # GDBusProxyClass *proxy_class; 1165s # 1165s # gobject_class = G_OBJECT_CLASS (klass); 1165s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1165s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1165s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1165s # 1165s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1165s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1165s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1165s # 1165s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1165s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1165s # #endif 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1165s # { 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_proxy_new: 1165s # * @connection: A #GDBusConnection. 1165s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1165s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1165s # * @object_path: An object path. 1165s # * @cancellable: (nullable): A #GCancellable or %NULL. 1165s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1165s # * @user_data: User data to pass to @callback. 1165s # * 1165s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1165s # * 1165s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1165s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1165s # * 1165s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1165s # */ 1165s # void 1165s # org_project_signaling_iface_proxy_new ( 1165s # GDBusConnection *connection, 1165s # GDBusProxyFlags flags, 1165s # const gchar *name, 1165s # const gchar *object_path, 1165s # GCancellable *cancellable, 1165s # GAsyncReadyCallback callback, 1165s # gpointer user_data) 1165s # { 1165s # 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); 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_proxy_new_finish: 1165s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1165s # * @error: Return location for error or %NULL 1165s # * 1165s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1165s # * 1165s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1165s # */ 1165s # OrgProjectSignalingIface * 1165s # org_project_signaling_iface_proxy_new_finish ( 1165s # GAsyncResult *res, 1165s # GError **error) 1165s # { 1165s # GObject *ret; 1165s # GObject *source_object; 1165s # source_object = g_async_result_get_source_object (res); 1165s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1165s # g_object_unref (source_object); 1165s # if (ret != NULL) 1165s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1165s # else 1165s # return NULL; 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_proxy_new_sync: 1165s # * @connection: A #GDBusConnection. 1165s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1165s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1165s # * @object_path: An object path. 1165s # * @cancellable: (nullable): A #GCancellable or %NULL. 1165s # * @error: Return location for error or %NULL 1165s # * 1165s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1165s # * 1165s # * The calling thread is blocked until a reply is received. 1165s # * 1165s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1165s # * 1165s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1165s # */ 1165s # OrgProjectSignalingIface * 1165s # org_project_signaling_iface_proxy_new_sync ( 1165s # GDBusConnection *connection, 1165s # GDBusProxyFlags flags, 1165s # const gchar *name, 1165s # const gchar *object_path, 1165s # GCancellable *cancellable, 1165s # GError **error) 1165s # { 1165s # GInitable *ret; 1165s # 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); 1165s # if (ret != NULL) 1165s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1165s # else 1165s # return NULL; 1165s # } 1165s # 1165s # 1165s # /** 1165s # * org_project_signaling_iface_proxy_new_for_bus: 1165s # * @bus_type: A #GBusType. 1165s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1165s # * @name: A bus name (well-known or unique). 1165s # * @object_path: An object path. 1165s # * @cancellable: (nullable): A #GCancellable or %NULL. 1165s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1165s # * @user_data: User data to pass to @callback. 1165s # * 1165s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1165s # * 1165s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1165s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1165s # * 1165s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1165s # */ 1165s # void 1165s # org_project_signaling_iface_proxy_new_for_bus ( 1165s # GBusType bus_type, 1165s # GDBusProxyFlags flags, 1165s # const gchar *name, 1165s # const gchar *object_path, 1165s # GCancellable *cancellable, 1165s # GAsyncReadyCallback callback, 1165s # gpointer user_data) 1165s # { 1165s # 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); 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1165s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1165s # * @error: Return location for error or %NULL 1165s # * 1165s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1165s # * 1165s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1165s # */ 1165s # OrgProjectSignalingIface * 1165s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1165s # GAsyncResult *res, 1165s # GError **error) 1165s # { 1165s # GObject *ret; 1165s # GObject *source_object; 1165s # source_object = g_async_result_get_source_object (res); 1165s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1165s # g_object_unref (source_object); 1165s # if (ret != NULL) 1165s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1165s # else 1165s # return NULL; 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1165s # * @bus_type: A #GBusType. 1165s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1165s # * @name: A bus name (well-known or unique). 1165s # * @object_path: An object path. 1165s # * @cancellable: (nullable): A #GCancellable or %NULL. 1165s # * @error: Return location for error or %NULL 1165s # * 1165s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1165s # * 1165s # * The calling thread is blocked until a reply is received. 1165s # * 1165s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1165s # * 1165s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1165s # */ 1165s # OrgProjectSignalingIface * 1165s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1165s # GBusType bus_type, 1165s # GDBusProxyFlags flags, 1165s # const gchar *name, 1165s # const gchar *object_path, 1165s # GCancellable *cancellable, 1165s # GError **error) 1165s # { 1165s # GInitable *ret; 1165s # 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); 1165s # if (ret != NULL) 1165s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1165s # else 1165s # return NULL; 1165s # } 1165s # 1165s # 1165s # /* ------------------------------------------------------------------------ */ 1165s # 1165s # /** 1165s # * OrgProjectSignalingIfaceSkeleton: 1165s # * 1165s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1165s # */ 1165s # 1165s # /** 1165s # * OrgProjectSignalingIfaceSkeletonClass: 1165s # * @parent_class: The parent class. 1165s # * 1165s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1165s # */ 1165s # 1165s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1165s # { 1165s # GValue *properties; 1165s # GList *changed_properties; 1165s # GSource *changed_properties_idle_source; 1165s # GMainContext *context; 1165s # GMutex lock; 1165s # }; 1165s # 1165s # static void 1165s # _org_project_signaling_iface_skeleton_handle_method_call ( 1165s # GDBusConnection *connection G_GNUC_UNUSED, 1165s # const gchar *sender G_GNUC_UNUSED, 1165s # const gchar *object_path G_GNUC_UNUSED, 1165s # const gchar *interface_name, 1165s # const gchar *method_name, 1165s # GVariant *parameters, 1165s # GDBusMethodInvocation *invocation, 1165s # gpointer user_data) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1165s # _ExtendedGDBusMethodInfo *info; 1165s # GVariantIter iter; 1165s # GVariant *child; 1165s # GValue *paramv; 1165s # gsize num_params; 1165s # guint num_extra; 1165s # gsize n; 1165s # guint signal_id; 1165s # GValue return_value = G_VALUE_INIT; 1165s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1165s # g_assert (info != NULL); 1165s # num_params = g_variant_n_children (parameters); 1165s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1165s # n = 0; 1165s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1165s # g_value_set_object (¶mv[n++], skeleton); 1165s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1165s # g_value_set_object (¶mv[n++], invocation); 1165s # if (info->pass_fdlist) 1165s # { 1165s # #ifdef G_OS_UNIX 1165s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1165s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1165s # #else 1165s # g_assert_not_reached (); 1165s # #endif 1165s # } 1165s # g_variant_iter_init (&iter, parameters); 1165s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1165s # { 1165s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1165s # if (arg_info->use_gvariant) 1165s # { 1165s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1165s # g_value_set_variant (¶mv[n], child); 1165s # n++; 1165s # } 1165s # else 1165s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1165s # g_variant_unref (child); 1165s # } 1165s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1165s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1165s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1165s # if (!g_value_get_boolean (&return_value)) 1165s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1165s # g_value_unset (&return_value); 1165s # for (n = 0; n < num_params + num_extra; n++) 1165s # g_value_unset (¶mv[n]); 1165s # g_free (paramv); 1165s # } 1165s # 1165s # static GVariant * 1165s # _org_project_signaling_iface_skeleton_handle_get_property ( 1165s # GDBusConnection *connection G_GNUC_UNUSED, 1165s # const gchar *sender G_GNUC_UNUSED, 1165s # const gchar *object_path G_GNUC_UNUSED, 1165s # const gchar *interface_name G_GNUC_UNUSED, 1165s # const gchar *property_name, 1165s # GError **error, 1165s # gpointer user_data) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1165s # GValue value = G_VALUE_INIT; 1165s # GParamSpec *pspec; 1165s # _ExtendedGDBusPropertyInfo *info; 1165s # GVariant *ret; 1165s # ret = NULL; 1165s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1165s # g_assert (info != NULL); 1165s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1165s # if (pspec == NULL) 1165s # { 1165s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1165s # } 1165s # else 1165s # { 1165s # g_value_init (&value, pspec->value_type); 1165s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1165s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1165s # g_value_unset (&value); 1165s # } 1165s # return ret; 1165s # } 1165s # 1165s # static gboolean 1165s # _org_project_signaling_iface_skeleton_handle_set_property ( 1165s # GDBusConnection *connection G_GNUC_UNUSED, 1165s # const gchar *sender G_GNUC_UNUSED, 1165s # const gchar *object_path G_GNUC_UNUSED, 1165s # const gchar *interface_name G_GNUC_UNUSED, 1165s # const gchar *property_name, 1165s # GVariant *variant, 1165s # GError **error, 1165s # gpointer user_data) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1165s # GValue value = G_VALUE_INIT; 1165s # GParamSpec *pspec; 1165s # _ExtendedGDBusPropertyInfo *info; 1165s # gboolean ret; 1165s # ret = FALSE; 1165s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1165s # g_assert (info != NULL); 1165s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1165s # if (pspec == NULL) 1165s # { 1165s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1165s # } 1165s # else 1165s # { 1165s # if (info->use_gvariant) 1165s # g_value_set_variant (&value, variant); 1165s # else 1165s # g_dbus_gvariant_to_gvalue (variant, &value); 1165s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1165s # g_value_unset (&value); 1165s # ret = TRUE; 1165s # } 1165s # return ret; 1165s # } 1165s # 1165s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1165s # { 1165s # _org_project_signaling_iface_skeleton_handle_method_call, 1165s # _org_project_signaling_iface_skeleton_handle_get_property, 1165s # _org_project_signaling_iface_skeleton_handle_set_property, 1165s # {NULL} 1165s # }; 1165s # 1165s # static GDBusInterfaceInfo * 1165s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1165s # { 1165s # return org_project_signaling_iface_interface_info (); 1165s # } 1165s # 1165s # static GDBusInterfaceVTable * 1165s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1165s # { 1165s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1165s # } 1165s # 1165s # static GVariant * 1165s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1165s # 1165s # GVariantBuilder builder; 1165s # guint n; 1165s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1165s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1165s # goto out; 1165s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1165s # { 1165s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1165s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1165s # { 1165s # GVariant *value; 1165s # 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); 1165s # if (value != NULL) 1165s # { 1165s # g_variant_take_ref (value); 1165s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1165s # g_variant_unref (value); 1165s # } 1165s # } 1165s # } 1165s # out: 1165s # return g_variant_builder_end (&builder); 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1165s # { 1165s # } 1165s # 1165s # static void 1165s # _org_project_signaling_iface_on_signal_simple_signal ( 1165s # OrgProjectSignalingIface *object) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1165s # 1165s # GList *connections, *l; 1165s # GVariant *signal_variant; 1165s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1165s # 1165s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1165s # for (l = connections; l != NULL; l = l->next) 1165s # { 1165s # GDBusConnection *connection = l->data; 1165s # g_dbus_connection_emit_signal (connection, 1165s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1165s # signal_variant, NULL); 1165s # } 1165s # g_variant_unref (signal_variant); 1165s # g_list_free_full (connections, g_object_unref); 1165s # } 1165s # 1165s # static void 1165s # _org_project_signaling_iface_on_signal_signal_with_many_args ( 1165s # OrgProjectSignalingIface *object, 1165s # gboolean arg_an_b, 1165s # guchar arg_an_y, 1165s # gint16 arg_an_n, 1165s # guint16 arg_an_q, 1165s # gint arg_an_i, 1165s # guint arg_an_u, 1165s # gint64 arg_an_x, 1165s # guint64 arg_an_t, 1165s # gdouble arg_an_d, 1165s # const gchar *arg_an_s, 1165s # const gchar *arg_an_o, 1165s # const gchar *arg_an_g, 1165s # GVariant *arg_an_h, 1165s # const gchar *arg_an_ay, 1165s # const gchar *const *arg_an_as, 1165s # const gchar *const *arg_an_ao, 1165s # const gchar *const *arg_an_aay, 1165s # GVariant *arg_an_asv) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1165s # 1165s # GList *connections, *l; 1165s # GVariant *signal_variant; 1165s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1165s # 1165s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1165s # arg_an_b, 1165s # arg_an_y, 1165s # arg_an_n, 1165s # arg_an_q, 1165s # arg_an_i, 1165s # arg_an_u, 1165s # arg_an_x, 1165s # arg_an_t, 1165s # arg_an_d, 1165s # arg_an_s, 1165s # arg_an_o, 1165s # arg_an_g, 1165s # arg_an_h, 1165s # arg_an_ay, 1165s # arg_an_as, 1165s # arg_an_ao, 1165s # arg_an_aay, 1165s # arg_an_asv)); 1165s # for (l = connections; l != NULL; l = l->next) 1165s # { 1165s # GDBusConnection *connection = l->data; 1165s # g_dbus_connection_emit_signal (connection, 1165s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs", 1165s # signal_variant, NULL); 1165s # } 1165s # g_variant_unref (signal_variant); 1165s # g_list_free_full (connections, g_object_unref); 1165s # } 1165s # 1165s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1165s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1165s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1165s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1165s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1165s # 1165s # #else 1165s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1165s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1165s # 1165s # #endif 1165s # static void 1165s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1165s # { 1165s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1165s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1165s # if (skeleton->priv->changed_properties_idle_source != NULL) 1165s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1165s # g_main_context_unref (skeleton->priv->context); 1165s # g_mutex_clear (&skeleton->priv->lock); 1165s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1165s # { 1165s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1165s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1165s # #else 1165s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1165s # #endif 1165s # 1165s # g_mutex_init (&skeleton->priv->lock); 1165s # skeleton->priv->context = g_main_context_ref_thread_default (); 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1165s # { 1165s # GObjectClass *gobject_class; 1165s # GDBusInterfaceSkeletonClass *skeleton_class; 1165s # 1165s # gobject_class = G_OBJECT_CLASS (klass); 1165s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1165s # 1165s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1165s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1165s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1165s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1165s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1165s # 1165s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1165s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1165s # #endif 1165s # } 1165s # 1165s # static void 1165s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1165s # { 1165s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1165s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args; 1165s # } 1165s # 1165s # /** 1165s # * org_project_signaling_iface_skeleton_new: 1165s # * 1165s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1165s # * 1165s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1165s # */ 1165s # OrgProjectSignalingIface * 1165s # org_project_signaling_iface_skeleton_new (void) 1165s # { 1165s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1165s # } 1165s ok 25 __main__.TestCodegen.test_generate_valid_docbook 1165s # tmpdir: /tmp/tmpc94vndxb 1165s # codegen: /usr/bin/gdbus-codegen 1165s # /tmp/tmpc94vndxb/tmpy1tro99q.xml: 1165s # 1165s # 1165s # 1165s # 1165s # 1165s # 1165s # 1165s # 1165s # 1165s # 1165s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpc94vndxb/tmpy1tro99q.xml', '--generate-docbook', 'test'] 1165s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1165s # Output: 1165s ok 26 __main__.TestCodegen.test_glib_max_allowed_less_than_min_required 1165s # tmpdir: /tmp/tmp6hpkyjcc 1165s # codegen: /usr/bin/gdbus-codegen 1165s # /tmp/tmp6hpkyjcc/tmp_u5vkijg.xml: 1165s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6hpkyjcc/tmp_u5vkijg.xml', '--output', '-', '--body', '--glib-max-allowed', '2.62', '--glib-min-required', '2.64'] 1165s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1165s ok 27 __main__.TestCodegen.test_glib_max_allowed_major_only 1165s # tmpdir: /tmp/tmp7hn1reqm 1165s # codegen: /usr/bin/gdbus-codegen 1165s # /tmp/tmp7hn1reqm/tmpxycx5j5k.xml: 1165s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp7hn1reqm/tmpxycx5j5k.xml', '--output', '-', '--header', '--glib-max-allowed', '3'] 1165s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1165s # Output: /* 1165s # * This file is generated by gdbus-codegen, do not modify it. 1165s # * 1165s # * The license of this code is the same as for the D-Bus interface description 1165s # * it was derived from. Note that it links to GLib, so must comply with the 1165s # * LGPL linking clauses. 1165s # */ 1165s # 1165s # #ifndef __STDOUT__ 1165s # #define __STDOUT__ 1165s # 1165s # #include 1165s # 1165s # G_BEGIN_DECLS 1165s # 1165s # 1165s # G_END_DECLS 1165s # 1165s # #endif /* __STDOUT__ */ 1165s ok 28 __main__.TestCodegen.test_glib_max_allowed_too_low 1165s # tmpdir: /tmp/tmpp0bh74vu 1165s # codegen: /usr/bin/gdbus-codegen 1165s # /tmp/tmpp0bh74vu/tmps7_t5dxj.xml: 1165s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpp0bh74vu/tmps7_t5dxj.xml', '--output', '-', '--body', '--glib-max-allowed', '2.6'] 1165s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1165s ok 29 __main__.TestCodegen.test_glib_max_allowed_unstable 1165s # tmpdir: /tmp/tmpbpq72yjp 1165s # codegen: /usr/bin/gdbus-codegen 1165s # /tmp/tmpbpq72yjp/tmp72onj1r5.xml: 1165s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbpq72yjp/tmp72onj1r5.xml', '--output', '-', '--header', '--glib-max-allowed', '2.63', '--glib-min-required', '2.64'] 1165s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1165s # Output: /* 1165s # * This file is generated by gdbus-codegen, do not modify it. 1165s # * 1165s # * The license of this code is the same as for the D-Bus interface description 1165s # * it was derived from. Note that it links to GLib, so must comply with the 1165s # * LGPL linking clauses. 1165s # */ 1165s # 1165s # #ifndef __STDOUT__ 1165s # #define __STDOUT__ 1165s # 1165s # #include 1165s # 1165s # G_BEGIN_DECLS 1165s # 1165s # 1165s # G_END_DECLS 1165s # 1165s # #endif /* __STDOUT__ */ 1165s ok 30 __main__.TestCodegen.test_glib_max_allowed_with_micro 1165s # tmpdir: /tmp/tmprrgjsaoy 1165s # codegen: /usr/bin/gdbus-codegen 1165s # /tmp/tmprrgjsaoy/tmpf2ai3e87.xml: 1165s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmprrgjsaoy/tmpf2ai3e87.xml', '--output', '-', '--header', '--glib-max-allowed', '2.46.2'] 1165s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1165s # Output: /* 1165s # * This file is generated by gdbus-codegen, do not modify it. 1165s # * 1165s # * The license of this code is the same as for the D-Bus interface description 1165s # * it was derived from. Note that it links to GLib, so must comply with the 1165s # * LGPL linking clauses. 1165s # */ 1165s # 1165s # #ifndef __STDOUT__ 1165s # #define __STDOUT__ 1165s # 1165s # #include 1165s # 1165s # G_BEGIN_DECLS 1165s # 1165s # 1165s # G_END_DECLS 1165s # 1165s # #endif /* __STDOUT__ */ 1165s ok 31 __main__.TestCodegen.test_glib_min_required_invalid 1165s # tmpdir: /tmp/tmpakdjeuyz 1165s # codegen: /usr/bin/gdbus-codegen 1165s # /tmp/tmpakdjeuyz/tmpbzf95ee6.xml: 1165s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpakdjeuyz/tmpbzf95ee6.xml', '--output', '-', '--body', '--glib-min-required', 'hello mum'] 1165s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1165s ok 32 __main__.TestCodegen.test_glib_min_required_major_only 1165s # tmpdir: /tmp/tmpzjg3vlw6 1165s # codegen: /usr/bin/gdbus-codegen 1165s # /tmp/tmpzjg3vlw6/tmpekr5rr7n.xml: 1165s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpzjg3vlw6/tmpekr5rr7n.xml', '--output', '-', '--header', '--glib-min-required', '3', '--glib-max-allowed', '3.2'] 1165s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1165s # Output: /* 1165s # * This file is generated by gdbus-codegen, do not modify it. 1165s # * 1165s # * The license of this code is the same as for the D-Bus interface description 1165s # * it was derived from. Note that it links to GLib, so must comply with the 1165s # * LGPL linking clauses. 1165s # */ 1165s # 1165s # #ifndef __STDOUT__ 1165s # #define __STDOUT__ 1165s # 1165s # #include 1165s # 1165s # G_BEGIN_DECLS 1165s # 1165s # 1165s # G_END_DECLS 1165s # 1165s # #endif /* __STDOUT__ */ 1165s ok 33 __main__.TestCodegen.test_glib_min_required_too_low 1165s # tmpdir: /tmp/tmpmbqeygrr 1165s # codegen: /usr/bin/gdbus-codegen 1165s # /tmp/tmpmbqeygrr/tmp_81y3kzc.xml: 1165s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmbqeygrr/tmp_81y3kzc.xml', '--output', '-', '--body', '--glib-min-required', '2.6'] 1165s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1165s ok 34 __main__.TestCodegen.test_glib_min_required_with_micro 1165s # tmpdir: /tmp/tmps0k58ddw 1165s # codegen: /usr/bin/gdbus-codegen 1165s # /tmp/tmps0k58ddw/tmp0x6v5fgk.xml: 1165s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmps0k58ddw/tmp0x6v5fgk.xml', '--output', '-', '--header', '--glib-min-required', '2.46.2'] 1165s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1165s # Output: /* 1165s # * This file is generated by gdbus-codegen, do not modify it. 1165s # * 1165s # * The license of this code is the same as for the D-Bus interface description 1165s # * it was derived from. Note that it links to GLib, so must comply with the 1165s # * LGPL linking clauses. 1165s # */ 1165s # 1165s # #ifndef __STDOUT__ 1165s # #define __STDOUT__ 1165s # 1165s # #include 1165s # 1165s # G_BEGIN_DECLS 1165s # 1165s # 1165s # G_END_DECLS 1165s # 1165s # #endif /* __STDOUT__ */ 1165s ok 35 __main__.TestCodegen.test_help 1165s # tmpdir: /tmp/tmps6ge3zta 1165s # codegen: /usr/bin/gdbus-codegen 1165s # Running: ['/usr/bin/gdbus-codegen', '--help'] 1165s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1165s # Output: usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 1165s # [--c-namespace NAMESPACE] [--c-generate-object-manager] 1165s # [--c-generate-autocleanup {none,objects,all}] 1165s # [--generate-docbook OUTFILES] [--generate-md OUTFILES] 1165s # [--generate-rst OUTFILES] [--pragma-once] 1165s # [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 1165s # [--glib-min-required VERSION] 1165s # [--glib-max-allowed VERSION] 1165s # [--symbol-decorator SYMBOL_DECORATOR] 1165s # [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 1165s # [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 1165s # [--generate-c-code OUTFILES | --header | --body | --interface-info-header | --interface-info-body] 1165s # [--output FILE | --output-directory OUTDIR] 1165s # FILE [FILE ...] 1165s # 1165s # D-Bus code and documentation generator 1165s # 1165s # positional arguments: 1165s # FILE D-Bus introspection XML file 1165s # 1165s # options: 1165s # -h, --help show this help message and exit 1165s # --interface-prefix PREFIX 1165s # String to strip from D-Bus interface names for code 1165s # and docs 1165s # --c-namespace NAMESPACE 1165s # The namespace to use for generated C code 1165s # --c-generate-object-manager 1165s # Generate a GDBusObjectManagerClient subclass when 1165s # generating C code 1165s # --c-generate-autocleanup {none,objects,all} 1165s # Generate autocleanup support 1165s # --generate-docbook OUTFILES 1165s # Generate Docbook in OUTFILES-org.Project.IFace.xml 1165s # --generate-md OUTFILES 1165s # Generate Markdown in OUTFILES-org.Project.IFace.md 1165s # --generate-rst OUTFILES 1165s # Generate reStructuredText in OUTFILES- 1165s # org.Project.IFace.rst 1165s # --pragma-once Use "pragma once" as the inclusion guard 1165s # --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 1165s # Add annotation (may be used several times) 1165s # --glib-min-required VERSION 1165s # Minimum version of GLib to be supported by the 1165s # outputted code (default: 2.30) 1165s # --glib-max-allowed VERSION 1165s # Maximum version of GLib to be used by the outputted 1165s # code (default: current GLib version) 1165s # --symbol-decorator SYMBOL_DECORATOR 1165s # Macro used to decorate a symbol in the outputted 1165s # header, possibly to export symbols 1165s # --symbol-decorator-header SYMBOL_DECORATOR_HEADER 1165s # Additional header required for decorator specified by 1165s # --symbol-decorator 1165s # --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 1165s # Additional define required for decorator specified by 1165s # --symbol-decorator 1165s # --generate-c-code OUTFILES 1165s # Generate C code in OUTFILES.[ch] 1165s # --header Generate C headers 1165s # --body Generate C code 1165s # --interface-info-header 1165s # Generate GDBusInterfaceInfo C header 1165s # --interface-info-body 1165s # Generate GDBusInterfaceInfo C code 1165s # --output FILE Write output into the specified file 1165s # --output-directory OUTDIR 1165s # Location to output generated files 1166s ok 36 __main__.TestCodegen.test_indentation_preservation_in_comments 1166s # tmpdir: /tmp/tmp3nd2g7jg 1166s # codegen: /usr/bin/gdbus-codegen 1166s # /tmp/tmp3nd2g7jg/tmp7pgvl5gj.xml: 1166s # 1166s # 1166s # 1166s # 1166s # 1166s # 1166s # 1166s # 1166s # 1166s # 1166s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3nd2g7jg/tmp7pgvl5gj.xml', '--generate-rst', 'test'] 1166s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1166s # Output: 1166s # /tmp/tmp3nd2g7jg/tmp0p2iylgh.xml: 1166s # 1166s # 1166s # 1166s # 1166s # 1166s # 1166s # 1166s # 1166s # 1166s # 1166s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3nd2g7jg/tmp0p2iylgh.xml', '--generate-md', 'test'] 1166s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1166s # Output: 1166s # /tmp/tmp3nd2g7jg/tmp2k_p1xr0.xml: 1166s # 1166s # 1166s # 1166s # 1166s # 1166s # 1166s # 1166s # 1166s # 1166s # 1166s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3nd2g7jg/tmp2k_p1xr0.xml', '--generate-docbook', 'test'] 1166s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1166s # Output: 1166s ok 37 __main__.TestCodegen.test_no_args 1166s # tmpdir: /tmp/tmpxyi8_n8v 1166s # codegen: /usr/bin/gdbus-codegen 1166s # Running: ['/usr/bin/gdbus-codegen'] 1166s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1166s ok 38 __main__.TestCodegen.test_reproducible 1166s # tmpdir: /tmp/tmps9_cl8ik 1166s # codegen: /usr/bin/gdbus-codegen 1166s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmps9_cl8ik/tmpmou2xhce1.xml', '/tmp/tmps9_cl8ik/tmpo_g68fyk2.xml', '--output', '-', '--header'] 1166s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1166s # Output: /* 1166s # * This file is generated by gdbus-codegen, do not modify it. 1166s # * 1166s # * The license of this code is the same as for the D-Bus interface description 1166s # * it was derived from. Note that it links to GLib, so must comply with the 1166s # * LGPL linking clauses. 1166s # */ 1166s # 1166s # #ifndef __STDOUT__ 1166s # #define __STDOUT__ 1166s # 1166s # #include 1166s # 1166s # G_BEGIN_DECLS 1166s # 1166s # 1166s # /* ------------------------------------------------------------------------ */ 1166s # /* Declarations for com.acme.Coyote */ 1166s # 1166s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ()) 1166s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote)) 1166s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE)) 1166s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface)) 1166s # 1166s # struct _ComAcmeCoyote; 1166s # typedef struct _ComAcmeCoyote ComAcmeCoyote; 1166s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface; 1166s # 1166s # struct _ComAcmeCoyoteIface 1166s # { 1166s # GTypeInterface parent_iface; 1166s # 1166s # 1166s # 1166s # gboolean (*handle_attack) ( 1166s # ComAcmeCoyote *object, 1166s # GDBusMethodInvocation *invocation); 1166s # 1166s # gboolean (*handle_run) ( 1166s # ComAcmeCoyote *object, 1166s # GDBusMethodInvocation *invocation); 1166s # 1166s # gboolean (*handle_sleep) ( 1166s # ComAcmeCoyote *object, 1166s # GDBusMethodInvocation *invocation); 1166s # 1166s # const gchar * (*get_mood) (ComAcmeCoyote *object); 1166s # 1166s # void (*surprised) ( 1166s # ComAcmeCoyote *object); 1166s # 1166s # }; 1166s # 1166s # GType com_acme_coyote_get_type (void) G_GNUC_CONST; 1166s # 1166s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void); 1166s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin); 1166s # 1166s # 1166s # /* D-Bus method call completion functions: */ 1166s # void com_acme_coyote_complete_run ( 1166s # ComAcmeCoyote *object, 1166s # GDBusMethodInvocation *invocation); 1166s # 1166s # void com_acme_coyote_complete_sleep ( 1166s # ComAcmeCoyote *object, 1166s # GDBusMethodInvocation *invocation); 1166s # 1166s # void com_acme_coyote_complete_attack ( 1166s # ComAcmeCoyote *object, 1166s # GDBusMethodInvocation *invocation); 1166s # 1166s # 1166s # 1166s # /* D-Bus signal emissions functions: */ 1166s # void com_acme_coyote_emit_surprised ( 1166s # ComAcmeCoyote *object); 1166s # 1166s # 1166s # 1166s # /* D-Bus method calls: */ 1166s # void com_acme_coyote_call_run ( 1166s # ComAcmeCoyote *proxy, 1166s # GCancellable *cancellable, 1166s # GAsyncReadyCallback callback, 1166s # gpointer user_data); 1166s # 1166s # gboolean com_acme_coyote_call_run_finish ( 1166s # ComAcmeCoyote *proxy, 1166s # GAsyncResult *res, 1166s # GError **error); 1166s # 1166s # gboolean com_acme_coyote_call_run_sync ( 1166s # ComAcmeCoyote *proxy, 1166s # GCancellable *cancellable, 1166s # GError **error); 1166s # 1166s # void com_acme_coyote_call_sleep ( 1166s # ComAcmeCoyote *proxy, 1166s # GCancellable *cancellable, 1166s # GAsyncReadyCallback callback, 1166s # gpointer user_data); 1166s # 1166s # gboolean com_acme_coyote_call_sleep_finish ( 1166s # ComAcmeCoyote *proxy, 1166s # GAsyncResult *res, 1166s # GError **error); 1166s # 1166s # gboolean com_acme_coyote_call_sleep_sync ( 1166s # ComAcmeCoyote *proxy, 1166s # GCancellable *cancellable, 1166s # GError **error); 1166s # 1166s # void com_acme_coyote_call_attack ( 1166s # ComAcmeCoyote *proxy, 1166s # GCancellable *cancellable, 1166s # GAsyncReadyCallback callback, 1166s # gpointer user_data); 1166s # 1166s # gboolean com_acme_coyote_call_attack_finish ( 1166s # ComAcmeCoyote *proxy, 1166s # GAsyncResult *res, 1166s # GError **error); 1166s # 1166s # gboolean com_acme_coyote_call_attack_sync ( 1166s # ComAcmeCoyote *proxy, 1166s # GCancellable *cancellable, 1166s # GError **error); 1166s # 1166s # 1166s # 1166s # /* D-Bus property accessors: */ 1166s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object); 1166s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object); 1166s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value); 1166s # 1166s # 1166s # /* ---- */ 1166s # 1166s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ()) 1166s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy)) 1166s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 1166s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 1166s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY)) 1166s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY)) 1166s # 1166s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy; 1166s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass; 1166s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate; 1166s # 1166s # struct _ComAcmeCoyoteProxy 1166s # { 1166s # /*< private >*/ 1166s # GDBusProxy parent_instance; 1166s # ComAcmeCoyoteProxyPrivate *priv; 1166s # }; 1166s # 1166s # struct _ComAcmeCoyoteProxyClass 1166s # { 1166s # GDBusProxyClass parent_class; 1166s # }; 1166s # 1166s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST; 1166s # 1166s # #if GLIB_CHECK_VERSION(2, 44, 0) 1166s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref) 1166s # #endif 1166s # 1166s # void com_acme_coyote_proxy_new ( 1166s # GDBusConnection *connection, 1166s # GDBusProxyFlags flags, 1166s # const gchar *name, 1166s # const gchar *object_path, 1166s # GCancellable *cancellable, 1166s # GAsyncReadyCallback callback, 1166s # gpointer user_data); 1166s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish ( 1166s # GAsyncResult *res, 1166s # GError **error); 1166s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync ( 1166s # GDBusConnection *connection, 1166s # GDBusProxyFlags flags, 1166s # const gchar *name, 1166s # const gchar *object_path, 1166s # GCancellable *cancellable, 1166s # GError **error); 1166s # 1166s # void com_acme_coyote_proxy_new_for_bus ( 1166s # GBusType bus_type, 1166s # GDBusProxyFlags flags, 1166s # const gchar *name, 1166s # const gchar *object_path, 1166s # GCancellable *cancellable, 1166s # GAsyncReadyCallback callback, 1166s # gpointer user_data); 1166s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish ( 1166s # GAsyncResult *res, 1166s # GError **error); 1166s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync ( 1166s # GBusType bus_type, 1166s # GDBusProxyFlags flags, 1166s # const gchar *name, 1166s # const gchar *object_path, 1166s # GCancellable *cancellable, 1166s # GError **error); 1166s # 1166s # 1166s # /* ---- */ 1166s # 1166s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ()) 1166s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton)) 1166s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 1166s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 1166s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON)) 1166s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON)) 1166s # 1166s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton; 1166s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass; 1166s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate; 1166s # 1166s # struct _ComAcmeCoyoteSkeleton 1166s # { 1166s # /*< private >*/ 1166s # GDBusInterfaceSkeleton parent_instance; 1166s # ComAcmeCoyoteSkeletonPrivate *priv; 1166s # }; 1166s # 1166s # struct _ComAcmeCoyoteSkeletonClass 1166s # { 1166s # GDBusInterfaceSkeletonClass parent_class; 1166s # }; 1166s # 1166s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST; 1166s # 1166s # #if GLIB_CHECK_VERSION(2, 44, 0) 1166s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref) 1166s # #endif 1166s # 1166s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void); 1166s # 1166s # 1166s # /* ------------------------------------------------------------------------ */ 1166s # /* Declarations for org.project.Bar.Frobnicator */ 1166s # 1166s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ()) 1166s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator)) 1166s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR)) 1166s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface)) 1166s # 1166s # struct _OrgProjectBarFrobnicator; 1166s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator; 1166s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface; 1166s # 1166s # struct _OrgProjectBarFrobnicatorIface 1166s # { 1166s # GTypeInterface parent_iface; 1166s # 1166s # gboolean (*handle_random_method) ( 1166s # OrgProjectBarFrobnicator *object, 1166s # GDBusMethodInvocation *invocation); 1166s # 1166s # }; 1166s # 1166s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST; 1166s # 1166s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void); 1166s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin); 1166s # 1166s # 1166s # /* D-Bus method call completion functions: */ 1166s # void org_project_bar_frobnicator_complete_random_method ( 1166s # OrgProjectBarFrobnicator *object, 1166s # GDBusMethodInvocation *invocation); 1166s # 1166s # 1166s # 1166s # /* D-Bus method calls: */ 1166s # void org_project_bar_frobnicator_call_random_method ( 1166s # OrgProjectBarFrobnicator *proxy, 1166s # GCancellable *cancellable, 1166s # GAsyncReadyCallback callback, 1166s # gpointer user_data); 1166s # 1166s # gboolean org_project_bar_frobnicator_call_random_method_finish ( 1166s # OrgProjectBarFrobnicator *proxy, 1166s # GAsyncResult *res, 1166s # GError **error); 1166s # 1166s # gboolean org_project_bar_frobnicator_call_random_method_sync ( 1166s # OrgProjectBarFrobnicator *proxy, 1166s # GCancellable *cancellable, 1166s # GError **error); 1166s # 1166s # 1166s # 1166s # /* ---- */ 1166s # 1166s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ()) 1166s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy)) 1166s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 1166s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 1166s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 1166s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 1166s # 1166s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy; 1166s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass; 1166s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate; 1166s # 1166s # struct _OrgProjectBarFrobnicatorProxy 1166s # { 1166s # /*< private >*/ 1166s # GDBusProxy parent_instance; 1166s # OrgProjectBarFrobnicatorProxyPrivate *priv; 1166s # }; 1166s # 1166s # struct _OrgProjectBarFrobnicatorProxyClass 1166s # { 1166s # GDBusProxyClass parent_class; 1166s # }; 1166s # 1166s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST; 1166s # 1166s # #if GLIB_CHECK_VERSION(2, 44, 0) 1166s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref) 1166s # #endif 1166s # 1166s # void org_project_bar_frobnicator_proxy_new ( 1166s # GDBusConnection *connection, 1166s # GDBusProxyFlags flags, 1166s # const gchar *name, 1166s # const gchar *object_path, 1166s # GCancellable *cancellable, 1166s # GAsyncReadyCallback callback, 1166s # gpointer user_data); 1166s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish ( 1166s # GAsyncResult *res, 1166s # GError **error); 1166s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync ( 1166s # GDBusConnection *connection, 1166s # GDBusProxyFlags flags, 1166s # const gchar *name, 1166s # const gchar *object_path, 1166s # GCancellable *cancellable, 1166s # GError **error); 1166s # 1166s # void org_project_bar_frobnicator_proxy_new_for_bus ( 1166s # GBusType bus_type, 1166s # GDBusProxyFlags flags, 1166s # const gchar *name, 1166s # const gchar *object_path, 1166s # GCancellable *cancellable, 1166s # GAsyncReadyCallback callback, 1166s # gpointer user_data); 1166s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish ( 1166s # GAsyncResult *res, 1166s # GError **error); 1166s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync ( 1166s # GBusType bus_type, 1166s # GDBusProxyFlags flags, 1166s # const gchar *name, 1166s # const gchar *object_path, 1166s # GCancellable *cancellable, 1166s # GError **error); 1166s # 1166s # 1166s # /* ---- */ 1166s # 1166s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ()) 1166s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton)) 1166s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 1166s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 1166s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 1166s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 1166s # 1166s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton; 1166s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass; 1166s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate; 1166s # 1166s # struct _OrgProjectBarFrobnicatorSkeleton 1166s # { 1166s # /*< private >*/ 1166s # GDBusInterfaceSkeleton parent_instance; 1166s # OrgProjectBarFrobnicatorSkeletonPrivate *priv; 1166s # }; 1166s # 1166s # struct _OrgProjectBarFrobnicatorSkeletonClass 1166s # { 1166s # GDBusInterfaceSkeletonClass parent_class; 1166s # }; 1166s # 1166s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST; 1166s # 1166s # #if GLIB_CHECK_VERSION(2, 44, 0) 1166s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref) 1166s # #endif 1166s # 1166s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void); 1166s # 1166s # 1166s # G_END_DECLS 1166s # 1166s # #endif /* __STDOUT__ */ 1166s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmps9_cl8ik/tmpo_g68fyk2.xml', '/tmp/tmps9_cl8ik/tmpmou2xhce1.xml', '--output', '-', '--header'] 1166s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1166s # Output: /* 1166s # * This file is generated by gdbus-codegen, do not modify it. 1166s # * 1166s # * The license of this code is the same as for the D-Bus interface description 1166s # * it was derived from. Note that it links to GLib, so must comply with the 1166s # * LGPL linking clauses. 1166s # */ 1166s # 1166s # #ifndef __STDOUT__ 1166s # #define __STDOUT__ 1166s # 1166s # #include 1166s # 1166s # G_BEGIN_DECLS 1166s # 1166s # 1166s # /* ------------------------------------------------------------------------ */ 1166s # /* Declarations for com.acme.Coyote */ 1166s # 1166s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ()) 1166s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote)) 1166s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE)) 1166s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface)) 1166s # 1166s # struct _ComAcmeCoyote; 1166s # typedef struct _ComAcmeCoyote ComAcmeCoyote; 1166s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface; 1166s # 1166s # struct _ComAcmeCoyoteIface 1166s # { 1166s # GTypeInterface parent_iface; 1166s # 1166s # 1166s # 1166s # gboolean (*handle_attack) ( 1166s # ComAcmeCoyote *object, 1166s # GDBusMethodInvocation *invocation); 1166s # 1166s # gboolean (*handle_run) ( 1166s # ComAcmeCoyote *object, 1166s # GDBusMethodInvocation *invocation); 1166s # 1166s # gboolean (*handle_sleep) ( 1166s # ComAcmeCoyote *object, 1166s # GDBusMethodInvocation *invocation); 1166s # 1166s # const gchar * (*get_mood) (ComAcmeCoyote *object); 1166s # 1166s # void (*surprised) ( 1166s # ComAcmeCoyote *object); 1166s # 1166s # }; 1166s # 1166s # GType com_acme_coyote_get_type (void) G_GNUC_CONST; 1166s # 1166s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void); 1166s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin); 1166s # 1166s # 1166s # /* D-Bus method call completion functions: */ 1166s # void com_acme_coyote_complete_run ( 1166s # ComAcmeCoyote *object, 1166s # GDBusMethodInvocation *invocation); 1166s # 1166s # void com_acme_coyote_complete_sleep ( 1166s # ComAcmeCoyote *object, 1166s # GDBusMethodInvocation *invocation); 1166s # 1166s # void com_acme_coyote_complete_attack ( 1166s # ComAcmeCoyote *object, 1166s # GDBusMethodInvocation *invocation); 1166s # 1166s # 1166s # 1166s # /* D-Bus signal emissions functions: */ 1166s # void com_acme_coyote_emit_surprised ( 1166s # ComAcmeCoyote *object); 1166s # 1166s # 1166s # 1166s # /* D-Bus method calls: */ 1166s # void com_acme_coyote_call_run ( 1166s # ComAcmeCoyote *proxy, 1166s # GCancellable *cancellable, 1166s # GAsyncReadyCallback callback, 1166s # gpointer user_data); 1166s # 1166s # gboolean com_acme_coyote_call_run_finish ( 1166s # ComAcmeCoyote *proxy, 1166s # GAsyncResult *res, 1166s # GError **error); 1166s # 1166s # gboolean com_acme_coyote_call_run_sync ( 1166s # ComAcmeCoyote *proxy, 1166s # GCancellable *cancellable, 1166s # GError **error); 1166s # 1166s # void com_acme_coyote_call_sleep ( 1166s # ComAcmeCoyote *proxy, 1166s # GCancellable *cancellable, 1166s # GAsyncReadyCallback callback, 1166s # gpointer user_data); 1166s # 1166s # gboolean com_acme_coyote_call_sleep_finish ( 1166s # ComAcmeCoyote *proxy, 1166s # GAsyncResult *res, 1166s # GError **error); 1166s # 1166s # gboolean com_acme_coyote_call_sleep_sync ( 1166s # ComAcmeCoyote *proxy, 1166s # GCancellable *cancellable, 1166s # GError **error); 1166s # 1166s # void com_acme_coyote_call_attack ( 1166s # ComAcmeCoyote *proxy, 1166s # GCancellable *cancellable, 1166s # GAsyncReadyCallback callback, 1166s # gpointer user_data); 1166s # 1166s # gboolean com_acme_coyote_call_attack_finish ( 1166s # ComAcmeCoyote *proxy, 1166s # GAsyncResult *res, 1166s # GError **error); 1166s # 1166s # gboolean com_acme_coyote_call_attack_sync ( 1166s # ComAcmeCoyote *proxy, 1166s # GCancellable *cancellable, 1166s # GError **error); 1166s # 1166s # 1166s # 1166s # /* D-Bus property accessors: */ 1166s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object); 1166s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object); 1166s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value); 1166s # 1166s # 1166s # /* ---- */ 1166s # 1166s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ()) 1166s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy)) 1166s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 1166s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 1166s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY)) 1166s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY)) 1166s # 1166s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy; 1166s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass; 1166s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate; 1166s # 1166s # struct _ComAcmeCoyoteProxy 1166s # { 1166s # /*< private >*/ 1166s # GDBusProxy parent_instance; 1166s # ComAcmeCoyoteProxyPrivate *priv; 1166s # }; 1166s # 1166s # struct _ComAcmeCoyoteProxyClass 1166s # { 1166s # GDBusProxyClass parent_class; 1166s # }; 1166s # 1166s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST; 1166s # 1166s # #if GLIB_CHECK_VERSION(2, 44, 0) 1166s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref) 1166s # #endif 1166s # 1166s # void com_acme_coyote_proxy_new ( 1166s # GDBusConnection *connection, 1166s # GDBusProxyFlags flags, 1166s # const gchar *name, 1166s # const gchar *object_path, 1166s # GCancellable *cancellable, 1166s # GAsyncReadyCallback callback, 1166s # gpointer user_data); 1166s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish ( 1166s # GAsyncResult *res, 1166s # GError **error); 1166s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync ( 1166s # GDBusConnection *connection, 1166s # GDBusProxyFlags flags, 1166s # const gchar *name, 1166s # const gchar *object_path, 1166s # GCancellable *cancellable, 1166s # GError **error); 1166s # 1166s # void com_acme_coyote_proxy_new_for_bus ( 1166s # GBusType bus_type, 1166s # GDBusProxyFlags flags, 1166s # const gchar *name, 1166s # const gchar *object_path, 1166s # GCancellable *cancellable, 1166s # GAsyncReadyCallback callback, 1166s # gpointer user_data); 1166s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish ( 1166s # GAsyncResult *res, 1166s # GError **error); 1166s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync ( 1166s # GBusType bus_type, 1166s # GDBusProxyFlags flags, 1166s # const gchar *name, 1166s # const gchar *object_path, 1166s # GCancellable *cancellable, 1166s # GError **error); 1166s # 1166s # 1166s # /* ---- */ 1166s # 1166s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ()) 1166s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton)) 1166s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 1166s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 1166s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON)) 1166s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON)) 1166s # 1166s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton; 1166s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass; 1166s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate; 1166s # 1166s # struct _ComAcmeCoyoteSkeleton 1166s # { 1166s # /*< private >*/ 1166s # GDBusInterfaceSkeleton parent_instance; 1166s # ComAcmeCoyoteSkeletonPrivate *priv; 1166s # }; 1166s # 1166s # struct _ComAcmeCoyoteSkeletonClass 1166s # { 1166s # GDBusInterfaceSkeletonClass parent_class; 1166s # }; 1166s # 1166s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST; 1166s # 1166s # #if GLIB_CHECK_VERSION(2, 44, 0) 1166s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref) 1166s # #endif 1166s # 1166s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void); 1166s # 1166s # 1166s # /* ------------------------------------------------------------------------ */ 1166s # /* Declarations for org.project.Bar.Frobnicator */ 1166s # 1166s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ()) 1166s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator)) 1166s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR)) 1166s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface)) 1166s # 1166s # struct _OrgProjectBarFrobnicator; 1166s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator; 1166s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface; 1166s # 1166s # struct _OrgProjectBarFrobnicatorIface 1166s # { 1166s # GTypeInterface parent_iface; 1166s # 1166s # gboolean (*handle_random_method) ( 1166s # OrgProjectBarFrobnicator *object, 1166s # GDBusMethodInvocation *invocation); 1166s # 1166s # }; 1166s # 1166s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST; 1166s # 1166s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void); 1166s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin); 1166s # 1166s # 1166s # /* D-Bus method call completion functions: */ 1166s # void org_project_bar_frobnicator_complete_random_method ( 1166s # OrgProjectBarFrobnicator *object, 1166s # GDBusMethodInvocation *invocation); 1166s # 1166s # 1166s # 1166s # /* D-Bus method calls: */ 1166s # void org_project_bar_frobnicator_call_random_method ( 1166s # OrgProjectBarFrobnicator *proxy, 1166s # GCancellable *cancellable, 1166s # GAsyncReadyCallback callback, 1166s # gpointer user_data); 1166s # 1166s # gboolean org_project_bar_frobnicator_call_random_method_finish ( 1166s # OrgProjectBarFrobnicator *proxy, 1166s # GAsyncResult *res, 1166s # GError **error); 1166s # 1166s # gboolean org_project_bar_frobnicator_call_random_method_sync ( 1166s # OrgProjectBarFrobnicator *proxy, 1166s # GCancellable *cancellable, 1166s # GError **error); 1166s # 1166s # 1166s # 1166s # /* ---- */ 1166s # 1166s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ()) 1166s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy)) 1166s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 1166s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 1166s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 1166s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 1166s # 1166s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy; 1166s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass; 1166s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate; 1166s # 1166s # struct _OrgProjectBarFrobnicatorProxy 1166s # { 1166s # /*< private >*/ 1166s # GDBusProxy parent_instance; 1166s # OrgProjectBarFrobnicatorProxyPrivate *priv; 1166s # }; 1166s # 1166s # struct _OrgProjectBarFrobnicatorProxyClass 1166s # { 1166s # GDBusProxyClass parent_class; 1166s # }; 1166s # 1166s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST; 1166s # 1166s # #if GLIB_CHECK_VERSION(2, 44, 0) 1166s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref) 1166s # #endif 1166s # 1166s # void org_project_bar_frobnicator_proxy_new ( 1166s # GDBusConnection *connection, 1166s # GDBusProxyFlags flags, 1166s # const gchar *name, 1166s # const gchar *object_path, 1166s # GCancellable *cancellable, 1166s # GAsyncReadyCallback callback, 1166s # gpointer user_data); 1166s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish ( 1166s # GAsyncResult *res, 1166s # GError **error); 1166s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync ( 1166s # GDBusConnection *connection, 1166s # GDBusProxyFlags flags, 1166s # const gchar *name, 1166s # const gchar *object_path, 1166s # GCancellable *cancellable, 1166s # GError **error); 1166s # 1166s # void org_project_bar_frobnicator_proxy_new_for_bus ( 1166s # GBusType bus_type, 1166s # GDBusProxyFlags flags, 1166s # const gchar *name, 1166s # const gchar *object_path, 1166s # GCancellable *cancellable, 1166s # GAsyncReadyCallback callback, 1166s # gpointer user_data); 1166s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish ( 1166s # GAsyncResult *res, 1166s # GError **error); 1166s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync ( 1166s # GBusType bus_type, 1166s # GDBusProxyFlags flags, 1166s # const gchar *name, 1166s # const gchar *object_path, 1166s # GCancellable *cancellable, 1166s # GError **error); 1166s # 1166s # 1166s # /* ---- */ 1166s # 1166s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ()) 1166s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton)) 1166s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 1166s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 1166s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 1166s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 1166s # 1166s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton; 1166s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass; 1166s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate; 1166s # 1166s # struct _OrgProjectBarFrobnicatorSkeleton 1166s # { 1166s # /*< private >*/ 1166s # GDBusInterfaceSkeleton parent_instance; 1166s # OrgProjectBarFrobnicatorSkeletonPrivate *priv; 1166s # }; 1166s # 1166s # struct _OrgProjectBarFrobnicatorSkeletonClass 1166s # { 1166s # GDBusInterfaceSkeletonClass parent_class; 1166s # }; 1166s # 1166s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST; 1166s # 1166s # #if GLIB_CHECK_VERSION(2, 44, 0) 1166s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref) 1166s # #endif 1166s # 1166s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void); 1166s # 1166s # 1166s # G_END_DECLS 1166s # 1166s # #endif /* __STDOUT__ */ 1166s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmps9_cl8ik/tmpmou2xhce1.xml', '/tmp/tmps9_cl8ik/tmpo_g68fyk2.xml', '--output', '-', '--body'] 1166s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1166s # Output: /* 1166s # * This file is generated by gdbus-codegen, do not modify it. 1166s # * 1166s # * The license of this code is the same as for the D-Bus interface description 1166s # * it was derived from. Note that it links to GLib, so must comply with the 1166s # * LGPL linking clauses. 1166s # */ 1166s # 1166s # #ifdef HAVE_CONFIG_H 1166s # # include "config.h" 1166s # #endif 1166s # 1166s # #include 1166s # #ifdef G_OS_UNIX 1166s # # include 1166s # #endif 1166s # 1166s # #ifdef G_ENABLE_DEBUG 1166s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1166s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1166s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1166s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1166s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1166s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1166s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1166s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1166s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1166s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1166s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1166s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1166s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1166s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1166s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1166s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1166s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1166s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1166s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1166s # #else /* !G_ENABLE_DEBUG */ 1166s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1166s # * Do not access GValues directly in your code. Instead, use the 1166s # * g_value_get_*() functions 1166s # */ 1166s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1166s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1166s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1166s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1166s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1166s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1166s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1166s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1166s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1166s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1166s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1166s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1166s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1166s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1166s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1166s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1166s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1166s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1166s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1166s # #endif /* !G_ENABLE_DEBUG */ 1166s # 1166s # typedef struct 1166s # { 1166s # GDBusArgInfo parent_struct; 1166s # gboolean use_gvariant; 1166s # } _ExtendedGDBusArgInfo; 1166s # 1166s # typedef struct 1166s # { 1166s # GDBusMethodInfo parent_struct; 1166s # const gchar *signal_name; 1166s # gboolean pass_fdlist; 1166s # } _ExtendedGDBusMethodInfo; 1166s # 1166s # typedef struct 1166s # { 1166s # GDBusSignalInfo parent_struct; 1166s # const gchar *signal_name; 1166s # } _ExtendedGDBusSignalInfo; 1166s # 1166s # typedef struct 1166s # { 1166s # GDBusPropertyInfo parent_struct; 1166s # const gchar *hyphen_name; 1166s # guint use_gvariant : 1; 1166s # guint emits_changed_signal : 1; 1166s # } _ExtendedGDBusPropertyInfo; 1166s # 1166s # typedef struct 1166s # { 1166s # GDBusInterfaceInfo parent_struct; 1166s # const gchar *hyphen_name; 1166s # } _ExtendedGDBusInterfaceInfo; 1166s # 1166s # typedef struct 1166s # { 1166s # const _ExtendedGDBusPropertyInfo *info; 1166s # guint prop_id; 1166s # GValue orig_value; /* the value before the change */ 1166s # } ChangedProperty; 1166s # 1166s # static void 1166s # _changed_property_free (ChangedProperty *data) 1166s # { 1166s # g_value_unset (&data->orig_value); 1166s # g_free (data); 1166s # } 1166s # 1166s # static gboolean 1166s # _g_strv_equal0 (gchar **a, gchar **b) 1166s # { 1166s # gboolean ret = FALSE; 1166s # guint n; 1166s # if (a == NULL && b == NULL) 1166s # { 1166s # ret = TRUE; 1166s # goto out; 1166s # } 1166s # if (a == NULL || b == NULL) 1166s # goto out; 1166s # if (g_strv_length (a) != g_strv_length (b)) 1166s # goto out; 1166s # for (n = 0; a[n] != NULL; n++) 1166s # if (g_strcmp0 (a[n], b[n]) != 0) 1166s # goto out; 1166s # ret = TRUE; 1166s # out: 1166s # return ret; 1166s # } 1166s # 1166s # static gboolean 1166s # _g_variant_equal0 (GVariant *a, GVariant *b) 1166s # { 1166s # gboolean ret = FALSE; 1166s # if (a == NULL && b == NULL) 1166s # { 1166s # ret = TRUE; 1166s # goto out; 1166s # } 1166s # if (a == NULL || b == NULL) 1166s # goto out; 1166s # ret = g_variant_equal (a, b); 1166s # out: 1166s # return ret; 1166s # } 1166s # 1166s # G_GNUC_UNUSED static gboolean 1166s # _g_value_equal (const GValue *a, const GValue *b) 1166s # { 1166s # gboolean ret = FALSE; 1166s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1166s # switch (G_VALUE_TYPE (a)) 1166s # { 1166s # case G_TYPE_BOOLEAN: 1166s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1166s # break; 1166s # case G_TYPE_UCHAR: 1166s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1166s # break; 1166s # case G_TYPE_INT: 1166s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1166s # break; 1166s # case G_TYPE_UINT: 1166s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1166s # break; 1166s # case G_TYPE_INT64: 1166s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1166s # break; 1166s # case G_TYPE_UINT64: 1166s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1166s # break; 1166s # case G_TYPE_DOUBLE: 1166s # { 1166s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1166s # gdouble da = g_value_get_double (a); 1166s # gdouble db = g_value_get_double (b); 1166s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1166s # } 1166s # break; 1166s # case G_TYPE_STRING: 1166s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1166s # break; 1166s # case G_TYPE_VARIANT: 1166s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1166s # break; 1166s # default: 1166s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1166s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1166s # else 1166s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1166s # break; 1166s # } 1166s # return ret; 1166s # } 1166s # 1166s # static void 1166s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1166s # GClosure *closure, 1166s # GValue *return_value, 1166s # unsigned int n_param_values, 1166s # const GValue *param_values, 1166s # void *invocation_hint G_GNUC_UNUSED, 1166s # void *marshal_data) 1166s # { 1166s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1166s # (void *data1, 1166s # GDBusMethodInvocation *arg_method_invocation, 1166s # void *data2); 1166s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1166s # GCClosure *cc = (GCClosure*) closure; 1166s # void *data1, *data2; 1166s # gboolean v_return; 1166s # 1166s # g_return_if_fail (return_value != NULL); 1166s # g_return_if_fail (n_param_values == 2); 1166s # 1166s # if (G_CCLOSURE_SWAP_DATA (closure)) 1166s # { 1166s # data1 = closure->data; 1166s # data2 = g_value_peek_pointer (param_values + 0); 1166s # } 1166s # else 1166s # { 1166s # data1 = g_value_peek_pointer (param_values + 0); 1166s # data2 = closure->data; 1166s # } 1166s # 1166s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1166s # (marshal_data ? marshal_data : cc->callback); 1166s # 1166s # v_return = 1166s # callback (data1, 1166s # g_marshal_value_peek_object (param_values + 1), 1166s # data2); 1166s # 1166s # g_value_set_boolean (return_value, v_return); 1166s # } 1166s # 1166s # /* ------------------------------------------------------------------------ 1166s # * Code for interface com.acme.Coyote 1166s # * ------------------------------------------------------------------------ 1166s # */ 1166s # 1166s # /** 1166s # * SECTION:ComAcmeCoyote 1166s # * @title: ComAcmeCoyote 1166s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface 1166s # * 1166s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C. 1166s # */ 1166s # 1166s # enum 1166s # { 1166s # _COM_ACME_COYOTE_SURPRISED, 1166s # }; 1166s # 1166s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 }; 1166s # 1166s # /* ---- Introspection data for com.acme.Coyote ---- */ 1166s # 1166s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run = 1166s # { 1166s # { 1166s # -1, 1166s # (gchar *) "Run", 1166s # NULL, 1166s # NULL, 1166s # NULL 1166s # }, 1166s # "handle-run", 1166s # FALSE 1166s # }; 1166s # 1166s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep = 1166s # { 1166s # { 1166s # -1, 1166s # (gchar *) "Sleep", 1166s # NULL, 1166s # NULL, 1166s # NULL 1166s # }, 1166s # "handle-sleep", 1166s # FALSE 1166s # }; 1166s # 1166s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack = 1166s # { 1166s # { 1166s # -1, 1166s # (gchar *) "Attack", 1166s # NULL, 1166s # NULL, 1166s # NULL 1166s # }, 1166s # "handle-attack", 1166s # FALSE 1166s # }; 1166s # 1166s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] = 1166s # { 1166s # &_com_acme_coyote_method_info_run.parent_struct, 1166s # &_com_acme_coyote_method_info_sleep.parent_struct, 1166s # &_com_acme_coyote_method_info_attack.parent_struct, 1166s # NULL 1166s # }; 1166s # 1166s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised = 1166s # { 1166s # { 1166s # -1, 1166s # (gchar *) "Surprised", 1166s # NULL, 1166s # NULL 1166s # }, 1166s # "surprised" 1166s # }; 1166s # 1166s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] = 1166s # { 1166s # &_com_acme_coyote_signal_info_surprised.parent_struct, 1166s # NULL 1166s # }; 1166s # 1166s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood = 1166s # { 1166s # { 1166s # -1, 1166s # (gchar *) "Mood", 1166s # (gchar *) "s", 1166s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1166s # NULL 1166s # }, 1166s # "mood", 1166s # FALSE, 1166s # TRUE 1166s # }; 1166s # 1166s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] = 1166s # { 1166s # &_com_acme_coyote_property_info_mood.parent_struct, 1166s # NULL 1166s # }; 1166s # 1166s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info = 1166s # { 1166s # { 1166s # -1, 1166s # (gchar *) "com.acme.Coyote", 1166s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers, 1166s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers, 1166s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers, 1166s # NULL 1166s # }, 1166s # "com-acme-coyote", 1166s # }; 1166s # 1166s # 1166s # /** 1166s # * com_acme_coyote_interface_info: 1166s # * 1166s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface. 1166s # * 1166s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1166s # */ 1166s # GDBusInterfaceInfo * 1166s # com_acme_coyote_interface_info (void) 1166s # { 1166s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct; 1166s # } 1166s # 1166s # /** 1166s # * com_acme_coyote_override_properties: 1166s # * @klass: The class structure for a #GObject derived class. 1166s # * @property_id_begin: The property id to assign to the first overridden property. 1166s # * 1166s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class. 1166s # * The properties are overridden in the order they are defined. 1166s # * 1166s # * Returns: The last property id. 1166s # */ 1166s # guint 1166s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin) 1166s # { 1166s # g_object_class_override_property (klass, property_id_begin++, "mood"); 1166s # return property_id_begin - 1; 1166s # } 1166s # 1166s # 1166s # inline static void 1166s # com_acme_coyote_signal_marshal_surprised ( 1166s # GClosure *closure, 1166s # GValue *return_value, 1166s # unsigned int n_param_values, 1166s # const GValue *param_values, 1166s # void *invocation_hint, 1166s # void *marshal_data) 1166s # { 1166s # g_cclosure_marshal_VOID__VOID (closure, 1166s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1166s # } 1166s # 1166s # inline static void 1166s # com_acme_coyote_method_marshal_run ( 1166s # GClosure *closure, 1166s # GValue *return_value, 1166s # unsigned int n_param_values, 1166s # const GValue *param_values, 1166s # void *invocation_hint, 1166s # void *marshal_data) 1166s # { 1166s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1166s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1166s # } 1166s # 1166s # inline static void 1166s # com_acme_coyote_method_marshal_sleep ( 1166s # GClosure *closure, 1166s # GValue *return_value, 1166s # unsigned int n_param_values, 1166s # const GValue *param_values, 1166s # void *invocation_hint, 1166s # void *marshal_data) 1166s # { 1166s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1166s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1166s # } 1166s # 1166s # inline static void 1166s # com_acme_coyote_method_marshal_attack ( 1166s # GClosure *closure, 1166s # GValue *return_value, 1166s # unsigned int n_param_values, 1166s # const GValue *param_values, 1166s # void *invocation_hint, 1166s # void *marshal_data) 1166s # { 1166s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1166s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1166s # } 1166s # 1166s # 1166s # /** 1166s # * ComAcmeCoyote: 1166s # * 1166s # * Abstract interface type for the D-Bus interface com.acme.Coyote. 1166s # */ 1166s # 1166s # /** 1166s # * ComAcmeCoyoteIface: 1166s # * @parent_iface: The parent interface. 1166s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal. 1166s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal. 1166s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal. 1166s # * @get_mood: Getter for the #ComAcmeCoyote:mood property. 1166s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal. 1166s # * 1166s # * Virtual table for the D-Bus interface com.acme.Coyote. 1166s # */ 1166s # 1166s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface; 1166s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT) 1166s # 1166s # static void 1166s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface) 1166s # { 1166s # /* GObject signals for incoming D-Bus method calls: */ 1166s # /** 1166s # * ComAcmeCoyote::handle-run: 1166s # * @object: A #ComAcmeCoyote. 1166s # * @invocation: A #GDBusMethodInvocation. 1166s # * 1166s # * Signal emitted when a remote caller is invoking the Run() D-Bus method. 1166s # * 1166s # * 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. 1166s # * 1166s # * 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. 1166s # */ 1166s # g_signal_new ("handle-run", 1166s # G_TYPE_FROM_INTERFACE (iface), 1166s # G_SIGNAL_RUN_LAST, 1166s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run), 1166s # g_signal_accumulator_true_handled, 1166s # NULL, 1166s # com_acme_coyote_method_marshal_run, 1166s # G_TYPE_BOOLEAN, 1166s # 1, 1166s # G_TYPE_DBUS_METHOD_INVOCATION); 1166s # 1166s # /** 1166s # * ComAcmeCoyote::handle-sleep: 1166s # * @object: A #ComAcmeCoyote. 1166s # * @invocation: A #GDBusMethodInvocation. 1166s # * 1166s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method. 1166s # * 1166s # * 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. 1166s # * 1166s # * 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. 1166s # */ 1166s # g_signal_new ("handle-sleep", 1166s # G_TYPE_FROM_INTERFACE (iface), 1166s # G_SIGNAL_RUN_LAST, 1166s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep), 1166s # g_signal_accumulator_true_handled, 1166s # NULL, 1166s # com_acme_coyote_method_marshal_sleep, 1166s # G_TYPE_BOOLEAN, 1166s # 1, 1166s # G_TYPE_DBUS_METHOD_INVOCATION); 1166s # 1166s # /** 1166s # * ComAcmeCoyote::handle-attack: 1166s # * @object: A #ComAcmeCoyote. 1166s # * @invocation: A #GDBusMethodInvocation. 1166s # * 1166s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method. 1166s # * 1166s # * 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. 1166s # * 1166s # * 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. 1166s # */ 1166s # g_signal_new ("handle-attack", 1166s # G_TYPE_FROM_INTERFACE (iface), 1166s # G_SIGNAL_RUN_LAST, 1166s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack), 1166s # g_signal_accumulator_true_handled, 1166s # NULL, 1166s # com_acme_coyote_method_marshal_attack, 1166s # G_TYPE_BOOLEAN, 1166s # 1, 1166s # G_TYPE_DBUS_METHOD_INVOCATION); 1166s # 1166s # /* GObject signals for received D-Bus signals: */ 1166s # /** 1166s # * ComAcmeCoyote::surprised: 1166s # * @object: A #ComAcmeCoyote. 1166s # * 1166s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received. 1166s # * 1166s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1166s # */ 1166s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] = 1166s # g_signal_new ("surprised", 1166s # G_TYPE_FROM_INTERFACE (iface), 1166s # G_SIGNAL_RUN_LAST, 1166s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised), 1166s # NULL, 1166s # NULL, 1166s # com_acme_coyote_signal_marshal_surprised, 1166s # G_TYPE_NONE, 1166s # 0); 1166s # 1166s # /* GObject properties for D-Bus properties: */ 1166s # /** 1166s # * ComAcmeCoyote:mood: 1166s # * 1166s # * Represents the D-Bus property "Mood". 1166s # * 1166s # * 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. 1166s # */ 1166s # g_object_interface_install_property (iface, 1166s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 1166s # } 1166s # 1166s # /** 1166s # * com_acme_coyote_get_mood: (skip) 1166s # * @object: A #ComAcmeCoyote. 1166s # * 1166s # * Gets the value of the "Mood" D-Bus property. 1166s # * 1166s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1166s # * 1166s # * 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. 1166s # * 1166s # * 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. 1166s # */ 1166s # const gchar * 1166s # com_acme_coyote_get_mood (ComAcmeCoyote *object) 1166s # { 1166s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL); 1166s # 1166s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object); 1166s # } 1166s # 1166s # /** 1166s # * com_acme_coyote_dup_mood: (skip) 1166s # * @object: A #ComAcmeCoyote. 1166s # * 1166s # * Gets a copy of the "Mood" D-Bus property. 1166s # * 1166s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1166s # * 1166s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). 1166s # */ 1166s # gchar * 1166s # com_acme_coyote_dup_mood (ComAcmeCoyote *object) 1166s # { 1166s # gchar *value; 1166s # g_object_get (G_OBJECT (object), "mood", &value, NULL); 1166s # return value; 1166s # } 1166s # 1166s # /** 1166s # * com_acme_coyote_set_mood: (skip) 1166s # * @object: A #ComAcmeCoyote. 1166s # * @value: The value to set. 1166s # * 1166s # * Sets the "Mood" D-Bus property to @value. 1166s # * 1166s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1166s # */ 1166s # void 1166s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value) 1166s # { 1166s # g_object_set (G_OBJECT (object), "mood", value, NULL); 1166s # } 1166s # 1166s # /** 1166s # * com_acme_coyote_emit_surprised: 1166s # * @object: A #ComAcmeCoyote. 1166s # * 1166s # * Emits the "Surprised" D-Bus signal. 1166s # */ 1166s # void 1166s # com_acme_coyote_emit_surprised ( 1166s # ComAcmeCoyote *object) 1166s # { 1166s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0); 1166s # } 1166s # 1166s # /** 1166s # * com_acme_coyote_call_run: 1166s # * @proxy: A #ComAcmeCoyoteProxy. 1166s # * @cancellable: (nullable): A #GCancellable or %NULL. 1166s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1166s # * @user_data: User data to pass to @callback. 1166s # * 1166s # * Asynchronously invokes the Run() D-Bus method on @proxy. 1166s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1166s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation. 1166s # * 1166s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method. 1166s # */ 1166s # void 1166s # com_acme_coyote_call_run ( 1166s # ComAcmeCoyote *proxy, 1166s # GCancellable *cancellable, 1166s # GAsyncReadyCallback callback, 1166s # gpointer user_data) 1166s # { 1166s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1166s # "Run", 1166s # g_variant_new ("()"), 1166s # G_DBUS_CALL_FLAGS_NONE, 1166s # -1, 1166s # cancellable, 1166s # callback, 1166s # user_data); 1166s # } 1166s # 1166s # /** 1166s # * com_acme_coyote_call_run_finish: 1166s # * @proxy: A #ComAcmeCoyoteProxy. 1166s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run(). 1166s # * @error: Return location for error or %NULL. 1166s # * 1166s # * Finishes an operation started with com_acme_coyote_call_run(). 1166s # * 1166s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1166s # */ 1166s # gboolean 1166s # com_acme_coyote_call_run_finish ( 1166s # ComAcmeCoyote *proxy, 1166s # GAsyncResult *res, 1166s # GError **error) 1166s # { 1166s # GVariant *_ret; 1166s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1166s # if (_ret == NULL) 1166s # goto _out; 1166s # g_variant_get (_ret, 1166s # "()"); 1166s # g_variant_unref (_ret); 1166s # _out: 1166s # return _ret != NULL; 1166s # } 1166s # 1166s # /** 1166s # * com_acme_coyote_call_run_sync: 1166s # * @proxy: A #ComAcmeCoyoteProxy. 1166s # * @cancellable: (nullable): A #GCancellable or %NULL. 1166s # * @error: Return location for error or %NULL. 1166s # * 1166s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1166s # * 1166s # * See com_acme_coyote_call_run() for the asynchronous version of this method. 1166s # * 1166s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1166s # */ 1166s # gboolean 1166s # com_acme_coyote_call_run_sync ( 1166s # ComAcmeCoyote *proxy, 1166s # GCancellable *cancellable, 1166s # GError **error) 1166s # { 1166s # GVariant *_ret; 1166s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1166s # "Run", 1166s # g_variant_new ("()"), 1166s # G_DBUS_CALL_FLAGS_NONE, 1166s # -1, 1166s # cancellable, 1166s # error); 1166s # if (_ret == NULL) 1166s # goto _out; 1166s # g_variant_get (_ret, 1166s # "()"); 1166s # g_variant_unref (_ret); 1166s # _out: 1166s # return _ret != NULL; 1166s # } 1166s # 1166s # /** 1166s # * com_acme_coyote_call_sleep: 1166s # * @proxy: A #ComAcmeCoyoteProxy. 1166s # * @cancellable: (nullable): A #GCancellable or %NULL. 1166s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1166s # * @user_data: User data to pass to @callback. 1166s # * 1166s # * Asynchronously invokes the Sleep() D-Bus method on @proxy. 1166s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1166s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation. 1166s # * 1166s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method. 1166s # */ 1166s # void 1166s # com_acme_coyote_call_sleep ( 1166s # ComAcmeCoyote *proxy, 1166s # GCancellable *cancellable, 1166s # GAsyncReadyCallback callback, 1166s # gpointer user_data) 1166s # { 1166s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1166s # "Sleep", 1166s # g_variant_new ("()"), 1166s # G_DBUS_CALL_FLAGS_NONE, 1166s # -1, 1166s # cancellable, 1166s # callback, 1166s # user_data); 1166s # } 1166s # 1166s # /** 1166s # * com_acme_coyote_call_sleep_finish: 1166s # * @proxy: A #ComAcmeCoyoteProxy. 1166s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep(). 1166s # * @error: Return location for error or %NULL. 1166s # * 1166s # * Finishes an operation started with com_acme_coyote_call_sleep(). 1166s # * 1166s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1166s # */ 1166s # gboolean 1166s # com_acme_coyote_call_sleep_finish ( 1166s # ComAcmeCoyote *proxy, 1166s # GAsyncResult *res, 1166s # GError **error) 1166s # { 1166s # GVariant *_ret; 1166s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1166s # if (_ret == NULL) 1166s # goto _out; 1166s # g_variant_get (_ret, 1166s # "()"); 1166s # g_variant_unref (_ret); 1166s # _out: 1166s # return _ret != NULL; 1166s # } 1166s # 1166s # /** 1166s # * com_acme_coyote_call_sleep_sync: 1166s # * @proxy: A #ComAcmeCoyoteProxy. 1166s # * @cancellable: (nullable): A #GCancellable or %NULL. 1166s # * @error: Return location for error or %NULL. 1166s # * 1166s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1166s # * 1166s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method. 1166s # * 1166s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1166s # */ 1166s # gboolean 1166s # com_acme_coyote_call_sleep_sync ( 1166s # ComAcmeCoyote *proxy, 1166s # GCancellable *cancellable, 1166s # GError **error) 1166s # { 1166s # GVariant *_ret; 1166s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1166s # "Sleep", 1166s # g_variant_new ("()"), 1166s # G_DBUS_CALL_FLAGS_NONE, 1166s # -1, 1166s # cancellable, 1166s # error); 1166s # if (_ret == NULL) 1166s # goto _out; 1166s # g_variant_get (_ret, 1166s # "()"); 1166s # g_variant_unref (_ret); 1166s # _out: 1166s # return _ret != NULL; 1166s # } 1166s # 1166s # /** 1166s # * com_acme_coyote_call_attack: 1166s # * @proxy: A #ComAcmeCoyoteProxy. 1166s # * @cancellable: (nullable): A #GCancellable or %NULL. 1166s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1166s # * @user_data: User data to pass to @callback. 1166s # * 1166s # * Asynchronously invokes the Attack() D-Bus method on @proxy. 1166s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1166s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation. 1166s # * 1166s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method. 1166s # */ 1166s # void 1166s # com_acme_coyote_call_attack ( 1166s # ComAcmeCoyote *proxy, 1166s # GCancellable *cancellable, 1166s # GAsyncReadyCallback callback, 1166s # gpointer user_data) 1166s # { 1166s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1166s # "Attack", 1166s # g_variant_new ("()"), 1166s # G_DBUS_CALL_FLAGS_NONE, 1166s # -1, 1166s # cancellable, 1166s # callback, 1166s # user_data); 1166s # } 1166s # 1166s # /** 1166s # * com_acme_coyote_call_attack_finish: 1166s # * @proxy: A #ComAcmeCoyoteProxy. 1166s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack(). 1166s # * @error: Return location for error or %NULL. 1166s # * 1166s # * Finishes an operation started with com_acme_coyote_call_attack(). 1166s # * 1166s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1166s # */ 1166s # gboolean 1166s # com_acme_coyote_call_attack_finish ( 1166s # ComAcmeCoyote *proxy, 1166s # GAsyncResult *res, 1166s # GError **error) 1166s # { 1166s # GVariant *_ret; 1166s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1166s # if (_ret == NULL) 1166s # goto _out; 1166s # g_variant_get (_ret, 1166s # "()"); 1166s # g_variant_unref (_ret); 1166s # _out: 1166s # return _ret != NULL; 1166s # } 1166s # 1166s # /** 1166s # * com_acme_coyote_call_attack_sync: 1166s # * @proxy: A #ComAcmeCoyoteProxy. 1166s # * @cancellable: (nullable): A #GCancellable or %NULL. 1166s # * @error: Return location for error or %NULL. 1166s # * 1166s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1166s # * 1166s # * See com_acme_coyote_call_attack() for the asynchronous version of this method. 1166s # * 1166s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1166s # */ 1166s # gboolean 1166s # com_acme_coyote_call_attack_sync ( 1166s # ComAcmeCoyote *proxy, 1166s # GCancellable *cancellable, 1166s # GError **error) 1166s # { 1166s # GVariant *_ret; 1166s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1166s # "Attack", 1166s # g_variant_new ("()"), 1166s # G_DBUS_CALL_FLAGS_NONE, 1166s # -1, 1166s # cancellable, 1166s # error); 1166s # if (_ret == NULL) 1166s # goto _out; 1166s # g_variant_get (_ret, 1166s # "()"); 1166s # g_variant_unref (_ret); 1166s # _out: 1166s # return _ret != NULL; 1166s # } 1166s # 1166s # /** 1166s # * com_acme_coyote_complete_run: 1166s # * @object: A #ComAcmeCoyote. 1166s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1166s # * 1166s # * 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. 1166s # * 1166s # * This method will free @invocation, you cannot use it afterwards. 1166s # */ 1166s # void 1166s # com_acme_coyote_complete_run ( 1166s # ComAcmeCoyote *object G_GNUC_UNUSED, 1166s # GDBusMethodInvocation *invocation) 1166s # { 1166s # g_dbus_method_invocation_return_value (invocation, 1166s # g_variant_new ("()")); 1166s # } 1166s # 1166s # /** 1166s # * com_acme_coyote_complete_sleep: 1166s # * @object: A #ComAcmeCoyote. 1166s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1166s # * 1166s # * 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. 1166s # * 1166s # * This method will free @invocation, you cannot use it afterwards. 1166s # */ 1166s # void 1166s # com_acme_coyote_complete_sleep ( 1166s # ComAcmeCoyote *object G_GNUC_UNUSED, 1166s # GDBusMethodInvocation *invocation) 1166s # { 1166s # g_dbus_method_invocation_return_value (invocation, 1166s # g_variant_new ("()")); 1166s # } 1166s # 1166s # /** 1166s # * com_acme_coyote_complete_attack: 1166s # * @object: A #ComAcmeCoyote. 1166s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1166s # * 1166s # * 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. 1166s # * 1166s # * This method will free @invocation, you cannot use it afterwards. 1166s # */ 1166s # void 1166s # com_acme_coyote_complete_attack ( 1166s # ComAcmeCoyote *object G_GNUC_UNUSED, 1166s # GDBusMethodInvocation *invocation) 1166s # { 1166s # g_dbus_method_invocation_return_value (invocation, 1166s # g_variant_new ("()")); 1166s # } 1166s # 1166s # /* ------------------------------------------------------------------------ */ 1166s # 1166s # /** 1166s # * ComAcmeCoyoteProxy: 1166s # * 1166s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API. 1166s # */ 1166s # 1166s # /** 1166s # * ComAcmeCoyoteProxyClass: 1166s # * @parent_class: The parent class. 1166s # * 1166s # * Class structure for #ComAcmeCoyoteProxy. 1166s # */ 1166s # 1166s # struct _ComAcmeCoyoteProxyPrivate 1166s # { 1166s # GData *qdata; 1166s # }; 1166s # 1166s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface); 1166s # 1166s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1166s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 1166s # G_ADD_PRIVATE (ComAcmeCoyoteProxy) 1166s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 1166s # 1166s # #else 1166s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 1166s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 1166s # 1166s # #endif 1166s # static void 1166s # com_acme_coyote_proxy_finalize (GObject *object) 1166s # { 1166s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 1166s # g_datalist_clear (&proxy->priv->qdata); 1166s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object); 1166s # } 1166s # 1166s # static void 1166s # com_acme_coyote_proxy_get_property (GObject *object, 1166s # guint prop_id, 1166s # GValue *value, 1166s # GParamSpec *pspec G_GNUC_UNUSED) 1166s # { 1166s # const _ExtendedGDBusPropertyInfo *info; 1166s # GVariant *variant; 1166s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1166s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1166s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1166s # if (info->use_gvariant) 1166s # { 1166s # g_value_set_variant (value, variant); 1166s # } 1166s # else 1166s # { 1166s # if (variant != NULL) 1166s # g_dbus_gvariant_to_gvalue (variant, value); 1166s # } 1166s # if (variant != NULL) 1166s # g_variant_unref (variant); 1166s # } 1166s # 1166s # static void 1166s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy, 1166s # GAsyncResult *res, 1166s # gpointer user_data) 1166s # { 1166s # const _ExtendedGDBusPropertyInfo *info = user_data; 1166s # GError *error; 1166s # GVariant *_ret; 1166s # error = NULL; 1166s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1166s # if (!_ret) 1166s # { 1166s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)", 1166s # info->parent_struct.name, 1166s # error->message, g_quark_to_string (error->domain), error->code); 1166s # g_error_free (error); 1166s # } 1166s # else 1166s # { 1166s # g_variant_unref (_ret); 1166s # } 1166s # } 1166s # 1166s # static void 1166s # com_acme_coyote_proxy_set_property (GObject *object, 1166s # guint prop_id, 1166s # const GValue *value, 1166s # GParamSpec *pspec G_GNUC_UNUSED) 1166s # { 1166s # const _ExtendedGDBusPropertyInfo *info; 1166s # GVariant *variant; 1166s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1166s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1166s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1166s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1166s # "org.freedesktop.DBus.Properties.Set", 1166s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant), 1166s # G_DBUS_CALL_FLAGS_NONE, 1166s # -1, 1166s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1166s # g_variant_unref (variant); 1166s # } 1166s # 1166s # static void 1166s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy, 1166s # const gchar *sender_name G_GNUC_UNUSED, 1166s # const gchar *signal_name, 1166s # GVariant *parameters) 1166s # { 1166s # _ExtendedGDBusSignalInfo *info; 1166s # GVariantIter iter; 1166s # GVariant *child; 1166s # GValue *paramv; 1166s # gsize num_params; 1166s # gsize n; 1166s # guint signal_id; 1166s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name); 1166s # if (info == NULL) 1166s # return; 1166s # num_params = g_variant_n_children (parameters); 1166s # paramv = g_new0 (GValue, num_params + 1); 1166s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE); 1166s # g_value_set_object (¶mv[0], proxy); 1166s # g_variant_iter_init (&iter, parameters); 1166s # n = 1; 1166s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1166s # { 1166s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1166s # if (arg_info->use_gvariant) 1166s # { 1166s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1166s # g_value_set_variant (¶mv[n], child); 1166s # n++; 1166s # } 1166s # else 1166s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1166s # g_variant_unref (child); 1166s # } 1166s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 1166s # g_signal_emitv (paramv, signal_id, 0, NULL); 1166s # for (n = 0; n < num_params + 1; n++) 1166s # g_value_unset (¶mv[n]); 1166s # g_free (paramv); 1166s # } 1166s # 1166s # static void 1166s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy, 1166s # GVariant *changed_properties, 1166s # const gchar *const *invalidated_properties) 1166s # { 1166s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy); 1166s # guint n; 1166s # const gchar *key; 1166s # GVariantIter *iter; 1166s # _ExtendedGDBusPropertyInfo *info; 1166s # g_variant_get (changed_properties, "a{sv}", &iter); 1166s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1166s # { 1166s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key); 1166s # g_datalist_remove_data (&proxy->priv->qdata, key); 1166s # if (info != NULL) 1166s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1166s # } 1166s # g_variant_iter_free (iter); 1166s # for (n = 0; invalidated_properties[n] != NULL; n++) 1166s # { 1166s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]); 1166s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1166s # if (info != NULL) 1166s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1166s # } 1166s # } 1166s # 1166s # static const gchar * 1166s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object) 1166s # { 1166s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 1166s # GVariant *variant; 1166s # const gchar *value = NULL; 1166s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood"); 1166s # if (variant != NULL) 1166s # { 1166s # value = g_variant_get_string (variant, NULL); 1166s # g_variant_unref (variant); 1166s # } 1166s # return value; 1166s # } 1166s # 1166s # static void 1166s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy) 1166s # { 1166s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1166s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy); 1166s # #else 1166s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate); 1166s # #endif 1166s # 1166s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ()); 1166s # } 1166s # 1166s # static void 1166s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass) 1166s # { 1166s # GObjectClass *gobject_class; 1166s # GDBusProxyClass *proxy_class; 1166s # 1166s # gobject_class = G_OBJECT_CLASS (klass); 1166s # gobject_class->finalize = com_acme_coyote_proxy_finalize; 1166s # gobject_class->get_property = com_acme_coyote_proxy_get_property; 1166s # gobject_class->set_property = com_acme_coyote_proxy_set_property; 1166s # 1166s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1166s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal; 1166s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed; 1166s # 1166s # com_acme_coyote_override_properties (gobject_class, 1); 1166s # 1166s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1166s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate)); 1166s # #endif 1166s # } 1166s # 1166s # static void 1166s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface) 1166s # { 1166s # iface->get_mood = com_acme_coyote_proxy_get_mood; 1166s # } 1166s # 1166s # /** 1166s # * com_acme_coyote_proxy_new: 1166s # * @connection: A #GDBusConnection. 1166s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1166s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1166s # * @object_path: An object path. 1166s # * @cancellable: (nullable): A #GCancellable or %NULL. 1166s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1166s # * @user_data: User data to pass to @callback. 1166s # * 1166s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details. 1166s # * 1166s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1166s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation. 1166s # * 1166s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor. 1166s # */ 1166s # void 1166s # com_acme_coyote_proxy_new ( 1166s # GDBusConnection *connection, 1166s # GDBusProxyFlags flags, 1166s # const gchar *name, 1166s # const gchar *object_path, 1166s # GCancellable *cancellable, 1166s # GAsyncReadyCallback callback, 1166s # gpointer user_data) 1166s # { 1166s # 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); 1166s # } 1166s # 1166s # /** 1166s # * com_acme_coyote_proxy_new_finish: 1166s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new(). 1166s # * @error: Return location for error or %NULL 1166s # * 1166s # * Finishes an operation started with com_acme_coyote_proxy_new(). 1166s # * 1166s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1166s # */ 1166s # ComAcmeCoyote * 1166s # com_acme_coyote_proxy_new_finish ( 1166s # GAsyncResult *res, 1166s # GError **error) 1166s # { 1166s # GObject *ret; 1166s # GObject *source_object; 1166s # source_object = g_async_result_get_source_object (res); 1166s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1166s # g_object_unref (source_object); 1166s # if (ret != NULL) 1166s # return COM_ACME_COYOTE (ret); 1166s # else 1166s # return NULL; 1166s # } 1166s # 1166s # /** 1166s # * com_acme_coyote_proxy_new_sync: 1166s # * @connection: A #GDBusConnection. 1166s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1166s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1166s # * @object_path: An object path. 1166s # * @cancellable: (nullable): A #GCancellable or %NULL. 1166s # * @error: Return location for error or %NULL 1166s # * 1166s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details. 1166s # * 1166s # * The calling thread is blocked until a reply is received. 1166s # * 1166s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor. 1166s # * 1166s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1166s # */ 1166s # ComAcmeCoyote * 1166s # com_acme_coyote_proxy_new_sync ( 1166s # GDBusConnection *connection, 1166s # GDBusProxyFlags flags, 1166s # const gchar *name, 1166s # const gchar *object_path, 1166s # GCancellable *cancellable, 1166s # GError **error) 1166s # { 1166s # GInitable *ret; 1166s # 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); 1166s # if (ret != NULL) 1166s # return COM_ACME_COYOTE (ret); 1166s # else 1166s # return NULL; 1166s # } 1166s # 1166s # 1166s # /** 1166s # * com_acme_coyote_proxy_new_for_bus: 1166s # * @bus_type: A #GBusType. 1166s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1166s # * @name: A bus name (well-known or unique). 1166s # * @object_path: An object path. 1166s # * @cancellable: (nullable): A #GCancellable or %NULL. 1166s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1166s # * @user_data: User data to pass to @callback. 1166s # * 1166s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1166s # * 1166s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1166s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation. 1166s # * 1166s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1166s # */ 1166s # void 1166s # com_acme_coyote_proxy_new_for_bus ( 1166s # GBusType bus_type, 1166s # GDBusProxyFlags flags, 1166s # const gchar *name, 1166s # const gchar *object_path, 1166s # GCancellable *cancellable, 1166s # GAsyncReadyCallback callback, 1166s # gpointer user_data) 1166s # { 1166s # 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); 1166s # } 1166s # 1166s # /** 1166s # * com_acme_coyote_proxy_new_for_bus_finish: 1166s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus(). 1166s # * @error: Return location for error or %NULL 1166s # * 1166s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus(). 1166s # * 1166s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1166s # */ 1166s # ComAcmeCoyote * 1166s # com_acme_coyote_proxy_new_for_bus_finish ( 1166s # GAsyncResult *res, 1166s # GError **error) 1166s # { 1166s # GObject *ret; 1166s # GObject *source_object; 1166s # source_object = g_async_result_get_source_object (res); 1166s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1166s # g_object_unref (source_object); 1166s # if (ret != NULL) 1166s # return COM_ACME_COYOTE (ret); 1166s # else 1166s # return NULL; 1166s # } 1166s # 1166s # /** 1166s # * com_acme_coyote_proxy_new_for_bus_sync: 1166s # * @bus_type: A #GBusType. 1166s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1166s # * @name: A bus name (well-known or unique). 1166s # * @object_path: An object path. 1166s # * @cancellable: (nullable): A #GCancellable or %NULL. 1166s # * @error: Return location for error or %NULL 1166s # * 1166s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1166s # * 1166s # * The calling thread is blocked until a reply is received. 1166s # * 1166s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor. 1166s # * 1166s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1166s # */ 1166s # ComAcmeCoyote * 1166s # com_acme_coyote_proxy_new_for_bus_sync ( 1166s # GBusType bus_type, 1166s # GDBusProxyFlags flags, 1166s # const gchar *name, 1166s # const gchar *object_path, 1166s # GCancellable *cancellable, 1166s # GError **error) 1166s # { 1166s # GInitable *ret; 1166s # 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); 1166s # if (ret != NULL) 1166s # return COM_ACME_COYOTE (ret); 1166s # else 1166s # return NULL; 1166s # } 1166s # 1166s # 1166s # /* ------------------------------------------------------------------------ */ 1166s # 1166s # /** 1166s # * ComAcmeCoyoteSkeleton: 1166s # * 1166s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API. 1166s # */ 1166s # 1166s # /** 1166s # * ComAcmeCoyoteSkeletonClass: 1166s # * @parent_class: The parent class. 1166s # * 1166s # * Class structure for #ComAcmeCoyoteSkeleton. 1166s # */ 1166s # 1166s # struct _ComAcmeCoyoteSkeletonPrivate 1166s # { 1166s # GValue *properties; 1166s # GList *changed_properties; 1166s # GSource *changed_properties_idle_source; 1166s # GMainContext *context; 1166s # GMutex lock; 1166s # }; 1166s # 1166s # static void 1166s # _com_acme_coyote_skeleton_handle_method_call ( 1166s # GDBusConnection *connection G_GNUC_UNUSED, 1166s # const gchar *sender G_GNUC_UNUSED, 1166s # const gchar *object_path G_GNUC_UNUSED, 1166s # const gchar *interface_name, 1166s # const gchar *method_name, 1166s # GVariant *parameters, 1166s # GDBusMethodInvocation *invocation, 1166s # gpointer user_data) 1166s # { 1166s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1166s # _ExtendedGDBusMethodInfo *info; 1166s # GVariantIter iter; 1166s # GVariant *child; 1166s # GValue *paramv; 1166s # gsize num_params; 1166s # guint num_extra; 1166s # gsize n; 1166s # guint signal_id; 1166s # GValue return_value = G_VALUE_INIT; 1166s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1166s # g_assert (info != NULL); 1166s # num_params = g_variant_n_children (parameters); 1166s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1166s # n = 0; 1166s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE); 1166s # g_value_set_object (¶mv[n++], skeleton); 1166s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1166s # g_value_set_object (¶mv[n++], invocation); 1166s # if (info->pass_fdlist) 1166s # { 1166s # #ifdef G_OS_UNIX 1166s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1166s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1166s # #else 1166s # g_assert_not_reached (); 1166s # #endif 1166s # } 1166s # g_variant_iter_init (&iter, parameters); 1166s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1166s # { 1166s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1166s # if (arg_info->use_gvariant) 1166s # { 1166s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1166s # g_value_set_variant (¶mv[n], child); 1166s # n++; 1166s # } 1166s # else 1166s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1166s # g_variant_unref (child); 1166s # } 1166s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 1166s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1166s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1166s # if (!g_value_get_boolean (&return_value)) 1166s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1166s # g_value_unset (&return_value); 1166s # for (n = 0; n < num_params + num_extra; n++) 1166s # g_value_unset (¶mv[n]); 1166s # g_free (paramv); 1166s # } 1166s # 1166s # static GVariant * 1166s # _com_acme_coyote_skeleton_handle_get_property ( 1166s # GDBusConnection *connection G_GNUC_UNUSED, 1166s # const gchar *sender G_GNUC_UNUSED, 1166s # const gchar *object_path G_GNUC_UNUSED, 1166s # const gchar *interface_name G_GNUC_UNUSED, 1166s # const gchar *property_name, 1166s # GError **error, 1166s # gpointer user_data) 1166s # { 1166s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1166s # GValue value = G_VALUE_INIT; 1166s # GParamSpec *pspec; 1166s # _ExtendedGDBusPropertyInfo *info; 1166s # GVariant *ret; 1166s # ret = NULL; 1166s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 1166s # g_assert (info != NULL); 1166s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1166s # if (pspec == NULL) 1166s # { 1166s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1166s # } 1166s # else 1166s # { 1166s # g_value_init (&value, pspec->value_type); 1166s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1166s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1166s # g_value_unset (&value); 1166s # } 1166s # return ret; 1166s # } 1166s # 1166s # static gboolean 1166s # _com_acme_coyote_skeleton_handle_set_property ( 1166s # GDBusConnection *connection G_GNUC_UNUSED, 1166s # const gchar *sender G_GNUC_UNUSED, 1166s # const gchar *object_path G_GNUC_UNUSED, 1166s # const gchar *interface_name G_GNUC_UNUSED, 1166s # const gchar *property_name, 1166s # GVariant *variant, 1166s # GError **error, 1166s # gpointer user_data) 1166s # { 1166s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1166s # GValue value = G_VALUE_INIT; 1166s # GParamSpec *pspec; 1166s # _ExtendedGDBusPropertyInfo *info; 1166s # gboolean ret; 1166s # ret = FALSE; 1166s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 1166s # g_assert (info != NULL); 1166s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1166s # if (pspec == NULL) 1166s # { 1166s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1166s # } 1166s # else 1166s # { 1166s # if (info->use_gvariant) 1166s # g_value_set_variant (&value, variant); 1166s # else 1166s # g_dbus_gvariant_to_gvalue (variant, &value); 1166s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1166s # g_value_unset (&value); 1166s # ret = TRUE; 1166s # } 1166s # return ret; 1166s # } 1166s # 1166s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable = 1166s # { 1166s # _com_acme_coyote_skeleton_handle_method_call, 1166s # _com_acme_coyote_skeleton_handle_get_property, 1166s # _com_acme_coyote_skeleton_handle_set_property, 1166s # {NULL} 1166s # }; 1166s # 1166s # static GDBusInterfaceInfo * 1166s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1166s # { 1166s # return com_acme_coyote_interface_info (); 1166s # } 1166s # 1166s # static GDBusInterfaceVTable * 1166s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1166s # { 1166s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable; 1166s # } 1166s # 1166s # static GVariant * 1166s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1166s # { 1166s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 1166s # 1166s # GVariantBuilder builder; 1166s # guint n; 1166s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1166s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL) 1166s # goto out; 1166s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++) 1166s # { 1166s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n]; 1166s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1166s # { 1166s # GVariant *value; 1166s # 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); 1166s # if (value != NULL) 1166s # { 1166s # g_variant_take_ref (value); 1166s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1166s # g_variant_unref (value); 1166s # } 1166s # } 1166s # } 1166s # out: 1166s # return g_variant_builder_end (&builder); 1166s # } 1166s # 1166s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data); 1166s # 1166s # static void 1166s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1166s # { 1166s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 1166s # gboolean emit_changed = FALSE; 1166s # 1166s # g_mutex_lock (&skeleton->priv->lock); 1166s # if (skeleton->priv->changed_properties_idle_source != NULL) 1166s # { 1166s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1166s # skeleton->priv->changed_properties_idle_source = NULL; 1166s # emit_changed = TRUE; 1166s # } 1166s # g_mutex_unlock (&skeleton->priv->lock); 1166s # 1166s # if (emit_changed) 1166s # _com_acme_coyote_emit_changed (skeleton); 1166s # } 1166s # 1166s # static void 1166s # _com_acme_coyote_on_signal_surprised ( 1166s # ComAcmeCoyote *object) 1166s # { 1166s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1166s # 1166s # GList *connections, *l; 1166s # GVariant *signal_variant; 1166s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1166s # 1166s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1166s # for (l = connections; l != NULL; l = l->next) 1166s # { 1166s # GDBusConnection *connection = l->data; 1166s # g_dbus_connection_emit_signal (connection, 1166s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised", 1166s # signal_variant, NULL); 1166s # } 1166s # g_variant_unref (signal_variant); 1166s # g_list_free_full (connections, g_object_unref); 1166s # } 1166s # 1166s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface); 1166s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1166s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1166s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton) 1166s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 1166s # 1166s # #else 1166s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1166s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 1166s # 1166s # #endif 1166s # static void 1166s # com_acme_coyote_skeleton_finalize (GObject *object) 1166s # { 1166s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1166s # guint n; 1166s # for (n = 0; n < 1; n++) 1166s # g_value_unset (&skeleton->priv->properties[n]); 1166s # g_free (skeleton->priv->properties); 1166s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1166s # if (skeleton->priv->changed_properties_idle_source != NULL) 1166s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1166s # g_main_context_unref (skeleton->priv->context); 1166s # g_mutex_clear (&skeleton->priv->lock); 1166s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object); 1166s # } 1166s # 1166s # static void 1166s # com_acme_coyote_skeleton_get_property (GObject *object, 1166s # guint prop_id, 1166s # GValue *value, 1166s # GParamSpec *pspec G_GNUC_UNUSED) 1166s # { 1166s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1166s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1166s # g_mutex_lock (&skeleton->priv->lock); 1166s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1166s # g_mutex_unlock (&skeleton->priv->lock); 1166s # } 1166s # 1166s # static gboolean 1166s # _com_acme_coyote_emit_changed (gpointer user_data) 1166s # { 1166s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1166s # GList *l; 1166s # GVariantBuilder builder; 1166s # GVariantBuilder invalidated_builder; 1166s # guint num_changes; 1166s # 1166s # g_mutex_lock (&skeleton->priv->lock); 1166s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1166s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1166s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1166s # { 1166s # ChangedProperty *cp = l->data; 1166s # GVariant *variant; 1166s # const GValue *cur_value; 1166s # 1166s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1166s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1166s # { 1166s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1166s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1166s # g_variant_unref (variant); 1166s # num_changes++; 1166s # } 1166s # } 1166s # if (num_changes > 0) 1166s # { 1166s # GList *connections, *ll; 1166s # GVariant *signal_variant; 1166s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote", 1166s # &builder, &invalidated_builder)); 1166s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1166s # for (ll = connections; ll != NULL; ll = ll->next) 1166s # { 1166s # GDBusConnection *connection = ll->data; 1166s # 1166s # g_dbus_connection_emit_signal (connection, 1166s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1166s # "org.freedesktop.DBus.Properties", 1166s # "PropertiesChanged", 1166s # signal_variant, 1166s # NULL); 1166s # } 1166s # g_variant_unref (signal_variant); 1166s # g_list_free_full (connections, g_object_unref); 1166s # } 1166s # else 1166s # { 1166s # g_variant_builder_clear (&builder); 1166s # g_variant_builder_clear (&invalidated_builder); 1166s # } 1166s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1166s # skeleton->priv->changed_properties = NULL; 1166s # skeleton->priv->changed_properties_idle_source = NULL; 1166s # g_mutex_unlock (&skeleton->priv->lock); 1166s # return FALSE; 1166s # } 1166s # 1166s # static void 1166s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1166s # { 1166s # ChangedProperty *cp; 1166s # GList *l; 1166s # cp = NULL; 1166s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1166s # { 1166s # ChangedProperty *i_cp = l->data; 1166s # if (i_cp->info == info) 1166s # { 1166s # cp = i_cp; 1166s # break; 1166s # } 1166s # } 1166s # if (cp == NULL) 1166s # { 1166s # cp = g_new0 (ChangedProperty, 1); 1166s # cp->prop_id = prop_id; 1166s # cp->info = info; 1166s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1166s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1166s # g_value_copy (orig_value, &cp->orig_value); 1166s # } 1166s # } 1166s # 1166s # static void 1166s # com_acme_coyote_skeleton_notify (GObject *object, 1166s # GParamSpec *pspec G_GNUC_UNUSED) 1166s # { 1166s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1166s # g_mutex_lock (&skeleton->priv->lock); 1166s # if (skeleton->priv->changed_properties != NULL && 1166s # skeleton->priv->changed_properties_idle_source == NULL) 1166s # { 1166s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1166s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1166s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1166s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed"); 1166s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1166s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1166s # } 1166s # g_mutex_unlock (&skeleton->priv->lock); 1166s # } 1166s # 1166s # static void 1166s # com_acme_coyote_skeleton_set_property (GObject *object, 1166s # guint prop_id, 1166s # const GValue *value, 1166s # GParamSpec *pspec) 1166s # { 1166s # const _ExtendedGDBusPropertyInfo *info; 1166s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1166s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1166s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1166s # g_mutex_lock (&skeleton->priv->lock); 1166s # g_object_freeze_notify (object); 1166s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1166s # { 1166s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1166s # info->emits_changed_signal) 1166s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1166s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1166s # g_object_notify_by_pspec (object, pspec); 1166s # } 1166s # g_mutex_unlock (&skeleton->priv->lock); 1166s # g_object_thaw_notify (object); 1166s # } 1166s # 1166s # static void 1166s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton) 1166s # { 1166s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1166s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton); 1166s # #else 1166s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate); 1166s # #endif 1166s # 1166s # g_mutex_init (&skeleton->priv->lock); 1166s # skeleton->priv->context = g_main_context_ref_thread_default (); 1166s # skeleton->priv->properties = g_new0 (GValue, 1); 1166s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); 1166s # } 1166s # 1166s # static const gchar * 1166s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object) 1166s # { 1166s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1166s # const gchar *value; 1166s # g_mutex_lock (&skeleton->priv->lock); 1166s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0])); 1166s # g_mutex_unlock (&skeleton->priv->lock); 1166s # return value; 1166s # } 1166s # 1166s # static void 1166s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass) 1166s # { 1166s # GObjectClass *gobject_class; 1166s # GDBusInterfaceSkeletonClass *skeleton_class; 1166s # 1166s # gobject_class = G_OBJECT_CLASS (klass); 1166s # gobject_class->finalize = com_acme_coyote_skeleton_finalize; 1166s # gobject_class->get_property = com_acme_coyote_skeleton_get_property; 1166s # gobject_class->set_property = com_acme_coyote_skeleton_set_property; 1166s # gobject_class->notify = com_acme_coyote_skeleton_notify; 1166s # 1166s # 1166s # com_acme_coyote_override_properties (gobject_class, 1); 1166s # 1166s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1166s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info; 1166s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties; 1166s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush; 1166s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable; 1166s # 1166s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1166s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate)); 1166s # #endif 1166s # } 1166s # 1166s # static void 1166s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface) 1166s # { 1166s # iface->surprised = _com_acme_coyote_on_signal_surprised; 1166s # iface->get_mood = com_acme_coyote_skeleton_get_mood; 1166s # } 1166s # 1166s # /** 1166s # * com_acme_coyote_skeleton_new: 1166s # * 1166s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote. 1166s # * 1166s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object. 1166s # */ 1166s # ComAcmeCoyote * 1166s # com_acme_coyote_skeleton_new (void) 1166s # { 1166s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL)); 1166s # } 1166s # 1166s # /* ------------------------------------------------------------------------ 1166s # * Code for interface org.project.Bar.Frobnicator 1166s # * ------------------------------------------------------------------------ 1166s # */ 1166s # 1166s # /** 1166s # * SECTION:OrgProjectBarFrobnicator 1166s # * @title: OrgProjectBarFrobnicator 1166s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface 1166s # * 1166s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C. 1166s # */ 1166s # 1166s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */ 1166s # 1166s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method = 1166s # { 1166s # { 1166s # -1, 1166s # (gchar *) "RandomMethod", 1166s # NULL, 1166s # NULL, 1166s # NULL 1166s # }, 1166s # "handle-random-method", 1166s # FALSE 1166s # }; 1166s # 1166s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] = 1166s # { 1166s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct, 1166s # NULL 1166s # }; 1166s # 1166s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info = 1166s # { 1166s # { 1166s # -1, 1166s # (gchar *) "org.project.Bar.Frobnicator", 1166s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers, 1166s # NULL, 1166s # NULL, 1166s # NULL 1166s # }, 1166s # "org-project-bar-frobnicator", 1166s # }; 1166s # 1166s # 1166s # /** 1166s # * org_project_bar_frobnicator_interface_info: 1166s # * 1166s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface. 1166s # * 1166s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1166s # */ 1166s # GDBusInterfaceInfo * 1166s # org_project_bar_frobnicator_interface_info (void) 1166s # { 1166s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct; 1166s # } 1166s # 1166s # /** 1166s # * org_project_bar_frobnicator_override_properties: 1166s # * @klass: The class structure for a #GObject derived class. 1166s # * @property_id_begin: The property id to assign to the first overridden property. 1166s # * 1166s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class. 1166s # * The properties are overridden in the order they are defined. 1166s # * 1166s # * Returns: The last property id. 1166s # */ 1166s # guint 1166s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1166s # { 1166s # return property_id_begin - 1; 1166s # } 1166s # 1166s # 1166s # inline static void 1166s # org_project_bar_frobnicator_method_marshal_random_method ( 1166s # GClosure *closure, 1166s # GValue *return_value, 1166s # unsigned int n_param_values, 1166s # const GValue *param_values, 1166s # void *invocation_hint, 1166s # void *marshal_data) 1166s # { 1166s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1166s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1166s # } 1166s # 1166s # 1166s # /** 1166s # * OrgProjectBarFrobnicator: 1166s # * 1166s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator. 1166s # */ 1166s # 1166s # /** 1166s # * OrgProjectBarFrobnicatorIface: 1166s # * @parent_iface: The parent interface. 1166s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal. 1166s # * 1166s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator. 1166s # */ 1166s # 1166s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface; 1166s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT) 1166s # 1166s # static void 1166s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface) 1166s # { 1166s # /* GObject signals for incoming D-Bus method calls: */ 1166s # /** 1166s # * OrgProjectBarFrobnicator::handle-random-method: 1166s # * @object: A #OrgProjectBarFrobnicator. 1166s # * @invocation: A #GDBusMethodInvocation. 1166s # * 1166s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method. 1166s # * 1166s # * 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. 1166s # * 1166s # * 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. 1166s # */ 1166s # g_signal_new ("handle-random-method", 1166s # G_TYPE_FROM_INTERFACE (iface), 1166s # G_SIGNAL_RUN_LAST, 1166s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method), 1166s # g_signal_accumulator_true_handled, 1166s # NULL, 1166s # org_project_bar_frobnicator_method_marshal_random_method, 1166s # G_TYPE_BOOLEAN, 1166s # 1, 1166s # G_TYPE_DBUS_METHOD_INVOCATION); 1166s # 1166s # } 1166s # 1166s # /** 1166s # * org_project_bar_frobnicator_call_random_method: 1166s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1166s # * @cancellable: (nullable): A #GCancellable or %NULL. 1166s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1166s # * @user_data: User data to pass to @callback. 1166s # * 1166s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy. 1166s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1166s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation. 1166s # * 1166s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method. 1166s # */ 1166s # void 1166s # org_project_bar_frobnicator_call_random_method ( 1166s # OrgProjectBarFrobnicator *proxy, 1166s # GCancellable *cancellable, 1166s # GAsyncReadyCallback callback, 1166s # gpointer user_data) 1166s # { 1166s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1166s # "RandomMethod", 1166s # g_variant_new ("()"), 1166s # G_DBUS_CALL_FLAGS_NONE, 1166s # -1, 1166s # cancellable, 1166s # callback, 1166s # user_data); 1166s # } 1166s # 1166s # /** 1166s # * org_project_bar_frobnicator_call_random_method_finish: 1166s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1166s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method(). 1166s # * @error: Return location for error or %NULL. 1166s # * 1166s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method(). 1166s # * 1166s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1166s # */ 1166s # gboolean 1166s # org_project_bar_frobnicator_call_random_method_finish ( 1166s # OrgProjectBarFrobnicator *proxy, 1166s # GAsyncResult *res, 1166s # GError **error) 1166s # { 1166s # GVariant *_ret; 1166s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1166s # if (_ret == NULL) 1166s # goto _out; 1166s # g_variant_get (_ret, 1166s # "()"); 1166s # g_variant_unref (_ret); 1166s # _out: 1166s # return _ret != NULL; 1166s # } 1166s # 1166s # /** 1166s # * org_project_bar_frobnicator_call_random_method_sync: 1166s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1166s # * @cancellable: (nullable): A #GCancellable or %NULL. 1166s # * @error: Return location for error or %NULL. 1166s # * 1166s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1166s # * 1166s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method. 1166s # * 1166s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1166s # */ 1166s # gboolean 1166s # org_project_bar_frobnicator_call_random_method_sync ( 1166s # OrgProjectBarFrobnicator *proxy, 1166s # GCancellable *cancellable, 1166s # GError **error) 1166s # { 1166s # GVariant *_ret; 1166s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1166s # "RandomMethod", 1166s # g_variant_new ("()"), 1166s # G_DBUS_CALL_FLAGS_NONE, 1166s # -1, 1166s # cancellable, 1166s # error); 1166s # if (_ret == NULL) 1166s # goto _out; 1166s # g_variant_get (_ret, 1166s # "()"); 1166s # g_variant_unref (_ret); 1166s # _out: 1166s # return _ret != NULL; 1166s # } 1166s # 1166s # /** 1166s # * org_project_bar_frobnicator_complete_random_method: 1166s # * @object: A #OrgProjectBarFrobnicator. 1166s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1166s # * 1166s # * 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. 1166s # * 1166s # * This method will free @invocation, you cannot use it afterwards. 1166s # */ 1166s # void 1166s # org_project_bar_frobnicator_complete_random_method ( 1166s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED, 1166s # GDBusMethodInvocation *invocation) 1166s # { 1166s # g_dbus_method_invocation_return_value (invocation, 1166s # g_variant_new ("()")); 1166s # } 1166s # 1166s # /* ------------------------------------------------------------------------ */ 1166s # 1166s # /** 1166s # * OrgProjectBarFrobnicatorProxy: 1166s # * 1166s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API. 1166s # */ 1166s # 1166s # /** 1166s # * OrgProjectBarFrobnicatorProxyClass: 1166s # * @parent_class: The parent class. 1166s # * 1166s # * Class structure for #OrgProjectBarFrobnicatorProxy. 1166s # */ 1166s # 1166s # struct _OrgProjectBarFrobnicatorProxyPrivate 1166s # { 1166s # GData *qdata; 1166s # }; 1166s # 1166s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface); 1166s # 1166s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1166s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 1166s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy) 1166s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 1166s # 1166s # #else 1166s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 1166s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 1166s # 1166s # #endif 1166s # static void 1166s # org_project_bar_frobnicator_proxy_finalize (GObject *object) 1166s # { 1166s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object); 1166s # g_datalist_clear (&proxy->priv->qdata); 1166s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object); 1166s # } 1166s # 1166s # static void 1166s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED, 1166s # guint prop_id G_GNUC_UNUSED, 1166s # GValue *value G_GNUC_UNUSED, 1166s # GParamSpec *pspec G_GNUC_UNUSED) 1166s # { 1166s # } 1166s # 1166s # static void 1166s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED, 1166s # guint prop_id G_GNUC_UNUSED, 1166s # const GValue *value G_GNUC_UNUSED, 1166s # GParamSpec *pspec G_GNUC_UNUSED) 1166s # { 1166s # } 1166s # 1166s # static void 1166s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy, 1166s # const gchar *sender_name G_GNUC_UNUSED, 1166s # const gchar *signal_name, 1166s # GVariant *parameters) 1166s # { 1166s # _ExtendedGDBusSignalInfo *info; 1166s # GVariantIter iter; 1166s # GVariant *child; 1166s # GValue *paramv; 1166s # gsize num_params; 1166s # gsize n; 1166s # guint signal_id; 1166s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name); 1166s # if (info == NULL) 1166s # return; 1166s # num_params = g_variant_n_children (parameters); 1166s # paramv = g_new0 (GValue, num_params + 1); 1166s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1166s # g_value_set_object (¶mv[0], proxy); 1166s # g_variant_iter_init (&iter, parameters); 1166s # n = 1; 1166s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1166s # { 1166s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1166s # if (arg_info->use_gvariant) 1166s # { 1166s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1166s # g_value_set_variant (¶mv[n], child); 1166s # n++; 1166s # } 1166s # else 1166s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1166s # g_variant_unref (child); 1166s # } 1166s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1166s # g_signal_emitv (paramv, signal_id, 0, NULL); 1166s # for (n = 0; n < num_params + 1; n++) 1166s # g_value_unset (¶mv[n]); 1166s # g_free (paramv); 1166s # } 1166s # 1166s # static void 1166s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy, 1166s # GVariant *changed_properties, 1166s # const gchar *const *invalidated_properties) 1166s # { 1166s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy); 1166s # guint n; 1166s # const gchar *key; 1166s # GVariantIter *iter; 1166s # _ExtendedGDBusPropertyInfo *info; 1166s # g_variant_get (changed_properties, "a{sv}", &iter); 1166s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1166s # { 1166s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key); 1166s # g_datalist_remove_data (&proxy->priv->qdata, key); 1166s # if (info != NULL) 1166s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1166s # } 1166s # g_variant_iter_free (iter); 1166s # for (n = 0; invalidated_properties[n] != NULL; n++) 1166s # { 1166s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]); 1166s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1166s # if (info != NULL) 1166s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1166s # } 1166s # } 1166s # 1166s # static void 1166s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy) 1166s # { 1166s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1166s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy); 1166s # #else 1166s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate); 1166s # #endif 1166s # 1166s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ()); 1166s # } 1166s # 1166s # static void 1166s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass) 1166s # { 1166s # GObjectClass *gobject_class; 1166s # GDBusProxyClass *proxy_class; 1166s # 1166s # gobject_class = G_OBJECT_CLASS (klass); 1166s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize; 1166s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property; 1166s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property; 1166s # 1166s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1166s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal; 1166s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed; 1166s # 1166s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1166s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate)); 1166s # #endif 1166s # } 1166s # 1166s # static void 1166s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 1166s # { 1166s # } 1166s # 1166s # /** 1166s # * org_project_bar_frobnicator_proxy_new: 1166s # * @connection: A #GDBusConnection. 1166s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1166s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1166s # * @object_path: An object path. 1166s # * @cancellable: (nullable): A #GCancellable or %NULL. 1166s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1166s # * @user_data: User data to pass to @callback. 1166s # * 1166s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details. 1166s # * 1166s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1166s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation. 1166s # * 1166s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor. 1166s # */ 1166s # void 1166s # org_project_bar_frobnicator_proxy_new ( 1166s # GDBusConnection *connection, 1166s # GDBusProxyFlags flags, 1166s # const gchar *name, 1166s # const gchar *object_path, 1166s # GCancellable *cancellable, 1166s # GAsyncReadyCallback callback, 1166s # gpointer user_data) 1166s # { 1166s # 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); 1166s # } 1166s # 1166s # /** 1166s # * org_project_bar_frobnicator_proxy_new_finish: 1166s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new(). 1166s # * @error: Return location for error or %NULL 1166s # * 1166s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new(). 1166s # * 1166s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1166s # */ 1166s # OrgProjectBarFrobnicator * 1166s # org_project_bar_frobnicator_proxy_new_finish ( 1166s # GAsyncResult *res, 1166s # GError **error) 1166s # { 1166s # GObject *ret; 1166s # GObject *source_object; 1166s # source_object = g_async_result_get_source_object (res); 1166s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1166s # g_object_unref (source_object); 1166s # if (ret != NULL) 1166s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1166s # else 1166s # return NULL; 1166s # } 1166s # 1166s # /** 1166s # * org_project_bar_frobnicator_proxy_new_sync: 1166s # * @connection: A #GDBusConnection. 1166s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1166s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1166s # * @object_path: An object path. 1166s # * @cancellable: (nullable): A #GCancellable or %NULL. 1166s # * @error: Return location for error or %NULL 1166s # * 1166s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details. 1166s # * 1166s # * The calling thread is blocked until a reply is received. 1166s # * 1166s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor. 1166s # * 1166s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1166s # */ 1166s # OrgProjectBarFrobnicator * 1166s # org_project_bar_frobnicator_proxy_new_sync ( 1166s # GDBusConnection *connection, 1166s # GDBusProxyFlags flags, 1166s # const gchar *name, 1166s # const gchar *object_path, 1166s # GCancellable *cancellable, 1166s # GError **error) 1166s # { 1166s # GInitable *ret; 1166s # 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); 1166s # if (ret != NULL) 1166s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1166s # else 1166s # return NULL; 1166s # } 1166s # 1166s # 1166s # /** 1166s # * org_project_bar_frobnicator_proxy_new_for_bus: 1166s # * @bus_type: A #GBusType. 1166s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1166s # * @name: A bus name (well-known or unique). 1166s # * @object_path: An object path. 1166s # * @cancellable: (nullable): A #GCancellable or %NULL. 1166s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1166s # * @user_data: User data to pass to @callback. 1166s # * 1166s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1166s # * 1166s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1166s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation. 1166s # * 1166s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1166s # */ 1166s # void 1166s # org_project_bar_frobnicator_proxy_new_for_bus ( 1166s # GBusType bus_type, 1166s # GDBusProxyFlags flags, 1166s # const gchar *name, 1166s # const gchar *object_path, 1166s # GCancellable *cancellable, 1166s # GAsyncReadyCallback callback, 1166s # gpointer user_data) 1166s # { 1166s # 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); 1166s # } 1166s # 1166s # /** 1166s # * org_project_bar_frobnicator_proxy_new_for_bus_finish: 1166s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus(). 1166s # * @error: Return location for error or %NULL 1166s # * 1166s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus(). 1166s # * 1166s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1166s # */ 1166s # OrgProjectBarFrobnicator * 1166s # org_project_bar_frobnicator_proxy_new_for_bus_finish ( 1166s # GAsyncResult *res, 1166s # GError **error) 1166s # { 1166s # GObject *ret; 1166s # GObject *source_object; 1166s # source_object = g_async_result_get_source_object (res); 1166s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1166s # g_object_unref (source_object); 1166s # if (ret != NULL) 1166s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1166s # else 1166s # return NULL; 1166s # } 1166s # 1166s # /** 1166s # * org_project_bar_frobnicator_proxy_new_for_bus_sync: 1166s # * @bus_type: A #GBusType. 1166s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1166s # * @name: A bus name (well-known or unique). 1166s # * @object_path: An object path. 1166s # * @cancellable: (nullable): A #GCancellable or %NULL. 1166s # * @error: Return location for error or %NULL 1166s # * 1166s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1166s # * 1166s # * The calling thread is blocked until a reply is received. 1166s # * 1166s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor. 1166s # * 1166s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1166s # */ 1166s # OrgProjectBarFrobnicator * 1166s # org_project_bar_frobnicator_proxy_new_for_bus_sync ( 1166s # GBusType bus_type, 1166s # GDBusProxyFlags flags, 1166s # const gchar *name, 1166s # const gchar *object_path, 1166s # GCancellable *cancellable, 1166s # GError **error) 1166s # { 1166s # GInitable *ret; 1166s # 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); 1166s # if (ret != NULL) 1166s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1166s # else 1166s # return NULL; 1166s # } 1166s # 1166s # 1166s # /* ------------------------------------------------------------------------ */ 1166s # 1166s # /** 1166s # * OrgProjectBarFrobnicatorSkeleton: 1166s # * 1166s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API. 1166s # */ 1166s # 1166s # /** 1166s # * OrgProjectBarFrobnicatorSkeletonClass: 1166s # * @parent_class: The parent class. 1166s # * 1166s # * Class structure for #OrgProjectBarFrobnicatorSkeleton. 1166s # */ 1166s # 1166s # struct _OrgProjectBarFrobnicatorSkeletonPrivate 1166s # { 1166s # GValue *properties; 1166s # GList *changed_properties; 1166s # GSource *changed_properties_idle_source; 1166s # GMainContext *context; 1166s # GMutex lock; 1166s # }; 1166s # 1166s # static void 1166s # _org_project_bar_frobnicator_skeleton_handle_method_call ( 1166s # GDBusConnection *connection G_GNUC_UNUSED, 1166s # const gchar *sender G_GNUC_UNUSED, 1166s # const gchar *object_path G_GNUC_UNUSED, 1166s # const gchar *interface_name, 1166s # const gchar *method_name, 1166s # GVariant *parameters, 1166s # GDBusMethodInvocation *invocation, 1166s # gpointer user_data) 1166s # { 1166s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1166s # _ExtendedGDBusMethodInfo *info; 1166s # GVariantIter iter; 1166s # GVariant *child; 1166s # GValue *paramv; 1166s # gsize num_params; 1166s # guint num_extra; 1166s # gsize n; 1166s # guint signal_id; 1166s # GValue return_value = G_VALUE_INIT; 1166s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1166s # g_assert (info != NULL); 1166s # num_params = g_variant_n_children (parameters); 1166s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1166s # n = 0; 1166s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1166s # g_value_set_object (¶mv[n++], skeleton); 1166s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1166s # g_value_set_object (¶mv[n++], invocation); 1166s # if (info->pass_fdlist) 1166s # { 1166s # #ifdef G_OS_UNIX 1166s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1166s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1166s # #else 1166s # g_assert_not_reached (); 1166s # #endif 1166s # } 1166s # g_variant_iter_init (&iter, parameters); 1166s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1166s # { 1166s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1166s # if (arg_info->use_gvariant) 1166s # { 1166s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1166s # g_value_set_variant (¶mv[n], child); 1166s # n++; 1166s # } 1166s # else 1166s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1166s # g_variant_unref (child); 1166s # } 1166s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1166s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1166s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1166s # if (!g_value_get_boolean (&return_value)) 1166s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1166s # g_value_unset (&return_value); 1166s # for (n = 0; n < num_params + num_extra; n++) 1166s # g_value_unset (¶mv[n]); 1166s # g_free (paramv); 1166s # } 1166s # 1166s # static GVariant * 1166s # _org_project_bar_frobnicator_skeleton_handle_get_property ( 1166s # GDBusConnection *connection G_GNUC_UNUSED, 1166s # const gchar *sender G_GNUC_UNUSED, 1166s # const gchar *object_path G_GNUC_UNUSED, 1166s # const gchar *interface_name G_GNUC_UNUSED, 1166s # const gchar *property_name, 1166s # GError **error, 1166s # gpointer user_data) 1166s # { 1166s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1166s # GValue value = G_VALUE_INIT; 1166s # GParamSpec *pspec; 1166s # _ExtendedGDBusPropertyInfo *info; 1166s # GVariant *ret; 1166s # ret = NULL; 1166s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 1166s # g_assert (info != NULL); 1166s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1166s # if (pspec == NULL) 1166s # { 1166s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1166s # } 1166s # else 1166s # { 1166s # g_value_init (&value, pspec->value_type); 1166s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1166s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1166s # g_value_unset (&value); 1166s # } 1166s # return ret; 1166s # } 1166s # 1166s # static gboolean 1166s # _org_project_bar_frobnicator_skeleton_handle_set_property ( 1166s # GDBusConnection *connection G_GNUC_UNUSED, 1166s # const gchar *sender G_GNUC_UNUSED, 1166s # const gchar *object_path G_GNUC_UNUSED, 1166s # const gchar *interface_name G_GNUC_UNUSED, 1166s # const gchar *property_name, 1166s # GVariant *variant, 1166s # GError **error, 1166s # gpointer user_data) 1166s # { 1166s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1166s # GValue value = G_VALUE_INIT; 1166s # GParamSpec *pspec; 1166s # _ExtendedGDBusPropertyInfo *info; 1166s # gboolean ret; 1166s # ret = FALSE; 1166s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 1166s # g_assert (info != NULL); 1166s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1166s # if (pspec == NULL) 1166s # { 1166s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1166s # } 1166s # else 1166s # { 1166s # if (info->use_gvariant) 1166s # g_value_set_variant (&value, variant); 1166s # else 1166s # g_dbus_gvariant_to_gvalue (variant, &value); 1166s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1166s # g_value_unset (&value); 1166s # ret = TRUE; 1166s # } 1166s # return ret; 1166s # } 1166s # 1166s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable = 1166s # { 1166s # _org_project_bar_frobnicator_skeleton_handle_method_call, 1166s # _org_project_bar_frobnicator_skeleton_handle_get_property, 1166s # _org_project_bar_frobnicator_skeleton_handle_set_property, 1166s # {NULL} 1166s # }; 1166s # 1166s # static GDBusInterfaceInfo * 1166s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1166s # { 1166s # return org_project_bar_frobnicator_interface_info (); 1166s # } 1166s # 1166s # static GDBusInterfaceVTable * 1166s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1166s # { 1166s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable; 1166s # } 1166s # 1166s # static GVariant * 1166s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1166s # { 1166s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton); 1166s # 1166s # GVariantBuilder builder; 1166s # guint n; 1166s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1166s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL) 1166s # goto out; 1166s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++) 1166s # { 1166s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n]; 1166s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1166s # { 1166s # GVariant *value; 1166s # 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); 1166s # if (value != NULL) 1166s # { 1166s # g_variant_take_ref (value); 1166s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1166s # g_variant_unref (value); 1166s # } 1166s # } 1166s # } 1166s # out: 1166s # return g_variant_builder_end (&builder); 1166s # } 1166s # 1166s # static void 1166s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1166s # { 1166s # } 1166s # 1166s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface); 1166s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1166s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1166s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton) 1166s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 1166s # 1166s # #else 1166s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1166s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 1166s # 1166s # #endif 1166s # static void 1166s # org_project_bar_frobnicator_skeleton_finalize (GObject *object) 1166s # { 1166s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object); 1166s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1166s # if (skeleton->priv->changed_properties_idle_source != NULL) 1166s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1166s # g_main_context_unref (skeleton->priv->context); 1166s # g_mutex_clear (&skeleton->priv->lock); 1166s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object); 1166s # } 1166s # 1166s # static void 1166s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton) 1166s # { 1166s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1166s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton); 1166s # #else 1166s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate); 1166s # #endif 1166s # 1166s # g_mutex_init (&skeleton->priv->lock); 1166s # skeleton->priv->context = g_main_context_ref_thread_default (); 1166s # } 1166s # 1166s # static void 1166s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass) 1166s # { 1166s # GObjectClass *gobject_class; 1166s # GDBusInterfaceSkeletonClass *skeleton_class; 1166s # 1166s # gobject_class = G_OBJECT_CLASS (klass); 1166s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize; 1166s # 1166s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1166s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info; 1166s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties; 1166s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush; 1166s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable; 1166s # 1166s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1166s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate)); 1166s # #endif 1166s # } 1166s # 1166s # static void 1166s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 1166s # { 1166s # } 1166s # 1166s # /** 1166s # * org_project_bar_frobnicator_skeleton_new: 1166s # * 1166s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator. 1166s # * 1166s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object. 1166s # */ 1166s # OrgProjectBarFrobnicator * 1166s # org_project_bar_frobnicator_skeleton_new (void) 1166s # { 1166s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL)); 1166s # } 1166s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmps9_cl8ik/tmpo_g68fyk2.xml', '/tmp/tmps9_cl8ik/tmpmou2xhce1.xml', '--output', '-', '--body'] 1166s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1166s # Output: /* 1166s # * This file is generated by gdbus-codegen, do not modify it. 1166s # * 1166s # * The license of this code is the same as for the D-Bus interface description 1166s # * it was derived from. Note that it links to GLib, so must comply with the 1166s # * LGPL linking clauses. 1166s # */ 1166s # 1166s # #ifdef HAVE_CONFIG_H 1166s # # include "config.h" 1166s # #endif 1166s # 1166s # #include 1166s # #ifdef G_OS_UNIX 1166s # # include 1166s # #endif 1166s # 1166s # #ifdef G_ENABLE_DEBUG 1166s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1166s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1166s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1166s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1166s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1166s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1166s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1166s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1166s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1166s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1166s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1166s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1166s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1166s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1166s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1166s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1166s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1166s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1166s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1166s # #else /* !G_ENABLE_DEBUG */ 1166s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1166s # * Do not access GValues directly in your code. Instead, use the 1166s # * g_value_get_*() functions 1166s # */ 1166s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1166s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1166s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1166s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1166s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1166s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1166s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1166s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1166s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1166s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1166s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1166s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1166s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1166s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1166s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1166s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1166s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1166s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1166s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1166s # #endif /* !G_ENABLE_DEBUG */ 1166s # 1166s # typedef struct 1166s # { 1166s # GDBusArgInfo parent_struct; 1166s # gboolean use_gvariant; 1166s # } _ExtendedGDBusArgInfo; 1166s # 1166s # typedef struct 1166s # { 1166s # GDBusMethodInfo parent_struct; 1166s # const gchar *signal_name; 1166s # gboolean pass_fdlist; 1166s # } _ExtendedGDBusMethodInfo; 1166s # 1166s # typedef struct 1166s # { 1166s # GDBusSignalInfo parent_struct; 1166s # const gchar *signal_name; 1166s # } _ExtendedGDBusSignalInfo; 1166s # 1166s # typedef struct 1166s # { 1166s # GDBusPropertyInfo parent_struct; 1166s # const gchar *hyphen_name; 1166s # guint use_gvariant : 1; 1166s # guint emits_changed_signal : 1; 1166s # } _ExtendedGDBusPropertyInfo; 1166s # 1166s # typedef struct 1166s # { 1166s # GDBusInterfaceInfo parent_struct; 1166s # const gchar *hyphen_name; 1166s # } _ExtendedGDBusInterfaceInfo; 1166s # 1166s # typedef struct 1166s # { 1166s # const _ExtendedGDBusPropertyInfo *info; 1166s # guint prop_id; 1166s # GValue orig_value; /* the value before the change */ 1166s # } ChangedProperty; 1166s # 1166s # static void 1166s # _changed_property_free (ChangedProperty *data) 1166s # { 1166s # g_value_unset (&data->orig_value); 1166s # g_free (data); 1166s # } 1166s # 1166s # static gboolean 1166s # _g_strv_equal0 (gchar **a, gchar **b) 1166s # { 1166s # gboolean ret = FALSE; 1166s # guint n; 1166s # if (a == NULL && b == NULL) 1166s # { 1166s # ret = TRUE; 1166s # goto out; 1166s # } 1166s # if (a == NULL || b == NULL) 1166s # goto out; 1166s # if (g_strv_length (a) != g_strv_length (b)) 1166s # goto out; 1166s # for (n = 0; a[n] != NULL; n++) 1166s # if (g_strcmp0 (a[n], b[n]) != 0) 1166s # goto out; 1166s # ret = TRUE; 1166s # out: 1166s # return ret; 1166s # } 1166s # 1166s # static gboolean 1166s # _g_variant_equal0 (GVariant *a, GVariant *b) 1166s # { 1166s # gboolean ret = FALSE; 1166s # if (a == NULL && b == NULL) 1166s # { 1166s # ret = TRUE; 1166s # goto out; 1166s # } 1166s # if (a == NULL || b == NULL) 1166s # goto out; 1166s # ret = g_variant_equal (a, b); 1166s # out: 1166s # return ret; 1166s # } 1166s # 1166s # G_GNUC_UNUSED static gboolean 1166s # _g_value_equal (const GValue *a, const GValue *b) 1166s # { 1166s # gboolean ret = FALSE; 1166s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1166s # switch (G_VALUE_TYPE (a)) 1166s # { 1166s # case G_TYPE_BOOLEAN: 1166s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1166s # break; 1166s # case G_TYPE_UCHAR: 1166s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1166s # break; 1166s # case G_TYPE_INT: 1166s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1166s # break; 1166s # case G_TYPE_UINT: 1166s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1166s # break; 1166s # case G_TYPE_INT64: 1166s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1166s # break; 1166s # case G_TYPE_UINT64: 1166s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1166s # break; 1166s # case G_TYPE_DOUBLE: 1166s # { 1166s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1166s # gdouble da = g_value_get_double (a); 1166s # gdouble db = g_value_get_double (b); 1166s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1166s # } 1166s # break; 1166s # case G_TYPE_STRING: 1166s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1166s # break; 1166s # case G_TYPE_VARIANT: 1166s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1166s # break; 1166s # default: 1166s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1166s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1166s # else 1166s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1166s # break; 1166s # } 1166s # return ret; 1166s # } 1166s # 1166s # static void 1166s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1166s # GClosure *closure, 1166s # GValue *return_value, 1166s # unsigned int n_param_values, 1166s # const GValue *param_values, 1166s # void *invocation_hint G_GNUC_UNUSED, 1166s # void *marshal_data) 1166s # { 1166s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1166s # (void *data1, 1166s # GDBusMethodInvocation *arg_method_invocation, 1166s # void *data2); 1166s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1166s # GCClosure *cc = (GCClosure*) closure; 1166s # void *data1, *data2; 1166s # gboolean v_return; 1166s # 1166s # g_return_if_fail (return_value != NULL); 1166s # g_return_if_fail (n_param_values == 2); 1166s # 1166s # if (G_CCLOSURE_SWAP_DATA (closure)) 1166s # { 1166s # data1 = closure->data; 1166s # data2 = g_value_peek_pointer (param_values + 0); 1166s # } 1166s # else 1166s # { 1166s # data1 = g_value_peek_pointer (param_values + 0); 1166s # data2 = closure->data; 1166s # } 1166s # 1166s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1166s # (marshal_data ? marshal_data : cc->callback); 1166s # 1166s # v_return = 1166s # callback (data1, 1166s # g_marshal_value_peek_object (param_values + 1), 1166s # data2); 1166s # 1166s # g_value_set_boolean (return_value, v_return); 1166s # } 1166s # 1166s # /* ------------------------------------------------------------------------ 1166s # * Code for interface com.acme.Coyote 1166s # * ------------------------------------------------------------------------ 1166s # */ 1166s # 1166s # /** 1166s # * SECTION:ComAcmeCoyote 1166s # * @title: ComAcmeCoyote 1166s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface 1166s # * 1166s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C. 1166s # */ 1166s # 1166s # enum 1166s # { 1166s # _COM_ACME_COYOTE_SURPRISED, 1166s # }; 1166s # 1166s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 }; 1166s # 1166s # /* ---- Introspection data for com.acme.Coyote ---- */ 1166s # 1166s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run = 1166s # { 1166s # { 1166s # -1, 1166s # (gchar *) "Run", 1166s # NULL, 1166s # NULL, 1166s # NULL 1166s # }, 1166s # "handle-run", 1166s # FALSE 1166s # }; 1166s # 1166s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep = 1166s # { 1166s # { 1166s # -1, 1166s # (gchar *) "Sleep", 1166s # NULL, 1166s # NULL, 1166s # NULL 1166s # }, 1166s # "handle-sleep", 1166s # FALSE 1166s # }; 1166s # 1166s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack = 1166s # { 1166s # { 1166s # -1, 1166s # (gchar *) "Attack", 1166s # NULL, 1166s # NULL, 1166s # NULL 1166s # }, 1166s # "handle-attack", 1166s # FALSE 1166s # }; 1166s # 1166s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] = 1166s # { 1166s # &_com_acme_coyote_method_info_run.parent_struct, 1166s # &_com_acme_coyote_method_info_sleep.parent_struct, 1166s # &_com_acme_coyote_method_info_attack.parent_struct, 1166s # NULL 1166s # }; 1166s # 1166s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised = 1166s # { 1166s # { 1166s # -1, 1166s # (gchar *) "Surprised", 1166s # NULL, 1166s # NULL 1166s # }, 1166s # "surprised" 1166s # }; 1166s # 1166s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] = 1166s # { 1166s # &_com_acme_coyote_signal_info_surprised.parent_struct, 1166s # NULL 1166s # }; 1166s # 1166s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood = 1166s # { 1166s # { 1166s # -1, 1166s # (gchar *) "Mood", 1166s # (gchar *) "s", 1166s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1166s # NULL 1166s # }, 1166s # "mood", 1166s # FALSE, 1166s # TRUE 1166s # }; 1166s # 1166s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] = 1166s # { 1166s # &_com_acme_coyote_property_info_mood.parent_struct, 1166s # NULL 1166s # }; 1166s # 1166s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info = 1166s # { 1166s # { 1166s # -1, 1166s # (gchar *) "com.acme.Coyote", 1166s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers, 1166s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers, 1166s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers, 1166s # NULL 1166s # }, 1166s # "com-acme-coyote", 1166s # }; 1166s # 1166s # 1166s # /** 1166s # * com_acme_coyote_interface_info: 1166s # * 1166s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface. 1166s # * 1166s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1166s # */ 1166s # GDBusInterfaceInfo * 1166s # com_acme_coyote_interface_info (void) 1166s # { 1166s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct; 1166s # } 1166s # 1166s # /** 1166s # * com_acme_coyote_override_properties: 1166s # * @klass: The class structure for a #GObject derived class. 1166s # * @property_id_begin: The property id to assign to the first overridden property. 1166s # * 1166s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class. 1166s # * The properties are overridden in the order they are defined. 1166s # * 1166s # * Returns: The last property id. 1166s # */ 1166s # guint 1166s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin) 1166s # { 1166s # g_object_class_override_property (klass, property_id_begin++, "mood"); 1166s # return property_id_begin - 1; 1166s # } 1166s # 1166s # 1166s # inline static void 1166s # com_acme_coyote_signal_marshal_surprised ( 1166s # GClosure *closure, 1166s # GValue *return_value, 1166s # unsigned int n_param_values, 1166s # const GValue *param_values, 1166s # void *invocation_hint, 1166s # void *marshal_data) 1166s # { 1166s # g_cclosure_marshal_VOID__VOID (closure, 1166s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1166s # } 1166s # 1166s # inline static void 1166s # com_acme_coyote_method_marshal_run ( 1166s # GClosure *closure, 1166s # GValue *return_value, 1166s # unsigned int n_param_values, 1166s # const GValue *param_values, 1166s # void *invocation_hint, 1166s # void *marshal_data) 1166s # { 1166s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1166s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1166s # } 1166s # 1166s # inline static void 1166s # com_acme_coyote_method_marshal_sleep ( 1166s # GClosure *closure, 1166s # GValue *return_value, 1166s # unsigned int n_param_values, 1166s # const GValue *param_values, 1166s # void *invocation_hint, 1166s # void *marshal_data) 1166s # { 1166s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1166s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1166s # } 1166s # 1166s # inline static void 1166s # com_acme_coyote_method_marshal_attack ( 1166s # GClosure *closure, 1166s # GValue *return_value, 1166s # unsigned int n_param_values, 1166s # const GValue *param_values, 1166s # void *invocation_hint, 1166s # void *marshal_data) 1166s # { 1166s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1166s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1166s # } 1166s # 1166s # 1166s # /** 1166s # * ComAcmeCoyote: 1166s # * 1166s # * Abstract interface type for the D-Bus interface com.acme.Coyote. 1166s # */ 1166s # 1166s # /** 1166s # * ComAcmeCoyoteIface: 1166s # * @parent_iface: The parent interface. 1166s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal. 1166s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal. 1166s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal. 1166s # * @get_mood: Getter for the #ComAcmeCoyote:mood property. 1166s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal. 1166s # * 1166s # * Virtual table for the D-Bus interface com.acme.Coyote. 1166s # */ 1166s # 1166s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface; 1166s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT) 1166s # 1166s # static void 1166s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface) 1166s # { 1166s # /* GObject signals for incoming D-Bus method calls: */ 1166s # /** 1166s # * ComAcmeCoyote::handle-run: 1166s # * @object: A #ComAcmeCoyote. 1166s # * @invocation: A #GDBusMethodInvocation. 1166s # * 1166s # * Signal emitted when a remote caller is invoking the Run() D-Bus method. 1166s # * 1166s # * 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. 1166s # * 1166s # * 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. 1166s # */ 1166s # g_signal_new ("handle-run", 1166s # G_TYPE_FROM_INTERFACE (iface), 1166s # G_SIGNAL_RUN_LAST, 1166s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run), 1166s # g_signal_accumulator_true_handled, 1166s # NULL, 1166s # com_acme_coyote_method_marshal_run, 1166s # G_TYPE_BOOLEAN, 1166s # 1, 1166s # G_TYPE_DBUS_METHOD_INVOCATION); 1166s # 1166s # /** 1166s # * ComAcmeCoyote::handle-sleep: 1166s # * @object: A #ComAcmeCoyote. 1166s # * @invocation: A #GDBusMethodInvocation. 1166s # * 1166s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method. 1166s # * 1166s # * 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. 1166s # * 1166s # * 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. 1166s # */ 1166s # g_signal_new ("handle-sleep", 1166s # G_TYPE_FROM_INTERFACE (iface), 1166s # G_SIGNAL_RUN_LAST, 1166s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep), 1166s # g_signal_accumulator_true_handled, 1166s # NULL, 1166s # com_acme_coyote_method_marshal_sleep, 1166s # G_TYPE_BOOLEAN, 1166s # 1, 1166s # G_TYPE_DBUS_METHOD_INVOCATION); 1166s # 1166s # /** 1166s # * ComAcmeCoyote::handle-attack: 1166s # * @object: A #ComAcmeCoyote. 1166s # * @invocation: A #GDBusMethodInvocation. 1166s # * 1166s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method. 1166s # * 1166s # * 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. 1166s # * 1166s # * 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. 1166s # */ 1166s # g_signal_new ("handle-attack", 1166s # G_TYPE_FROM_INTERFACE (iface), 1166s # G_SIGNAL_RUN_LAST, 1166s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack), 1166s # g_signal_accumulator_true_handled, 1166s # NULL, 1166s # com_acme_coyote_method_marshal_attack, 1166s # G_TYPE_BOOLEAN, 1166s # 1, 1166s # G_TYPE_DBUS_METHOD_INVOCATION); 1166s # 1166s # /* GObject signals for received D-Bus signals: */ 1166s # /** 1166s # * ComAcmeCoyote::surprised: 1166s # * @object: A #ComAcmeCoyote. 1166s # * 1166s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received. 1166s # * 1166s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1166s # */ 1166s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] = 1166s # g_signal_new ("surprised", 1166s # G_TYPE_FROM_INTERFACE (iface), 1166s # G_SIGNAL_RUN_LAST, 1166s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised), 1166s # NULL, 1166s # NULL, 1166s # com_acme_coyote_signal_marshal_surprised, 1166s # G_TYPE_NONE, 1166s # 0); 1166s # 1166s # /* GObject properties for D-Bus properties: */ 1166s # /** 1166s # * ComAcmeCoyote:mood: 1166s # * 1166s # * Represents the D-Bus property "Mood". 1166s # * 1166s # * 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. 1166s # */ 1166s # g_object_interface_install_property (iface, 1166s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 1166s # } 1166s # 1166s # /** 1166s # * com_acme_coyote_get_mood: (skip) 1166s # * @object: A #ComAcmeCoyote. 1166s # * 1166s # * Gets the value of the "Mood" D-Bus property. 1166s # * 1166s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1166s # * 1166s # * 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. 1166s # * 1166s # * 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. 1166s # */ 1166s # const gchar * 1166s # com_acme_coyote_get_mood (ComAcmeCoyote *object) 1166s # { 1166s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL); 1166s # 1166s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object); 1166s # } 1166s # 1166s # /** 1166s # * com_acme_coyote_dup_mood: (skip) 1166s # * @object: A #ComAcmeCoyote. 1166s # * 1166s # * Gets a copy of the "Mood" D-Bus property. 1166s # * 1166s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1166s # * 1166s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). 1166s # */ 1166s # gchar * 1166s # com_acme_coyote_dup_mood (ComAcmeCoyote *object) 1166s # { 1166s # gchar *value; 1166s # g_object_get (G_OBJECT (object), "mood", &value, NULL); 1166s # return value; 1166s # } 1166s # 1166s # /** 1166s # * com_acme_coyote_set_mood: (skip) 1166s # * @object: A #ComAcmeCoyote. 1166s # * @value: The value to set. 1166s # * 1166s # * Sets the "Mood" D-Bus property to @value. 1166s # * 1166s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1166s # */ 1166s # void 1166s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value) 1166s # { 1166s # g_object_set (G_OBJECT (object), "mood", value, NULL); 1166s # } 1166s # 1166s # /** 1166s # * com_acme_coyote_emit_surprised: 1166s # * @object: A #ComAcmeCoyote. 1166s # * 1166s # * Emits the "Surprised" D-Bus signal. 1166s # */ 1166s # void 1166s # com_acme_coyote_emit_surprised ( 1166s # ComAcmeCoyote *object) 1166s # { 1166s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0); 1166s # } 1166s # 1166s # /** 1166s # * com_acme_coyote_call_run: 1166s # * @proxy: A #ComAcmeCoyoteProxy. 1166s # * @cancellable: (nullable): A #GCancellable or %NULL. 1166s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1166s # * @user_data: User data to pass to @callback. 1166s # * 1166s # * Asynchronously invokes the Run() D-Bus method on @proxy. 1166s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1166s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation. 1166s # * 1166s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method. 1166s # */ 1166s # void 1166s # com_acme_coyote_call_run ( 1166s # ComAcmeCoyote *proxy, 1166s # GCancellable *cancellable, 1166s # GAsyncReadyCallback callback, 1166s # gpointer user_data) 1166s # { 1166s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1166s # "Run", 1166s # g_variant_new ("()"), 1166s # G_DBUS_CALL_FLAGS_NONE, 1166s # -1, 1166s # cancellable, 1166s # callback, 1166s # user_data); 1166s # } 1166s # 1166s # /** 1166s # * com_acme_coyote_call_run_finish: 1166s # * @proxy: A #ComAcmeCoyoteProxy. 1166s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run(). 1166s # * @error: Return location for error or %NULL. 1166s # * 1166s # * Finishes an operation started with com_acme_coyote_call_run(). 1166s # * 1166s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1166s # */ 1166s # gboolean 1166s # com_acme_coyote_call_run_finish ( 1166s # ComAcmeCoyote *proxy, 1166s # GAsyncResult *res, 1166s # GError **error) 1166s # { 1166s # GVariant *_ret; 1166s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1166s # if (_ret == NULL) 1166s # goto _out; 1166s # g_variant_get (_ret, 1166s # "()"); 1166s # g_variant_unref (_ret); 1166s # _out: 1166s # return _ret != NULL; 1166s # } 1166s # 1166s # /** 1166s # * com_acme_coyote_call_run_sync: 1166s # * @proxy: A #ComAcmeCoyoteProxy. 1166s # * @cancellable: (nullable): A #GCancellable or %NULL. 1166s # * @error: Return location for error or %NULL. 1166s # * 1166s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1166s # * 1166s # * See com_acme_coyote_call_run() for the asynchronous version of this method. 1166s # * 1166s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1166s # */ 1166s # gboolean 1166s # com_acme_coyote_call_run_sync ( 1166s # ComAcmeCoyote *proxy, 1166s # GCancellable *cancellable, 1166s # GError **error) 1166s # { 1166s # GVariant *_ret; 1166s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1166s # "Run", 1166s # g_variant_new ("()"), 1166s # G_DBUS_CALL_FLAGS_NONE, 1166s # -1, 1166s # cancellable, 1166s # error); 1166s # if (_ret == NULL) 1166s # goto _out; 1166s # g_variant_get (_ret, 1166s # "()"); 1166s # g_variant_unref (_ret); 1166s # _out: 1166s # return _ret != NULL; 1166s # } 1166s # 1166s # /** 1166s # * com_acme_coyote_call_sleep: 1166s # * @proxy: A #ComAcmeCoyoteProxy. 1166s # * @cancellable: (nullable): A #GCancellable or %NULL. 1166s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1166s # * @user_data: User data to pass to @callback. 1166s # * 1166s # * Asynchronously invokes the Sleep() D-Bus method on @proxy. 1166s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1166s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation. 1166s # * 1166s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method. 1166s # */ 1166s # void 1166s # com_acme_coyote_call_sleep ( 1166s # ComAcmeCoyote *proxy, 1166s # GCancellable *cancellable, 1166s # GAsyncReadyCallback callback, 1166s # gpointer user_data) 1166s # { 1166s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1166s # "Sleep", 1166s # g_variant_new ("()"), 1166s # G_DBUS_CALL_FLAGS_NONE, 1166s # -1, 1166s # cancellable, 1166s # callback, 1166s # user_data); 1166s # } 1166s # 1166s # /** 1166s # * com_acme_coyote_call_sleep_finish: 1166s # * @proxy: A #ComAcmeCoyoteProxy. 1166s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep(). 1166s # * @error: Return location for error or %NULL. 1166s # * 1166s # * Finishes an operation started with com_acme_coyote_call_sleep(). 1166s # * 1166s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1166s # */ 1166s # gboolean 1166s # com_acme_coyote_call_sleep_finish ( 1166s # ComAcmeCoyote *proxy, 1166s # GAsyncResult *res, 1166s # GError **error) 1166s # { 1166s # GVariant *_ret; 1166s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1166s # if (_ret == NULL) 1166s # goto _out; 1166s # g_variant_get (_ret, 1166s # "()"); 1166s # g_variant_unref (_ret); 1166s # _out: 1166s # return _ret != NULL; 1166s # } 1166s # 1166s # /** 1166s # * com_acme_coyote_call_sleep_sync: 1166s # * @proxy: A #ComAcmeCoyoteProxy. 1166s # * @cancellable: (nullable): A #GCancellable or %NULL. 1166s # * @error: Return location for error or %NULL. 1166s # * 1166s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1166s # * 1166s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method. 1166s # * 1166s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1166s # */ 1166s # gboolean 1166s # com_acme_coyote_call_sleep_sync ( 1166s # ComAcmeCoyote *proxy, 1166s # GCancellable *cancellable, 1166s # GError **error) 1166s # { 1166s # GVariant *_ret; 1166s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1166s # "Sleep", 1166s # g_variant_new ("()"), 1166s # G_DBUS_CALL_FLAGS_NONE, 1166s # -1, 1166s # cancellable, 1166s # error); 1166s # if (_ret == NULL) 1166s # goto _out; 1166s # g_variant_get (_ret, 1166s # "()"); 1166s # g_variant_unref (_ret); 1166s # _out: 1166s # return _ret != NULL; 1166s # } 1166s # 1166s # /** 1166s # * com_acme_coyote_call_attack: 1166s # * @proxy: A #ComAcmeCoyoteProxy. 1166s # * @cancellable: (nullable): A #GCancellable or %NULL. 1166s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1166s # * @user_data: User data to pass to @callback. 1166s # * 1166s # * Asynchronously invokes the Attack() D-Bus method on @proxy. 1166s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1166s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation. 1166s # * 1166s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method. 1166s # */ 1166s # void 1166s # com_acme_coyote_call_attack ( 1166s # ComAcmeCoyote *proxy, 1166s # GCancellable *cancellable, 1166s # GAsyncReadyCallback callback, 1166s # gpointer user_data) 1166s # { 1166s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1166s # "Attack", 1166s # g_variant_new ("()"), 1166s # G_DBUS_CALL_FLAGS_NONE, 1166s # -1, 1166s # cancellable, 1166s # callback, 1166s # user_data); 1166s # } 1166s # 1166s # /** 1166s # * com_acme_coyote_call_attack_finish: 1166s # * @proxy: A #ComAcmeCoyoteProxy. 1166s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack(). 1166s # * @error: Return location for error or %NULL. 1166s # * 1166s # * Finishes an operation started with com_acme_coyote_call_attack(). 1166s # * 1166s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1166s # */ 1166s # gboolean 1166s # com_acme_coyote_call_attack_finish ( 1166s # ComAcmeCoyote *proxy, 1166s # GAsyncResult *res, 1166s # GError **error) 1166s # { 1166s # GVariant *_ret; 1166s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1166s # if (_ret == NULL) 1166s # goto _out; 1166s # g_variant_get (_ret, 1166s # "()"); 1166s # g_variant_unref (_ret); 1166s # _out: 1166s # return _ret != NULL; 1166s # } 1166s # 1166s # /** 1166s # * com_acme_coyote_call_attack_sync: 1166s # * @proxy: A #ComAcmeCoyoteProxy. 1166s # * @cancellable: (nullable): A #GCancellable or %NULL. 1166s # * @error: Return location for error or %NULL. 1166s # * 1166s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1166s # * 1166s # * See com_acme_coyote_call_attack() for the asynchronous version of this method. 1166s # * 1166s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1166s # */ 1166s # gboolean 1166s # com_acme_coyote_call_attack_sync ( 1166s # ComAcmeCoyote *proxy, 1166s # GCancellable *cancellable, 1166s # GError **error) 1166s # { 1166s # GVariant *_ret; 1166s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1166s # "Attack", 1166s # g_variant_new ("()"), 1166s # G_DBUS_CALL_FLAGS_NONE, 1166s # -1, 1166s # cancellable, 1166s # error); 1166s # if (_ret == NULL) 1166s # goto _out; 1166s # g_variant_get (_ret, 1166s # "()"); 1166s # g_variant_unref (_ret); 1166s # _out: 1166s # return _ret != NULL; 1166s # } 1166s # 1166s # /** 1166s # * com_acme_coyote_complete_run: 1166s # * @object: A #ComAcmeCoyote. 1166s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1166s # * 1166s # * 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. 1166s # * 1166s # * This method will free @invocation, you cannot use it afterwards. 1166s # */ 1166s # void 1166s # com_acme_coyote_complete_run ( 1166s # ComAcmeCoyote *object G_GNUC_UNUSED, 1166s # GDBusMethodInvocation *invocation) 1166s # { 1166s # g_dbus_method_invocation_return_value (invocation, 1166s # g_variant_new ("()")); 1166s # } 1166s # 1166s # /** 1166s # * com_acme_coyote_complete_sleep: 1166s # * @object: A #ComAcmeCoyote. 1166s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1166s # * 1166s # * 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. 1166s # * 1166s # * This method will free @invocation, you cannot use it afterwards. 1166s # */ 1166s # void 1166s # com_acme_coyote_complete_sleep ( 1166s # ComAcmeCoyote *object G_GNUC_UNUSED, 1166s # GDBusMethodInvocation *invocation) 1166s # { 1166s # g_dbus_method_invocation_return_value (invocation, 1166s # g_variant_new ("()")); 1166s # } 1166s # 1166s # /** 1166s # * com_acme_coyote_complete_attack: 1166s # * @object: A #ComAcmeCoyote. 1166s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1166s # * 1166s # * 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. 1166s # * 1166s # * This method will free @invocation, you cannot use it afterwards. 1166s # */ 1166s # void 1166s # com_acme_coyote_complete_attack ( 1166s # ComAcmeCoyote *object G_GNUC_UNUSED, 1166s # GDBusMethodInvocation *invocation) 1166s # { 1166s # g_dbus_method_invocation_return_value (invocation, 1166s # g_variant_new ("()")); 1166s # } 1166s # 1166s # /* ------------------------------------------------------------------------ */ 1166s # 1166s # /** 1166s # * ComAcmeCoyoteProxy: 1166s # * 1166s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API. 1166s # */ 1166s # 1166s # /** 1166s # * ComAcmeCoyoteProxyClass: 1166s # * @parent_class: The parent class. 1166s # * 1166s # * Class structure for #ComAcmeCoyoteProxy. 1166s # */ 1166s # 1166s # struct _ComAcmeCoyoteProxyPrivate 1166s # { 1166s # GData *qdata; 1166s # }; 1166s # 1166s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface); 1166s # 1166s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1166s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 1166s # G_ADD_PRIVATE (ComAcmeCoyoteProxy) 1166s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 1166s # 1166s # #else 1166s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 1166s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 1166s # 1166s # #endif 1166s # static void 1166s # com_acme_coyote_proxy_finalize (GObject *object) 1166s # { 1166s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 1166s # g_datalist_clear (&proxy->priv->qdata); 1166s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object); 1166s # } 1166s # 1166s # static void 1166s # com_acme_coyote_proxy_get_property (GObject *object, 1166s # guint prop_id, 1166s # GValue *value, 1166s # GParamSpec *pspec G_GNUC_UNUSED) 1166s # { 1166s # const _ExtendedGDBusPropertyInfo *info; 1166s # GVariant *variant; 1166s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1166s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1166s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1166s # if (info->use_gvariant) 1166s # { 1166s # g_value_set_variant (value, variant); 1166s # } 1166s # else 1166s # { 1166s # if (variant != NULL) 1166s # g_dbus_gvariant_to_gvalue (variant, value); 1166s # } 1166s # if (variant != NULL) 1166s # g_variant_unref (variant); 1166s # } 1166s # 1166s # static void 1166s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy, 1166s # GAsyncResult *res, 1166s # gpointer user_data) 1166s # { 1166s # const _ExtendedGDBusPropertyInfo *info = user_data; 1166s # GError *error; 1166s # GVariant *_ret; 1166s # error = NULL; 1166s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1166s # if (!_ret) 1166s # { 1166s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)", 1166s # info->parent_struct.name, 1166s # error->message, g_quark_to_string (error->domain), error->code); 1166s # g_error_free (error); 1166s # } 1166s # else 1166s # { 1166s # g_variant_unref (_ret); 1166s # } 1166s # } 1166s # 1166s # static void 1166s # com_acme_coyote_proxy_set_property (GObject *object, 1166s # guint prop_id, 1166s # const GValue *value, 1166s # GParamSpec *pspec G_GNUC_UNUSED) 1166s # { 1166s # const _ExtendedGDBusPropertyInfo *info; 1166s # GVariant *variant; 1166s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1166s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1166s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1166s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1166s # "org.freedesktop.DBus.Properties.Set", 1166s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant), 1166s # G_DBUS_CALL_FLAGS_NONE, 1166s # -1, 1166s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1166s # g_variant_unref (variant); 1166s # } 1166s # 1166s # static void 1166s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy, 1166s # const gchar *sender_name G_GNUC_UNUSED, 1166s # const gchar *signal_name, 1166s # GVariant *parameters) 1166s # { 1166s # _ExtendedGDBusSignalInfo *info; 1166s # GVariantIter iter; 1166s # GVariant *child; 1166s # GValue *paramv; 1166s # gsize num_params; 1166s # gsize n; 1166s # guint signal_id; 1166s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name); 1166s # if (info == NULL) 1166s # return; 1166s # num_params = g_variant_n_children (parameters); 1166s # paramv = g_new0 (GValue, num_params + 1); 1166s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE); 1166s # g_value_set_object (¶mv[0], proxy); 1166s # g_variant_iter_init (&iter, parameters); 1166s # n = 1; 1166s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1166s # { 1166s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1166s # if (arg_info->use_gvariant) 1166s # { 1166s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1166s # g_value_set_variant (¶mv[n], child); 1166s # n++; 1166s # } 1166s # else 1166s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1166s # g_variant_unref (child); 1166s # } 1166s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 1166s # g_signal_emitv (paramv, signal_id, 0, NULL); 1166s # for (n = 0; n < num_params + 1; n++) 1166s # g_value_unset (¶mv[n]); 1166s # g_free (paramv); 1166s # } 1166s # 1166s # static void 1166s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy, 1166s # GVariant *changed_properties, 1166s # const gchar *const *invalidated_properties) 1166s # { 1166s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy); 1166s # guint n; 1166s # const gchar *key; 1166s # GVariantIter *iter; 1166s # _ExtendedGDBusPropertyInfo *info; 1166s # g_variant_get (changed_properties, "a{sv}", &iter); 1166s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1166s # { 1166s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key); 1166s # g_datalist_remove_data (&proxy->priv->qdata, key); 1166s # if (info != NULL) 1166s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1166s # } 1166s # g_variant_iter_free (iter); 1166s # for (n = 0; invalidated_properties[n] != NULL; n++) 1166s # { 1166s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]); 1166s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1166s # if (info != NULL) 1166s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1166s # } 1166s # } 1166s # 1166s # static const gchar * 1166s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object) 1166s # { 1166s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 1166s # GVariant *variant; 1166s # const gchar *value = NULL; 1166s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood"); 1166s # if (variant != NULL) 1166s # { 1166s # value = g_variant_get_string (variant, NULL); 1166s # g_variant_unref (variant); 1166s # } 1166s # return value; 1166s # } 1166s # 1166s # static void 1166s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy) 1166s # { 1166s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1166s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy); 1166s # #else 1166s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate); 1166s # #endif 1166s # 1166s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ()); 1166s # } 1166s # 1166s # static void 1166s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass) 1166s # { 1166s # GObjectClass *gobject_class; 1166s # GDBusProxyClass *proxy_class; 1166s # 1166s # gobject_class = G_OBJECT_CLASS (klass); 1166s # gobject_class->finalize = com_acme_coyote_proxy_finalize; 1166s # gobject_class->get_property = com_acme_coyote_proxy_get_property; 1166s # gobject_class->set_property = com_acme_coyote_proxy_set_property; 1166s # 1166s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1166s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal; 1166s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed; 1166s # 1166s # com_acme_coyote_override_properties (gobject_class, 1); 1166s # 1166s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1166s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate)); 1166s # #endif 1166s # } 1166s # 1166s # static void 1166s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface) 1166s # { 1166s # iface->get_mood = com_acme_coyote_proxy_get_mood; 1166s # } 1166s # 1166s # /** 1166s # * com_acme_coyote_proxy_new: 1166s # * @connection: A #GDBusConnection. 1166s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1166s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1166s # * @object_path: An object path. 1166s # * @cancellable: (nullable): A #GCancellable or %NULL. 1166s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1166s # * @user_data: User data to pass to @callback. 1166s # * 1166s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details. 1166s # * 1166s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1166s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation. 1166s # * 1166s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor. 1166s # */ 1166s # void 1166s # com_acme_coyote_proxy_new ( 1166s # GDBusConnection *connection, 1166s # GDBusProxyFlags flags, 1166s # const gchar *name, 1166s # const gchar *object_path, 1166s # GCancellable *cancellable, 1166s # GAsyncReadyCallback callback, 1166s # gpointer user_data) 1166s # { 1166s # 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); 1166s # } 1166s # 1166s # /** 1166s # * com_acme_coyote_proxy_new_finish: 1166s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new(). 1166s # * @error: Return location for error or %NULL 1166s # * 1166s # * Finishes an operation started with com_acme_coyote_proxy_new(). 1166s # * 1166s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1166s # */ 1166s # ComAcmeCoyote * 1166s # com_acme_coyote_proxy_new_finish ( 1166s # GAsyncResult *res, 1166s # GError **error) 1166s # { 1166s # GObject *ret; 1166s # GObject *source_object; 1166s # source_object = g_async_result_get_source_object (res); 1166s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1166s # g_object_unref (source_object); 1166s # if (ret != NULL) 1166s # return COM_ACME_COYOTE (ret); 1166s # else 1166s # return NULL; 1166s # } 1166s # 1166s # /** 1166s # * com_acme_coyote_proxy_new_sync: 1166s # * @connection: A #GDBusConnection. 1166s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1166s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1166s # * @object_path: An object path. 1166s # * @cancellable: (nullable): A #GCancellable or %NULL. 1166s # * @error: Return location for error or %NULL 1166s # * 1166s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details. 1166s # * 1166s # * The calling thread is blocked until a reply is received. 1166s # * 1166s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor. 1166s # * 1166s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1166s # */ 1166s # ComAcmeCoyote * 1166s # com_acme_coyote_proxy_new_sync ( 1166s # GDBusConnection *connection, 1166s # GDBusProxyFlags flags, 1166s # const gchar *name, 1166s # const gchar *object_path, 1166s # GCancellable *cancellable, 1166s # GError **error) 1166s # { 1166s # GInitable *ret; 1166s # 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); 1166s # if (ret != NULL) 1166s # return COM_ACME_COYOTE (ret); 1166s # else 1166s # return NULL; 1166s # } 1166s # 1166s # 1166s # /** 1166s # * com_acme_coyote_proxy_new_for_bus: 1166s # * @bus_type: A #GBusType. 1166s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1166s # * @name: A bus name (well-known or unique). 1166s # * @object_path: An object path. 1166s # * @cancellable: (nullable): A #GCancellable or %NULL. 1166s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1166s # * @user_data: User data to pass to @callback. 1166s # * 1166s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1166s # * 1166s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1166s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation. 1166s # * 1166s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1166s # */ 1166s # void 1166s # com_acme_coyote_proxy_new_for_bus ( 1166s # GBusType bus_type, 1166s # GDBusProxyFlags flags, 1166s # const gchar *name, 1166s # const gchar *object_path, 1166s # GCancellable *cancellable, 1166s # GAsyncReadyCallback callback, 1166s # gpointer user_data) 1166s # { 1166s # 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); 1166s # } 1166s # 1166s # /** 1166s # * com_acme_coyote_proxy_new_for_bus_finish: 1166s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus(). 1166s # * @error: Return location for error or %NULL 1166s # * 1166s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus(). 1166s # * 1166s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1166s # */ 1166s # ComAcmeCoyote * 1166s # com_acme_coyote_proxy_new_for_bus_finish ( 1166s # GAsyncResult *res, 1166s # GError **error) 1166s # { 1166s # GObject *ret; 1166s # GObject *source_object; 1166s # source_object = g_async_result_get_source_object (res); 1166s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1166s # g_object_unref (source_object); 1166s # if (ret != NULL) 1166s # return COM_ACME_COYOTE (ret); 1166s # else 1166s # return NULL; 1166s # } 1166s # 1166s # /** 1166s # * com_acme_coyote_proxy_new_for_bus_sync: 1166s # * @bus_type: A #GBusType. 1166s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1166s # * @name: A bus name (well-known or unique). 1166s # * @object_path: An object path. 1166s # * @cancellable: (nullable): A #GCancellable or %NULL. 1166s # * @error: Return location for error or %NULL 1166s # * 1166s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1166s # * 1166s # * The calling thread is blocked until a reply is received. 1166s # * 1166s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor. 1166s # * 1166s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1166s # */ 1166s # ComAcmeCoyote * 1166s # com_acme_coyote_proxy_new_for_bus_sync ( 1166s # GBusType bus_type, 1166s # GDBusProxyFlags flags, 1166s # const gchar *name, 1166s # const gchar *object_path, 1166s # GCancellable *cancellable, 1166s # GError **error) 1166s # { 1166s # GInitable *ret; 1166s # 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); 1166s # if (ret != NULL) 1166s # return COM_ACME_COYOTE (ret); 1166s # else 1166s # return NULL; 1166s # } 1166s # 1166s # 1166s # /* ------------------------------------------------------------------------ */ 1166s # 1166s # /** 1166s # * ComAcmeCoyoteSkeleton: 1166s # * 1166s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API. 1166s # */ 1166s # 1166s # /** 1166s # * ComAcmeCoyoteSkeletonClass: 1166s # * @parent_class: The parent class. 1166s # * 1166s # * Class structure for #ComAcmeCoyoteSkeleton. 1166s # */ 1166s # 1166s # struct _ComAcmeCoyoteSkeletonPrivate 1166s # { 1166s # GValue *properties; 1166s # GList *changed_properties; 1166s # GSource *changed_properties_idle_source; 1166s # GMainContext *context; 1166s # GMutex lock; 1166s # }; 1166s # 1166s # static void 1166s # _com_acme_coyote_skeleton_handle_method_call ( 1166s # GDBusConnection *connection G_GNUC_UNUSED, 1166s # const gchar *sender G_GNUC_UNUSED, 1166s # const gchar *object_path G_GNUC_UNUSED, 1166s # const gchar *interface_name, 1166s # const gchar *method_name, 1166s # GVariant *parameters, 1166s # GDBusMethodInvocation *invocation, 1166s # gpointer user_data) 1166s # { 1166s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1166s # _ExtendedGDBusMethodInfo *info; 1166s # GVariantIter iter; 1166s # GVariant *child; 1166s # GValue *paramv; 1166s # gsize num_params; 1166s # guint num_extra; 1166s # gsize n; 1166s # guint signal_id; 1166s # GValue return_value = G_VALUE_INIT; 1166s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1166s # g_assert (info != NULL); 1166s # num_params = g_variant_n_children (parameters); 1166s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1166s # n = 0; 1166s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE); 1166s # g_value_set_object (¶mv[n++], skeleton); 1166s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1166s # g_value_set_object (¶mv[n++], invocation); 1166s # if (info->pass_fdlist) 1166s # { 1166s # #ifdef G_OS_UNIX 1166s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1166s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1166s # #else 1166s # g_assert_not_reached (); 1166s # #endif 1166s # } 1166s # g_variant_iter_init (&iter, parameters); 1166s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1166s # { 1166s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1166s # if (arg_info->use_gvariant) 1166s # { 1166s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1166s # g_value_set_variant (¶mv[n], child); 1166s # n++; 1166s # } 1166s # else 1166s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1166s # g_variant_unref (child); 1166s # } 1166s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 1166s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1166s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1166s # if (!g_value_get_boolean (&return_value)) 1166s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1166s # g_value_unset (&return_value); 1166s # for (n = 0; n < num_params + num_extra; n++) 1166s # g_value_unset (¶mv[n]); 1166s # g_free (paramv); 1166s # } 1166s # 1166s # static GVariant * 1166s # _com_acme_coyote_skeleton_handle_get_property ( 1166s # GDBusConnection *connection G_GNUC_UNUSED, 1166s # const gchar *sender G_GNUC_UNUSED, 1166s # const gchar *object_path G_GNUC_UNUSED, 1166s # const gchar *interface_name G_GNUC_UNUSED, 1166s # const gchar *property_name, 1166s # GError **error, 1166s # gpointer user_data) 1166s # { 1166s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1166s # GValue value = G_VALUE_INIT; 1166s # GParamSpec *pspec; 1166s # _ExtendedGDBusPropertyInfo *info; 1166s # GVariant *ret; 1166s # ret = NULL; 1166s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 1166s # g_assert (info != NULL); 1166s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1166s # if (pspec == NULL) 1166s # { 1166s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1166s # } 1166s # else 1166s # { 1166s # g_value_init (&value, pspec->value_type); 1166s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1166s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1166s # g_value_unset (&value); 1166s # } 1166s # return ret; 1166s # } 1166s # 1166s # static gboolean 1166s # _com_acme_coyote_skeleton_handle_set_property ( 1166s # GDBusConnection *connection G_GNUC_UNUSED, 1166s # const gchar *sender G_GNUC_UNUSED, 1166s # const gchar *object_path G_GNUC_UNUSED, 1166s # const gchar *interface_name G_GNUC_UNUSED, 1166s # const gchar *property_name, 1166s # GVariant *variant, 1166s # GError **error, 1166s # gpointer user_data) 1166s # { 1166s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1166s # GValue value = G_VALUE_INIT; 1166s # GParamSpec *pspec; 1166s # _ExtendedGDBusPropertyInfo *info; 1166s # gboolean ret; 1166s # ret = FALSE; 1166s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 1166s # g_assert (info != NULL); 1166s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1166s # if (pspec == NULL) 1166s # { 1166s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1166s # } 1166s # else 1166s # { 1166s # if (info->use_gvariant) 1166s # g_value_set_variant (&value, variant); 1166s # else 1166s # g_dbus_gvariant_to_gvalue (variant, &value); 1166s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1166s # g_value_unset (&value); 1166s # ret = TRUE; 1166s # } 1166s # return ret; 1166s # } 1166s # 1166s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable = 1166s # { 1166s # _com_acme_coyote_skeleton_handle_method_call, 1166s # _com_acme_coyote_skeleton_handle_get_property, 1166s # _com_acme_coyote_skeleton_handle_set_property, 1166s # {NULL} 1166s # }; 1166s # 1166s # static GDBusInterfaceInfo * 1166s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1166s # { 1166s # return com_acme_coyote_interface_info (); 1166s # } 1166s # 1166s # static GDBusInterfaceVTable * 1166s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1166s # { 1166s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable; 1166s # } 1166s # 1166s # static GVariant * 1166s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1166s # { 1166s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 1166s # 1166s # GVariantBuilder builder; 1166s # guint n; 1166s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1166s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL) 1166s # goto out; 1166s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++) 1166s # { 1166s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n]; 1166s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1166s # { 1166s # GVariant *value; 1166s # 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); 1166s # if (value != NULL) 1166s # { 1166s # g_variant_take_ref (value); 1166s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1166s # g_variant_unref (value); 1166s # } 1166s # } 1166s # } 1166s # out: 1166s # return g_variant_builder_end (&builder); 1166s # } 1166s # 1166s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data); 1166s # 1166s # static void 1166s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1166s # { 1166s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 1166s # gboolean emit_changed = FALSE; 1166s # 1166s # g_mutex_lock (&skeleton->priv->lock); 1166s # if (skeleton->priv->changed_properties_idle_source != NULL) 1166s # { 1166s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1166s # skeleton->priv->changed_properties_idle_source = NULL; 1166s # emit_changed = TRUE; 1166s # } 1166s # g_mutex_unlock (&skeleton->priv->lock); 1166s # 1166s # if (emit_changed) 1166s # _com_acme_coyote_emit_changed (skeleton); 1166s # } 1166s # 1166s # static void 1166s # _com_acme_coyote_on_signal_surprised ( 1166s # ComAcmeCoyote *object) 1166s # { 1166s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1166s # 1166s # GList *connections, *l; 1166s # GVariant *signal_variant; 1166s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1166s # 1166s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1166s # for (l = connections; l != NULL; l = l->next) 1166s # { 1166s # GDBusConnection *connection = l->data; 1166s # g_dbus_connection_emit_signal (connection, 1166s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised", 1166s # signal_variant, NULL); 1166s # } 1166s # g_variant_unref (signal_variant); 1166s # g_list_free_full (connections, g_object_unref); 1166s # } 1166s # 1166s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface); 1166s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1166s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1166s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton) 1166s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 1166s # 1166s # #else 1166s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1166s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 1166s # 1166s # #endif 1166s # static void 1166s # com_acme_coyote_skeleton_finalize (GObject *object) 1166s # { 1166s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1166s # guint n; 1166s # for (n = 0; n < 1; n++) 1166s # g_value_unset (&skeleton->priv->properties[n]); 1166s # g_free (skeleton->priv->properties); 1166s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1166s # if (skeleton->priv->changed_properties_idle_source != NULL) 1166s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1166s # g_main_context_unref (skeleton->priv->context); 1166s # g_mutex_clear (&skeleton->priv->lock); 1166s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object); 1166s # } 1166s # 1166s # static void 1166s # com_acme_coyote_skeleton_get_property (GObject *object, 1166s # guint prop_id, 1166s # GValue *value, 1166s # GParamSpec *pspec G_GNUC_UNUSED) 1166s # { 1166s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1166s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1166s # g_mutex_lock (&skeleton->priv->lock); 1166s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1166s # g_mutex_unlock (&skeleton->priv->lock); 1166s # } 1166s # 1166s # static gboolean 1166s # _com_acme_coyote_emit_changed (gpointer user_data) 1166s # { 1166s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1166s # GList *l; 1166s # GVariantBuilder builder; 1166s # GVariantBuilder invalidated_builder; 1166s # guint num_changes; 1166s # 1166s # g_mutex_lock (&skeleton->priv->lock); 1166s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1166s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1166s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1166s # { 1166s # ChangedProperty *cp = l->data; 1166s # GVariant *variant; 1166s # const GValue *cur_value; 1166s # 1166s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1166s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1166s # { 1166s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1166s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1166s # g_variant_unref (variant); 1166s # num_changes++; 1166s # } 1166s # } 1166s # if (num_changes > 0) 1166s # { 1166s # GList *connections, *ll; 1166s # GVariant *signal_variant; 1166s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote", 1166s # &builder, &invalidated_builder)); 1166s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1166s # for (ll = connections; ll != NULL; ll = ll->next) 1166s # { 1166s # GDBusConnection *connection = ll->data; 1166s # 1166s # g_dbus_connection_emit_signal (connection, 1166s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1166s # "org.freedesktop.DBus.Properties", 1166s # "PropertiesChanged", 1166s # signal_variant, 1166s # NULL); 1166s # } 1166s # g_variant_unref (signal_variant); 1166s # g_list_free_full (connections, g_object_unref); 1166s # } 1166s # else 1166s # { 1166s # g_variant_builder_clear (&builder); 1166s # g_variant_builder_clear (&invalidated_builder); 1166s # } 1166s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1166s # skeleton->priv->changed_properties = NULL; 1166s # skeleton->priv->changed_properties_idle_source = NULL; 1166s # g_mutex_unlock (&skeleton->priv->lock); 1166s # return FALSE; 1166s # } 1166s # 1166s # static void 1166s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1166s # { 1166s # ChangedProperty *cp; 1166s # GList *l; 1166s # cp = NULL; 1166s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1166s # { 1166s # ChangedProperty *i_cp = l->data; 1166s # if (i_cp->info == info) 1166s # { 1166s # cp = i_cp; 1166s # break; 1166s # } 1166s # } 1166s # if (cp == NULL) 1166s # { 1166s # cp = g_new0 (ChangedProperty, 1); 1166s # cp->prop_id = prop_id; 1166s # cp->info = info; 1166s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1166s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1166s # g_value_copy (orig_value, &cp->orig_value); 1166s # } 1166s # } 1166s # 1166s # static void 1166s # com_acme_coyote_skeleton_notify (GObject *object, 1166s # GParamSpec *pspec G_GNUC_UNUSED) 1166s # { 1166s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1166s # g_mutex_lock (&skeleton->priv->lock); 1166s # if (skeleton->priv->changed_properties != NULL && 1166s # skeleton->priv->changed_properties_idle_source == NULL) 1166s # { 1166s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1166s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1166s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1166s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed"); 1166s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1166s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1166s # } 1166s # g_mutex_unlock (&skeleton->priv->lock); 1166s # } 1166s # 1166s # static void 1166s # com_acme_coyote_skeleton_set_property (GObject *object, 1166s # guint prop_id, 1166s # const GValue *value, 1166s # GParamSpec *pspec) 1166s # { 1166s # const _ExtendedGDBusPropertyInfo *info; 1166s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1166s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1166s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1166s # g_mutex_lock (&skeleton->priv->lock); 1166s # g_object_freeze_notify (object); 1166s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1166s # { 1166s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1166s # info->emits_changed_signal) 1166s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1166s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1166s # g_object_notify_by_pspec (object, pspec); 1166s # } 1166s # g_mutex_unlock (&skeleton->priv->lock); 1166s # g_object_thaw_notify (object); 1166s # } 1166s # 1166s # static void 1166s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton) 1166s # { 1166s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1166s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton); 1166s # #else 1166s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate); 1166s # #endif 1166s # 1166s # g_mutex_init (&skeleton->priv->lock); 1166s # skeleton->priv->context = g_main_context_ref_thread_default (); 1166s # skeleton->priv->properties = g_new0 (GValue, 1); 1166s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); 1166s # } 1166s # 1166s # static const gchar * 1166s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object) 1166s # { 1166s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1166s # const gchar *value; 1166s # g_mutex_lock (&skeleton->priv->lock); 1166s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0])); 1166s # g_mutex_unlock (&skeleton->priv->lock); 1166s # return value; 1166s # } 1166s # 1166s # static void 1166s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass) 1166s # { 1166s # GObjectClass *gobject_class; 1166s # GDBusInterfaceSkeletonClass *skeleton_class; 1166s # 1166s # gobject_class = G_OBJECT_CLASS (klass); 1166s # gobject_class->finalize = com_acme_coyote_skeleton_finalize; 1166s # gobject_class->get_property = com_acme_coyote_skeleton_get_property; 1166s # gobject_class->set_property = com_acme_coyote_skeleton_set_property; 1166s # gobject_class->notify = com_acme_coyote_skeleton_notify; 1166s # 1166s # 1166s # com_acme_coyote_override_properties (gobject_class, 1); 1166s # 1166s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1166s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info; 1166s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties; 1166s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush; 1166s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable; 1166s # 1166s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1166s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate)); 1166s # #endif 1166s # } 1166s # 1166s # static void 1166s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface) 1166s # { 1166s # iface->surprised = _com_acme_coyote_on_signal_surprised; 1166s # iface->get_mood = com_acme_coyote_skeleton_get_mood; 1166s # } 1166s # 1166s # /** 1166s # * com_acme_coyote_skeleton_new: 1166s # * 1166s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote. 1166s # * 1166s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object. 1166s # */ 1166s # ComAcmeCoyote * 1166s # com_acme_coyote_skeleton_new (void) 1166s # { 1166s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL)); 1166s # } 1166s # 1166s # /* ------------------------------------------------------------------------ 1166s # * Code for interface org.project.Bar.Frobnicator 1166s # * ------------------------------------------------------------------------ 1166s # */ 1166s # 1166s # /** 1166s # * SECTION:OrgProjectBarFrobnicator 1166s # * @title: OrgProjectBarFrobnicator 1166s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface 1166s # * 1166s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C. 1166s # */ 1166s # 1166s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */ 1166s # 1166s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method = 1166s # { 1166s # { 1166s # -1, 1166s # (gchar *) "RandomMethod", 1166s # NULL, 1166s # NULL, 1166s # NULL 1166s # }, 1166s # "handle-random-method", 1166s # FALSE 1166s # }; 1166s # 1166s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] = 1166s # { 1166s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct, 1166s # NULL 1166s # }; 1166s # 1166s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info = 1166s # { 1166s # { 1166s # -1, 1166s # (gchar *) "org.project.Bar.Frobnicator", 1166s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers, 1166s # NULL, 1166s # NULL, 1166s # NULL 1166s # }, 1166s # "org-project-bar-frobnicator", 1166s # }; 1166s # 1166s # 1166s # /** 1166s # * org_project_bar_frobnicator_interface_info: 1166s # * 1166s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface. 1166s # * 1166s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1166s # */ 1166s # GDBusInterfaceInfo * 1166s # org_project_bar_frobnicator_interface_info (void) 1166s # { 1166s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct; 1166s # } 1166s # 1166s # /** 1166s # * org_project_bar_frobnicator_override_properties: 1166s # * @klass: The class structure for a #GObject derived class. 1166s # * @property_id_begin: The property id to assign to the first overridden property. 1166s # * 1166s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class. 1166s # * The properties are overridden in the order they are defined. 1166s # * 1166s # * Returns: The last property id. 1166s # */ 1166s # guint 1166s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1166s # { 1166s # return property_id_begin - 1; 1166s # } 1166s # 1166s # 1166s # inline static void 1166s # org_project_bar_frobnicator_method_marshal_random_method ( 1166s # GClosure *closure, 1166s # GValue *return_value, 1166s # unsigned int n_param_values, 1166s # const GValue *param_values, 1166s # void *invocation_hint, 1166s # void *marshal_data) 1166s # { 1166s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1166s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1166s # } 1166s # 1166s # 1166s # /** 1166s # * OrgProjectBarFrobnicator: 1166s # * 1166s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator. 1166s # */ 1166s # 1166s # /** 1166s # * OrgProjectBarFrobnicatorIface: 1166s # * @parent_iface: The parent interface. 1166s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal. 1166s # * 1166s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator. 1166s # */ 1166s # 1166s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface; 1166s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT) 1166s # 1166s # static void 1166s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface) 1166s # { 1166s # /* GObject signals for incoming D-Bus method calls: */ 1166s # /** 1166s # * OrgProjectBarFrobnicator::handle-random-method: 1166s # * @object: A #OrgProjectBarFrobnicator. 1166s # * @invocation: A #GDBusMethodInvocation. 1166s # * 1166s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method. 1166s # * 1166s # * 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. 1166s # * 1166s # * 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. 1166s # */ 1166s # g_signal_new ("handle-random-method", 1166s # G_TYPE_FROM_INTERFACE (iface), 1166s # G_SIGNAL_RUN_LAST, 1166s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method), 1166s # g_signal_accumulator_true_handled, 1166s # NULL, 1166s # org_project_bar_frobnicator_method_marshal_random_method, 1166s # G_TYPE_BOOLEAN, 1166s # 1, 1166s # G_TYPE_DBUS_METHOD_INVOCATION); 1166s # 1166s # } 1166s # 1166s # /** 1166s # * org_project_bar_frobnicator_call_random_method: 1166s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1166s # * @cancellable: (nullable): A #GCancellable or %NULL. 1166s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1166s # * @user_data: User data to pass to @callback. 1166s # * 1166s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy. 1166s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1166s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation. 1166s # * 1166s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method. 1166s # */ 1166s # void 1166s # org_project_bar_frobnicator_call_random_method ( 1166s # OrgProjectBarFrobnicator *proxy, 1166s # GCancellable *cancellable, 1166s # GAsyncReadyCallback callback, 1166s # gpointer user_data) 1166s # { 1166s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1166s # "RandomMethod", 1166s # g_variant_new ("()"), 1166s # G_DBUS_CALL_FLAGS_NONE, 1166s # -1, 1166s # cancellable, 1166s # callback, 1166s # user_data); 1166s # } 1166s # 1166s # /** 1166s # * org_project_bar_frobnicator_call_random_method_finish: 1166s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1166s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method(). 1166s # * @error: Return location for error or %NULL. 1166s # * 1166s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method(). 1166s # * 1166s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1166s # */ 1166s # gboolean 1166s # org_project_bar_frobnicator_call_random_method_finish ( 1166s # OrgProjectBarFrobnicator *proxy, 1166s # GAsyncResult *res, 1166s # GError **error) 1166s # { 1166s # GVariant *_ret; 1166s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1166s # if (_ret == NULL) 1166s # goto _out; 1166s # g_variant_get (_ret, 1166s # "()"); 1166s # g_variant_unref (_ret); 1166s # _out: 1166s # return _ret != NULL; 1166s # } 1166s # 1166s # /** 1166s # * org_project_bar_frobnicator_call_random_method_sync: 1166s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1166s # * @cancellable: (nullable): A #GCancellable or %NULL. 1166s # * @error: Return location for error or %NULL. 1166s # * 1166s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1166s # * 1166s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method. 1166s # * 1166s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1166s # */ 1166s # gboolean 1166s # org_project_bar_frobnicator_call_random_method_sync ( 1166s # OrgProjectBarFrobnicator *proxy, 1166s # GCancellable *cancellable, 1166s # GError **error) 1166s # { 1166s # GVariant *_ret; 1166s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1166s # "RandomMethod", 1166s # g_variant_new ("()"), 1166s # G_DBUS_CALL_FLAGS_NONE, 1166s # -1, 1166s # cancellable, 1166s # error); 1166s # if (_ret == NULL) 1166s # goto _out; 1166s # g_variant_get (_ret, 1166s # "()"); 1166s # g_variant_unref (_ret); 1166s # _out: 1166s # return _ret != NULL; 1166s # } 1166s # 1166s # /** 1166s # * org_project_bar_frobnicator_complete_random_method: 1166s # * @object: A #OrgProjectBarFrobnicator. 1166s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1166s # * 1166s # * 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. 1166s # * 1166s # * This method will free @invocation, you cannot use it afterwards. 1166s # */ 1166s # void 1166s # org_project_bar_frobnicator_complete_random_method ( 1166s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED, 1166s # GDBusMethodInvocation *invocation) 1166s # { 1166s # g_dbus_method_invocation_return_value (invocation, 1166s # g_variant_new ("()")); 1166s # } 1166s # 1166s # /* ------------------------------------------------------------------------ */ 1166s # 1166s # /** 1166s # * OrgProjectBarFrobnicatorProxy: 1166s # * 1166s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API. 1166s # */ 1166s # 1166s # /** 1166s # * OrgProjectBarFrobnicatorProxyClass: 1166s # * @parent_class: The parent class. 1166s # * 1166s # * Class structure for #OrgProjectBarFrobnicatorProxy. 1166s # */ 1166s # 1166s # struct _OrgProjectBarFrobnicatorProxyPrivate 1166s # { 1166s # GData *qdata; 1166s # }; 1166s # 1166s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface); 1166s # 1166s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1166s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 1166s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy) 1166s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 1166s # 1166s # #else 1166s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 1166s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 1166s # 1166s # #endif 1166s # static void 1166s # org_project_bar_frobnicator_proxy_finalize (GObject *object) 1166s # { 1166s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object); 1166s # g_datalist_clear (&proxy->priv->qdata); 1166s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object); 1166s # } 1166s # 1166s # static void 1166s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED, 1166s # guint prop_id G_GNUC_UNUSED, 1166s # GValue *value G_GNUC_UNUSED, 1166s # GParamSpec *pspec G_GNUC_UNUSED) 1166s # { 1166s # } 1166s # 1166s # static void 1166s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED, 1166s # guint prop_id G_GNUC_UNUSED, 1166s # const GValue *value G_GNUC_UNUSED, 1166s # GParamSpec *pspec G_GNUC_UNUSED) 1166s # { 1166s # } 1166s # 1166s # static void 1166s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy, 1166s # const gchar *sender_name G_GNUC_UNUSED, 1166s # const gchar *signal_name, 1166s # GVariant *parameters) 1166s # { 1166s # _ExtendedGDBusSignalInfo *info; 1166s # GVariantIter iter; 1166s # GVariant *child; 1166s # GValue *paramv; 1166s # gsize num_params; 1166s # gsize n; 1166s # guint signal_id; 1166s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name); 1166s # if (info == NULL) 1166s # return; 1166s # num_params = g_variant_n_children (parameters); 1166s # paramv = g_new0 (GValue, num_params + 1); 1166s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1166s # g_value_set_object (¶mv[0], proxy); 1166s # g_variant_iter_init (&iter, parameters); 1166s # n = 1; 1166s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1166s # { 1166s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1166s # if (arg_info->use_gvariant) 1166s # { 1166s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1166s # g_value_set_variant (¶mv[n], child); 1166s # n++; 1166s # } 1166s # else 1166s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1166s # g_variant_unref (child); 1166s # } 1166s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1166s # g_signal_emitv (paramv, signal_id, 0, NULL); 1166s # for (n = 0; n < num_params + 1; n++) 1166s # g_value_unset (¶mv[n]); 1166s # g_free (paramv); 1166s # } 1166s # 1166s # static void 1166s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy, 1166s # GVariant *changed_properties, 1166s # const gchar *const *invalidated_properties) 1166s # { 1166s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy); 1166s # guint n; 1166s # const gchar *key; 1166s # GVariantIter *iter; 1166s # _ExtendedGDBusPropertyInfo *info; 1166s # g_variant_get (changed_properties, "a{sv}", &iter); 1166s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1166s # { 1166s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key); 1166s # g_datalist_remove_data (&proxy->priv->qdata, key); 1166s # if (info != NULL) 1166s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1166s # } 1166s # g_variant_iter_free (iter); 1166s # for (n = 0; invalidated_properties[n] != NULL; n++) 1166s # { 1166s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]); 1166s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1166s # if (info != NULL) 1166s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1166s # } 1166s # } 1166s # 1166s # static void 1166s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy) 1166s # { 1166s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1166s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy); 1166s # #else 1166s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate); 1166s # #endif 1166s # 1166s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ()); 1166s # } 1166s # 1166s # static void 1166s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass) 1166s # { 1166s # GObjectClass *gobject_class; 1166s # GDBusProxyClass *proxy_class; 1166s # 1166s # gobject_class = G_OBJECT_CLASS (klass); 1166s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize; 1166s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property; 1166s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property; 1166s # 1166s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1166s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal; 1166s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed; 1166s # 1166s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1166s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate)); 1166s # #endif 1166s # } 1166s # 1166s # static void 1166s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 1166s # { 1166s # } 1166s # 1166s # /** 1166s # * org_project_bar_frobnicator_proxy_new: 1166s # * @connection: A #GDBusConnection. 1166s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1166s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1166s # * @object_path: An object path. 1166s # * @cancellable: (nullable): A #GCancellable or %NULL. 1166s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1166s # * @user_data: User data to pass to @callback. 1166s # * 1166s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details. 1166s # * 1166s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1166s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation. 1166s # * 1166s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor. 1166s # */ 1166s # void 1166s # org_project_bar_frobnicator_proxy_new ( 1166s # GDBusConnection *connection, 1166s # GDBusProxyFlags flags, 1166s # const gchar *name, 1166s # const gchar *object_path, 1166s # GCancellable *cancellable, 1166s # GAsyncReadyCallback callback, 1166s # gpointer user_data) 1166s # { 1166s # 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); 1166s # } 1166s # 1166s # /** 1166s # * org_project_bar_frobnicator_proxy_new_finish: 1166s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new(). 1166s # * @error: Return location for error or %NULL 1166s # * 1166s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new(). 1166s # * 1166s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1166s # */ 1166s # OrgProjectBarFrobnicator * 1166s # org_project_bar_frobnicator_proxy_new_finish ( 1166s # GAsyncResult *res, 1166s # GError **error) 1166s # { 1166s # GObject *ret; 1166s # GObject *source_object; 1166s # source_object = g_async_result_get_source_object (res); 1166s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1166s # g_object_unref (source_object); 1166s # if (ret != NULL) 1166s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1166s # else 1166s # return NULL; 1166s # } 1166s # 1166s # /** 1166s # * org_project_bar_frobnicator_proxy_new_sync: 1166s # * @connection: A #GDBusConnection. 1166s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1166s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1166s # * @object_path: An object path. 1166s # * @cancellable: (nullable): A #GCancellable or %NULL. 1166s # * @error: Return location for error or %NULL 1166s # * 1166s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details. 1166s # * 1166s # * The calling thread is blocked until a reply is received. 1166s # * 1166s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor. 1166s # * 1166s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1166s # */ 1166s # OrgProjectBarFrobnicator * 1166s # org_project_bar_frobnicator_proxy_new_sync ( 1166s # GDBusConnection *connection, 1166s # GDBusProxyFlags flags, 1166s # const gchar *name, 1166s # const gchar *object_path, 1166s # GCancellable *cancellable, 1166s # GError **error) 1166s # { 1166s # GInitable *ret; 1166s # 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); 1166s # if (ret != NULL) 1166s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1166s # else 1166s # return NULL; 1166s # } 1166s # 1166s # 1166s # /** 1166s # * org_project_bar_frobnicator_proxy_new_for_bus: 1166s # * @bus_type: A #GBusType. 1166s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1166s # * @name: A bus name (well-known or unique). 1166s # * @object_path: An object path. 1166s # * @cancellable: (nullable): A #GCancellable or %NULL. 1166s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1166s # * @user_data: User data to pass to @callback. 1166s # * 1166s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1166s # * 1166s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1166s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation. 1166s # * 1166s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1166s # */ 1166s # void 1166s # org_project_bar_frobnicator_proxy_new_for_bus ( 1166s # GBusType bus_type, 1166s # GDBusProxyFlags flags, 1166s # const gchar *name, 1166s # const gchar *object_path, 1166s # GCancellable *cancellable, 1166s # GAsyncReadyCallback callback, 1166s # gpointer user_data) 1166s # { 1166s # 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); 1166s # } 1166s # 1166s # /** 1166s # * org_project_bar_frobnicator_proxy_new_for_bus_finish: 1166s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus(). 1166s # * @error: Return location for error or %NULL 1166s # * 1166s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus(). 1166s # * 1166s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1166s # */ 1166s # OrgProjectBarFrobnicator * 1166s # org_project_bar_frobnicator_proxy_new_for_bus_finish ( 1166s # GAsyncResult *res, 1166s # GError **error) 1166s # { 1166s # GObject *ret; 1166s # GObject *source_object; 1166s # source_object = g_async_result_get_source_object (res); 1166s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1166s # g_object_unref (source_object); 1166s # if (ret != NULL) 1166s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1166s # else 1166s # return NULL; 1166s # } 1166s # 1166s # /** 1166s # * org_project_bar_frobnicator_proxy_new_for_bus_sync: 1166s # * @bus_type: A #GBusType. 1166s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1166s # * @name: A bus name (well-known or unique). 1166s # * @object_path: An object path. 1166s # * @cancellable: (nullable): A #GCancellable or %NULL. 1166s # * @error: Return location for error or %NULL 1166s # * 1166s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1166s # * 1166s # * The calling thread is blocked until a reply is received. 1166s # * 1166s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor. 1166s # * 1166s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1166s # */ 1166s # OrgProjectBarFrobnicator * 1166s # org_project_bar_frobnicator_proxy_new_for_bus_sync ( 1166s # GBusType bus_type, 1166s # GDBusProxyFlags flags, 1166s # const gchar *name, 1166s # const gchar *object_path, 1166s # GCancellable *cancellable, 1166s # GError **error) 1166s # { 1166s # GInitable *ret; 1166s # 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); 1166s # if (ret != NULL) 1166s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1166s # else 1166s # return NULL; 1166s # } 1166s # 1166s # 1166s # /* ------------------------------------------------------------------------ */ 1166s # 1166s # /** 1166s # * OrgProjectBarFrobnicatorSkeleton: 1166s # * 1166s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API. 1166s # */ 1166s # 1166s # /** 1166s # * OrgProjectBarFrobnicatorSkeletonClass: 1166s # * @parent_class: The parent class. 1166s # * 1166s # * Class structure for #OrgProjectBarFrobnicatorSkeleton. 1166s # */ 1166s # 1166s # struct _OrgProjectBarFrobnicatorSkeletonPrivate 1166s # { 1166s # GValue *properties; 1166s # GList *changed_properties; 1166s # GSource *changed_properties_idle_source; 1166s # GMainContext *context; 1166s # GMutex lock; 1166s # }; 1166s # 1166s # static void 1166s # _org_project_bar_frobnicator_skeleton_handle_method_call ( 1166s # GDBusConnection *connection G_GNUC_UNUSED, 1166s # const gchar *sender G_GNUC_UNUSED, 1166s # const gchar *object_path G_GNUC_UNUSED, 1166s # const gchar *interface_name, 1166s # const gchar *method_name, 1166s # GVariant *parameters, 1166s # GDBusMethodInvocation *invocation, 1166s # gpointer user_data) 1166s # { 1166s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1166s # _ExtendedGDBusMethodInfo *info; 1166s # GVariantIter iter; 1166s # GVariant *child; 1166s # GValue *paramv; 1166s # gsize num_params; 1166s # guint num_extra; 1166s # gsize n; 1166s # guint signal_id; 1166s # GValue return_value = G_VALUE_INIT; 1166s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1166s # g_assert (info != NULL); 1166s # num_params = g_variant_n_children (parameters); 1166s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1166s # n = 0; 1166s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1166s # g_value_set_object (¶mv[n++], skeleton); 1166s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1166s # g_value_set_object (¶mv[n++], invocation); 1166s # if (info->pass_fdlist) 1166s # { 1166s # #ifdef G_OS_UNIX 1166s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1166s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1166s # #else 1166s # g_assert_not_reached (); 1166s # #endif 1166s # } 1166s # g_variant_iter_init (&iter, parameters); 1166s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1166s # { 1166s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1166s # if (arg_info->use_gvariant) 1166s # { 1166s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1166s # g_value_set_variant (¶mv[n], child); 1166s # n++; 1166s # } 1166s # else 1166s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1166s # g_variant_unref (child); 1166s # } 1166s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1166s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1166s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1166s # if (!g_value_get_boolean (&return_value)) 1166s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1166s # g_value_unset (&return_value); 1166s # for (n = 0; n < num_params + num_extra; n++) 1166s # g_value_unset (¶mv[n]); 1166s # g_free (paramv); 1166s # } 1166s # 1166s # static GVariant * 1166s # _org_project_bar_frobnicator_skeleton_handle_get_property ( 1166s # GDBusConnection *connection G_GNUC_UNUSED, 1166s # const gchar *sender G_GNUC_UNUSED, 1166s # const gchar *object_path G_GNUC_UNUSED, 1166s # const gchar *interface_name G_GNUC_UNUSED, 1166s # const gchar *property_name, 1166s # GError **error, 1166s # gpointer user_data) 1166s # { 1166s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1166s # GValue value = G_VALUE_INIT; 1166s # GParamSpec *pspec; 1166s # _ExtendedGDBusPropertyInfo *info; 1166s # GVariant *ret; 1166s # ret = NULL; 1166s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 1166s # g_assert (info != NULL); 1166s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1166s # if (pspec == NULL) 1166s # { 1166s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1166s # } 1166s # else 1166s # { 1166s # g_value_init (&value, pspec->value_type); 1166s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1166s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1166s # g_value_unset (&value); 1166s # } 1166s # return ret; 1166s # } 1166s # 1166s # static gboolean 1166s # _org_project_bar_frobnicator_skeleton_handle_set_property ( 1166s # GDBusConnection *connection G_GNUC_UNUSED, 1166s # const gchar *sender G_GNUC_UNUSED, 1166s # const gchar *object_path G_GNUC_UNUSED, 1166s # const gchar *interface_name G_GNUC_UNUSED, 1166s # const gchar *property_name, 1166s # GVariant *variant, 1166s # GError **error, 1166s # gpointer user_data) 1166s # { 1166s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1166s # GValue value = G_VALUE_INIT; 1166s # GParamSpec *pspec; 1166s # _ExtendedGDBusPropertyInfo *info; 1166s # gboolean ret; 1166s # ret = FALSE; 1166s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 1166s # g_assert (info != NULL); 1166s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1166s # if (pspec == NULL) 1166s # { 1166s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1166s # } 1166s # else 1166s # { 1166s # if (info->use_gvariant) 1166s # g_value_set_variant (&value, variant); 1166s # else 1166s # g_dbus_gvariant_to_gvalue (variant, &value); 1166s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1166s # g_value_unset (&value); 1166s # ret = TRUE; 1166s # } 1166s # return ret; 1166s # } 1166s # 1166s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable = 1166s # { 1166s # _org_project_bar_frobnicator_skeleton_handle_method_call, 1166s # _org_project_bar_frobnicator_skeleton_handle_get_property, 1166s # _org_project_bar_frobnicator_skeleton_handle_set_property, 1166s # {NULL} 1166s # }; 1166s # 1166s # static GDBusInterfaceInfo * 1166s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1166s # { 1166s # return org_project_bar_frobnicator_interface_info (); 1166s # } 1166s # 1166s # static GDBusInterfaceVTable * 1166s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1166s # { 1166s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable; 1166s # } 1166s # 1166s # static GVariant * 1166s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1166s # { 1166s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton); 1166s # 1166s # GVariantBuilder builder; 1166s # guint n; 1166s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1166s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL) 1166s # goto out; 1166s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++) 1166s # { 1166s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n]; 1166s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1166s # { 1166s # GVariant *value; 1166s # 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); 1166s # if (value != NULL) 1166s # { 1166s # g_variant_take_ref (value); 1166s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1166s # g_variant_unref (value); 1166s # } 1166s # } 1166s # } 1166s # out: 1166s # return g_variant_builder_end (&builder); 1166s # } 1166s # 1166s # static void 1166s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1166s # { 1166s # } 1166s # 1166s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface); 1166s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1166s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1166s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton) 1166s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 1166s # 1166s # #else 1166s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1166s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 1166s # 1166s # #endif 1166s # static void 1166s # org_project_bar_frobnicator_skeleton_finalize (GObject *object) 1166s # { 1166s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object); 1166s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1166s # if (skeleton->priv->changed_properties_idle_source != NULL) 1166s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1166s # g_main_context_unref (skeleton->priv->context); 1166s # g_mutex_clear (&skeleton->priv->lock); 1166s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object); 1166s # } 1166s # 1166s # static void 1166s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton) 1166s # { 1166s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1166s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton); 1166s # #else 1166s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate); 1166s # #endif 1166s # 1166s # g_mutex_init (&skeleton->priv->lock); 1166s # skeleton->priv->context = g_main_context_ref_thread_default (); 1166s # } 1166s # 1166s # static void 1166s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass) 1166s # { 1166s # GObjectClass *gobject_class; 1166s # GDBusInterfaceSkeletonClass *skeleton_class; 1166s # 1166s # gobject_class = G_OBJECT_CLASS (klass); 1166s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize; 1166s # 1166s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1166s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info; 1166s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties; 1166s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush; 1166s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable; 1166s # 1166s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1166s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate)); 1166s # #endif 1166s # } 1166s # 1166s # static void 1166s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 1166s # { 1166s # } 1166s # 1166s # /** 1166s # * org_project_bar_frobnicator_skeleton_new: 1166s # * 1166s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator. 1166s # * 1166s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object. 1166s # */ 1166s # OrgProjectBarFrobnicator * 1166s # org_project_bar_frobnicator_skeleton_new (void) 1166s # { 1166s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL)); 1166s # } 1166s ok 39 __main__.TestCodegen.test_unix_fd_types_and_annotations 1166s # tmpdir: /tmp/tmpqi97d2_u 1166s # codegen: /usr/bin/gdbus-codegen 1166s # /tmp/tmpqi97d2_u/tmp_cdv1n7d.xml: 1166s # 1166s # 1166s # 1166s # 1166s # 1166s # 1166s # 1166s # 1166s # 1166s # 1166s # 1166s # 1166s # 1166s # 1166s # 1166s # 1166s # 1166s # 1166s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqi97d2_u/tmp_cdv1n7d.xml', '--output', '-', '--header'] 1166s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1166s # Output: /* 1166s # * This file is generated by gdbus-codegen, do not modify it. 1166s # * 1166s # * The license of this code is the same as for the D-Bus interface description 1166s # * it was derived from. Note that it links to GLib, so must comply with the 1166s # * LGPL linking clauses. 1166s # */ 1166s # 1166s # #ifndef __STDOUT__ 1166s # #define __STDOUT__ 1166s # 1166s # #include 1166s # 1166s # G_BEGIN_DECLS 1166s # 1166s # 1166s # /* ------------------------------------------------------------------------ */ 1166s # /* Declarations for FDPassing */ 1166s # 1166s # #define TYPE_FDPASSING (fdpassing_get_type ()) 1166s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 1166s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 1166s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 1166s # 1166s # struct _FDPassing; 1166s # typedef struct _FDPassing FDPassing; 1166s # typedef struct _FDPassingIface FDPassingIface; 1166s # 1166s # struct _FDPassingIface 1166s # { 1166s # GTypeInterface parent_iface; 1166s # 1166s # gboolean (*handle_hello_fd) ( 1166s # FDPassing *object, 1166s # GDBusMethodInvocation *invocation, 1166s # GUnixFDList *fd_list, 1166s # const gchar *arg_greeting); 1166s # 1166s # gboolean (*handle_no_annotation) ( 1166s # FDPassing *object, 1166s # GDBusMethodInvocation *invocation, 1166s # GVariant *arg_greeting, 1166s # const gchar *arg_greeting_locale); 1166s # 1166s # gboolean (*handle_no_annotation_nested) ( 1166s # FDPassing *object, 1166s # GDBusMethodInvocation *invocation, 1166s # GVariant *arg_files); 1166s # 1166s # }; 1166s # 1166s # GType fdpassing_get_type (void) G_GNUC_CONST; 1166s # 1166s # GDBusInterfaceInfo *fdpassing_interface_info (void); 1166s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 1166s # 1166s # 1166s # /* D-Bus method call completion functions: */ 1166s # void fdpassing_complete_hello_fd ( 1166s # FDPassing *object, 1166s # GDBusMethodInvocation *invocation, 1166s # GUnixFDList *fd_list, 1166s # const gchar *response); 1166s # 1166s # void fdpassing_complete_no_annotation ( 1166s # FDPassing *object, 1166s # GDBusMethodInvocation *invocation, 1166s # GVariant *response, 1166s # const gchar *response_locale); 1166s # 1166s # void fdpassing_complete_no_annotation_nested ( 1166s # FDPassing *object, 1166s # GDBusMethodInvocation *invocation); 1166s # 1166s # 1166s # 1166s # /* D-Bus method calls: */ 1166s # void fdpassing_call_hello_fd ( 1166s # FDPassing *proxy, 1166s # const gchar *arg_greeting, 1166s # GUnixFDList *fd_list, 1166s # GCancellable *cancellable, 1166s # GAsyncReadyCallback callback, 1166s # gpointer user_data); 1166s # 1166s # gboolean fdpassing_call_hello_fd_finish ( 1166s # FDPassing *proxy, 1166s # gchar **out_response, 1166s # GUnixFDList **out_fd_list, 1166s # GAsyncResult *res, 1166s # GError **error); 1166s # 1166s # gboolean fdpassing_call_hello_fd_sync ( 1166s # FDPassing *proxy, 1166s # const gchar *arg_greeting, 1166s # GUnixFDList *fd_list, 1166s # gchar **out_response, 1166s # GUnixFDList **out_fd_list, 1166s # GCancellable *cancellable, 1166s # GError **error); 1166s # 1166s # void fdpassing_call_no_annotation ( 1166s # FDPassing *proxy, 1166s # GVariant *arg_greeting, 1166s # const gchar *arg_greeting_locale, 1166s # GCancellable *cancellable, 1166s # GAsyncReadyCallback callback, 1166s # gpointer user_data); 1166s # 1166s # gboolean fdpassing_call_no_annotation_finish ( 1166s # FDPassing *proxy, 1166s # GVariant **out_response, 1166s # gchar **out_response_locale, 1166s # GAsyncResult *res, 1166s # GError **error); 1166s # 1166s # gboolean fdpassing_call_no_annotation_sync ( 1166s # FDPassing *proxy, 1166s # GVariant *arg_greeting, 1166s # const gchar *arg_greeting_locale, 1166s # GVariant **out_response, 1166s # gchar **out_response_locale, 1166s # GCancellable *cancellable, 1166s # GError **error); 1166s # 1166s # void fdpassing_call_no_annotation_nested ( 1166s # FDPassing *proxy, 1166s # GVariant *arg_files, 1166s # GCancellable *cancellable, 1166s # GAsyncReadyCallback callback, 1166s # gpointer user_data); 1166s # 1166s # gboolean fdpassing_call_no_annotation_nested_finish ( 1166s # FDPassing *proxy, 1166s # GAsyncResult *res, 1166s # GError **error); 1166s # 1166s # gboolean fdpassing_call_no_annotation_nested_sync ( 1166s # FDPassing *proxy, 1166s # GVariant *arg_files, 1166s # GCancellable *cancellable, 1166s # GError **error); 1166s # 1166s # 1166s # 1166s # /* ---- */ 1166s # 1166s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 1166s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 1166s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1166s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1166s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 1166s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 1166s # 1166s # typedef struct _FDPassingProxy FDPassingProxy; 1166s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 1166s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 1166s # 1166s # struct _FDPassingProxy 1166s # { 1166s # /*< private >*/ 1166s # GDBusProxy parent_instance; 1166s # FDPassingProxyPrivate *priv; 1166s # }; 1166s # 1166s # struct _FDPassingProxyClass 1166s # { 1166s # GDBusProxyClass parent_class; 1166s # }; 1166s # 1166s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 1166s # 1166s # #if GLIB_CHECK_VERSION(2, 44, 0) 1166s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 1166s # #endif 1166s # 1166s # void fdpassing_proxy_new ( 1166s # GDBusConnection *connection, 1166s # GDBusProxyFlags flags, 1166s # const gchar *name, 1166s # const gchar *object_path, 1166s # GCancellable *cancellable, 1166s # GAsyncReadyCallback callback, 1166s # gpointer user_data); 1166s # FDPassing *fdpassing_proxy_new_finish ( 1166s # GAsyncResult *res, 1166s # GError **error); 1166s # FDPassing *fdpassing_proxy_new_sync ( 1166s # GDBusConnection *connection, 1166s # GDBusProxyFlags flags, 1166s # const gchar *name, 1166s # const gchar *object_path, 1166s # GCancellable *cancellable, 1166s # GError **error); 1166s # 1166s # void fdpassing_proxy_new_for_bus ( 1166s # GBusType bus_type, 1166s # GDBusProxyFlags flags, 1166s # const gchar *name, 1166s # const gchar *object_path, 1166s # GCancellable *cancellable, 1166s # GAsyncReadyCallback callback, 1166s # gpointer user_data); 1166s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 1166s # GAsyncResult *res, 1166s # GError **error); 1166s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 1166s # GBusType bus_type, 1166s # GDBusProxyFlags flags, 1166s # const gchar *name, 1166s # const gchar *object_path, 1166s # GCancellable *cancellable, 1166s # GError **error); 1166s # 1166s # 1166s # /* ---- */ 1166s # 1166s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 1166s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 1166s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1166s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1166s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 1166s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 1166s # 1166s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 1166s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 1166s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 1166s # 1166s # struct _FDPassingSkeleton 1166s # { 1166s # /*< private >*/ 1166s # GDBusInterfaceSkeleton parent_instance; 1166s # FDPassingSkeletonPrivate *priv; 1166s # }; 1166s # 1166s # struct _FDPassingSkeletonClass 1166s # { 1166s # GDBusInterfaceSkeletonClass parent_class; 1166s # }; 1166s # 1166s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 1166s # 1166s # #if GLIB_CHECK_VERSION(2, 44, 0) 1166s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 1166s # #endif 1166s # 1166s # FDPassing *fdpassing_skeleton_new (void); 1166s # 1166s # 1166s # G_END_DECLS 1166s # 1166s # #endif /* __STDOUT__ */ 1166s # /tmp/tmpqi97d2_u/tmpyu60ltjf.xml: 1166s # 1166s # 1166s # 1166s # 1166s # 1166s # 1166s # 1166s # 1166s # 1166s # 1166s # 1166s # 1166s # 1166s # 1166s # 1166s # 1166s # 1166s # 1166s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqi97d2_u/tmpyu60ltjf.xml', '--output', '-', '--header', '--glib-min-required', '2.32'] 1166s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1166s # Output: /* 1166s # * This file is generated by gdbus-codegen, do not modify it. 1166s # * 1166s # * The license of this code is the same as for the D-Bus interface description 1166s # * it was derived from. Note that it links to GLib, so must comply with the 1166s # * LGPL linking clauses. 1166s # */ 1166s # 1166s # #ifndef __STDOUT__ 1166s # #define __STDOUT__ 1166s # 1166s # #include 1166s # 1166s # G_BEGIN_DECLS 1166s # 1166s # 1166s # /* ------------------------------------------------------------------------ */ 1166s # /* Declarations for FDPassing */ 1166s # 1166s # #define TYPE_FDPASSING (fdpassing_get_type ()) 1166s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 1166s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 1166s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 1166s # 1166s # struct _FDPassing; 1166s # typedef struct _FDPassing FDPassing; 1166s # typedef struct _FDPassingIface FDPassingIface; 1166s # 1166s # struct _FDPassingIface 1166s # { 1166s # GTypeInterface parent_iface; 1166s # 1166s # gboolean (*handle_hello_fd) ( 1166s # FDPassing *object, 1166s # GDBusMethodInvocation *invocation, 1166s # GUnixFDList *fd_list, 1166s # const gchar *arg_greeting); 1166s # 1166s # gboolean (*handle_no_annotation) ( 1166s # FDPassing *object, 1166s # GDBusMethodInvocation *invocation, 1166s # GVariant *arg_greeting, 1166s # const gchar *arg_greeting_locale); 1166s # 1166s # gboolean (*handle_no_annotation_nested) ( 1166s # FDPassing *object, 1166s # GDBusMethodInvocation *invocation, 1166s # GVariant *arg_files); 1166s # 1166s # }; 1166s # 1166s # GType fdpassing_get_type (void) G_GNUC_CONST; 1166s # 1166s # GDBusInterfaceInfo *fdpassing_interface_info (void); 1166s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 1166s # 1166s # 1166s # /* D-Bus method call completion functions: */ 1166s # void fdpassing_complete_hello_fd ( 1166s # FDPassing *object, 1166s # GDBusMethodInvocation *invocation, 1166s # GUnixFDList *fd_list, 1166s # const gchar *response); 1166s # 1166s # void fdpassing_complete_no_annotation ( 1166s # FDPassing *object, 1166s # GDBusMethodInvocation *invocation, 1166s # GVariant *response, 1166s # const gchar *response_locale); 1166s # 1166s # void fdpassing_complete_no_annotation_nested ( 1166s # FDPassing *object, 1166s # GDBusMethodInvocation *invocation); 1166s # 1166s # 1166s # 1166s # /* D-Bus method calls: */ 1166s # void fdpassing_call_hello_fd ( 1166s # FDPassing *proxy, 1166s # const gchar *arg_greeting, 1166s # GUnixFDList *fd_list, 1166s # GCancellable *cancellable, 1166s # GAsyncReadyCallback callback, 1166s # gpointer user_data); 1166s # 1166s # gboolean fdpassing_call_hello_fd_finish ( 1166s # FDPassing *proxy, 1166s # gchar **out_response, 1166s # GUnixFDList **out_fd_list, 1166s # GAsyncResult *res, 1166s # GError **error); 1166s # 1166s # gboolean fdpassing_call_hello_fd_sync ( 1166s # FDPassing *proxy, 1166s # const gchar *arg_greeting, 1166s # GUnixFDList *fd_list, 1166s # gchar **out_response, 1166s # GUnixFDList **out_fd_list, 1166s # GCancellable *cancellable, 1166s # GError **error); 1166s # 1166s # void fdpassing_call_no_annotation ( 1166s # FDPassing *proxy, 1166s # GVariant *arg_greeting, 1166s # const gchar *arg_greeting_locale, 1166s # GCancellable *cancellable, 1166s # GAsyncReadyCallback callback, 1166s # gpointer user_data); 1166s # 1166s # gboolean fdpassing_call_no_annotation_finish ( 1166s # FDPassing *proxy, 1166s # GVariant **out_response, 1166s # gchar **out_response_locale, 1166s # GAsyncResult *res, 1166s # GError **error); 1166s # 1166s # gboolean fdpassing_call_no_annotation_sync ( 1166s # FDPassing *proxy, 1166s # GVariant *arg_greeting, 1166s # const gchar *arg_greeting_locale, 1166s # GVariant **out_response, 1166s # gchar **out_response_locale, 1166s # GCancellable *cancellable, 1166s # GError **error); 1166s # 1166s # void fdpassing_call_no_annotation_nested ( 1166s # FDPassing *proxy, 1166s # GVariant *arg_files, 1166s # GCancellable *cancellable, 1166s # GAsyncReadyCallback callback, 1166s # gpointer user_data); 1166s # 1166s # gboolean fdpassing_call_no_annotation_nested_finish ( 1166s # FDPassing *proxy, 1166s # GAsyncResult *res, 1166s # GError **error); 1166s # 1166s # gboolean fdpassing_call_no_annotation_nested_sync ( 1166s # FDPassing *proxy, 1166s # GVariant *arg_files, 1166s # GCancellable *cancellable, 1166s # GError **error); 1166s # 1166s # 1166s # 1166s # /* ---- */ 1166s # 1166s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 1166s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 1166s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1166s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1166s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 1166s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 1166s # 1166s # typedef struct _FDPassingProxy FDPassingProxy; 1166s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 1166s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 1166s # 1166s # struct _FDPassingProxy 1166s # { 1166s # /*< private >*/ 1166s # GDBusProxy parent_instance; 1166s # FDPassingProxyPrivate *priv; 1166s # }; 1166s # 1166s # struct _FDPassingProxyClass 1166s # { 1166s # GDBusProxyClass parent_class; 1166s # }; 1166s # 1166s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 1166s # 1166s # #if GLIB_CHECK_VERSION(2, 44, 0) 1166s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 1166s # #endif 1166s # 1166s # void fdpassing_proxy_new ( 1166s # GDBusConnection *connection, 1166s # GDBusProxyFlags flags, 1166s # const gchar *name, 1166s # const gchar *object_path, 1166s # GCancellable *cancellable, 1166s # GAsyncReadyCallback callback, 1166s # gpointer user_data); 1166s # FDPassing *fdpassing_proxy_new_finish ( 1166s # GAsyncResult *res, 1166s # GError **error); 1166s # FDPassing *fdpassing_proxy_new_sync ( 1166s # GDBusConnection *connection, 1166s # GDBusProxyFlags flags, 1166s # const gchar *name, 1166s # const gchar *object_path, 1166s # GCancellable *cancellable, 1166s # GError **error); 1166s # 1166s # void fdpassing_proxy_new_for_bus ( 1166s # GBusType bus_type, 1166s # GDBusProxyFlags flags, 1166s # const gchar *name, 1166s # const gchar *object_path, 1166s # GCancellable *cancellable, 1166s # GAsyncReadyCallback callback, 1166s # gpointer user_data); 1166s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 1166s # GAsyncResult *res, 1166s # GError **error); 1166s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 1166s # GBusType bus_type, 1166s # GDBusProxyFlags flags, 1166s # const gchar *name, 1166s # const gchar *object_path, 1166s # GCancellable *cancellable, 1166s # GError **error); 1166s # 1166s # 1166s # /* ---- */ 1166s # 1166s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 1166s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 1166s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1166s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1166s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 1166s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 1166s # 1166s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 1166s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 1166s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 1166s # 1166s # struct _FDPassingSkeleton 1166s # { 1166s # /*< private >*/ 1166s # GDBusInterfaceSkeleton parent_instance; 1166s # FDPassingSkeletonPrivate *priv; 1166s # }; 1166s # 1166s # struct _FDPassingSkeletonClass 1166s # { 1166s # GDBusInterfaceSkeletonClass parent_class; 1166s # }; 1166s # 1166s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 1166s # 1166s # #if GLIB_CHECK_VERSION(2, 44, 0) 1166s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 1166s # #endif 1166s # 1166s # FDPassing *fdpassing_skeleton_new (void); 1166s # 1166s # 1166s # G_END_DECLS 1166s # 1166s # #endif /* __STDOUT__ */ 1166s # /tmp/tmpqi97d2_u/tmpan4lzlbq.xml: 1166s # 1166s # 1166s # 1166s # 1166s # 1166s # 1166s # 1166s # 1166s # 1166s # 1166s # 1166s # 1166s # 1166s # 1166s # 1166s # 1166s # 1166s # 1166s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqi97d2_u/tmpan4lzlbq.xml', '--output', '-', '--header', '--glib-min-required', '2.64'] 1166s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Ljke1jDrkq,guid=cb3eee5a2be94d187dea08c5678a9060', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.UBVjl6/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.WoB3q0SlyL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.sYnpL3/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.UBVjl6/wrapper.sh --artifacts=/tmp/autopkgtest.UBVjl6/installed-tests-artifacts --chdir=/tmp/autopkgtest.UBVjl6/build.8MR/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.UBVjl6/installed-tests-stderr --stdout=/tmp/autopkgtest.UBVjl6/installed-tests-stdout --tmp=/tmp/autopkgtest.UBVjl6/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests -- /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.UBVjl6/build.8MR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.UBVjl6/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1166s # Output: /* 1166s # * This file is generated by gdbus-codegen, do not modify it. 1166s # * 1166s # * The license of this code is the same as for the D-Bus interface description 1166s # * it was derived from. Note that it links to GLib, so must comply with the 1166s # * LGPL linking clauses. 1166s # */ 1166s # 1166s # #ifndef __STDOUT__ 1166s # #define __STDOUT__ 1166s # 1166s # #include 1166s # 1166s # G_BEGIN_DECLS 1166s # 1166s # 1166s # /* ------------------------------------------------------------------------ */ 1166s # /* Declarations for FDPassing */ 1166s # 1166s # #define TYPE_FDPASSING (fdpassing_get_type ()) 1166s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 1166s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 1166s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 1166s # 1166s # struct _FDPassing; 1166s # typedef struct _FDPassing FDPassing; 1166s # typedef struct _FDPassingIface FDPassingIface; 1166s # 1166s # struct _FDPassingIface 1166s # { 1166s # GTypeInterface parent_iface; 1166s # 1166s # gboolean (*handle_hello_fd) ( 1166s # FDPassing *object, 1166s # GDBusMethodInvocation *invocation, 1166s # GUnixFDList *fd_list, 1166s # const gchar *arg_greeting); 1166s # 1166s # gboolean (*handle_no_annotation) ( 1166s # FDPassing *object, 1166s # GDBusMethodInvocation *invocation, 1166s # GUnixFDList *fd_list, 1166s # GVariant *arg_greeting, 1166s # const gchar *arg_greeting_locale); 1166s # 1166s # gboolean (*handle_no_annotation_nested) ( 1166s # FDPassing *object, 1166s # GDBusMethodInvocation *invocation, 1166s # GUnixFDList *fd_list, 1166s # GVariant *arg_files); 1166s # 1166s # }; 1166s # 1166s # GType fdpassing_get_type (void) G_GNUC_CONST; 1166s # 1166s # GDBusInterfaceInfo *fdpassing_interface_info (void); 1166s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 1166s # 1166s # 1166s # /* D-Bus method call completion functions: */ 1166s # void fdpassing_complete_hello_fd ( 1166s # FDPassing *object, 1166s # GDBusMethodInvocation *invocation, 1166s # GUnixFDList *fd_list, 1166s # const gchar *response); 1166s # 1166s # void fdpassing_complete_no_annotation ( 1166s # FDPassing *object, 1166s # GDBusMethodInvocation *invocation, 1166s # GUnixFDList *fd_list, 1166s # GVariant *response, 1166s # const gchar *response_locale); 1166s # 1166s # void fdpassing_complete_no_annotation_nested ( 1166s # FDPassing *object, 1166s # GDBusMethodInvocation *invocation, 1166s # GUnixFDList *fd_list); 1166s # 1166s # 1166s # 1166s # /* D-Bus method calls: */ 1166s # void fdpassing_call_hello_fd ( 1166s # FDPassing *proxy, 1166s # const gchar *arg_greeting, 1166s # GDBusCallFlags call_flags, 1166s # gint timeout_msec, 1166s # GUnixFDList *fd_list, 1166s # GCancellable *cancellable, 1166s # GAsyncReadyCallback callback, 1166s # gpointer user_data); 1166s # 1166s # gboolean fdpassing_call_hello_fd_finish ( 1166s # FDPassing *proxy, 1166s # gchar **out_response, 1166s # GUnixFDList **out_fd_list, 1166s # GAsyncResult *res, 1166s # GError **error); 1166s # 1166s # gboolean fdpassing_call_hello_fd_sync ( 1166s # FDPassing *proxy, 1166s # const gchar *arg_greeting, 1166s # GDBusCallFlags call_flags, 1166s # gint timeout_msec, 1166s # GUnixFDList *fd_list, 1166s # gchar **out_response, 1166s # GUnixFDList **out_fd_list, 1166s # GCancellable *cancellable, 1166s # GError **error); 1166s # 1166s # void fdpassing_call_no_annotation ( 1166s # FDPassing *proxy, 1166s # GVariant *arg_greeting, 1166s # const gchar *arg_greeting_locale, 1166s # GDBusCallFlags call_flags, 1166s # gint timeout_msec, 1166s # GUnixFDList *fd_list, 1166s # GCancellable *cancellable, 1166s # GAsyncReadyCallback callback, 1166s # gpointer user_data); 1166s # 1166s # gboolean fdpassing_call_no_annotation_finish ( 1166s # FDPassing *proxy, 1166s # GVariant **out_response, 1166s # gchar **out_response_locale, 1166s # GUnixFDList **out_fd_list, 1166s # GAsyncResult *res, 1166s # GError **error); 1166s # 1166s # gboolean fdpassing_call_no_annotation_sync ( 1166s # FDPassing *proxy, 1166s # GVariant *arg_greeting, 1166s # const gchar *arg_greeting_locale, 1166s # GDBusCallFlags call_flags, 1166s # gint timeout_msec, 1166s # GUnixFDList *fd_list, 1166s # GVariant **out_response, 1166s # gchar **out_response_locale, 1166s # GUnixFDList **out_fd_list, 1166s # GCancellable *cancellable, 1166s # GError **error); 1166s # 1166s # void fdpassing_call_no_annotation_nested ( 1166s # FDPassing *proxy, 1166s # GVariant *arg_files, 1166s # GDBusCallFlags call_flags, 1166s # gint timeout_msec, 1166s # GUnixFDList *fd_list, 1166s # GCancellable *cancellable, 1166s # GAsyncReadyCallback callback, 1166s # gpointer user_data); 1166s # 1166s # gboolean fdpassing_call_no_annotation_nested_finish ( 1166s # FDPassing *proxy, 1166s # GUnixFDList **out_fd_list, 1166s # GAsyncResult *res, 1166s # GError **error); 1166s # 1166s # gboolean fdpassing_call_no_annotation_nested_sync ( 1166s # FDPassing *proxy, 1166s # GVariant *arg_files, 1166s # GDBusCallFlags call_flags, 1166s # gint timeout_msec, 1166s # GUnixFDList *fd_list, 1166s # GUnixFDList **out_fd_list, 1166s # GCancellable *cancellable, 1166s # GError **error); 1166s # 1166s # 1166s # 1166s # /* ---- */ 1166s # 1166s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 1166s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 1166s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1166s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1166s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 1166s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 1166s # 1166s # typedef struct _FDPassingProxy FDPassingProxy; 1166s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 1166s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 1166s # 1166s # struct _FDPassingProxy 1166s # { 1166s # /*< private >*/ 1166s # GDBusProxy parent_instance; 1166s # FDPassingProxyPrivate *priv; 1166s # }; 1166s # 1166s # struct _FDPassingProxyClass 1166s # { 1166s # GDBusProxyClass parent_class; 1166s # }; 1166s # 1166s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 1166s # 1166s # #if GLIB_CHECK_VERSION(2, 44, 0) 1166s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 1166s # #endif 1166s # 1166s # void fdpassing_proxy_new ( 1166s # GDBusConnection *connection, 1166s # GDBusProxyFlags flags, 1166s # const gchar *name, 1166s # const gchar *object_path, 1166s # GCancellable *cancellable, 1166s # GAsyncReadyCallback callback, 1166s # gpointer user_data); 1166s # FDPassing *fdpassing_proxy_new_finish ( 1166s # GAsyncResult *res, 1166s # GError **error); 1166s # FDPassing *fdpassing_proxy_new_sync ( 1166s # GDBusConnection *connection, 1166s # GDBusProxyFlags flags, 1166s # const gchar *name, 1166s # const gchar *object_path, 1166s # GCancellable *cancellable, 1166s # GError **error); 1166s # 1166s # void fdpassing_proxy_new_for_bus ( 1166s # GBusType bus_type, 1166s # GDBusProxyFlags flags, 1166s # const gchar *name, 1166s # const gchar *object_path, 1166s # GCancellable *cancellable, 1166s # GAsyncReadyCallback callback, 1166s # gpointer user_data); 1166s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 1166s # GAsyncResult *res, 1166s # GError **error); 1166s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 1166s # GBusType bus_type, 1166s # GDBusProxyFlags flags, 1166s # const gchar *name, 1166s # const gchar *object_path, 1166s # GCancellable *cancellable, 1166s # GError **error); 1166s # 1166s # 1166s # /* ---- */ 1166s # 1166s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 1166s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 1166s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1166s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1166s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 1166s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 1166s # 1166s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 1166s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 1166s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 1166s # 1166s # struct _FDPassingSkeleton 1166s # { 1166s # /*< private >*/ 1166s # GDBusInterfaceSkeleton parent_instance; 1166s # FDPassingSkeletonPrivate *priv; 1166s # }; 1166s # 1166s # struct _FDPassingSkeletonClass 1166s # { 1166s # GDBusInterfaceSkeletonClass parent_class; 1166s # }; 1166s # 1166s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 1166s # 1166s # #if GLIB_CHECK_VERSION(2, 44, 0) 1166s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 1166s # #endif 1166s # 1166s # FDPassing *fdpassing_skeleton_new (void); 1166s # 1166s # 1166s # G_END_DECLS 1166s # 1166s # #endif /* __STDOUT__ */ 1166s 1..39 1166s ok - glib/codegen.py.test 1166s # Running test: glib/io-channel.test 1166s TAP version 14 1166s # random seed: R02S168703cd0df4e066e81a87c5380c0098 1166s 1..2 1166s # Start of io-channel tests 1166s # Line one 1166s # 1166s # Line two 1166s # 1166s # Line three 1166s # 1166s # /* Hello */ 1166s # 1166s # \x1234\x567890\x6666 1166s # 1166s # read 62 bytes, wrote 62 bytes 1166s ok 1 /io-channel/read-write 1166s # Start of read-line tests 1166s # /io-channel/read-line/embedded-nuls summary: Test that reading a line containing embedded nuls works when using non-standard line terminators. 1166s ok 2 /io-channel/read-line/embedded-nuls 1166s # End of read-line tests 1166s # End of io-channel tests 1166s ok - glib/io-channel.test 1166s # Running test: glib/cxx-03.test 1166s TAP version 14 1166s # random seed: R02Sb4fab8f498005ae76e88447ba82c789d 1166s 1..2 1166s # Start of gtask tests 1166s # 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. 1166s ok 1 /gtask/name 1166s # Start of name tests 1166s # 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. 1166s ok 2 /gtask/name/macro-wrapper 1166s # End of name tests 1166s # End of gtask tests 1166s ok - glib/cxx-03.test 1166s # Running test: glib/closure-refcount.test 1166s TAP version 14 1166s # random seed: R02S0a297d0ee1bb52c46200c1a11a9c6b70 1166s 1..1 1166s # Start of closure tests 1166s # Init 0x6126526541d0 1166s # Yielding from main thread 1166s # Yielding from main thread 1166s # Yielding from main thread 1166s # Yielding from thread1 1166s # Yielding from main thread 1166s # Yielding from main thread 1166s # Yielding from main thread 1166s # Yielding from main thread 1166s # Yielding from thread2 1166s # Yielding from main thread 1166s # Yielding from thread1 1166s # Yielding from main thread 1166s # Yielding from main thread 1166s # Yielding from main thread 1166s # Yielding from thread2 1166s # Yielding from main thread 1166s # Yielding from thread1 1166s # Yielding from main thread 1166s # Yielding from main thread 1166s # Yielding from thread2 1166s # Yielding from main thread 1166s # Yielding from main thread 1166s # Yielding from main thread 1166s # Yielding from main thread 1167s # Yielding from main thread 1167s # Yielding from thread2 1167s # Yielding from main thread 1167s # Yielding from thread1 1167s # Yielding from main thread 1167s # Yielding from main thread 1167s # Yielding from main thread 1167s # Yielding from thread2 1167s # Yielding from main thread 1167s # Yielding from thread1 1167s # Yielding from main thread 1167s # Yielding from main thread 1167s # Yielding from main thread 1167s # Yielding from main thread 1167s # Yielding from main thread 1167s # Yielding from thread2 1167s # Yielding from main thread 1167s # Yielding from main thread 1167s # Yielding from main thread 1167s # Yielding from thread1 1167s # Yielding from main thread 1167s # Yielding from main thread 1167s # Yielding from thread2 1167s # Yielding from main thread 1167s # Yielding from main thread 1167s # Yielding from main thread 1167s # Yielding from main thread 1167s # Yielding from main thread 1167s # Yielding from main thread 1167s # Yielding from thread1 1167s # Yielding from thread2 1167s # Yielding from main thread 1167s # Yielding from main thread 1167s # Yielding from main thread 1167s # Yielding from main thread 1167s # Yielding from main thread 1167s # Yielding from main thread 1167s # Yielding from thread2 1167s # Yielding from main thread 1167s # Yielding from thread1 1167s # Yielding from main thread 1167s # Yielding from main thread 1167s # Yielding from main thread 1168s # Yielding from main thread 1168s # Yielding from thread1 1168s # Yielding from main thread 1168s # Yielding from thread2 1168s # Yielding from main thread 1168s # Yielding from main thread 1168s # Yielding from main thread 1168s # Yielding from thread1 1168s # Yielding from main thread 1168s # Yielding from main thread 1168s # Yielding from main thread 1168s # Yielding from main thread 1168s # Yielding from thread2 1168s # Yielding from thread1 1168s # Yielding from main thread 1168s # Yielding from main thread 1168s # Yielding from main thread 1168s # Yielding from main thread 1168s # Yielding from main thread 1168s # Yielding from thread2 1168s # Yielding from main thread 1168s # Yielding from main thread 1168s # Yielding from thread2 1168s # Yielding from thread1 1168s # Yielding from main thread 1168s # Yielding from main thread 1168s # Yielding from main thread 1168s # Yielding from main thread 1168s # Yielding from thread2 1168s # Yielding from thread1 1168s # Yielding from main thread 1168s # Yielding from main thread 1168s # Yielding from main thread 1168s # Yielding from main thread 1168s # Yielding from thread1 1168s # Yielding from thread2 1169s # Yielding from main thread 1169s # Yielding from main thread 1169s # Yielding from main thread 1169s # Yielding from main thread 1169s # Yielding from main thread 1169s # Yielding from thread2 1169s # Yielding from thread1 1169s # Yielding from main thread 1169s # Executing: glib/closure-refcount.test 1169s # Yielding from main thread 1169s # Yielding from main thread 1169s # Yielding from thread1 1169s # Yielding from main thread 1169s # Yielding from main thread 1169s # Yielding from thread2 1169s # Yielding from main thread 1169s # Yielding from main thread 1169s # Yielding from main thread 1169s # Yielding from main thread 1169s # Yielding from thread1 1169s # Yielding from main thread 1169s # Yielding from main thread 1169s # Yielding from main thread 1169s # Yielding from thread2 1169s # Yielding from main thread 1169s # Yielding from main thread 1169s # Yielding from main thread 1169s # Yielding from thread1 1169s # Yielding from main thread 1169s # Yielding from thread2 1169s # Yielding from main thread 1169s # Yielding from main thread 1169s # Yielding from main thread 1169s # Yielding from main thread 1169s # Stopping 1169s # Stopped 1169s ok 1 /closure/refcount 1169s # slow test /closure/refcount executed in 3.52 secs 1169s # End of closure tests 1169s ok - glib/closure-refcount.test 1169s # Running test: glib/gdbus-non-socket.test 1169s TAP version 14 1169s # random seed: R02S3a7b8f0816d067e73bd9673bebbd3d39 1169s 1..1 1169s # Start of gdbus tests 1169s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-non-socket_Y4WC02/gdbus/non-socket/.dirs/home 1169s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-non-socket_Y4WC02/gdbus/non-socket/.dirs/cache 1169s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-non-socket_Y4WC02/gdbus/non-socket/.dirs/system-config1:/tmp/test_gdbus-non-socket_Y4WC02/gdbus/non-socket/.dirs/system-config2 1169s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-non-socket_Y4WC02/gdbus/non-socket/.dirs/config 1169s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-non-socket_Y4WC02/gdbus/non-socket/.dirs/system-data1:/tmp/test_gdbus-non-socket_Y4WC02/gdbus/non-socket/.dirs/system-data2 1169s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-non-socket_Y4WC02/gdbus/non-socket/.dirs/data 1169s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-non-socket_Y4WC02/gdbus/non-socket/.dirs/state 1169s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-non-socket_Y4WC02/gdbus/non-socket/.dirs/runtime 1169s ok 1 /gdbus/non-socket 1169s # End of gdbus tests 1169s ok - glib/gdbus-non-socket.test 1169s # Running test: glib/slice.test 1169s TAP version 14 1169s # random seed: R02Sa5af3db10adc3b0152500b61be1bafb6 1169s 1..3 1169s # Start of slice tests 1169s ok 1 /slice/copy 1169s ok 2 /slice/chain 1170s ok 3 /slice/allocate 1170s # End of slice tests 1170s ok - glib/slice.test 1170s # Running test: glib/timer.test 1170s TAP version 14 1170s # random seed: R02S087112f51457b6d8c260d20f745e9a65 1170s 1..10 1170s # Start of timer tests 1170s ok 1 /timer/basic # SKIP Not reliable due to floating-point rounding (glib#820) 1170s ok 2 /timer/stop 1170s ok 3 /timer/continue 1170s ok 4 /timer/reset 1170s ok 5 /timer/is_active 1170s # End of timer tests 1170s # Start of timeval tests 1170s ok 6 /timeval/add 1170s ok 7 /timeval/from-iso8601 1170s ok 8 /timeval/to-iso8601 1170s # Start of to-iso8601 tests 1170s ok 9 /timeval/to-iso8601/overflow 1170s # End of to-iso8601 tests 1170s # End of timeval tests 1170s # Start of usleep tests 1170s ok 10 /usleep/with-zero-wait 1170s # End of usleep tests 1170s ok - glib/timer.test 1170s # Running test: glib/markup-collect.test 1170s TAP version 14 1170s # random seed: R02Sf59a51f92829a982f1c90ae11073fc01 1170s 1..21 1170s # Start of markup tests 1170s # Start of collect tests 1170s ok 1 /markup/collect/0 1170s ok 2 /markup/collect/1 1170s ok 3 /markup/collect/2 1170s ok 4 /markup/collect/3 1170s ok 5 /markup/collect/4 1170s ok 6 /markup/collect/5 1170s ok 7 /markup/collect/6 1170s ok 8 /markup/collect/7 1170s ok 9 /markup/collect/8 1170s ok 10 /markup/collect/9 1170s ok 11 /markup/collect/10 1170s ok 12 /markup/collect/11 1170s ok 13 /markup/collect/12 1170s ok 14 /markup/collect/13 1170s ok 15 /markup/collect/14 1170s ok 16 /markup/collect/15 1170s ok 17 /markup/collect/16 1170s ok 18 /markup/collect/17 1170s ok 19 /markup/collect/18 1170s ok 20 /markup/collect/19 1170s ok 21 /markup/collect/cleanup 1170s # End of collect tests 1170s # End of markup tests 1170s ok - glib/markup-collect.test 1170s # Running test: glib/readwrite.test 1170s TAP version 14 1170s # random seed: R02S9ac9200cf65e13e674ed241cb998fd89 1170s 1..3 1170s # Start of readwrite tests 1170s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1170s ok 1 /readwrite/test_g_file_open_readwrite 1170s ok 2 /readwrite/test_g_file_create_readwrite 1170s ok 3 /readwrite/test_g_file_replace_readwrite 1170s # End of readwrite tests 1170s ok - glib/readwrite.test 1170s # Running test: glib/signals-refcount4.test 1170s TAP version 14 1170s # random seed: R02S07526d3a125090761ad12e6b8b821e96 1170s 1..1 1170s # Start of gobject tests 1170s # Start of refcount tests 1170s # init 0x5cbe48316420 1170s # 1170s # init 0x5cbe483165c0 1170s # 1174s # Executing: glib/signals-refcount4.test 1175s # dispose 0x5cbe48316420! 1175s # 1175s # dispose 0x5cbe483165c0! 1175s # 1175s ok 1 /gobject/refcount/signals 1175s # slow test /gobject/refcount/signals executed in 5.00 secs 1175s # End of refcount tests 1175s # End of gobject tests 1175s ok - glib/signals-refcount4.test 1175s # Running test: glib/cxx-2b.test 1175s TAP version 14 1175s # random seed: R02Sd767f7c3485b1d1743d6d846d362bb99 1175s 1..2 1175s # Start of gtask tests 1175s # 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. 1175s ok 1 /gtask/name 1175s # Start of name tests 1175s # 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. 1175s ok 2 /gtask/name/macro-wrapper 1175s # End of name tests 1175s # End of gtask tests 1175s ok - glib/cxx-2b.test 1175s # Running test: glib/tls-interaction.test 1175s TAP version 14 1175s # random seed: R02S134defa8799c682379fdbe5310efed44 1175s 1..42 1175s # Start of tls-interaction tests 1175s # Start of ask-password tests 1175s # Start of invoke-with-loop tests 1175s ok 1 /tls-interaction/ask-password/invoke-with-loop/unhandled-implementation 1175s ok 2 /tls-interaction/ask-password/invoke-with-loop/async-implementation-success 1175s ok 3 /tls-interaction/ask-password/invoke-with-loop/async-implementation-failure 1175s ok 4 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-success 1175s ok 5 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-failure 1175s # End of invoke-with-loop tests 1175s # Start of invoke-without-loop tests 1175s ok 6 /tls-interaction/ask-password/invoke-without-loop/unhandled-implementation 1175s ok 7 /tls-interaction/ask-password/invoke-without-loop/async-implementation-success 1175s ok 8 /tls-interaction/ask-password/invoke-without-loop/async-implementation-failure 1175s ok 9 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-success 1175s ok 10 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-failure 1175s # End of invoke-without-loop tests 1175s # Start of invoke-in-loop tests 1175s ok 11 /tls-interaction/ask-password/invoke-in-loop/unhandled-implementation 1175s ok 12 /tls-interaction/ask-password/invoke-in-loop/async-implementation-success 1175s ok 13 /tls-interaction/ask-password/invoke-in-loop/async-implementation-failure 1175s ok 14 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-success 1175s ok 15 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-failure 1175s # End of invoke-in-loop tests 1175s # Start of sync tests 1175s ok 16 /tls-interaction/ask-password/sync/unhandled-implementation 1175s ok 17 /tls-interaction/ask-password/sync/sync-implementation-success 1175s ok 18 /tls-interaction/ask-password/sync/sync-implementation-failure 1175s # End of sync tests 1175s # Start of async tests 1175s ok 19 /tls-interaction/ask-password/async/unhandled-implementation 1175s ok 20 /tls-interaction/ask-password/async/async-implementation-success 1175s ok 21 /tls-interaction/ask-password/async/async-implementation-failure 1175s # End of async tests 1175s # End of ask-password tests 1175s # Start of request-certificate tests 1175s # Start of invoke-with-loop tests 1175s ok 22 /tls-interaction/request-certificate/invoke-with-loop/unhandled-implementation 1175s ok 23 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-success 1175s ok 24 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-failure 1175s ok 25 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-success 1175s ok 26 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-failure 1175s # End of invoke-with-loop tests 1175s # Start of invoke-without-loop tests 1175s ok 27 /tls-interaction/request-certificate/invoke-without-loop/unhandled-implementation 1175s ok 28 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-success 1175s ok 29 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-failure 1175s ok 30 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-success 1175s ok 31 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-failure 1175s # End of invoke-without-loop tests 1175s # Start of invoke-in-loop tests 1175s ok 32 /tls-interaction/request-certificate/invoke-in-loop/unhandled-implementation 1175s ok 33 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-success 1175s ok 34 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-failure 1175s ok 35 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-success 1175s ok 36 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-failure 1175s # End of invoke-in-loop tests 1175s # Start of sync tests 1175s ok 37 /tls-interaction/request-certificate/sync/unhandled-implementation 1175s ok 38 /tls-interaction/request-certificate/sync/sync-implementation-success 1175s ok 39 /tls-interaction/request-certificate/sync/sync-implementation-failure 1175s # End of sync tests 1175s # Start of async tests 1175s ok 40 /tls-interaction/request-certificate/async/unhandled-implementation 1175s ok 41 /tls-interaction/request-certificate/async/async-implementation-success 1175s ok 42 /tls-interaction/request-certificate/async/async-implementation-failure 1175s # End of async tests 1175s # End of request-certificate tests 1175s # End of tls-interaction tests 1175s ok - glib/tls-interaction.test 1175s # Running test: glib/pollable.test 1175s TAP version 14 1175s # random seed: R02S25bb035540293076fd77518cf7526e85 1175s 1..6 1175s # Start of pollable tests 1175s ok 1 /pollable/converter 1175s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1175s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x64f3c89e47d0 and GSocketClientAsyncConnectData 0x64f3c89d7ad0 1175s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1175s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1175s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x64f3c89e5850 for GSocketClientAsyncConnectData 0x64f3c89d7ad0 1175s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1175s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1175s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1175s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1175s ok 2 /pollable/socket 1175s # Start of unix tests 1175s # /pollable/unix/pipe summary: Test that pipes are considered pollable, just like sockets 1175s ok 3 /pollable/unix/pipe 1175s # /pollable/unix/pty summary: Test that PTYs are considered pollable 1175s ok 4 /pollable/unix/pty 1175s # /pollable/unix/file summary: Test that regular files are not considered pollable 1175s ok 5 /pollable/unix/file 1175s # /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 1175s ok 6 /pollable/unix/nulldev # SKIP Cannot detect /dev/null as non-pollable on this system 1175s # End of unix tests 1175s # End of pollable tests 1175s ok - glib/pollable.test 1175s # Running test: glib/reference.test 1175s TAP version 14 1175s # random seed: R02S4d6dab678bc0648604ca892c48769764 1175s 1..29 1175s # Start of type tests 1175s ok 1 /type/fundamentals 1175s ok 2 /type/qdata 1175s ok 3 /type/query 1175s ok 4 /type/class-private 1175s # End of type tests 1175s # Start of object tests 1175s ok 5 /object/clear 1175s ok 6 /object/clear-function 1175s ok 7 /object/set 1175s ok 8 /object/set-function 1175s ok 9 /object/value 1175s ok 10 /object/initially-unowned 1175s ok 11 /object/weak-pointer 1175s ok 12 /object/weak-ref 1175s ok 13 /object/toggle-ref 1175s ok 14 /object/qdata 1175s ok 15 /object/qdata2 1175s # Start of set tests 1175s # /object/set/derived-type summary: Check that g_set_object() doesn?t give strict aliasing warnings when used on types derived from GObject 1175s ok 16 /object/set/derived-type 1175s # End of set tests 1175s # Start of weak-pointer tests 1175s ok 17 /object/weak-pointer/clear 1175s ok 18 /object/weak-pointer/clear-function 1175s ok 19 /object/weak-pointer/set 1175s ok 20 /object/weak-pointer/set-function 1175s # End of weak-pointer tests 1175s # Start of weak-ref tests 1175s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1175s # /object/weak-ref/on-dispose summary: Test that a weak ref set during dispose vfunc is cleared 1175s ok 21 /object/weak-ref/on-dispose 1175s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/865 1175s # /object/weak-ref/on-run-dispose summary: Test that a weak ref is cleared on g_object_run_dispose() 1175s ok 22 /object/weak-ref/on-run-dispose 1175s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1175s # /object/weak-ref/on-toggle-notify summary: Test that a weak ref set on toggle notify is cleared 1175s ok 23 /object/weak-ref/on-toggle-notify 1175s ok 24 /object/weak-ref/in-toggle-notify 1175s ok 25 /object/weak-ref/many 1175s # Start of concurrent tests 1175s ok 26 /object/weak-ref/concurrent/0 1175s ok 27 /object/weak-ref/concurrent/1 1175s # End of concurrent tests 1175s # End of weak-ref tests 1175s # Start of toggle-ref tests 1175s ok 28 /object/toggle-ref/ref-on-dispose 1175s ok 29 /object/toggle-ref/ref-and-notify-on-dispose 1175s # End of toggle-ref tests 1175s # End of object tests 1175s ok - glib/reference.test 1175s # Running test: glib/gvariant.test 1175s TAP version 14 1175s # random seed: R02Sfbeff1314bc338692244ca5ba49c6b1e 1175s 1..64 1175s # Start of gvariant tests 1175s ok 1 /gvariant/type 1175s ok 2 /gvariant/typeinfo 1175s ok 3 /gvariant/string 1175s ok 4 /gvariant/utf8 1175s ok 5 /gvariant/containers 1175s ok 6 /gvariant/format-strings 1175s ok 7 /gvariant/invalid-varargs 1175s ok 8 /gvariant/varargs 1175s ok 9 /gvariant/valist 1175s ok 10 /gvariant/builder-memory 1175s ok 11 /gvariant/hashing 1175s ok 12 /gvariant/byteswap 1175s ok 13 /gvariant/parser 1175s ok 14 /gvariant/parse-failures 1175s ok 15 /gvariant/parse-positional 1175s ok 16 /gvariant/floating 1175s ok 17 /gvariant/bytestring 1175s ok 18 /gvariant/lookup-value 1175s ok 19 /gvariant/lookup 1175s ok 20 /gvariant/compare 1175s ok 21 /gvariant/equal 1175s ok 22 /gvariant/fixed-array 1175s ok 23 /gvariant/check-format-string 1175s ok 24 /gvariant/checksum-basic 1175s ok 25 /gvariant/checksum-nested 1175s ok 26 /gvariant/gbytes 1175s ok 27 /gvariant/print-context 1175s ok 28 /gvariant/error-quark 1175s ok 29 /gvariant/stack-builder-init 1175s ok 30 /gvariant/stack-dict-init 1175s ok 31 /gvariant/unaligned-construction 1175s # Start of type tests 1175s # Start of string-scan tests 1175s # Start of recursion tests 1175s ok 32 /gvariant/type/string-scan/recursion/tuple 1175s ok 33 /gvariant/type/string-scan/recursion/array 1175s # End of recursion tests 1175s # End of string-scan tests 1175s # End of type tests 1175s # Start of serialiser tests 1175s ok 34 /gvariant/serialiser/maybe 1175s ok 35 /gvariant/serialiser/array 1175s ok 36 /gvariant/serialiser/tuple 1175s ok 37 /gvariant/serialiser/variant 1175s ok 38 /gvariant/serialiser/strings 1179s # Executing: glib/gvariant.test 1179s ok 39 /gvariant/serialiser/byteswap 1179s # slow test /gvariant/serialiser/byteswap executed in 3.42 secs 1179s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1865 1179s # /gvariant/serialiser/children summary: Test that getting a child variant before and after serialisation of the parent works 1179s ok 40 /gvariant/serialiser/children 1179s # Start of fuzz tests 1179s ok 41 /gvariant/serialiser/fuzz/1% 1179s ok 42 /gvariant/serialiser/fuzz/5% 1179s ok 43 /gvariant/serialiser/fuzz/9% 1181s ok 44 /gvariant/serialiser/fuzz/13% 1181s # slow test /gvariant/serialiser/fuzz/13% executed in 1.56 secs 1181s ok 45 /gvariant/serialiser/fuzz/17% 1181s # slow test /gvariant/serialiser/fuzz/17% executed in 0.93 secs 1181s # End of fuzz tests 1181s # End of serialiser tests 1181s # Start of varargs tests 1181s # Start of subprocess tests 1181s # End of subprocess tests 1181s # End of varargs tests 1181s # Start of byteswap tests 1181s # /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. 1181s ok 46 /gvariant/byteswap/non-normal-non-aligned 1181s # End of byteswap tests 1181s # Start of parser tests 1181s ok 47 /gvariant/parser/integer-bounds 1181s ok 48 /gvariant/parser/recursion 1181s # Start of recursion tests 1181s ok 49 /gvariant/parser/recursion/typedecls 1181s # /gvariant/parser/recursion/maybes summary: Test that nested maybes are handled correctly when parsing text-form variants 1181s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2782 1181s # Text form 0: @mmmu 5 1181s # Text form 1: @mmmas ['hello'] 1181s # Text form 2: @mmmu just just nothing 1181s # Text form 3: @mmmas just just nothing 1181s # Text form 4: @mmmu just nothing 1182s # Text form 5: @mmmas just nothing 1182s # Text form 6: @mmmu nothing 1182s # Text form 7: @mmmas nothing 1182s ok 50 /gvariant/parser/recursion/maybes 1182s # End of recursion tests 1182s # End of parser tests 1182s # Start of parse tests 1182s # Start of subprocess tests 1182s # End of subprocess tests 1182s # End of parse tests 1182s # Start of normal-checking tests 1182s ok 51 /gvariant/normal-checking/tuples 1182s ok 52 /gvariant/normal-checking/array-offsets 1182s ok 53 /gvariant/normal-checking/array-offsets2 1182s ok 54 /gvariant/normal-checking/tuple-offsets 1182s ok 55 /gvariant/normal-checking/tuple-offsets2 1182s ok 56 /gvariant/normal-checking/tuple-offsets3 1182s ok 57 /gvariant/normal-checking/tuple-offsets4 1182s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2840 1182s ok 58 /gvariant/normal-checking/tuple-offsets5 1182s ok 59 /gvariant/normal-checking/empty-object-path 1182s # Start of array-offsets tests 1182s ok 60 /gvariant/normal-checking/array-offsets/overlapped 1182s ok 61 /gvariant/normal-checking/array-offsets/minimal-sized 1182s # End of array-offsets tests 1182s # Start of tuple-offsets tests 1182s ok 62 /gvariant/normal-checking/tuple-offsets/minimal-sized 1182s # End of tuple-offsets tests 1182s # End of normal-checking tests 1182s # Start of recursion-limits tests 1182s ok 63 /gvariant/recursion-limits/variant-in-variant 1182s ok 64 /gvariant/recursion-limits/array-in-variant 1182s # End of recursion-limits tests 1182s # End of gvariant tests 1182s ok - glib/gvariant.test 1182s # SUMMARY: total=319; passed=318; skipped=1; failed=0; user=166.3s; system=95.8s; maxrss=150100 1182s autopkgtest [17:21:47]: test installed-tests: -----------------------] 1183s autopkgtest [17:21:48]: test installed-tests: - - - - - - - - - - results - - - - - - - - - - 1183s installed-tests PASS 1183s autopkgtest [17:21:48]: test closure-refcount: preparing testbed 1184s Reading package lists... 1184s Building dependency tree... 1184s Reading state information... 1184s Starting pkgProblemResolver with broken count: 0 1184s Starting 2 pkgProblemResolver with broken count: 0 1184s Done 1184s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1185s autopkgtest [17:21:50]: test closure-refcount: [----------------------- 1185s Running test: glib/closure-refcount.test 1185s TAP version 14 1185s # random seed: R02S2b173327268c818ccdf96b3d51c462ee 1185s 1..1 1185s # Start of closure tests 1185s # Init 0x61426e9680a0 1185s # Yielding from main thread 1185s # Yielding from main thread 1185s # Yielding from main thread 1185s # Yielding from main thread 1185s # Yielding from main thread 1185s # Yielding from main thread 1185s # Yielding from main thread 1185s # Yielding from main thread 1185s # Yielding from main thread 1185s # Yielding from main thread 1185s # Yielding from thread1 1185s # Yielding from thread2 1185s # Yielding from main thread 1185s # Yielding from main thread 1185s # Yielding from main thread 1185s # Yielding from main thread 1185s # Yielding from main thread 1185s # Yielding from main thread 1185s # Yielding from thread1 1185s # Yielding from main thread 1185s # Yielding from main thread 1185s # Yielding from main thread 1185s # Yielding from main thread 1186s # Yielding from main thread 1186s # Yielding from thread2 1186s # Yielding from main thread 1186s # Yielding from main thread 1186s # Yielding from main thread 1186s # Yielding from thread1 1186s # Yielding from main thread 1186s # Yielding from main thread 1186s # Yielding from main thread 1186s # Yielding from main thread 1186s # Yielding from main thread 1186s # Yielding from thread2 1186s # Yielding from main thread 1186s # Yielding from main thread 1186s # Yielding from main thread 1186s # Yielding from main thread 1186s # Yielding from main thread 1186s # Yielding from main thread 1186s # Yielding from thread2 1186s # Yielding from main thread 1186s # Yielding from main thread 1186s # Yielding from main thread 1186s # Yielding from thread1 1186s # Yielding from main thread 1186s # Yielding from main thread 1186s # Yielding from main thread 1186s # Yielding from thread2 1186s # Yielding from main thread 1186s # Yielding from main thread 1186s # Yielding from main thread 1186s # Yielding from main thread 1186s # Yielding from main thread 1186s # Yielding from main thread 1186s # Yielding from main thread 1186s # Yielding from main thread 1186s # Yielding from thread2 1186s # Yielding from main thread 1186s # Yielding from main thread 1186s # Yielding from thread1 1186s # Yielding from main thread 1186s # Yielding from main thread 1186s # Yielding from main thread 1186s # Yielding from main thread 1186s # Yielding from main thread 1186s # Yielding from main thread 1186s # Yielding from main thread 1186s # Yielding from main thread 1186s # Yielding from thread2 1186s # Yielding from main thread 1186s # Yielding from thread1 1186s # Yielding from main thread 1186s # Yielding from main thread 1186s # Yielding from main thread 1186s # Yielding from main thread 1186s # Yielding from main thread 1186s # Yielding from thread1 1186s # Yielding from main thread 1186s # Yielding from main thread 1186s # Yielding from main thread 1187s # Yielding from thread2 1187s # Yielding from main thread 1187s # Yielding from main thread 1187s # Yielding from thread1 1187s # Yielding from main thread 1187s # Yielding from main thread 1187s # Yielding from main thread 1187s # Yielding from main thread 1187s # Yielding from main thread 1187s # Yielding from main thread 1187s # Yielding from main thread 1187s # Yielding from main thread 1187s # Yielding from main thread 1187s # Yielding from thread1 1187s # Yielding from main thread 1187s # Yielding from main thread 1187s # Yielding from main thread 1187s # Yielding from thread2 1187s # Yielding from main thread 1187s # Yielding from main thread 1187s # Yielding from main thread 1187s # Yielding from main thread 1187s # Yielding from thread1 1187s # Yielding from main thread 1187s # Yielding from main thread 1187s # Yielding from main thread 1187s # Yielding from thread2 1187s # Yielding from main thread 1187s # Yielding from main thread 1187s # Yielding from main thread 1187s # Yielding from main thread 1187s # Yielding from main thread 1187s # Yielding from main thread 1187s # Yielding from main thread 1187s # Yielding from main thread 1187s # Yielding from thread1 1187s # Yielding from main thread 1187s # Yielding from main thread 1187s # Yielding from thread2 1187s # Stopping 1187s # Stopped 1187s ok 1 /closure/refcount 1187s # slow test /closure/refcount executed in 1.94 secs 1187s # End of closure tests 1187s PASS: glib/closure-refcount.test 1187s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=3.9s; system=0.0s; maxrss=3908 1187s autopkgtest [17:21:52]: test closure-refcount: -----------------------] 1188s autopkgtest [17:21:53]: test closure-refcount: - - - - - - - - - - results - - - - - - - - - - 1188s closure-refcount PASS 1188s autopkgtest [17:21:53]: test debugcontroller: preparing testbed 1188s Reading package lists... 1189s Building dependency tree... 1189s Reading state information... 1189s Starting pkgProblemResolver with broken count: 0 1189s Starting 2 pkgProblemResolver with broken count: 0 1189s Done 1189s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1190s autopkgtest [17:21:55]: test debugcontroller: [----------------------- 1190s Running test: glib/debugcontroller.test 1190s TAP version 14 1190s # random seed: R02S19565630676b867a7196367fff623bc5 1190s 1..3 1190s # Start of debug-controller tests 1190s # Start of dbus tests 1190s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus. 1190s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1190s # GLib-GIO-DEBUG: Debug output enabled 1190s # GLib-GIO-DEBUG: Debug output disabled 1190s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1190s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1190s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1190s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1190s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1190s ok 1 /debug-controller/dbus/basic 1190s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails. 1190s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1190s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1190s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1190s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1190s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1190s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1190s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1190s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1190s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1190s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1190s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1190s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1190s ok 2 /debug-controller/dbus/duplicate 1190s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus. 1190s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1190s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1190s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1190s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1190s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1190s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1190s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1190s # GLib-GIO-DEBUG: Debug output enabled 1190s # GLib-GIO-DEBUG: Debug output disabled 1190s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1190s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1190s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1190s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1190s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1190s ok 3 /debug-controller/dbus/properties 1190s # End of dbus tests 1190s # End of debug-controller tests 1190s PASS: glib/debugcontroller.test 1190s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=6652 1190s autopkgtest [17:21:55]: test debugcontroller: -----------------------] 1191s autopkgtest [17:21:56]: test debugcontroller: - - - - - - - - - - results - - - - - - - - - - 1191s debugcontroller PASS 1191s autopkgtest [17:21:56]: test gdbus-server-auth: preparing testbed 1192s Reading package lists... 1192s Building dependency tree... 1192s Reading state information... 1192s Starting pkgProblemResolver with broken count: 0 1192s Starting 2 pkgProblemResolver with broken count: 0 1192s Done 1192s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1193s autopkgtest [17:21:58]: test gdbus-server-auth: [----------------------- 1193s Running test: glib/gdbus-server-auth.test 1193s TAP version 14 1193s # random seed: R02S1a0cdf30cc45bf7944755818f8f57099 1193s 1..9 1193s # Start of gdbus tests 1193s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_LV45Z2/gdbus/server-auth/.dirs/home 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_LV45Z2/gdbus/server-auth/.dirs/cache 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_LV45Z2/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_LV45Z2/gdbus/server-auth/.dirs/system-config2 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_LV45Z2/gdbus/server-auth/.dirs/config 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_LV45Z2/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_LV45Z2/gdbus/server-auth/.dirs/system-data2 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_LV45Z2/gdbus/server-auth/.dirs/data 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_LV45Z2/gdbus/server-auth/.dirs/state 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_LV45Z2/gdbus/server-auth/.dirs/runtime 1193s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_LV45Z2/gdbus-server-auth-VN45Z2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false 1193s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_LV45Z2/gdbus-server-auth-VN45Z2/dbus-6cNlH7IL 1193s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1193s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1193s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1193s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1193s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1193s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15774 1193s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1193s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1193s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1193s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1193s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1193s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1193s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15774 1193s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1193s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1193s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1193s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1193s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1193s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1193s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15774 1193s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1193s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1193s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1193s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1193s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1193s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1193s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15774 1193s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1193s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1193s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1193s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1193s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1193s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1193s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15774 1193s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1193s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1193s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1193s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1193s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1193s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1193s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15774 1193s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1193s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1193s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1193s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1193s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1193s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1193s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15774 1193s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1193s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1193s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1193s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1193s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1193s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1193s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15774 1193s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1193s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1193s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1193s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1193s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1193s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1193s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15774 1193s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1193s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1193s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1193s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1193s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1193s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1193s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15774 1193s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1193s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1193s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1193s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1193s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1193s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1193s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15774 1193s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1193s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1193s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1193s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1193s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1193s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1193s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15774 1193s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1193s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1193s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1193s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1193s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1193s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1193s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15774 1193s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1193s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1193s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1193s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1193s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1193s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1193s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15774 1193s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1193s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1193s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1193s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1193s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1193s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1193s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15774 1193s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1193s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1193s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1193s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1193s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1193s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1193s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15774 1193s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1193s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1193s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1193s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1193s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1193s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1193s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15774 1193s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1193s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1193s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1193s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1193s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1193s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1193s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15774 1193s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1193s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1193s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1193s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1193s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1193s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1193s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15774 1193s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1193s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1193s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1193s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1193s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1193s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1193s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15774 1193s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1193s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1193s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1193s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1193s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1193s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1193s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15774 1193s ok 1 /gdbus/server-auth 1193s # Start of server-auth tests 1193s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_LV45Z2/gdbus/server-auth/abstract/.dirs/home 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_LV45Z2/gdbus/server-auth/abstract/.dirs/cache 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_LV45Z2/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_LV45Z2/gdbus/server-auth/abstract/.dirs/system-config2 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_LV45Z2/gdbus/server-auth/abstract/.dirs/config 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_LV45Z2/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_LV45Z2/gdbus/server-auth/abstract/.dirs/system-data2 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_LV45Z2/gdbus/server-auth/abstract/.dirs/data 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_LV45Z2/gdbus/server-auth/abstract/.dirs/state 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_LV45Z2/gdbus/server-auth/abstract/.dirs/runtime 1193s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_LV45Z2/gdbus-server-auth-J875Z2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false 1193s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_LV45Z2/gdbus-server-auth-J875Z2/dbus-7x45snWY 1193s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1193s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1193s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1193s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1193s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1193s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15774 1193s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1193s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1193s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1193s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1193s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1193s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1193s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15774 1193s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1193s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1193s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1193s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1193s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1193s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1193s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15774 1193s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1193s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1193s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1193s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1193s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1193s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1193s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15774 1193s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1193s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1193s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1193s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1193s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1193s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1193s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15774 1193s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1193s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1193s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1193s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1193s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1193s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1193s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15774 1193s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1193s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1193s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1193s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1193s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1193s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1193s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15774 1193s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1193s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1193s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1193s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1193s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1193s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1193s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15774 1193s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1193s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1193s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1193s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1193s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1193s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1193s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15774 1193s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1193s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1193s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1193s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1193s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1193s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1193s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15774 1193s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1193s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1193s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1193s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1193s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1193s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1193s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15774 1193s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1193s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1193s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1193s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1193s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1193s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1193s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15774 1193s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1193s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1193s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1193s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1193s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1193s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1193s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15774 1193s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1193s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1193s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1193s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1193s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1193s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1193s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15774 1193s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1193s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1193s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1193s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1193s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1193s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1193s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15774 1193s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1193s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1193s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1193s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1193s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1193s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1193s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15774 1193s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1193s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1193s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1193s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1193s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1193s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1193s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15774 1193s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1193s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1193s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1193s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1193s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1193s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1193s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15774 1193s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1193s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1193s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1193s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1193s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1193s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1193s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15774 1193s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1193s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1193s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1193s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1193s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1193s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1193s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15774 1193s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1193s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1193s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1193s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1193s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1193s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1193s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15774 1193s ok 2 /gdbus/server-auth/abstract 1193s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_LV45Z2/gdbus/server-auth/tcp/.dirs/home 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_LV45Z2/gdbus/server-auth/tcp/.dirs/cache 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_LV45Z2/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_LV45Z2/gdbus/server-auth/tcp/.dirs/system-config2 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_LV45Z2/gdbus/server-auth/tcp/.dirs/config 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_LV45Z2/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_LV45Z2/gdbus/server-auth/tcp/.dirs/system-data2 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_LV45Z2/gdbus/server-auth/tcp/.dirs/data 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_LV45Z2/gdbus/server-auth/tcp/.dirs/state 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_LV45Z2/gdbus/server-auth/tcp/.dirs/runtime 1193s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true 1193s # Connectable address: tcp:host=127.0.0.1,port=33421 1193s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1193s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1193s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1193s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1193s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1193s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 1193s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1193s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1193s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1193s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1193s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1193s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1193s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 1193s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1193s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1193s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1193s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1193s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1193s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1193s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 1193s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1193s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1193s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1193s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1193s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1193s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1193s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 1193s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1193s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1193s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1193s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1193s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1193s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1193s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 1193s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1193s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1193s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1193s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1193s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1193s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1194s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 1194s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1194s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1194s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1194s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1194s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1194s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1194s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 1194s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1194s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1194s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1194s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1194s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1194s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1194s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 1194s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1194s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1194s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1194s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1194s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1194s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1194s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 1194s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1194s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1194s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1194s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1194s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1194s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1194s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 1194s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1194s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1194s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1194s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1194s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1194s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1194s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 1194s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1194s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1194s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1194s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1194s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1194s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1194s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 1194s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1194s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1194s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1194s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1194s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1194s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1194s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 1194s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1194s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1194s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1194s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1194s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1194s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1194s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 1194s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1194s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1194s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1194s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1194s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1194s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1194s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 1194s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1194s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1194s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1194s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1194s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1194s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1194s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 1194s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1194s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1194s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1194s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1194s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1194s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1194s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 1194s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1194s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1194s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1194s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1194s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1194s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1194s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 1194s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1194s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1194s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1194s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1194s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1194s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1194s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 1194s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1194s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1194s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1194s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1194s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1194s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1194s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 1194s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1194s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1194s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1194s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1194s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1194s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1194s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 1194s ok 3 /gdbus/server-auth/tcp 1194s # slow test /gdbus/server-auth/tcp executed in 0.85 secs 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_LV45Z2/gdbus/server-auth/anonymous/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_LV45Z2/gdbus/server-auth/anonymous/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_LV45Z2/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_LV45Z2/gdbus/server-auth/anonymous/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_LV45Z2/gdbus/server-auth/anonymous/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_LV45Z2/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_LV45Z2/gdbus/server-auth/anonymous/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_LV45Z2/gdbus/server-auth/anonymous/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_LV45Z2/gdbus/server-auth/anonymous/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_LV45Z2/gdbus/server-auth/anonymous/.dirs/runtime 1194s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_LV45Z2/gdbus-server-auth-CQW8Z2 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false 1194s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_LV45Z2/gdbus-server-auth-CQW8Z2/dbus-aU1GQJqT 1194s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1194s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1194s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1194s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15774 1194s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1194s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1194s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1194s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1194s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15774 1194s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1194s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1194s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1194s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1194s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15774 1194s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1194s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1194s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1194s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1194s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15774 1194s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1194s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1194s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1194s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1194s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15774 1194s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1194s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1194s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1194s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1194s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15774 1194s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1194s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1194s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1194s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1194s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15774 1194s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1194s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1194s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1194s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1194s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15774 1194s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1194s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1194s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1194s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1194s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15774 1194s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1194s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1194s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1194s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1194s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15774 1194s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1194s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1194s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1194s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1194s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15774 1194s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1194s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1194s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1194s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1194s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15774 1194s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1194s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1194s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1194s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1194s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15774 1194s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1194s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1194s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1194s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1194s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15774 1194s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1194s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1194s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1194s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1194s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15774 1194s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1194s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1194s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1194s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1194s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15774 1194s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1194s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1194s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1194s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1194s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15774 1194s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1194s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1194s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1194s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1194s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15774 1194s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1194s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1194s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1194s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1194s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15774 1194s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1194s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1194s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1194s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1194s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15774 1194s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1194s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1194s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1194s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1194s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15774 1194s ok 4 /gdbus/server-auth/anonymous 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_LV45Z2/gdbus/server-auth/external/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_LV45Z2/gdbus/server-auth/external/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_LV45Z2/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_LV45Z2/gdbus/server-auth/external/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_LV45Z2/gdbus/server-auth/external/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_LV45Z2/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_LV45Z2/gdbus/server-auth/external/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_LV45Z2/gdbus/server-auth/external/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_LV45Z2/gdbus/server-auth/external/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_LV45Z2/gdbus/server-auth/external/.dirs/runtime 1194s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_LV45Z2/gdbus-server-auth-IG14Z2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1194s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_LV45Z2/gdbus-server-auth-IG14Z2/dbus-89Udl90w 1194s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1194s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1194s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1194s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15774 1194s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1194s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1194s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1194s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1194s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15774 1194s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1194s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1194s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1194s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1194s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15774 1194s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1194s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1194s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1194s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1194s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15774 1194s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1194s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1194s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1194s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1194s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15774 1194s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1194s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1194s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1194s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1194s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15774 1194s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1194s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1194s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1194s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1194s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15774 1194s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1194s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1194s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1194s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1194s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15774 1194s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1194s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1194s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1194s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1194s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15774 1194s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1194s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1194s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1194s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1194s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15774 1194s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1194s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1194s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1194s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1194s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15774 1194s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1194s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1194s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1194s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1194s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15774 1194s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1194s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1194s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1194s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1194s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15774 1194s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1194s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1194s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1194s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1194s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15774 1194s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1194s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1194s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1194s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1194s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15774 1194s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1194s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1194s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1194s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1194s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15774 1194s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1194s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1194s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1194s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1194s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15774 1194s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1194s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1194s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1194s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1194s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15774 1194s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1194s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1194s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1194s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1194s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15774 1194s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1194s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1194s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1194s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1194s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15774 1194s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1194s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1194s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1194s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1194s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15774 1194s ok 5 /gdbus/server-auth/external 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_LV45Z2/gdbus/server-auth/sha1/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_LV45Z2/gdbus/server-auth/sha1/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_LV45Z2/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_LV45Z2/gdbus/server-auth/sha1/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_LV45Z2/gdbus/server-auth/sha1/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_LV45Z2/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_LV45Z2/gdbus/server-auth/sha1/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_LV45Z2/gdbus/server-auth/sha1/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_LV45Z2/gdbus/server-auth/sha1/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_LV45Z2/gdbus/server-auth/sha1/.dirs/runtime 1194s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_LV45Z2/gdbus-server-auth-ARD5Z2 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false 1194s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_LV45Z2/gdbus-server-auth-ARD5Z2/dbus-HuVIbGpS 1194s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1194s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1194s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1194s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15774 1194s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1194s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1194s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1194s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1194s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15774 1194s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1194s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1194s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1194s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1194s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15774 1194s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1194s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1194s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1194s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1194s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15774 1194s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1194s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1194s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1194s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1194s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15774 1194s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1194s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1194s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1194s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1194s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15774 1194s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1194s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1194s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1194s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1194s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15774 1194s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1194s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1194s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1194s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1194s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15774 1194s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1194s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1194s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1194s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1194s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15774 1194s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1194s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1194s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1194s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1194s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15774 1194s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1194s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1194s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1194s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1194s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15774 1194s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1194s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1194s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1194s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1194s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15774 1194s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1194s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1194s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1194s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1194s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15774 1194s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1194s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1194s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1194s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1194s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15774 1194s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1194s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1194s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1194s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1194s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15774 1194s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1194s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1194s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1194s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1194s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15774 1194s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1194s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1194s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1194s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1194s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15774 1194s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1194s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1194s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1194s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1194s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15774 1194s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1194s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1194s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1194s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1194s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15774 1194s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1194s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1194s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1194s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1194s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15774 1194s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1194s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1194s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1194s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1194s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1194s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15774 1194s ok 6 /gdbus/server-auth/sha1 1194s # Start of anonymous tests 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_LV45Z2/gdbus/server-auth/anonymous/tcp/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_LV45Z2/gdbus/server-auth/anonymous/tcp/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_LV45Z2/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_LV45Z2/gdbus/server-auth/anonymous/tcp/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_LV45Z2/gdbus/server-auth/anonymous/tcp/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_LV45Z2/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_LV45Z2/gdbus/server-auth/anonymous/tcp/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_LV45Z2/gdbus/server-auth/anonymous/tcp/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_LV45Z2/gdbus/server-auth/anonymous/tcp/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_LV45Z2/gdbus/server-auth/anonymous/tcp/.dirs/runtime 1194s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true 1194s # Connectable address: tcp:host=127.0.0.1,port=36851 1194s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1194s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1194s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1194s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1194s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1194s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 1194s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1194s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1194s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1194s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1194s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1194s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1194s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 1194s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1194s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1194s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1194s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1194s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1194s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1194s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 1194s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1194s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1194s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1194s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1194s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1194s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1194s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 1194s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1194s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1194s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1194s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1194s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1194s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1194s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 1194s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1194s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1194s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1194s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1194s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1194s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1194s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 1194s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1194s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1194s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1194s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1194s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1194s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1195s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1195s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1195s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1195s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1195s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1195s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1195s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1195s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1195s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1195s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1195s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1195s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1195s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1195s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1195s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1195s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1195s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1195s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1195s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1195s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1195s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1195s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1195s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1195s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1195s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1195s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1195s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1195s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1195s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1195s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1195s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1195s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1195s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1195s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1195s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1195s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1195s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1195s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1195s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1195s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1195s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1195s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1195s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 1195s ok 7 /gdbus/server-auth/anonymous/tcp 1195s # slow test /gdbus/server-auth/anonymous/tcp executed in 0.84 secs 1195s # End of anonymous tests 1195s # Start of external tests 1195s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_LV45Z2/gdbus/server-auth/external/require-same-user/.dirs/home 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_LV45Z2/gdbus/server-auth/external/require-same-user/.dirs/cache 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_LV45Z2/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_LV45Z2/gdbus/server-auth/external/require-same-user/.dirs/system-config2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_LV45Z2/gdbus/server-auth/external/require-same-user/.dirs/config 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_LV45Z2/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_LV45Z2/gdbus/server-auth/external/require-same-user/.dirs/system-data2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_LV45Z2/gdbus/server-auth/external/require-same-user/.dirs/data 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_LV45Z2/gdbus/server-auth/external/require-same-user/.dirs/state 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_LV45Z2/gdbus/server-auth/external/require-same-user/.dirs/runtime 1195s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_LV45Z2/gdbus-server-auth-OFA7Z2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1195s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_LV45Z2/gdbus-server-auth-OFA7Z2/dbus-oS9MfWU3 1195s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15774 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15774 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15774 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15774 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15774 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15774 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15774 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15774 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15774 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15774 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15774 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15774 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15774 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15774 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15774 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15774 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15774 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15774 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15774 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15774 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15774,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15774 1195s ok 8 /gdbus/server-auth/external/require-same-user 1195s # End of external tests 1195s # Start of sha1 tests 1195s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_LV45Z2/gdbus/server-auth/sha1/tcp/.dirs/home 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_LV45Z2/gdbus/server-auth/sha1/tcp/.dirs/cache 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_LV45Z2/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_LV45Z2/gdbus/server-auth/sha1/tcp/.dirs/system-config2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_LV45Z2/gdbus/server-auth/sha1/tcp/.dirs/config 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_LV45Z2/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_LV45Z2/gdbus/server-auth/sha1/tcp/.dirs/system-data2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_LV45Z2/gdbus/server-auth/sha1/tcp/.dirs/data 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_LV45Z2/gdbus/server-auth/sha1/tcp/.dirs/state 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_LV45Z2/gdbus/server-auth/sha1/tcp/.dirs/runtime 1195s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true 1195s # Connectable address: tcp:host=127.0.0.1,port=39459 1195s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1195s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1195s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1195s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1195s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1195s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1195s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1195s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1195s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1195s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1195s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1195s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1195s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1195s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1195s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1195s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1195s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1195s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1195s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1195s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1195s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1195s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1195s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1195s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1195s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1195s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1195s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1195s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1195s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1195s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1196s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 1196s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1196s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1196s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1196s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1196s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1196s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1196s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 1196s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1196s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1196s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1196s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1196s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1196s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1196s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 1196s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1196s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1196s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1196s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1196s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1196s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1196s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 1196s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1196s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1196s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1196s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1196s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1196s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1196s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 1196s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1196s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1196s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1196s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1196s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1196s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1196s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 1196s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1196s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1196s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1196s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1196s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1196s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1196s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 1196s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1196s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1196s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1196s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1196s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1196s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1196s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 1196s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1196s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1196s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1196s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1196s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1196s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1196s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 1196s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1196s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1196s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1196s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1196s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1196s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1196s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 1196s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1196s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1196s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1196s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1196s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1196s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1196s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 1196s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1196s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1196s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1196s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1196s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1196s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1196s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 1196s ok 9 /gdbus/server-auth/sha1/tcp 1196s # slow test /gdbus/server-auth/sha1/tcp executed in 0.85 secs 1196s # End of sha1 tests 1196s # End of server-auth tests 1196s # End of gdbus tests 1196s PASS: glib/gdbus-server-auth.test 1196s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.1s; system=0.1s; maxrss=8708 1196s autopkgtest [17:22:01]: test gdbus-server-auth: -----------------------] 1197s gdbus-server-auth PASS 1197s autopkgtest [17:22:02]: test gdbus-server-auth: - - - - - - - - - - results - - - - - - - - - - 1197s autopkgtest [17:22:02]: test gdbus-threading: preparing testbed 1197s Reading package lists... 1198s Building dependency tree... 1198s Reading state information... 1198s Starting pkgProblemResolver with broken count: 0 1198s Starting 2 pkgProblemResolver with broken count: 0 1198s Done 1198s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1199s autopkgtest [17:22:04]: test gdbus-threading: [----------------------- 1199s Running test: glib/gdbus-threading.test 1199s TAP version 14 1199s # random seed: R02Sdd390dc8289babf72cd792783ffe716f 1199s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1199s 1..3 1199s # Start of gdbus tests 1199s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_RQ4L02/gdbus/delivery-in-thread/.dirs/home 1199s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_RQ4L02/gdbus/delivery-in-thread/.dirs/cache 1199s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_RQ4L02/gdbus/delivery-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_RQ4L02/gdbus/delivery-in-thread/.dirs/system-config2 1199s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_RQ4L02/gdbus/delivery-in-thread/.dirs/config 1199s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_RQ4L02/gdbus/delivery-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_RQ4L02/gdbus/delivery-in-thread/.dirs/system-data2 1199s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_RQ4L02/gdbus/delivery-in-thread/.dirs/data 1199s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_RQ4L02/gdbus/delivery-in-thread/.dirs/state 1199s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_RQ4L02/gdbus/delivery-in-thread/.dirs/runtime 1199s ok 1 /gdbus/delivery-in-thread 1199s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_RQ4L02/gdbus/method-calls-in-thread/.dirs/home 1199s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_RQ4L02/gdbus/method-calls-in-thread/.dirs/cache 1199s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_RQ4L02/gdbus/method-calls-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_RQ4L02/gdbus/method-calls-in-thread/.dirs/system-config2 1199s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_RQ4L02/gdbus/method-calls-in-thread/.dirs/config 1199s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_RQ4L02/gdbus/method-calls-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_RQ4L02/gdbus/method-calls-in-thread/.dirs/system-data2 1199s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_RQ4L02/gdbus/method-calls-in-thread/.dirs/data 1199s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_RQ4L02/gdbus/method-calls-in-thread/.dirs/state 1199s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_RQ4L02/gdbus/method-calls-in-thread/.dirs/runtime 1200s ok 2 /gdbus/method-calls-in-thread 1200s # slow test /gdbus/method-calls-in-thread executed in 0.82 secs 1200s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_RQ4L02/gdbus/threaded-singleton/.dirs/home 1200s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_RQ4L02/gdbus/threaded-singleton/.dirs/cache 1200s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_RQ4L02/gdbus/threaded-singleton/.dirs/system-config1:/tmp/test_gdbus-threading_RQ4L02/gdbus/threaded-singleton/.dirs/system-config2 1200s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_RQ4L02/gdbus/threaded-singleton/.dirs/config 1200s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_RQ4L02/gdbus/threaded-singleton/.dirs/system-data1:/tmp/test_gdbus-threading_RQ4L02/gdbus/threaded-singleton/.dirs/system-data2 1200s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_RQ4L02/gdbus/threaded-singleton/.dirs/data 1200s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_RQ4L02/gdbus/threaded-singleton/.dirs/state 1200s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_RQ4L02/gdbus/threaded-singleton/.dirs/runtime 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: refcount of 0x7a1fbc005de0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1200s # GLib-GIO-DEBUG: refcount of 0x7a1fbc005de0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: refcount of 0x7a1fbc001f70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: refcount of 0x7a1fbc001b20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: refcount of 0x7a1fbc0074a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: refcount of 0x7a1fbc005e40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: refcount of 0x7a1fbc003830 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: refcount of 0x7a1fbc007fc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: refcount of 0x7a1fbc0058a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: refcount of 0x7a1fbc004720 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: refcount of 0x7a1fbc007a40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: refcount of 0x7a1fbc002280 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: refcount of 0x7a1fbc002280 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: refcount of 0x7a1fbc001ba0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: refcount of 0x7a1fbc001ba0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: refcount of 0x7a1fbc001ba0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: refcount of 0x7a1fbc003de0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: refcount of 0x7a1fbc003de0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: refcount of 0x7a1fbc003de0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: refcount of 0x7a1fbc0080e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: refcount of 0x7a1fbc0076a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1201s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: refcount of 0x7a1fbc0076a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: refcount of 0x7a1fbc007820 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: refcount of 0x7a1fbc007fe0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: refcount of 0x7a1fbc008000 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: refcount of 0x7a1fbc007f30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: refcount of 0x7a1fbc007f30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: refcount of 0x7a1fbc001b30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: refcount of 0x7a1fbc001b30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: refcount of 0x7a1fbc001b30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: refcount of 0x7a1fbc001b30 is not right (2 rather than 1) in test_threaded_singleton(), sleeping 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1202s ok 3 /gdbus/threaded-singleton 1202s # slow test /gdbus/threaded-singleton executed in 2.56 secs 1202s # End of gdbus tests 1202s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1202s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1202s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1202s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1202s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1202s PASS: glib/gdbus-threading.test 1202s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.5s; system=0.4s; maxrss=6368 1203s autopkgtest [17:22:08]: test gdbus-threading: -----------------------] 1203s gdbus-threading PASS 1203s autopkgtest [17:22:08]: test gdbus-threading: - - - - - - - - - - results - - - - - - - - - - 1204s autopkgtest [17:22:09]: test gmenumodel: preparing testbed 1204s Reading package lists... 1204s Building dependency tree... 1204s Reading state information... 1204s Starting pkgProblemResolver with broken count: 0 1204s Starting 2 pkgProblemResolver with broken count: 0 1204s Done 1205s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1205s autopkgtest [17:22:10]: test gmenumodel: [----------------------- 1206s Running test: glib/gmenumodel.test 1206s TAP version 14 1206s # random seed: R02S74431b8cc0d9160a855fc230168a693d 1206s 1..15 1206s # Start of gmenu tests 1206s ok 1 /gmenu/equality 1206s ok 2 /gmenu/random 1206s ok 3 /gmenu/attributes 1206s ok 4 /gmenu/links 1206s ok 5 /gmenu/mutable 1206s ok 6 /gmenu/convenience 1206s ok 7 /gmenu/menuitem 1206s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861 1206s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1206s ok 8 /gmenu/input-validation 1206s # Start of dbus tests 1206s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1207s ok 9 /gmenu/dbus/roundtrip 1207s # slow test /gmenu/dbus/roundtrip executed in 1.01 secs 1208s ok 10 /gmenu/dbus/subscriptions 1208s ok 11 /gmenu/dbus/threaded 1208s # slow test /gmenu/dbus/threaded executed in 0.53 secs 1208s # Start of peer tests 1209s ok 12 /gmenu/dbus/peer/roundtrip 1209s # slow test /gmenu/dbus/peer/roundtrip executed in 1.01 secs 1210s ok 13 /gmenu/dbus/peer/subscriptions 1210s # End of peer tests 1210s # Start of export tests 1210s # /gmenu/dbus/export/error-handling summary: Test that error handling of menu model export failure works 1210s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366 1210s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1210s ok 14 /gmenu/dbus/export/error-handling 1210s # End of export tests 1210s # End of dbus tests 1210s # Start of attributes tests 1210s ok 15 /gmenu/attributes/iterate 1210s # End of attributes tests 1210s # End of gmenu tests 1210s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1210s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1210s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1210s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1210s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1210s PASS: glib/gmenumodel.test 1210s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=1.6s; system=0.2s; maxrss=32108 1210s autopkgtest [17:22:15]: test gmenumodel: -----------------------] 1211s gmenumodel PASS 1211s autopkgtest [17:22:16]: test gmenumodel: - - - - - - - - - - results - - - - - - - - - - 1211s autopkgtest [17:22:16]: test mainloop: preparing testbed 1211s Reading package lists... 1211s Building dependency tree... 1211s Reading state information... 1212s Starting pkgProblemResolver with broken count: 0 1212s Starting 2 pkgProblemResolver with broken count: 0 1212s Done 1212s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1213s autopkgtest [17:22:18]: test mainloop: [----------------------- 1213s Running test: glib/mainloop.test 1213s TAP version 14 1213s # random seed: R02S44965ab44dddc067474235c04e3fe89f 1213s 1..45 1213s # Start of maincontext tests 1213s ok 1 /maincontext/basic 1213s # Add same-priority sources: 12 1213s # Find each source: 0 1213s # Remove in random order: 12 1213s ok 2 /maincontext/nsources_same_priority 1213s # Add different-priority sources: 11 1213s # Find each source: 0 1213s # Remove in random order: 15 1213s ok 3 /maincontext/nsources_different_priority 1213s # Add sources from threads: 134 1213s # Remove sources from threads: 42 1213s ok 4 /maincontext/nsources_threadpool 1213s ok 5 /maincontext/source_finalization 1213s # /maincontext/idle-once summary: Test g_idle_add_once() works 1213s ok 6 /maincontext/idle-once 1213s # /maincontext/timeout-once summary: Test g_timeout_add_once() works 1213s ok 7 /maincontext/timeout-once 1213s # Start of source_finalization_from_source tests 1213s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1213s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1213s ok 8 /maincontext/source_finalization_from_source/0 1213s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1213s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1213s ok 9 /maincontext/source_finalization_from_source/1 1213s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1213s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1213s ok 10 /maincontext/source_finalization_from_source/2 1213s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1213s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1213s ok 11 /maincontext/source_finalization_from_source/3 1213s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1213s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1213s ok 12 /maincontext/source_finalization_from_source/4 1213s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1213s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1213s ok 13 /maincontext/source_finalization_from_source/5 1213s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1213s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1213s ok 14 /maincontext/source_finalization_from_source/6 1213s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1213s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1213s ok 15 /maincontext/source_finalization_from_source/7 1213s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1213s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1213s ok 16 /maincontext/source_finalization_from_source/8 1213s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1213s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1213s ok 17 /maincontext/source_finalization_from_source/9 1213s # End of source_finalization_from_source tests 1213s # Start of source_finalization_from_dispatch tests 1213s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1213s ok 18 /maincontext/source_finalization_from_dispatch/0 1213s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1213s ok 19 /maincontext/source_finalization_from_dispatch/1 1213s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1213s ok 20 /maincontext/source_finalization_from_dispatch/2 1213s # End of source_finalization_from_dispatch tests 1213s # End of maincontext tests 1213s # Start of mainloop tests 1213s ok 21 /mainloop/basic 1213s ok 22 /mainloop/timeouts # SKIP Not running timing heavy test 1213s ok 23 /mainloop/priorities 1214s ok 24 /mainloop/invoke 1214s # slow test /mainloop/invoke executed in 0.50 secs 1215s ok 25 /mainloop/child_sources 1215s # slow test /mainloop/child_sources executed in 1.18 secs 1217s ok 26 /mainloop/recursive_child_sources 1217s # slow test /mainloop/recursive_child_sources executed in 2.17 secs 1217s ok 27 /mainloop/recursive_loop_child_sources 1217s ok 28 /mainloop/swapping_child_sources 1217s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283 1217s ok 29 /mainloop/blocked_child_sources 1218s ok 30 /mainloop/source_time 1218s # slow test /mainloop/source_time executed in 1.00 secs 1218s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098 1218s ok 31 /mainloop/overflow 1218s Executing: glib/mainloop.test 1219s ok 32 /mainloop/ready-time 1219s # slow test /mainloop/ready-time executed in 0.50 secs 1219s ok 33 /mainloop/wakeup 1219s ok 34 /mainloop/remove-invalid 1219s ok 35 /mainloop/unref-while-pending 1219s ok 36 /mainloop/unix-fd 1219s # slow test /mainloop/unix-fd executed in 0.80 secs 1219s ok 37 /mainloop/unix-fd-source 1219s ok 38 /mainloop/source-unix-fd-api 1220s ok 39 /mainloop/wait 1220s ok 40 /mainloop/unix-file-poll 1220s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592 1220s ok 41 /mainloop/unix-fd-priority 1220s ok 42 /mainloop/nfds 1220s ok 43 /mainloop/steal-fd 1220s # Start of ownerless-polling tests 1220s ok 44 /mainloop/ownerless-polling/attach-first 1220s ok 45 /mainloop/ownerless-polling/pop-first 1220s # End of ownerless-polling tests 1220s # End of mainloop tests 1220s PASS: glib/mainloop.test 1220s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.4s; system=0.9s; maxrss=15672 1220s autopkgtest [17:22:25]: test mainloop: -----------------------] 1220s mainloop PASS 1220s autopkgtest [17:22:25]: test mainloop: - - - - - - - - - - results - - - - - - - - - - 1221s autopkgtest [17:22:26]: test memory-monitor-dbus: preparing testbed 1221s Reading package lists... 1221s Building dependency tree... 1221s Reading state information... 1221s Starting pkgProblemResolver with broken count: 0 1221s Starting 2 pkgProblemResolver with broken count: 0 1221s Done 1222s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1223s autopkgtest [17:22:28]: test memory-monitor-dbus: [----------------------- 1223s Running test: glib/memory-monitor-dbus.test 1223s TAP version 13 1223s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal 1223s # Received memory warning signal, level 1223s # Received memory warning signal, level 1223s # Received memory warning signal, level 1223s 1..1 1223s PASS: glib/memory-monitor-dbus.test 1223s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.2s; system=0.0s; maxrss=30460 1223s autopkgtest [17:22:28]: test memory-monitor-dbus: -----------------------] 1224s memory-monitor-dbus PASS 1224s autopkgtest [17:22:29]: test memory-monitor-dbus: - - - - - - - - - - results - - - - - - - - - - 1224s autopkgtest [17:22:29]: test socket: preparing testbed 1224s Reading package lists... 1225s Building dependency tree... 1225s Reading state information... 1225s Starting pkgProblemResolver with broken count: 0 1225s Starting 2 pkgProblemResolver with broken count: 0 1225s Done 1225s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1226s autopkgtest [17:22:31]: test socket: [----------------------- 1226s Running test: glib/socket.test 1226s TAP version 14 1226s # random seed: R02S4e120a61c0019cd1b3dbe978a4e2fa2d 1226s 1..28 1226s # Start of socket tests 1227s ok 1 /socket/ipv4_sync 1227s # slow test /socket/ipv4_sync executed in 1.00 secs 1228s ok 2 /socket/ipv4_async 1228s # slow test /socket/ipv4_async executed in 1.00 secs 1228s ok 3 /socket/ipv6_sync 1228s ok 4 /socket/ipv6_async 1228s ok 5 /socket/ipv6_v4mapped 1229s ok 6 /socket/close_graceful 1229s # slow test /socket/close_graceful executed in 1.00 secs 1229s ok 7 /socket/timed_wait # SKIP Not running timing heavy test 1229s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707 1229s ok 8 /socket/fd_reuse 1229s ok 9 /socket/address 1229s ok 10 /socket/unix-from-fd 1229s ok 11 /socket/unix-connection 1229s ok 12 /socket/unix-connection-ancillary-data 1229s ok 13 /socket/source-postmortem 1229s ok 14 /socket/read_write 1229s ok 15 /socket/read_writev 1229s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes() 1229s ok 16 /socket/receive_bytes 1229s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from() 1229s ok 17 /socket/receive_bytes_from 1229s # Start of ipv4_sync tests 1229s ok 18 /socket/ipv4_sync/datagram 1229s # Start of datagram tests 1230s ok 19 /socket/ipv4_sync/datagram/timeouts 1230s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs 1230s # End of datagram tests 1230s # End of ipv4_sync tests 1230s # Start of ipv6_sync tests 1230s ok 20 /socket/ipv6_sync/datagram 1230s # Start of datagram tests 1231s Executing: glib/socket.test 1231s ok 21 /socket/ipv6_sync/datagram/timeouts 1231s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs 1231s # End of datagram tests 1231s # End of ipv6_sync tests 1231s # Start of reuse tests 1231s ok 22 /socket/reuse/tcp 1231s ok 23 /socket/reuse/udp 1231s # End of reuse tests 1231s # Start of get_available tests 1231s ok 24 /socket/get_available/datagram 1231s ok 25 /socket/get_available/stream 1231s # End of get_available tests 1231s # Start of credentials tests 1231s # Supported on this OS: GCredentials:linux-ucred:pid=0 1231s ok 26 /socket/credentials/tcp_client 1231s # Supported on this OS: GCredentials:linux-ucred:pid=0 1231s ok 27 /socket/credentials/tcp_server 1231s # Supported on this OS: GCredentials:linux-ucred:pid=17616,uid=1000,gid=1000 1231s ok 28 /socket/credentials/unix_socketpair 1231s # End of credentials tests 1231s # End of socket tests 1231s PASS: glib/socket.test 1231s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=5668 1232s autopkgtest [17:22:37]: test socket: -----------------------] 1232s socket PASS 1232s autopkgtest [17:22:37]: test socket: - - - - - - - - - - results - - - - - - - - - - 1234s autopkgtest [17:22:39]: test testfilemonitor: preparing testbed 1235s Reading package lists... 1235s Building dependency tree... 1235s Reading state information... 1235s Starting pkgProblemResolver with broken count: 0 1235s Starting 2 pkgProblemResolver with broken count: 0 1235s Done 1236s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1236s autopkgtest [17:22:41]: test testfilemonitor: [----------------------- 1237s Running test: glib/testfilemonitor.test 1237s TAP version 14 1237s # random seed: R02Sda0f90b5105ade50bae5ab5d27ebe375 1237s 1..8 1237s # Start of monitor tests 1237s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1237s # Using temporary directory: /tmp/gio-test-testfilemonitor_Z55J02 1237s # Using GFileMonitor GInotifyFileMonitor 1239s ok 1 /monitor/atomic-replace 1239s # slow test /monitor/atomic-replace executed in 2.00 secs 1239s # Using temporary directory: /tmp/gio-test-testfilemonitor_EH8J02 1239s # Using GFileMonitor GInotifyFileMonitor 1241s ok 2 /monitor/file-changes 1241s # slow test /monitor/file-changes executed in 2.50 secs 1241s # Using temporary directory: /tmp/gio-test-testfilemonitor_RVR9Z2 1241s # Using GFileMonitor GInotifyFileMonitor 1242s Executing: glib/testfilemonitor.test 1245s ok 3 /monitor/dir-monitor 1245s # slow test /monitor/dir-monitor executed in 3.50 secs 1245s # Using temporary directory: /tmp/gio-test-testfilemonitor_S8DK02 1245s # Using GFileMonitor GInotifyFileMonitor 1247s Executing: glib/testfilemonitor.test 1252s Executing: glib/testfilemonitor.test 1257s Executing: glib/testfilemonitor.test 1262s Executing: glib/testfilemonitor.test 1267s Executing: glib/testfilemonitor.test 1270s ok 4 /monitor/dir-not-existent 1270s # slow test /monitor/dir-not-existent executed in 25.02 secs 1270s # Using temporary directory: /tmp/gio-test-testfilemonitor_86NG02 1270s # Using GFileMonitor 0 GInotifyFileMonitor 1270s # Using GFileMonitor 1 GInotifyFileMonitor 1272s ok 5 /monitor/cross-dir-moves 1272s # slow test /monitor/cross-dir-moves executed in 2.00 secs 1272s # Using temporary directory: /tmp/gio-test-testfilemonitor_L2JG02 1272s # /monitor/finalize-in-callback summary: Test that finalization of a GFileMonitor in one of its callbacks doesn?t cause a deadlock. 1272s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1941 1272s ok 6 /monitor/finalize-in-callback 1272s # Using temporary directory: /tmp/gio-test-testfilemonitor_BNUG02 1272s # /monitor/root summary: Test that GFileMonitor can monitor the root directory. 1272s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241 1272s ok 7 /monitor/root 1272s # Start of file tests 1272s # Using temporary directory: /tmp/gio-test-testfilemonitor_3PUG02 1272s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755721 1272s # Running with hard link tests 1272s # Using GFileMonitor GInotifyFileMonitor 1272s Executing: glib/testfilemonitor.test 1275s # Event 0 at expected index 7 skipped because it is marked as optional 1275s # Event 2 at expected index 11 skipped because it is marked as optional 1275s ok 8 /monitor/file/hard-links 1275s # slow test /monitor/file/hard-links executed in 3.50 secs 1275s # End of file tests 1275s # End of monitor tests 1275s PASS: glib/testfilemonitor.test 1275s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=5872 1276s autopkgtest [17:23:21]: test testfilemonitor: -----------------------] 1276s testfilemonitor PASS 1276s autopkgtest [17:23:21]: test testfilemonitor: - - - - - - - - - - results - - - - - - - - - - 1276s autopkgtest [17:23:21]: test thread-pool-slow: preparing testbed 1277s Reading package lists... 1277s Building dependency tree... 1277s Reading state information... 1277s Starting pkgProblemResolver with broken count: 0 1277s Starting 2 pkgProblemResolver with broken count: 0 1277s Done 1278s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1278s autopkgtest [17:23:23]: test thread-pool-slow: [----------------------- 1279s Running test: glib/thread-pool-slow.test 1279s TAP version 14 1279s # random seed: R02S4e2e31f424b0b2eab0a53f3c1ac4db3f 1279s 1..7 1279s # Start of threadpool tests 1279s ok 1 /threadpool/functions 1279s ok 2 /threadpool/stop-unused 1279s # slow test /threadpool/stop-unused executed in 0.51 secs 1279s ok 3 /threadpool/pools 1279s # [unsorted] ===> pushed new thread with id:4, number of threads:1, unprocessed:1 1279s # [unsorted] ===> pushed new thread with id:83, number of threads:2, unprocessed:2 1279s # [unsorted] ===> pushed new thread with id:52, number of threads:3, unprocessed:3 1279s # [unsorted] ===> pushed new thread with id:36, number of threads:4, unprocessed:4 1279s # [unsorted] ===> pushed new thread with id:2, number of threads:5, unprocessed:5 1279s # [unsorted] ===> pushed new thread with id:2, number of threads:6, unprocessed:6 1279s # [unsorted] ===> pushed new thread with id:13, number of threads:7, unprocessed:7 1279s # [unsorted] ===> pushed new thread with id:27, number of threads:8, unprocessed:8 1279s # [unsorted] ===> pushed new thread with id:79, number of threads:9, unprocessed:9 1279s # [unsorted] ===> pushed new thread with id:92, number of threads:10, unprocessed:9 1279s # [unsorted] ===> pushed new thread with id:3, number of threads:10, unprocessed:8 1279s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:8 1279s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:8 1279s # [unsorted] ===> pushed new thread with id:14, number of threads:10, unprocessed:9 1279s # [unsorted] ===> pushed new thread with id:75, number of threads:10, unprocessed:9 1279s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:9 1279s # [unsorted] ===> pushed new thread with id:89, number of threads:10, unprocessed:9 1279s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:9 1279s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:10 1279s # [unsorted] ===> pushed new thread with id:81, number of threads:10, unprocessed:11 1279s # [unsorted] ===> pushed new thread with id:63, number of threads:10, unprocessed:12 1279s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:13 1279s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:14 1279s # [unsorted] ===> pushed new thread with id:73, number of threads:10, unprocessed:15 1279s # [unsorted] ===> pushed new thread with id:81, number of threads:10, unprocessed:16 1279s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:17 1279s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:17 1279s # [unsorted] ===> pushed new thread with id:92, number of threads:10, unprocessed:18 1279s # [unsorted] ===> pushed new thread with id:13, number of threads:10, unprocessed:19 1279s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:20 1279s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:21 1279s # [unsorted] ===> pushed new thread with id:29, number of threads:10, unprocessed:22 1279s # [unsorted] ===> pushed new thread with id:89, number of threads:10, unprocessed:23 1279s # [unsorted] ===> pushed new thread with id:60, number of threads:10, unprocessed:24 1279s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:25 1279s # [unsorted] ===> pushed new thread with id:82, number of threads:10, unprocessed:26 1279s # [unsorted] ===> pushed new thread with id:27, number of threads:10, unprocessed:27 1279s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:28 1279s # [unsorted] ===> pushed new thread with id:3, number of threads:10, unprocessed:29 1279s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:30 1279s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:31 1279s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:32 1279s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:33 1279s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:34 1279s # [unsorted] ===> pushed new thread with id:43, number of threads:10, unprocessed:35 1279s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:36 1279s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:37 1279s # [unsorted] ===> pushed new thread with id:48, number of threads:10, unprocessed:38 1279s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:39 1279s # [unsorted] ===> pushed new thread with id:57, number of threads:10, unprocessed:40 1279s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:41 1279s # [unsorted] ===> pushed new thread with id:73, number of threads:10, unprocessed:42 1279s # [unsorted] ===> pushed new thread with id:60, number of threads:10, unprocessed:43 1279s # [unsorted] ===> pushed new thread with id:88, number of threads:10, unprocessed:44 1279s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:45 1279s # [unsorted] ===> pushed new thread with id:75, number of threads:10, unprocessed:46 1279s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:47 1279s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:48 1279s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:49 1279s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:50 1279s # [unsorted] ===> pushed new thread with id:82, number of threads:10, unprocessed:51 1279s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:52 1279s # [unsorted] ===> pushed new thread with id:25, number of threads:10, unprocessed:53 1279s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:54 1279s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:55 1279s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:56 1279s # [unsorted] ===> pushed new thread with id:100, number of threads:10, unprocessed:57 1279s # [unsorted] ===> pushed new thread with id:65, number of threads:10, unprocessed:58 1279s # [unsorted] ===> pushed new thread with id:84, number of threads:10, unprocessed:59 1279s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:60 1279s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:61 1279s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:62 1279s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:63 1279s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:64 1279s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:65 1279s # [unsorted] ===> pushed new thread with id:62, number of threads:10, unprocessed:66 1279s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:67 1279s # [unsorted] ===> pushed new thread with id:82, number of threads:10, unprocessed:68 1279s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:69 1279s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:70 1279s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:71 1279s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:72 1279s # [unsorted] ===> pushed new thread with id:15, number of threads:10, unprocessed:73 1279s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:74 1279s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:75 1279s # [unsorted] ===> pushed new thread with id:81, number of threads:10, unprocessed:76 1279s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:77 1279s # [unsorted] ===> pushed new thread with id:65, number of threads:10, unprocessed:78 1279s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:79 1279s # [unsorted] ===> pushed new thread with id:21, number of threads:10, unprocessed:80 1279s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:81 1279s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:82 1279s # [unsorted] ===> pushed new thread with id:3, number of threads:10, unprocessed:83 1279s # [unsorted] ===> pushed new thread with id:56, number of threads:10, unprocessed:84 1279s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:85 1279s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:86 1279s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:87 1279s # [unsorted] ===> pushed new thread with id:96, number of threads:10, unprocessed:88 1279s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:89 1279s # [unsorted] ===> pushed new thread with id:98, number of threads:10, unprocessed:90 1279s ok 4 /threadpool/no-sort 1279s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:1 1279s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:2 1279s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:3 1279s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:4 1279s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:5 1279s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:6 1279s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:7 1279s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:8 1279s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:9 1279s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:10 1279s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:11 1279s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:12 1279s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:13 1279s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:14 1279s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:15 1279s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:16 1279s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:17 1279s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:18 1279s # [ sorted] ===> pushed new thread with id:46, number of threads:0, unprocessed:19 1279s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:20 1279s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:21 1279s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:22 1279s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:23 1279s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:24 1279s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:25 1279s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:26 1279s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:27 1279s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:28 1279s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:29 1279s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:30 1279s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:31 1279s # [ sorted] ===> pushed new thread with id:78, number of threads:0, unprocessed:32 1279s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:33 1279s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:34 1279s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:35 1279s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:36 1279s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:37 1279s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:38 1279s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:39 1279s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:40 1279s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:41 1279s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:42 1279s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:43 1279s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:44 1279s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:45 1279s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:46 1279s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:47 1279s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:48 1279s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:49 1279s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:50 1279s # [ sorted] ===> pushed new thread with id:42, number of threads:0, unprocessed:51 1279s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:52 1279s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:53 1279s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:54 1279s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:55 1279s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:56 1279s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:57 1279s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:58 1279s # [ sorted] ===> pushed new thread with id:41, number of threads:0, unprocessed:59 1279s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:60 1279s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:61 1279s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:62 1279s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:63 1279s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:64 1279s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:65 1279s # [ sorted] ===> pushed new thread with id:61, number of threads:0, unprocessed:66 1279s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:67 1279s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:68 1279s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:69 1279s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:70 1279s # [ sorted] ===> pushed new thread with id:92, number of threads:0, unprocessed:71 1279s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:72 1279s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:73 1279s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:74 1279s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:75 1279s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:76 1279s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:77 1279s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:78 1279s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:79 1279s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:80 1279s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:81 1279s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:82 1279s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:83 1279s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:84 1279s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:85 1279s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:86 1279s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:87 1279s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:88 1279s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:89 1279s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:90 1279s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:91 1279s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:92 1279s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:93 1279s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:94 1279s # [ sorted] ===> pushed new thread with id:63, number of threads:0, unprocessed:95 1279s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:96 1279s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:97 1279s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:98 1279s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:99 1279s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:100 1279s # Starting thread pool processing 1279s ok 5 /threadpool/sort 1280s ok 6 /threadpool/stop-unused-multiple 1280s # slow test /threadpool/stop-unused-multiple executed in 0.51 secs 1280s # Pool idle thread count: 0, unprocessed jobs: 47 1280s # Pool idle thread count: 0, unprocessed jobs: 0 1280s # Pool idle thread count: 0, unprocessed jobs: 0 1281s # Pool idle thread count: 10, unprocessed jobs: 0 1281s # Pool idle thread count: 10, unprocessed jobs: 0 1281s # Pool idle thread count: 10, unprocessed jobs: 0 1281s # Pool idle thread count: 10, unprocessed jobs: 0 1282s # Pool idle thread count: 10, unprocessed jobs: 0 1282s # Pool idle thread count: 10, unprocessed jobs: 0 1282s # Pool idle thread count: 10, unprocessed jobs: 0 1282s # Pool idle thread count: 10, unprocessed jobs: 0 1283s # Pool idle thread count: 10, unprocessed jobs: 0 1283s # Pool idle thread count: 10, unprocessed jobs: 0 1283s # Pool idle thread count: 10, unprocessed jobs: 0 1283s # Pool idle thread count: 10, unprocessed jobs: 0 1284s # Pool idle thread count: 10, unprocessed jobs: 0 1284s # Pool idle thread count: 10, unprocessed jobs: 0 1284s Executing: glib/thread-pool-slow.test 1284s # Pool idle thread count: 10, unprocessed jobs: 0 1284s # Pool idle thread count: 10, unprocessed jobs: 0 1285s # Pool idle thread count: 10, unprocessed jobs: 0 1285s # Pool idle thread count: 10, unprocessed jobs: 0 1285s # Pool idle thread count: 10, unprocessed jobs: 0 1285s # Pool idle thread count: 10, unprocessed jobs: 0 1286s # Pool idle thread count: 10, unprocessed jobs: 0 1286s # Pool idle thread count: 10, unprocessed jobs: 0 1286s # Pool idle thread count: 10, unprocessed jobs: 0 1286s # Pool idle thread count: 10, unprocessed jobs: 0 1287s # Pool idle thread count: 10, unprocessed jobs: 0 1287s # Pool idle thread count: 10, unprocessed jobs: 0 1287s # Pool idle thread count: 10, unprocessed jobs: 0 1287s # Pool idle thread count: 10, unprocessed jobs: 0 1289s # Pool idle thread count: 10, unprocessed jobs: 0 1289s # Pool idle thread count: 10, unprocessed jobs: 0 1289s # Pool idle thread count: 10, unprocessed jobs: 0 1289s # Pool idle thread count: 10, unprocessed jobs: 0 1289s # Pool idle thread count: 10, unprocessed jobs: 2 1289s # Pool idle thread count: 10, unprocessed jobs: 2 1289s # Pool idle thread count: 8, unprocessed jobs: 0 1289s # Pool idle thread count: 8, unprocessed jobs: 0 1289s Executing: glib/thread-pool-slow.test 1289s # Pool idle thread count: 10, unprocessed jobs: 0 1289s # Pool idle thread count: 10, unprocessed jobs: 0 1290s # Pool idle thread count: 10, unprocessed jobs: 0 1290s # Pool idle thread count: 10, unprocessed jobs: 0 1290s # Pool idle thread count: 10, unprocessed jobs: 0 1290s # Pool idle thread count: 10, unprocessed jobs: 0 1291s # Pool idle thread count: 2, unprocessed jobs: 0 1291s # Pool idle thread count: 2, unprocessed jobs: 0 1291s # Pool idle thread count: 2, unprocessed jobs: 0 1291s # Pool idle thread count: 2, unprocessed jobs: 0 1292s # Pool idle thread count: 2, unprocessed jobs: 0 1292s # Pool idle thread count: 2, unprocessed jobs: 0 1292s # Pool idle thread count: 2, unprocessed jobs: 0 1292s # Pool idle thread count: 2, unprocessed jobs: 0 1293s # Pool idle thread count: 2, unprocessed jobs: 0 1293s # Pool idle thread count: 2, unprocessed jobs: 0 1293s # Pool idle thread count: 2, unprocessed jobs: 0 1293s # Pool idle thread count: 2, unprocessed jobs: 0 1294s # Pool idle thread count: 2, unprocessed jobs: 0 1294s # Pool idle thread count: 2, unprocessed jobs: 0 1294s Executing: glib/thread-pool-slow.test 1294s # Pool idle thread count: 2, unprocessed jobs: 0 1294s # Pool idle thread count: 2, unprocessed jobs: 0 1295s # Pool idle thread count: 2, unprocessed jobs: 0 1295s # Pool idle thread count: 2, unprocessed jobs: 0 1295s # Pool idle thread count: 2, unprocessed jobs: 0 1295s # Pool idle thread count: 2, unprocessed jobs: 0 1296s # Pool idle thread count: 2, unprocessed jobs: 0 1296s # Pool idle thread count: 2, unprocessed jobs: 0 1296s # Pool idle thread count: 2, unprocessed jobs: 0 1296s # Pool idle thread count: 2, unprocessed jobs: 0 1297s # Pool idle thread count: 2, unprocessed jobs: 0 1297s # Pool idle thread count: 2, unprocessed jobs: 0 1297s # Pool idle thread count: 2, unprocessed jobs: 0 1297s # Pool idle thread count: 2, unprocessed jobs: 0 1298s # Pool idle thread count: 2, unprocessed jobs: 0 1298s # Pool idle thread count: 2, unprocessed jobs: 0 1298s # Pool idle thread count: 2, unprocessed jobs: 0 1298s # Pool idle thread count: 2, unprocessed jobs: 0 1299s # Pool idle thread count: 2, unprocessed jobs: 0 1299s # Pool idle thread count: 2, unprocessed jobs: 0 1299s Executing: glib/thread-pool-slow.test 1299s ok 7 /threadpool/idle-time 1299s # slow test /threadpool/idle-time executed in 19.53 secs 1299s # End of threadpool tests 1299s PASS: glib/thread-pool-slow.test 1299s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.5s; system=0.1s; maxrss=4268 1300s autopkgtest [17:23:45]: test thread-pool-slow: -----------------------] 1300s thread-pool-slow PASS 1300s autopkgtest [17:23:45]: test thread-pool-slow: - - - - - - - - - - results - - - - - - - - - - 1300s autopkgtest [17:23:45]: test threadtests: preparing testbed 1301s Reading package lists... 1301s Building dependency tree... 1301s Reading state information... 1301s Starting pkgProblemResolver with broken count: 0 1301s Starting 2 pkgProblemResolver with broken count: 0 1301s Done 1301s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1302s autopkgtest [17:23:47]: test threadtests: [----------------------- 1302s Running test: glib/threadtests.test 1302s TAP version 14 1302s # random seed: R02Scf4c3fa00fb2859817ab15170793ecd0 1302s 1..5 1302s # Start of GObject tests 1302s ok 1 /GObject/threaded-object-init 1303s ok 2 /GObject/threaded-weak-ref 1303s # slow test /GObject/threaded-weak-ref executed in 0.76 secs 1303s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2394 1303s # /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 1303s ok 3 /GObject/threaded-toggle-notify 1303s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set 1303s # Start of threaded-weak-ref tests 1303s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1303s # /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. 1303s ok 5 /GObject/threaded-weak-ref/on-finalization 1303s # End of threaded-weak-ref tests 1303s # End of GObject tests 1303s PASS: glib/threadtests.test 1303s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.3s; system=0.5s; maxrss=4052 1304s autopkgtest [17:23:49]: test threadtests: -----------------------] 1304s threadtests PASS 1304s autopkgtest [17:23:49]: test threadtests: - - - - - - - - - - results - - - - - - - - - - 1304s autopkgtest [17:23:49]: test timeout: preparing testbed 1305s Reading package lists... 1305s Building dependency tree... 1305s Reading state information... 1305s Starting pkgProblemResolver with broken count: 0 1305s Starting 2 pkgProblemResolver with broken count: 0 1305s Done 1305s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1306s autopkgtest [17:23:51]: test timeout: [----------------------- 1306s Running test: glib/timeout.test 1306s TAP version 14 1306s # random seed: R02S9ea74432eaa1c52a506a2068bfcc126b 1306s 1..5 1306s # Start of timeout tests 1306s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052 1309s ok 1 /timeout/seconds 1309s # slow test /timeout/seconds executed in 2.10 secs 1311s ok 2 /timeout/seconds-once 1311s # slow test /timeout/seconds-once executed in 2.10 secs 1311s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600 1312s Executing: glib/timeout.test 1313s ok 3 /timeout/weeks-overflow 1313s # slow test /timeout/weeks-overflow executed in 2.10 secs 1313s ok 4 /timeout/far-future-ready-time 1317s Executing: glib/timeout.test 1322s Executing: glib/timeout.test 1323s ok 5 /timeout/rounding 1323s # slow test /timeout/rounding executed in 10.47 secs 1323s # End of timeout tests 1323s PASS: glib/timeout.test 1323s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=3444 1324s autopkgtest [17:24:09]: test timeout: -----------------------] 1324s timeout PASS 1324s autopkgtest [17:24:09]: test timeout: - - - - - - - - - - results - - - - - - - - - - 1324s autopkgtest [17:24:09]: test timer: preparing testbed 1325s Reading package lists... 1325s Building dependency tree... 1325s Reading state information... 1325s Starting pkgProblemResolver with broken count: 0 1325s Starting 2 pkgProblemResolver with broken count: 0 1325s Done 1325s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1326s autopkgtest [17:24:11]: test timer: [----------------------- 1326s Running test: glib/timer.test 1326s TAP version 14 1326s # random seed: R02S83c8b1e76982d6ef6dd525f0dbef76b1 1326s 1..10 1326s # Start of timer tests 1326s ok 1 /timer/basic 1326s ok 2 /timer/stop 1326s ok 3 /timer/continue 1326s ok 4 /timer/reset 1326s ok 5 /timer/is_active 1326s # End of timer tests 1326s # Start of timeval tests 1326s ok 6 /timeval/add 1326s ok 7 /timeval/from-iso8601 1326s ok 8 /timeval/to-iso8601 1326s # Start of to-iso8601 tests 1326s ok 9 /timeval/to-iso8601/overflow 1326s # End of to-iso8601 tests 1326s # End of timeval tests 1326s # Start of usleep tests 1326s ok 10 /usleep/with-zero-wait 1326s # End of usleep tests 1326s PASS: glib/timer.test 1326s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=3368 1327s autopkgtest [17:24:12]: test timer: -----------------------] 1327s timer PASS 1327s autopkgtest [17:24:12]: test timer: - - - - - - - - - - results - - - - - - - - - - 1327s autopkgtest [17:24:12]: test 1065022-futureproofing: preparing testbed 1447s autopkgtest [17:26:12]: testbed dpkg architecture: amd64 1447s autopkgtest [17:26:12]: testbed apt version: 2.9.18 1447s autopkgtest [17:26:12]: @@@@@@@@@@@@@@@@@@@@ test bed setup 1447s autopkgtest [17:26:12]: testbed release detected to be: plucky 1448s autopkgtest [17:26:13]: updating testbed package index (apt update) 1448s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 1449s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 1449s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 1449s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 1449s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [14.7 kB] 1449s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 1449s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [177 kB] 1449s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [855 kB] 1449s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main i386 Packages [227 kB] 1449s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 Packages [327 kB] 1449s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/restricted amd64 Packages [40.1 kB] 1449s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/restricted i386 Packages [2408 B] 1449s Get:13 http://ftpmaster.internal/ubuntu plucky-proposed/universe i386 Packages [462 kB] 1449s Get:14 http://ftpmaster.internal/ubuntu plucky-proposed/universe amd64 Packages [1085 kB] 1449s Get:15 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse i386 Packages [4116 B] 1449s Get:16 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse amd64 Packages [24.6 kB] 1449s Fetched 3303 kB in 1s (3372 kB/s) 1450s Reading package lists... 1451s Reading package lists... 1451s Building dependency tree... 1451s Reading state information... 1451s Calculating upgrade... 1451s The following packages will be upgraded: 1451s libgudev-1.0-0 rng-tools-debian usb.ids 1451s 3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1451s Need to get 286 kB of archives. 1451s After this operation, 0 B of additional disk space will be used. 1451s Get:1 http://ftpmaster.internal/ubuntu plucky/universe amd64 rng-tools-debian amd64 2.6 [47.6 kB] 1451s Get:2 http://ftpmaster.internal/ubuntu plucky/main amd64 usb.ids all 2025.01.14-1 [223 kB] 1452s Get:3 http://ftpmaster.internal/ubuntu plucky/main amd64 libgudev-1.0-0 amd64 1:238-6 [15.8 kB] 1452s Fetched 286 kB in 0s (588 kB/s) 1452s (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 ... 75824 files and directories currently installed.) 1452s Preparing to unpack .../rng-tools-debian_2.6_amd64.deb ... 1452s Unpacking rng-tools-debian (2.6) over (2.5) ... 1452s Preparing to unpack .../usb.ids_2025.01.14-1_all.deb ... 1452s Unpacking usb.ids (2025.01.14-1) over (2024.12.04-1) ... 1452s Preparing to unpack .../libgudev-1.0-0_1%3a238-6_amd64.deb ... 1452s Unpacking libgudev-1.0-0:amd64 (1:238-6) over (1:238-5ubuntu1) ... 1452s Setting up rng-tools-debian (2.6) ... 1453s Setting up usb.ids (2025.01.14-1) ... 1453s Setting up libgudev-1.0-0:amd64 (1:238-6) ... 1453s Processing triggers for man-db (2.13.0-1) ... 1454s Processing triggers for libc-bin (2.40-4ubuntu1) ... 1454s Reading package lists... 1454s Building dependency tree... 1454s Reading state information... 1454s 0 upgraded, 0 newly installed, 0 to remove and 14 not upgraded. 1454s autopkgtest [17:26:19]: upgrading testbed (apt dist-upgrade and autopurge) 1455s Reading package lists... 1455s Building dependency tree... 1455s Reading state information... 1455s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 1455s Starting 2 pkgProblemResolver with broken count: 0 1455s Done 1455s Entering ResolveByKeep 1456s 1456s The following NEW packages will be installed: 1456s login.defs 1456s The following packages will be upgraded: 1456s bsdextrautils bsdutils eject fdisk libblkid1 libfdisk1 libmount1 1456s libsmartcols1 libuuid1 login mount passwd util-linux uuid-runtime 1456s 14 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 1456s Need to get 3545 kB of archives. 1456s After this operation, 1506 kB of additional disk space will be used. 1456s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 bsdutils amd64 1:2.40.2-14ubuntu1 [102 kB] 1456s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 eject amd64 2.40.2-14ubuntu1 [46.3 kB] 1456s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 bsdextrautils amd64 2.40.2-14ubuntu1 [89.7 kB] 1456s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 libfdisk1 amd64 2.40.2-14ubuntu1 [174 kB] 1456s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 fdisk amd64 2.40.2-14ubuntu1 [144 kB] 1456s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 libblkid1 amd64 2.40.2-14ubuntu1 [141 kB] 1456s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 libmount1 amd64 2.40.2-14ubuntu1 [167 kB] 1456s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 libsmartcols1 amd64 2.40.2-14ubuntu1 [98.4 kB] 1456s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 mount amd64 2.40.2-14ubuntu1 [143 kB] 1456s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 libuuid1 amd64 2.40.2-14ubuntu1 [43.3 kB] 1456s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 util-linux amd64 2.40.2-14ubuntu1 [1137 kB] 1456s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 uuid-runtime amd64 2.40.2-14ubuntu1 [54.2 kB] 1456s Get:13 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 login.defs all 1:4.16.0-7ubuntu1 [38.5 kB] 1456s Get:14 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 login amd64 1:4.16.0-2+really2.40.2-14ubuntu1 [77.8 kB] 1456s Get:15 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 passwd amd64 1:4.16.0-7ubuntu1 [1088 kB] 1457s Fetched 3545 kB in 1s (5099 kB/s) 1457s (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 ... 75824 files and directories currently installed.) 1457s Preparing to unpack .../bsdutils_1%3a2.40.2-14ubuntu1_amd64.deb ... 1457s Unpacking bsdutils (1:2.40.2-14ubuntu1) over (1:2.40.2-1ubuntu2) ... 1457s Setting up bsdutils (1:2.40.2-14ubuntu1) ... 1457s (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 ... 75824 files and directories currently installed.) 1457s Preparing to unpack .../eject_2.40.2-14ubuntu1_amd64.deb ... 1457s Unpacking eject (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 1457s Preparing to unpack .../bsdextrautils_2.40.2-14ubuntu1_amd64.deb ... 1457s Unpacking bsdextrautils (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 1457s Preparing to unpack .../libfdisk1_2.40.2-14ubuntu1_amd64.deb ... 1457s Unpacking libfdisk1:amd64 (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 1457s Preparing to unpack .../fdisk_2.40.2-14ubuntu1_amd64.deb ... 1457s Unpacking fdisk (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 1457s Preparing to unpack .../libblkid1_2.40.2-14ubuntu1_amd64.deb ... 1457s Unpacking libblkid1:amd64 (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 1457s Setting up libblkid1:amd64 (2.40.2-14ubuntu1) ... 1457s (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 ... 75820 files and directories currently installed.) 1457s Preparing to unpack .../libmount1_2.40.2-14ubuntu1_amd64.deb ... 1457s Unpacking libmount1:amd64 (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 1457s Setting up libmount1:amd64 (2.40.2-14ubuntu1) ... 1457s (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 ... 75820 files and directories currently installed.) 1457s Preparing to unpack .../libsmartcols1_2.40.2-14ubuntu1_amd64.deb ... 1457s Unpacking libsmartcols1:amd64 (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 1457s Setting up libsmartcols1:amd64 (2.40.2-14ubuntu1) ... 1457s (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 ... 75820 files and directories currently installed.) 1457s Preparing to unpack .../mount_2.40.2-14ubuntu1_amd64.deb ... 1457s Unpacking mount (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 1457s Preparing to unpack .../libuuid1_2.40.2-14ubuntu1_amd64.deb ... 1457s Unpacking libuuid1:amd64 (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 1457s Setting up libuuid1:amd64 (2.40.2-14ubuntu1) ... 1457s (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 ... 75820 files and directories currently installed.) 1457s Preparing to unpack .../util-linux_2.40.2-14ubuntu1_amd64.deb ... 1457s Unpacking util-linux (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 1457s Setting up util-linux (2.40.2-14ubuntu1) ... 1458s fstrim.service is a disabled or a static unit not running, not starting it. 1458s (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 ... 75813 files and directories currently installed.) 1458s Preparing to unpack .../uuid-runtime_2.40.2-14ubuntu1_amd64.deb ... 1458s Unpacking uuid-runtime (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 1458s Selecting previously unselected package login.defs. 1458s Preparing to unpack .../login.defs_1%3a4.16.0-7ubuntu1_all.deb ... 1458s Unpacking login.defs (1:4.16.0-7ubuntu1) ... 1458s Replacing files in old package login (1:4.15.3-3ubuntu2) ... 1458s Setting up login.defs (1:4.16.0-7ubuntu1) ... 1458s Installing new version of config file /etc/login.defs ... 1458s (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 ... 75817 files and directories currently installed.) 1458s Preparing to unpack .../login_1%3a4.16.0-2+really2.40.2-14ubuntu1_amd64.deb ... 1458s Unpacking login (1:4.16.0-2+really2.40.2-14ubuntu1) over (1:4.15.3-3ubuntu2) ... 1458s Preparing to unpack .../passwd_1%3a4.16.0-7ubuntu1_amd64.deb ... 1458s Unpacking passwd (1:4.16.0-7ubuntu1) over (1:4.15.3-3ubuntu2) ... 1458s Setting up passwd (1:4.16.0-7ubuntu1) ... 1458s Setting up bsdextrautils (2.40.2-14ubuntu1) ... 1458s Setting up eject (2.40.2-14ubuntu1) ... 1458s Setting up libfdisk1:amd64 (2.40.2-14ubuntu1) ... 1458s Setting up mount (2.40.2-14ubuntu1) ... 1458s Setting up uuid-runtime (2.40.2-14ubuntu1) ... 1459s uuidd.service is a disabled or a static unit not running, not starting it. 1459s Setting up login (1:4.16.0-2+really2.40.2-14ubuntu1) ... 1459s Setting up fdisk (2.40.2-14ubuntu1) ... 1459s Processing triggers for man-db (2.13.0-1) ... 1460s Processing triggers for libc-bin (2.40-4ubuntu1) ... 1460s Reading package lists... 1461s Building dependency tree... 1461s Reading state information... 1461s Starting pkgProblemResolver with broken count: 0 1461s Starting 2 pkgProblemResolver with broken count: 0 1461s Done 1461s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1462s autopkgtest [17:26:27]: rebooting testbed after setup commands that affected boot 1488s Reading package lists... 1488s Building dependency tree... 1488s Reading state information... 1489s Starting pkgProblemResolver with broken count: 0 1489s Starting 2 pkgProblemResolver with broken count: 0 1489s Done 1489s The following NEW packages will be installed: 1489s dconf-gsettings-backend dconf-service dpkg-repack gsettings-desktop-schemas 1489s libdconf1 1489s 0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded. 1489s Need to get 137 kB of archives. 1489s After this operation, 630 kB of additional disk space will be used. 1489s Get:1 http://ftpmaster.internal/ubuntu plucky/main amd64 libdconf1 amd64 0.40.0-4build2 [39.4 kB] 1489s Get:2 http://ftpmaster.internal/ubuntu plucky/main amd64 dconf-service amd64 0.40.0-4build2 [27.5 kB] 1489s Get:3 http://ftpmaster.internal/ubuntu plucky/main amd64 dconf-gsettings-backend amd64 0.40.0-4build2 [22.1 kB] 1489s Get:4 http://ftpmaster.internal/ubuntu plucky/main amd64 dpkg-repack all 1.54 [11.2 kB] 1489s Get:5 http://ftpmaster.internal/ubuntu plucky/main amd64 gsettings-desktop-schemas all 47.1-1ubuntu1 [36.9 kB] 1490s Fetched 137 kB in 0s (381 kB/s) 1490s Selecting previously unselected package libdconf1:amd64. 1490s (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 ... 75815 files and directories currently installed.) 1490s Preparing to unpack .../libdconf1_0.40.0-4build2_amd64.deb ... 1490s Unpacking libdconf1:amd64 (0.40.0-4build2) ... 1490s Selecting previously unselected package dconf-service. 1490s Preparing to unpack .../dconf-service_0.40.0-4build2_amd64.deb ... 1490s Unpacking dconf-service (0.40.0-4build2) ... 1490s Selecting previously unselected package dconf-gsettings-backend:amd64. 1490s Preparing to unpack .../dconf-gsettings-backend_0.40.0-4build2_amd64.deb ... 1490s Unpacking dconf-gsettings-backend:amd64 (0.40.0-4build2) ... 1490s Selecting previously unselected package dpkg-repack. 1490s Preparing to unpack .../dpkg-repack_1.54_all.deb ... 1490s Unpacking dpkg-repack (1.54) ... 1490s Selecting previously unselected package gsettings-desktop-schemas. 1490s Preparing to unpack .../gsettings-desktop-schemas_47.1-1ubuntu1_all.deb ... 1490s Unpacking gsettings-desktop-schemas (47.1-1ubuntu1) ... 1490s Setting up dpkg-repack (1.54) ... 1490s Setting up libdconf1:amd64 (0.40.0-4build2) ... 1490s Setting up dconf-service (0.40.0-4build2) ... 1490s Setting up dconf-gsettings-backend:amd64 (0.40.0-4build2) ... 1490s Setting up gsettings-desktop-schemas (47.1-1ubuntu1) ... 1490s Processing triggers for man-db (2.13.0-1) ... 1491s Processing triggers for libglib2.0-0t64:amd64 (2.82.4-1) ... 1491s Processing triggers for libc-bin (2.40-4ubuntu1) ... 1495s autopkgtest [17:27:00]: test 1065022-futureproofing: [----------------------- 1496s + export DEBIAN_FRONTEND=noninteractive 1496s + n=0 1496s + failed=0 1496s + binary_package=libglib2.0-0t64 1496s + future_binary_package=libglib2.0-0xyz 1496s + pwd 1496s + srcdir=/tmp/autopkgtest.UBVjl6/build.8MR/src 1496s + mktemp -d 1496s + tmpdir=/tmp/tmp.Ikv9t6bwfP 1496s + cd /tmp/tmp.Ikv9t6bwfP 1496s + [ -e /tmp/autopkgtest.UBVjl6/build.8MR/src/debian/tests/manual/local-1065022.sources ] 1496s + dpkg-query -W dpkg-repack 1496s dpkg-repack 1.54 1496s + dpkg-repack --generate libglib2.0-0t64 1496s dpkg-repack: warning: unknown information field 'Original-Maintainer' in input data in stanza in dpkg's status file 1496s dpkg-repack: info: created dpkg-repack.libglib2.0-0t64.jfj48M for libglib2.0-0t64 1496s dpkg-repack: info: to build use: "dpkg-deb --build dpkg-repack.libglib2.0-0t64.jfj48M ." 1496s + grep -q ^Breaks: dpkg-repack.libglib2.0-0t64.jfj48M/DEBIAN/control 1496s + grep -q ^Provides: dpkg-repack.libglib2.0-0t64.jfj48M/DEBIAN/control 1496s + grep -q ^Replaces: dpkg-repack.libglib2.0-0t64.jfj48M/DEBIAN/control 1496s + 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.jfj48M/DEBIAN/control 1496s + dpkg-deb --build dpkg-repack.libglib2.0-0t64.jfj48M libglib2.0-0xyz.deb 1496s dpkg-deb: building package 'libglib2.0-0xyz' in 'libglib2.0-0xyz.deb'. 1497s + apt-get -y install ./libglib2.0-0xyz.deb 1497s Reading package lists... 1498s Building dependency tree... 1498s Reading state information... 1498s The following packages were automatically installed and are no longer required: 1498s apport-symptoms fwupd-signed jq libatasmart4 libbytesize-common libbytesize1 1498s libcurl3t64-gnutls libdrm-amdgpu1 libflashrom1 libftdi1-2 libgpgme11t64 1498s libjq1 libjson-glib-1.0-common libnspr4 libnss3 libnvme1t64 libonig5 1498s libprotobuf-c1 libtss2-esys-3.0.2-0t64 libtss2-sys1t64 libtss2-tcti-cmd0t64 1498s libtss2-tcti-mssim0t64 libtss2-tcti-swtpm0t64 python3-apport python3-certifi 1498s python3-chardet python3-configobj python3-debconf python3-markdown-it 1498s python3-mdurl python3-openssl python3-problem-report python3-pygments 1498s python3-requests python3-rich python3-systemd python3-urllib3 1498s Use 'sudo apt autoremove' to remove them. 1498s The following additional packages will be installed: 1498s xdg-user-dirs 1498s Suggested packages: 1498s low-memory-monitor 1498s Recommended packages: 1498s shared-mime-info 1498s The following packages will be REMOVED: 1498s apport apport-core-dump-handler bolt cloud-init cloud-init-base fwupd 1498s gir1.2-girepository-2.0 gir1.2-glib-2.0 libblockdev-crypto3 libblockdev-fs3 1498s libblockdev-loop3 libblockdev-mdraid3 libblockdev-nvme3 libblockdev-part3 1498s libblockdev-swap3 libblockdev-utils3 libblockdev3 libfwupd3 1498s libgirepository-1.0-1 libglib2.0-0t64 libgudev-1.0-0 libjcat1 1498s libjson-glib-1.0-0 libmbim-glib4 libmbim-proxy libmm-glib0 libnetplan1 1498s libpolkit-agent-1-0 libpolkit-gobject-1-0 libqmi-glib5 libqmi-proxy 1498s libqrtr-glib0 libudisks2-0 libvolume-key1 libxmlb2 netplan-generator 1498s netplan.io networkd-dispatcher python3-dbus python3-gi python3-netplan 1498s shared-mime-info ubuntu-minimal udisks2 1498s The following NEW packages will be installed: 1498s libglib2.0-0xyz xdg-user-dirs 1498s 0 upgraded, 2 newly installed, 44 to remove and 0 not upgraded. 1498s Need to get 18.5 kB/1675 kB of archives. 1498s After this operation, 32.9 MB disk space will be freed. 1498s Get:1 /tmp/tmp.Ikv9t6bwfP/libglib2.0-0xyz.deb libglib2.0-0xyz amd64 2.82.4-1 [1656 kB] 1498s Get:2 http://ftpmaster.internal/ubuntu plucky/main amd64 xdg-user-dirs amd64 0.18-2 [18.5 kB] 1498s Fetched 18.5 kB in 0s (83.9 kB/s) 1498s (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 ... 75883 files and directories currently installed.) 1498s Removing bolt (0.9.8-1) ... 1499s Removing cloud-init (25.1~2g4ee65391-0ubuntu1) ... 1499s Removing cloud-init-base (25.1~2g4ee65391-0ubuntu1) ... 1499s Removing fwupd (2.0.3-3) ... 1499s Removing networkd-dispatcher (2.2.4-1.1) ... 1500s Removing udisks2 (2.10.1-11ubuntu1) ... 1500s Removing libblockdev-crypto3:amd64 (3.2.1-1) ... 1500s Removing libblockdev-fs3:amd64 (3.2.1-1) ... 1500s Removing libblockdev-loop3:amd64 (3.2.1-1) ... 1500s Removing libblockdev-mdraid3:amd64 (3.2.1-1) ... 1500s Removing libblockdev-nvme3:amd64 (3.2.1-1) ... 1500s Removing libblockdev-part3:amd64 (3.2.1-1) ... 1500s Removing libblockdev-swap3:amd64 (3.2.1-1) ... 1500s Removing libblockdev3:amd64 (3.2.1-1) ... 1500s Removing libblockdev-utils3:amd64 (3.2.1-1) ... 1500s Removing libfwupd3:amd64 (2.0.3-3) ... 1500s Removing shared-mime-info (2.4-5) ... 1500s Removing python3-dbus (1.3.2-5build4) ... 1501s Removing ubuntu-minimal (1.544) ... 1501s Removing netplan.io (1.1.1-1) ... 1501s dpkg: warning: while removing netplan.io, directory '/usr/share/netplan/netplan_cli/cli/commands' not empty so not removed 1501s Removing netplan-generator (1.1.1-1) ... 1501s dpkg: warning: while removing netplan-generator, directory '/etc/netplan' not empty so not removed 1501s Removing libxmlb2:amd64 (0.3.21-1) ... 1501s Removing libvolume-key1:amd64 (0.3.12-8) ... 1501s Removing libudisks2-0:amd64 (2.10.1-11ubuntu1) ... 1501s Removing libqmi-proxy (1.35.6-1) ... 1501s Removing libqmi-glib5:amd64 (1.35.6-1) ... 1501s Removing libqrtr-glib0:amd64 (1.2.2-1ubuntu4) ... 1501s Removing libpolkit-agent-1-0:amd64 (125-2ubuntu1) ... 1501s Removing libpolkit-gobject-1-0:amd64 (125-2ubuntu1) ... 1502s Removing python3-netplan (1.1.1-1) ... 1502s Removing libnetplan1:amd64 (1.1.1-1) ... 1502s Removing libmm-glib0:amd64 (1.23.4-0ubuntu2) ... 1502s Removing libmbim-proxy (1.31.2-0ubuntu4) ... 1502s Removing libmbim-glib4:amd64 (1.31.2-0ubuntu4) ... 1502s Removing libjcat1:amd64 (0.2.0-2build3) ... 1502s Removing libjson-glib-1.0-0:amd64 (1.10.6+ds-1) ... 1502s Removing libgudev-1.0-0:amd64 (1:238-6) ... 1502s Removing apport (2.31.0-0ubuntu2) ... 1502s Removing apport-core-dump-handler (2.31.0-0ubuntu2) ... 1502s Removing python3-gi (3.50.0-3build1) ... 1502s Removing gir1.2-girepository-2.0:amd64 (1.82.0-3) ... 1502s Removing gir1.2-glib-2.0:amd64 (2.82.4-1) ... 1502s Removing libgirepository-1.0-1:amd64 (1.82.0-3) ... 1502s dpkg: libglib2.0-0t64:amd64: dependency problems, but removing anyway as you requested: 1502s libdconf1:amd64 depends on libglib2.0-0 (>= 2.79.0); however: 1502s Package libglib2.0-0 is not installed. 1502s Package libglib2.0-0t64:amd64 which provides libglib2.0-0 is to be removed. 1502s dconf-service depends on libglib2.0-0 (>= 2.79.0); however: 1502s Package libglib2.0-0 is not installed. 1502s Package libglib2.0-0t64:amd64 which provides libglib2.0-0 is to be removed. 1502s dconf-gsettings-backend:amd64 depends on libglib2.0-0 (>= 2.79.0); however: 1502s Package libglib2.0-0 is not installed. 1502s Package libglib2.0-0t64:amd64 which provides libglib2.0-0 is to be removed. 1502s 1502s Removing libglib2.0-0t64:amd64 (2.82.4-1) ... 1503s Selecting previously unselected package libglib2.0-0xyz:amd64. 1503s (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 ... 74882 files and directories currently installed.) 1503s Preparing to unpack .../libglib2.0-0xyz.deb ... 1503s Unpacking libglib2.0-0xyz:amd64 (2.82.4-1) ... 1503s Selecting previously unselected package xdg-user-dirs. 1503s Preparing to unpack .../xdg-user-dirs_0.18-2_amd64.deb ... 1503s Unpacking xdg-user-dirs (0.18-2) ... 1503s Setting up xdg-user-dirs (0.18-2) ... 1503s Setting up libglib2.0-0xyz:amd64 (2.82.4-1) ... 1503s Processing triggers for dbus (1.14.10-4ubuntu5) ... 1503s Processing triggers for libc-bin (2.40-4ubuntu1) ... 1503s Processing triggers for man-db (2.13.0-1) ... 1504s ok 1 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1504s ok 2 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1504s + assert test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1504s + n=1 1504s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1504s + echo ok 1 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1504s + assert test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1504s + n=2 1504s + test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1504s + echo ok 2 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1504s + ok 3 - test -e /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 1504s ok 4 - test -s /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 1504s ok 5 - test -e /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache 1504s ok 6 - test -s /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache 1504s assert test -e /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 1504s + n=3 1504s + test -e /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 1504s + echo ok 3 - test -e /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 1504s + assert test -s /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 1504s + n=4 1504s + test -s /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 1504s + echo ok 4 - test -s /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 1504s + assert test -e /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache 1504s + n=5 1504s + test -e /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache 1504s + echo ok 5 - test -e /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache 1504s + assert test -s /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache 1504s + n=6 1504s + test -s /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache 1504s + echo ok 6 - test -s /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache 1504s + apt-get -y purge libglib2.0-0t64 1504s Reading package lists... 1504s Building dependency tree... 1504s Reading state information... 1504s The following packages were automatically installed and are no longer required: 1504s apport-symptoms fwupd-signed jq libatasmart4 libbytesize-common libbytesize1 1504s libcurl3t64-gnutls libdrm-amdgpu1 libflashrom1 libftdi1-2 libgpgme11t64 1504s libjq1 libjson-glib-1.0-common libnspr4 libnss3 libnvme1t64 libonig5 1504s libprotobuf-c1 libtss2-esys-3.0.2-0t64 libtss2-sys1t64 libtss2-tcti-cmd0t64 1504s libtss2-tcti-mssim0t64 libtss2-tcti-swtpm0t64 python3-apport python3-certifi 1504s python3-chardet python3-configobj python3-debconf python3-markdown-it 1504s python3-mdurl python3-openssl python3-problem-report python3-pygments 1504s python3-requests python3-rich python3-systemd python3-urllib3 1504s Use 'sudo apt autoremove' to remove them. 1504s The following packages will be REMOVED: 1504s libglib2.0-0t64* 1505s 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 1505s After this operation, 0 B of additional disk space will be used. 1505s (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 ... 74917 files and directories currently installed.) 1505s Purging configuration files for libglib2.0-0t64:amd64 (2.82.4-1) ... 1505s + ok 7 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1505s ok 8 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1505s ok 9 - test -e /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 1505s ok 10 - test -s /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 1505s ok 11 - test -e /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache 1505s ok 12 - test -s /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache 1505s assert test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1505s + n=7 1505s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1505s + echo ok 7 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1505s + assert test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1505s + n=8 1505s + test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1505s + echo ok 8 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1505s + assert test -e /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 1505s + n=9 1505s + test -e /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 1505s + echo ok 9 - test -e /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 1505s + assert test -s /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 1505s + n=10 1505s + test -s /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 1505s + echo ok 10 - test -s /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 1505s + assert test -e /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache 1505s + n=11 1505s + test -e /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache 1505s + echo ok 11 - test -e /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache 1505s + assert test -s /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache 1505s + n=12 1505s + test -s /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache 1505s + echo ok 12 - test -s /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache 1505s + apt-get -y purge libglib2.0-0xyz 1505s Reading package lists... 1505s Building dependency tree... 1505s Reading state information... 1505s The following packages were automatically installed and are no longer required: 1505s apport-symptoms fwupd-signed jq libatasmart4 libatomic1 libbytesize-common 1505s libbytesize1 libcurl3t64-gnutls libdrm-amdgpu1 libflashrom1 libftdi1-2 1505s libglib2.0-data libgpgme11t64 libjq1 libjson-glib-1.0-common libnspr4 1505s libnss3 libnvme1t64 libonig5 libprotobuf-c1 libtss2-esys-3.0.2-0t64 1505s libtss2-sys1t64 libtss2-tcti-cmd0t64 libtss2-tcti-mssim0t64 1505s libtss2-tcti-swtpm0t64 python3-apport python3-certifi python3-chardet 1505s python3-configobj python3-debconf python3-markdown-it python3-mdurl 1505s python3-openssl python3-problem-report python3-pygments python3-requests 1505s python3-rich python3-systemd python3-urllib3 xdg-user-dirs 1505s Use 'sudo apt autoremove' to remove them. 1505s The following packages will be REMOVED: 1505s dconf-gsettings-backend* dconf-service* gsettings-desktop-schemas* 1505s libdconf1* libglib2.0-0xyz* 1506s 0 upgraded, 0 newly installed, 5 to remove and 0 not upgraded. 1506s After this operation, 5172 kB disk space will be freed. 1506s (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 ... 74917 files and directories currently installed.) 1506s Removing gsettings-desktop-schemas (47.1-1ubuntu1) ... 1506s Removing dconf-gsettings-backend:amd64 (0.40.0-4build2) ... 1506s Removing dconf-service (0.40.0-4build2) ... 1506s Removing libdconf1:amd64 (0.40.0-4build2) ... 1506s Removing libglib2.0-0xyz:amd64 (2.82.4-1) ... 1506s Processing triggers for man-db (2.13.0-1) ... 1506s Processing triggers for libc-bin (2.40-4ubuntu1) ... 1506s (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 ... 74834 files and directories currently installed.) 1506s Purging configuration files for libglib2.0-0xyz:amd64 (2.82.4-1) ... 1507s ok 13 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1507s ok 14 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1507s ok 15 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/libdconfsettings.so 1507s ok 16 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/giomodule.cache 1507s 1..16 1507s + assert_not test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1507s + n=13 1507s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1507s + echo ok 13 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1507s + assert_not test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1507s + n=14 1507s + test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1507s + echo ok 14 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1507s + assert_not test -e /usr/lib/*/gio/modules/libdconfsettings.so 1507s + n=15 1507s + test -e /usr/lib/*/gio/modules/libdconfsettings.so 1507s + echo ok 15 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/libdconfsettings.so 1507s + assert_not test -e /usr/lib/*/gio/modules/giomodule.cache 1507s + n=16 1507s + test -e /usr/lib/*/gio/modules/giomodule.cache 1507s + echo ok 16 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/giomodule.cache 1507s + echo 1..16 1507s + exit 0 1507s autopkgtest [17:27:12]: test 1065022-futureproofing: -----------------------] 1507s autopkgtest [17:27:12]: test 1065022-futureproofing: - - - - - - - - - - results - - - - - - - - - - 1507s 1065022-futureproofing PASS 1508s autopkgtest [17:27:13]: @@@@@@@@@@@@@@@@@@@@ summary 1508s build PASS (superficial) 1508s build-static PASS (superficial) 1508s girepository-tools PASS (superficial) 1508s libgio-2.0-dev-bin PASS (superficial) 1508s libglib2.0-dev PASS (superficial) 1508s installed-tests PASS 1508s closure-refcount PASS 1508s debugcontroller PASS 1508s gdbus-server-auth PASS 1508s gdbus-threading PASS 1508s gmenumodel PASS 1508s mainloop PASS 1508s memory-monitor-dbus PASS 1508s socket PASS 1508s testfilemonitor PASS 1508s thread-pool-slow PASS 1508s threadtests PASS 1508s timeout PASS 1508s timer PASS 1508s 1065022-futureproofing PASS 1537s nova [W] Skipping flock for amd64 1537s Creating nova instance adt-plucky-amd64-glib2.0-20250117-170205-juju-7f2275-prod-proposed-migration-environment-20-36ea893f-d976-4ff8-bce9-699f1164e506 from image adt/ubuntu-plucky-amd64-server-20250117.img (UUID 8f35863a-398a-4b7d-9594-544c7b7656c3)... 1537s nova [W] Timed out waiting for f5622193-a995-451f-89bc-e6a38d49fca9 to get deleted. 1537s nova [W] Skipping flock for amd64 1537s Creating nova instance adt-plucky-amd64-glib2.0-20250117-170205-juju-7f2275-prod-proposed-migration-environment-20-36ea893f-d976-4ff8-bce9-699f1164e506 from image adt/ubuntu-plucky-amd64-server-20250117.img (UUID 8f35863a-398a-4b7d-9594-544c7b7656c3)... 1537s nova [W] Timed out waiting for 59867262-9edd-4725-b442-8ccb733cd669 to get deleted. 1537s nova [W] Skipping flock for amd64 1537s Creating nova instance adt-plucky-amd64-glib2.0-20250117-170205-juju-7f2275-prod-proposed-migration-environment-20-36ea893f-d976-4ff8-bce9-699f1164e506 from image adt/ubuntu-plucky-amd64-server-20250117.img (UUID 8f35863a-398a-4b7d-9594-544c7b7656c3)... 1537s nova [W] Timed out waiting for 6e3b8443-fbc0-4d8f-9a32-abe8b29be7cd to get deleted. 1537s nova [W] Skipping flock for amd64 1537s Creating nova instance adt-plucky-amd64-glib2.0-20250117-170205-juju-7f2275-prod-proposed-migration-environment-20-36ea893f-d976-4ff8-bce9-699f1164e506 from image adt/ubuntu-plucky-amd64-server-20250117.img (UUID 8f35863a-398a-4b7d-9594-544c7b7656c3)... 1537s nova [W] Timed out waiting for d64d1e70-81e8-42eb-9b1f-cf6551d94146 to get deleted. 1537s nova [W] Skipping flock for amd64 1537s Creating nova instance adt-plucky-amd64-glib2.0-20250117-170205-juju-7f2275-prod-proposed-migration-environment-20-36ea893f-d976-4ff8-bce9-699f1164e506 from image adt/ubuntu-plucky-amd64-server-20250117.img (UUID 8f35863a-398a-4b7d-9594-544c7b7656c3)... 1537s nova [W] Timed out waiting for 423cd917-7292-4318-880d-7b7bea1263ef to get deleted. 1537s nova [W] Skipping flock for amd64 1537s Creating nova instance adt-plucky-amd64-glib2.0-20250117-170205-juju-7f2275-prod-proposed-migration-environment-20-36ea893f-d976-4ff8-bce9-699f1164e506 from image adt/ubuntu-plucky-amd64-server-20250117.img (UUID 8f35863a-398a-4b7d-9594-544c7b7656c3)... 1537s nova [W] Timed out waiting for 3d963887-3479-4cc3-98a4-78245e00ff95 to get deleted.